/* ProBus Website v2 – Design-Prototyp „Dunkel & Premium“
   Leitidee: die Zielanzeige des Busses (Bernstein-LED) als Wegweiser, ProBus-Rot als Markenfarbe,
   schräge Kanten wie im ProBus-Schriftzug (12°). */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("schriften/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("schriften/archivo-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("schriften/exo2-latin.woff2") format("woff2"); }

:root {
  --nacht: #0C0E11;      /* Grundfläche: Nachtlack */
  --asphalt: #14171B;    /* Flächen */
  --blech: #1C2025;      /* erhöhte Flächen */
  --linie: #2B3037;      /* Trennlinien */
  --schiefer: #7B888F;   /* ProBus-Schiefer (Bestand) */
  --nebel: #AAB4BA;      /* Fließtext zweite Reihe */
  --licht: #F3F4F2;      /* Text */
  --rot: #E30613;        /* ProBus-Rot */
  --rot-hell: #FF4650;   /* Rot für kleine Schrift auf Dunkel */
  --bernstein: #FFBE33;  /* Zielanzeige */
  --schrift: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --technik: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(20px, 5vw, 64px);
  --schraeg: -12deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nacht); color: var(--licht); font: 400 1.0625rem/1.6 var(--schrift); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bernstein); outline-offset: 3px; }
::selection { background: var(--rot); color: #fff; }
h1, h2, h3, h4 { margin: 0; font-style: italic; font-weight: 900; letter-spacing: -.025em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rahmen { max-width: 1600px; margin-inline: auto; padding-inline: var(--rand); }
.abschnitt { padding-block: clamp(72px, 9vw, 132px); }
.abschnitt--flaeche { background: var(--asphalt); }
.abschnitt__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.abschnitt__kopf > div { max-width: 780px; }
.abschnitt__kopf p { color: var(--nebel); max-width: 56ch; margin: 18px 0 0; }

/* ---------- Knöpfe: Parallelogramm wie der Schriftzug ---------- */
.knopf { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 30px; border: 0; background: none; cursor: pointer; font-family: var(--technik); font-weight: 700; font-size: 1rem; letter-spacing: .01em; color: #fff; text-decoration: none; white-space: nowrap; }
.knopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rot); transform: skewX(var(--schraeg)); transition: background .18s, box-shadow .18s; }
.knopf:hover::before { background: #FF1422; box-shadow: 0 8px 28px rgba(227, 6, 19, .45); }
.knopf--umriss::before { background: rgba(12, 14, 17, .35); box-shadow: inset 0 0 0 2px rgba(243, 244, 242, .7); }
.knopf--umriss:hover::before { background: var(--licht); box-shadow: inset 0 0 0 2px var(--licht); }
.knopf--umriss:hover { color: var(--nacht); }
.knopf--klein { min-height: 40px; padding: 8px 20px; font-size: .92rem; }
.textlink { font-family: var(--technik); font-weight: 700; color: var(--licht); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.textlink:hover { color: var(--rot-hell); }

/* ---------- Zielanzeige (LED) ---------- */
.ziel { display: inline-flex; gap: 5px; padding: 5px; background: #040506; border: 1px solid #30343a; border-radius: 6px; box-shadow: 0 12px 34px rgba(0, 0, 0, .55); }
.ziel > span { display: block; padding: 7px 14px; background: #0d0a05; border-radius: 3px; }
.led { display: block; font-family: var(--technik); font-weight: 700; font-size: 1.2rem; line-height: 1.2; letter-spacing: .09em; color: var(--bernstein); text-shadow: 0 0 8px rgba(255, 190, 51, .9), 0 0 2px rgba(255, 190, 51, .9);
  -webkit-mask: radial-gradient(circle closest-side, #000 80%, transparent 96%) 0 0 / 3px 3px; mask: radial-gradient(circle closest-side, #000 80%, transparent 96%) 0 0 / 3px 3px; }
.led--klein { font-size: .88rem; letter-spacing: .08em; -webkit-mask-size: 2.5px 2.5px; mask-size: 2.5px 2.5px; }
.ziel.wechselt .led { animation: led-wechsel .5s steps(4, end); }
@keyframes led-wechsel { 0% { opacity: .15; } 50% { opacity: .45; } 100% { opacity: 1; } }
@media (max-width: 700px) { .hilfe-knopf { right: 12px; bottom: 12px; padding: 10px 16px 10px 12px; font-size: .92rem; } }

/* ---------- Kopf ---------- */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 60; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.kopf.ist-fest, .kopf.ist-offen { background: rgba(12, 14, 17, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--linie); }
.kopf__innen { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; flex: none; color: #fff; text-decoration: none; }
.logo svg { height: 30px; width: auto; }
.nav { display: flex; gap: clamp(14px, 1.7vw, 30px); margin-left: auto; }
.nav a { position: relative; padding: 8px 0; font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rot); transform: skewX(var(--schraeg)) scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current]::after { transform: skewX(var(--schraeg)) scaleX(1); }
.kopf__tel { font-family: var(--technik); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; color: var(--nebel); }
.kopf__tel:hover { color: #fff; }
.ansicht-knopf { display: grid; place-items: center; flex: none; width: 42px; height: 42px; margin-inline: -10px; border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--nebel); transition: color .2s, background .2s; }
.ansicht-knopf:hover { color: var(--licht); background: var(--blech); }
.ansicht-knopf__mond { display: none; }
html.hell .ansicht-knopf__sonne { display: none; }
html.hell .ansicht-knopf__mond { display: block; }
.menue-knopf { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; }
.menue-knopf span { display: block; width: 26px; height: 3px; margin: 5px auto; background: #fff; transform: skewX(var(--schraeg)); transition: transform .2s, opacity .2s; }
/* Sieben Menüpunkte (seit „E-Busse“): Die Telefonnummer weicht unter 1240 px, das Klappmenü kommt unter 1060 px. */
@media (max-width: 1240px) {
  .kopf__tel { display: none; }
}
@media (max-width: 1060px) {
  .menue-knopf { display: block; order: 2; margin-left: 0; }
  .ansicht-knopf { order: 1; margin-left: auto; margin-right: -14px; width: 46px; height: 46px; }
  .kopf__innen > .knopf { display: none; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--rand) 40px; background: var(--nacht); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; overflow-y: auto; }
  .kopf.ist-offen .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 18px 0; font-size: 1.5rem; font-weight: 800; font-style: italic; border-bottom: 1px solid var(--linie); }
  .nav a::after { display: none; }
  .kopf.ist-offen .menue-knopf span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .kopf.ist-offen .menue-knopf span:nth-child(2) { opacity: 0; }
  .kopf.ist-offen .menue-knopf span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Bühne Startseite ---------- */
.buehne { position: relative; min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.buehne__bilder, .buehne__bilder img, .buehne__bilder video { position: absolute; inset: 0; width: 100%; height: 100%; }
.buehne__bilder img, .buehne__bilder video { object-fit: cover; object-position: 62% 60%; opacity: 0; transition: opacity .9s ease; }
.buehne__bilder img.ist-aktiv, .buehne__bilder video.ist-aktiv { opacity: 1; }
/* Kurzfilm im Startbild: Der Bus steht im Film in der Bildmitte. */
.buehne__bilder video { object-position: 50% 50%; pointer-events: none; }
.buehne::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(12, 14, 17, .94) 0%, rgba(12, 14, 17, .72) 34%, rgba(12, 14, 17, .12) 62%, rgba(12, 14, 17, 0) 100%),
  linear-gradient(0deg, var(--nacht) 0%, rgba(12, 14, 17, .65) 22%, rgba(12, 14, 17, 0) 48%),
  linear-gradient(180deg, rgba(12, 14, 17, .7) 0%, rgba(12, 14, 17, 0) 22%); }
.buehne__inhalt { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 36px; }
.buehne h1 { margin: 26px 0 22px; max-width: 11ch; font-size: clamp(2.9rem, 7.4vw, 6.6rem); line-height: .92; letter-spacing: -.04em; }
.buehne h1.hat-umbruch { max-width: none; white-space: pre-line; } /* Überschrift mit festen Zeilen */
.buehne__text { max-width: 46ch; font-size: 1.15rem; color: #DADFE1; }
.buehne__knoepfe { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; }
.buehne__im-bild { margin: 34px 0 0; font-family: var(--technik); font-size: .95rem; color: var(--nebel); }
.buehne__im-bild b { color: #fff; }

.linien { position: relative; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid rgba(243, 244, 242, .16); }
.linien button { position: relative; padding: 22px 8px 26px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--nebel); transition: color .2s; }
.linien button + button { padding-left: clamp(12px, 2.4vw, 32px); border-left: 1px solid rgba(243, 244, 242, .16); }
.linien button:hover, .linien button[aria-selected="true"] { color: #fff; }
.linien__name { display: block; font-size: clamp(1.15rem, 2.2vw, 1.7rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; line-height: 1.1; }
.linien__info { display: block; margin-top: 4px; font-family: var(--technik); font-size: .9rem; }
.linien__lauf { position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: var(--rot); transform: scaleX(0); transform-origin: left; }
.linien button[aria-selected="true"] .linien__lauf { transform: scaleX(1); }
.linien.laeuft button[aria-selected="true"] .linien__lauf { animation: lauf var(--dauer, 7s) linear; }
@keyframes lauf { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .buehne::before { background: linear-gradient(0deg, var(--nacht) 0%, rgba(12, 14, 17, .9) 46%, rgba(12, 14, 17, .25) 78%, rgba(12, 14, 17, .6) 100%); }
  .buehne__bilder img { object-position: 70% 20%; height: 62%; }
  /* Film und sein Standbild kleiner: Der Bus füllt im Film fast das ganze Bild und wirkte auf dem Handy zu nah. */
  .buehne__bilder video, .buehne__bilder img.buehne__standbild { inset: 40px 0 auto 0; height: auto; aspect-ratio: 16 / 10; object-position: 70% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 72%, transparent 100%); }
  /* Schrift etwas tiefer, damit die Zielanzeige nicht mitten auf dem Bus sitzt. */
  .buehne__inhalt { padding-top: 184px; }
  .linien__name { white-space: nowrap; }
  .linien__name.mit-stecker svg { display: none; }
  .linien__info { display: none; }
}

/* ---------- Kennzahlen ---------- */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--linie); }
.zahlen div { padding: 30px 24px 30px 0; }
.zahlen div + div { padding-left: 28px; border-left: 1px solid var(--linie); }
.zahlen b { display: block; font-family: var(--technik); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; }
.zahlen span { display: block; margin-top: 8px; color: var(--nebel); font-size: .95rem; line-height: 1.4; max-width: 24ch; }
@media (max-width: 800px) { .zahlen { grid-template-columns: 1fr 1fr; } .zahlen div:nth-child(3) { padding-left: 0; border-left: 0; } .zahlen div:nth-child(n+3) { border-top: 1px solid var(--linie); } }

/* ---------- Filter-Reiter ---------- */
.reiter { display: flex; flex-wrap: wrap; gap: 10px; }
.reiter button { padding: 9px 18px; border: 1px solid var(--linie); border-radius: 999px; background: none; cursor: pointer; font-family: var(--technik); font-weight: 600; font-size: .95rem; color: var(--nebel); transition: all .15s; }
.reiter button:hover { color: #fff; border-color: var(--schiefer); }
.reiter button[aria-pressed="true"] { background: var(--licht); border-color: var(--licht); color: var(--nacht); }

/* ---------- Modelle ---------- */
.modelle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.modell { display: block; text-decoration: none; }
.modell[hidden] { display: none; }
.modell__bild { position: relative; aspect-ratio: 5 / 3; overflow: hidden; background: var(--blech); }
.modell__bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)) translate(var(--x, 0), var(--y, 0)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.modell:hover .modell__bild img { transform: scale(calc(var(--zoom, 1) * 1.05)) translate(var(--x, 0), var(--y, 0)); }
.modell__bild::after { content: ""; position: absolute; left: -12px; bottom: 0; width: 46%; height: 5px; background: var(--rot); transform: skewX(var(--schraeg)) scaleX(0); transform-origin: left; transition: transform .3s; }
.modell:hover .modell__bild::after { transform: skewX(var(--schraeg)) scaleX(1); }
.modell h3 { margin-top: 16px; font-size: 1.45rem; font-weight: 900; }
.modell__daten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 6px; font-family: var(--technik); font-size: .93rem; color: var(--nebel); }
.modell__daten b { color: var(--licht); font-weight: 700; }
@media (max-width: 1080px) { .modelle { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .modelle { grid-template-columns: 1fr; } }

/* ---------- Bestandstafel (wie eine Abfahrtstafel) ---------- */
.tafel { border-top: 1px solid var(--linie); }
.tafel__kopf, .tafel__zeile { display: grid; grid-template-columns: 150px minmax(180px, 1.6fr) 1.2fr 1fr 1.2fr 1fr auto; gap: 20px; align-items: center; }
.tafel__kopf { padding: 12px 0; font-family: var(--technik); font-size: .82rem; font-weight: 600; color: var(--schiefer); border-bottom: 1px solid var(--linie); }
.tafel__zeile { padding: 16px 0; border-bottom: 1px solid var(--linie); font-family: var(--technik); font-size: .97rem; color: #D5DADD; text-decoration: none; transition: background .15s; }
.tafel__zeile:hover { background: var(--blech); }
.tafel__zeile img { width: 150px; aspect-ratio: 3 / 2; object-fit: cover; }
.tafel__modell b { display: block; font-family: var(--schrift); font-style: italic; font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; color: #fff; line-height: 1.15; }
.tafel__modell small { color: var(--schiefer); font-size: .82rem; }
.tafel__fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; color: var(--schiefer); font-size: .92rem; }
@media (max-width: 1000px) {
  .tafel__kopf { display: none; }
  .tafel__zeile { grid-template-columns: 120px 1fr; gap: 6px 18px; padding: 18px 0; }
  .tafel__zeile img { width: 120px; grid-row: span 5; align-self: start; }
  .tafel__zeile > span[data-t]::before { content: attr(data-t) ": "; color: var(--schiefer); }
  .tafel__zeile .knopf { justify-self: start; margin-top: 8px; }
}

/* ---------- Service ---------- */
.service { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.service__bild { position: relative; }
.service__bild img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%); }
.service__liste { margin: 34px 0 0; padding: 0; list-style: none; }
.service__liste li { padding: 20px 0; border-top: 1px solid var(--linie); }
.service__liste h3 { margin-bottom: 6px; }
.service__liste p { margin: 0; color: var(--nebel); }
.notdienst { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 72px); border: 1px solid var(--linie); }
.notdienst > div { padding: 24px 28px; }
.notdienst > div + div { border-left: 1px solid var(--linie); }
.notdienst h3 { font-size: 1.05rem; font-style: normal; font-weight: 700; font-family: var(--technik); }
.notdienst a { display: block; margin-top: 6px; font-family: var(--technik); font-weight: 800; font-size: 1.4rem; text-decoration: none; }
.notdienst a:hover { color: var(--bernstein); }
.notdienst small { color: var(--schiefer); }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } .service__bild img { clip-path: none; } .notdienst > div + div { border-left: 0; border-top: 1px solid var(--linie); } }

/* ---------- Hilfe-Anreißer ---------- */
.hilfe-band { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hilfe-band p { color: var(--nebel); max-width: 52ch; margin-top: 20px; }
.fragen { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 28px 0 32px; padding: 0; list-style: none; }
.fragen button { padding: 12px 18px; border: 1px solid var(--linie); border-radius: 4px 18px 18px 18px; background: var(--blech); cursor: pointer; text-align: left; transition: border-color .15s, transform .15s; }
.fragen button:hover { border-color: var(--bernstein); transform: translateX(4px); }
@media (max-width: 900px) { .hilfe-band { grid-template-columns: 1fr; } }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; background: var(--asphalt); border: 1px solid var(--linie); border-radius: 14px; overflow: hidden; }
.chat__kopf { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #07080A; border-bottom: 1px solid var(--linie); }
.chat__kopf .ziel { box-shadow: none; }
.chat__kopf small { margin-left: auto; color: var(--schiefer); font-size: .78rem; text-align: right; line-height: 1.3; }
.chat__verlauf { flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 280px; max-height: 420px; padding: 18px; overflow-y: auto; scroll-behavior: smooth; }
.blase { max-width: 88%; padding: 11px 15px; font-size: .97rem; line-height: 1.5; border-radius: 4px 16px 16px 16px; background: var(--blech); align-self: flex-start; }
.blase--ich { align-self: flex-end; border-radius: 16px 4px 16px 16px; background: var(--rot); color: #fff; }
.blase a { color: var(--bernstein); font-weight: 600; }
.blase p { margin: 0 0 .6em; } .blase p:last-child { margin: 0; }
.blase ul { margin: .3em 0 .6em; padding-left: 1.2em; }
.blase--tippt { color: var(--schiefer); font-family: var(--technik); }
.chat__vorschlaege { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.chat__vorschlaege button { padding: 7px 13px; border: 1px solid var(--linie); border-radius: 999px; background: none; cursor: pointer; font-size: .86rem; color: var(--nebel); }
.chat__vorschlaege button:hover { border-color: var(--bernstein); color: #fff; }
.chat__eingabe { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--linie); background: #0A0C0E; }
.chat__eingabe input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 8px; background: var(--nacht); }
.chat__eingabe input::placeholder { color: var(--schiefer); }
.chat__eingabe button { flex: none; width: 48px; border: 0; border-radius: 8px; background: var(--rot); cursor: pointer; display: grid; place-items: center; }
.chat__eingabe button:hover { background: #FF1422; }
.chat-formular { display: grid; gap: 8px; margin-top: 8px; }
.chat-formular input { padding: 9px 11px; border: 1px solid var(--linie); border-radius: 6px; background: var(--nacht); font-size: .92rem; }

.hilfe-knopf { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border: 1px solid #3a3f46; border-radius: 999px; background: #07080A; cursor: pointer; box-shadow: 0 14px 40px rgba(0, 0, 0, .6); font-family: var(--technik); font-weight: 700; transition: transform .15s, border-color .15s; }
.hilfe-knopf:hover { transform: translateY(-2px); border-color: var(--bernstein); }
.hilfe-knopf i { width: 10px; height: 10px; border-radius: 50%; background: var(--bernstein); box-shadow: 0 0 10px var(--bernstein); }
.hilfe-fenster { position: fixed; right: 20px; bottom: 84px; z-index: 70; width: min(400px, calc(100vw - 24px)); max-height: calc(100svh - 110px); display: none; box-shadow: 0 24px 70px rgba(0, 0, 0, .7); }
.hilfe-fenster.ist-offen { display: flex; }
.hilfe-fenster .chat__verlauf { max-height: min(46svh, 420px); }

/* ---------- Aktuelles ---------- */
.quelle { display: inline-flex; align-items: center; gap: 7px; font-family: var(--technik); font-weight: 700; font-size: .82rem; color: var(--nebel); }
.quelle svg { width: 16px; height: 16px; }
.quelle--yt svg { color: #FF4650; } .quelle--fb svg { color: #6FA8FF; } .quelle--news svg { color: var(--rot-hell); }
.strom { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.strom__spalte { display: grid; gap: 24px; }
.beitrag { display: flex; flex-direction: column; background: var(--asphalt); border: 1px solid var(--linie); text-decoration: none; transition: border-color .2s; }
a.beitrag:hover, .beitrag:has(a:hover) { border-color: var(--schiefer); }
.beitrag[hidden] { display: none; }
.beitrag__bild { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blech); }
.beitrag__bild img { width: 100%; height: 100%; object-fit: cover; }
.beitrag__text { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.beitrag__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.beitrag time { font-family: var(--technik); font-size: .82rem; color: var(--schiefer); }
.beitrag h3 { font-size: 1.3rem; }
.beitrag p { margin: 0; color: var(--nebel); font-size: .98rem; }
.beitrag--gross h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 900; }
.beitrag--gross .beitrag__bild { aspect-ratio: 16 / 10; }
/* Meldungen und Termine: dunkelrote Fläche (Rot des Schrägfelds über der Fußzeile) mit der Überschrift in Weiß */
.beitrag__flaeche { display: flex; align-items: center; justify-content: center; padding: 20px; background: #BF0510; text-align: center; }
.beitrag__flaeche--hell { background: var(--rot); } /* Übergaben: helleres ProBus-Rot */
.beitrag__flaeche small { display: block; margin-bottom: 6px; font-size: .55em; font-weight: 800; letter-spacing: 0; }
.beitrag__flaeche b { display: inline-block; font-weight: inherit; white-space: nowrap; }
.beitrag__flaeche span { color: #fff; font-style: italic; font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.02em; line-height: 1.05; }
.beitrag--quer { flex-direction: row; }
.beitrag--quer .beitrag__bild { flex: 0 0 42%; aspect-ratio: auto; min-height: 150px; }
.beitrag--fb .beitrag__text { padding-top: 22px; }
.beispiel { padding: 2px 8px; border: 1px dashed var(--schiefer); border-radius: 4px; font-family: var(--technik); font-size: .72rem; color: var(--schiefer); }
.abspiel { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(0deg, rgba(12, 14, 17, .55), rgba(12, 14, 17, .1)); }
.abspiel span { display: grid; place-items: center; width: 68px; height: 48px; background: var(--rot); transform: skewX(var(--schraeg)); transition: transform .15s; }
.abspiel:hover span { transform: skewX(var(--schraeg)) scale(1.1); }
.abspiel svg { transform: skewX(12deg); }
.beitrag__bild iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .strom { grid-template-columns: 1fr; } .raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .raster { grid-template-columns: 1fr; } .beitrag--quer { flex-direction: column; } .beitrag--quer .beitrag__bild { aspect-ratio: 16 / 9; } }

/* ---------- Kontakt / PLZ-Finder ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.plz { margin-top: 34px; }
.plz label { display: block; font-family: var(--technik); font-weight: 600; margin-bottom: 8px; }
.plz input { width: 190px; padding: 14px 16px; border: 2px solid var(--linie); border-radius: 0; background: var(--nacht); font-family: var(--technik); font-weight: 800; font-size: 1.6rem; letter-spacing: .12em; }
.plz input:focus { border-color: var(--bernstein); outline: 0; }
.plz small { display: block; margin-top: 8px; color: var(--schiefer); }
.person { display: flex; gap: 22px; align-items: center; margin-top: 30px; padding: 22px; background: var(--blech); border-left: 4px solid var(--rot); }
.person img { width: 104px; height: 104px; object-fit: cover; border-radius: 50%; flex: none; }
.person h3 { font-size: 1.5rem; }
.person p { margin: 4px 0 10px; color: var(--nebel); font-size: .95rem; }
.person a { display: block; font-family: var(--technik); font-weight: 700; text-decoration: none; }
.person a:hover { color: var(--bernstein); }
.standort { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--linie); align-self: start; }
.standort h3 { margin-bottom: 14px; font-size: 1.5rem; } /* so groß wie „ProBus Büro Zentrale“ */
.standort dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 22px 0 28px; font-size: .98rem; }
.standort dt { color: var(--schiefer); font-family: var(--technik); }
.standort dd { margin: 0; }
.standort dd a { text-decoration: none; } .standort dd a:hover { color: var(--bernstein); }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; } }

/* ---------- Fuß ---------- */
.fuss { padding-block: 64px 110px; background: #07080A; border-top: 1px solid var(--linie); font-size: .97rem; }
.fuss__raster { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.fuss .logo svg { height: 40px; }
/* Unterzeile wie im Firmenlogo: „Omnibusvertrieb GmbH“ in Rot, eckige Schrift, so breit wie der Schriftzug */
.logo--zusatz { flex-direction: column; align-items: stretch; width: max-content; }
.logo__zusatz { display: block; margin-top: 6px; font-family: var(--technik); font-style: italic; font-weight: 400; font-size: 17px; line-height: 1; letter-spacing: .01em; color: var(--rot); white-space: nowrap; text-align: justify; text-align-last: justify; }
.fuss h4, .fuss__titel { margin-bottom: 16px; font-style: italic; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1.15; color: #fff; }
.fuss__titel { margin: 22px 0 10px; } .fuss__zeile { white-space: nowrap; } /* Leitsatz unter dem Logo, wie die Fußzeilen-Überschriften */ /* so groß wie die Überschriften der Ansprechpartner-Karten */
.fuss ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fuss a.mit-zeichen { display: flex; width: max-content; align-items: center; gap: 12px; } .fuss a.mit-zeichen svg { width: 28px; height: 28px; flex: none; margin-block: -8px; } /* großes Zeichen, Zeilenabstand bleibt wie bei den übrigen Links */ /* Facebook- und YouTube-Zeichen */
.fuss a { text-decoration: none; color: #D5DADD; } .fuss a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rot); text-underline-offset: .3em; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linie); color: var(--schiefer); font-size: .88rem; }
.fuss__unten nav { display: flex; gap: 24px; }
@media (max-width: 900px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss__raster { grid-template-columns: 1fr; } }

/* ---------- Unterseiten: Seitenkopf ---------- */
.seitenkopf { position: relative; padding: 170px 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.seitenkopf--bild { min-height: min(86svh, 780px); display: flex; align-items: flex-end; }
.seitenkopf--bild > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.seitenkopf--bild::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 14, 17, .93) 0%, rgba(12, 14, 17, .6) 40%, rgba(12, 14, 17, 0) 70%), linear-gradient(0deg, var(--nacht) 0%, rgba(12, 14, 17, 0) 40%), linear-gradient(180deg, rgba(12, 14, 17, .7), rgba(12, 14, 17, 0) 25%); }
.seitenkopf .rahmen { position: relative; z-index: 2; width: 100%; }
.seitenkopf h1 { margin: 24px 0 18px; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .92; letter-spacing: -.04em; }
.seitenkopf p { max-width: 54ch; font-size: 1.15rem; color: #DADFE1; }
.brotkrumen { font-family: var(--technik); font-size: .9rem; color: var(--nebel); }
.brotkrumen a { text-decoration: none; } .brotkrumen a:hover { color: #fff; text-decoration: underline; }

/* ---------- Modellseite ---------- */
.eckdaten { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--linie); }
.eckdaten div { display: flex; gap: 16px; align-items: center; padding: 26px 20px 26px 0; }
.eckdaten div + div { padding-left: 24px; border-left: 1px solid var(--linie); }
.eckdaten svg { width: 57px; height: 57px; margin-block: -5px; flex: none; color: var(--rot-hell); } /* Symbole 50 % größer, Zeile bleibt fast gleich hoch */
.eckdaten b { display: block; font-size: clamp(1.15rem, 2.2vw, 1.7rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; line-height: 1.1; } /* wie die Reiter E-Bus, Linie … auf der Startseite */
.eckdaten span { color: var(--nebel); font-size: .9rem; }
@media (max-width: 860px) { .eckdaten { grid-template-columns: 1fr 1fr; } .eckdaten div:nth-child(3) { padding-left: 0; border-left: 0; } .eckdaten div:nth-child(n+3) { border-top: 1px solid var(--linie); } }
.sprungleiste { position: sticky; top: 76px; z-index: 40; background: rgba(12, 14, 17, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linie); }
.sprungleiste .rahmen { display: flex; gap: 32px; align-items: center; overflow-x: auto; height: 56px; }
.sprungleiste a { font-family: var(--technik); font-weight: 600; font-size: .95rem; color: var(--nebel); text-decoration: none; white-space: nowrap; }
.sprungleiste a:not(.knopf) { font-size: 1.1rem; }
.sprungleiste a:hover { color: #fff; }
.sprungleiste .knopf { margin-left: auto; color: #fff; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.zweispaltig > p { font-size: 1.15rem; color: #D5DADD; margin: 0; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; } }
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.galerie button { padding: 0; border: 0; background: var(--blech); cursor: zoom-in; overflow: hidden; aspect-ratio: 5 / 3; }
.galerie button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galerie button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr 1fr; } }
.lichtkasten { max-width: min(1200px, 94vw); padding: 0; border: 0; background: none; }
.lichtkasten::backdrop { background: rgba(4, 5, 6, .92); }
.lichtkasten img { max-height: 86svh; width: auto; margin: auto; }
.lichtkasten button { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border: 1px solid var(--linie); border-radius: 50%; background: var(--nacht); cursor: pointer; font-size: 1.4rem; line-height: 1; }
.grundrisse { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grundrisse figure { margin: 0; padding: 28px; background: var(--asphalt); border: 1px solid var(--linie); }
.grundrisse figcaption { margin-top: 14px; font-family: var(--technik); color: var(--nebel); font-size: .95rem; }
@media (max-width: 760px) { .grundrisse { grid-template-columns: 1fr; } }
.daten { width: 100%; border-collapse: collapse; font-size: 1rem; }
.daten th, .daten td { padding: 14px 0; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.daten th { width: 34%; padding-right: 24px; font-family: var(--technik); font-weight: 600; color: var(--nebel); }
.marken { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.marken li { padding: 8px 16px; border: 1px solid var(--linie); border-radius: 999px; font-family: var(--technik); font-size: .93rem; }
.broschuere { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 28px; background: var(--asphalt); border: 1px solid var(--linie); }
.broschuere img { box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.broschuere p { color: var(--nebel); margin: 10px 0 20px; }
@media (max-width: 620px) { .broschuere { grid-template-columns: 1fr; } .broschuere img { max-width: 200px; } }
.aufruf { position: relative; overflow: hidden; background: var(--rot); }
.aufruf::before { content: ""; position: absolute; inset: 0 -10% 0 58%; background: rgba(0, 0, 0, .16); transform: skewX(var(--schraeg)); }
.aufruf .rahmen { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(44px, 6vw, 72px); }
.aufruf h2 { max-width: 16ch; }
/* Schmaler Anruf-Streifen (Bestandstafel ohne Fahrzeuge): wie .aufruf, ein Viertel so hoch, so breit wie der Inhaltsbereich */
.anruf-streifen { position: relative; display: block; overflow: hidden; margin-top: 28px; background: var(--rot); color: #fff; text-decoration: none; }
.anruf-streifen::before { content: ""; position: absolute; inset: 0 -10% 0 58%; background: rgba(0, 0, 0, .16); transform: skewX(var(--schraeg)); transition: background .2s; }
.anruf-streifen:hover::before { background: rgba(0, 0, 0, .3); }
.anruf-streifen__innen { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-inline: clamp(18px, 2.4vw, 32px); }
.anruf-streifen__text { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.anruf-streifen__nummer { font-family: var(--technik); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); white-space: nowrap; } /* so groß wie „Jetzt anrufen“ */
.aufruf .knopf::before { background: #fff; } .aufruf .knopf { color: var(--nacht); }
.aufruf .knopf:hover::before { background: var(--nacht); box-shadow: none; } .aufruf .knopf:hover { color: #fff; }

/* ---------- Hilfe-Seite ---------- */
.hilfe-start { display: grid; grid-template-columns: 1fr minmax(340px, 520px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.hilfe-start .chat__verlauf { min-height: 340px; }
@media (max-width: 960px) { .hilfe-start { grid-template-columns: 1fr; } }
.themen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.thema { padding: 30px 28px 32px; background: var(--asphalt); border: 1px solid var(--linie); border-top: 4px solid var(--rot); }
.thema svg { width: 40px; height: 40px; margin-bottom: 20px; color: var(--bernstein); }
.thema svg.symbol-zahnrad { width: 55px; height: 55px; margin: -7.5px 0 12.5px -6px; } /* Zahnrad etwas größer, Text bleibt an seinem Platz */
.thema svg.symbol-breit { width: 64px; height: 55px; margin: -7.5px 0 12.5px -3px; } /* Ersatzteile-Symbol: breiter, gleiche Strichstärke wie das Zahnrad */
.thema p { color: var(--nebel); margin: 10px 0 18px; }
.thema ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.thema li button { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--linie); text-underline-offset: .3em; }
.thema li button:hover { text-decoration-color: var(--bernstein); color: #fff; }
@media (max-width: 960px) { .themen { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--linie); }
.faq details:first-of-type { border-top: 1px solid var(--linie); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 800; font-style: italic; font-size: 1.2rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-style: normal; font-family: var(--technik); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--rot-hell); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 70ch; color: var(--nebel); padding-bottom: 22px; margin: 0; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formular label { display: grid; gap: 6px; font-family: var(--technik); font-weight: 600; font-size: .93rem; }
.formular .breit { grid-column: 1 / -1; }
.formular input, .formular textarea, .formular select { padding: 13px 14px; border: 1px solid var(--linie); border-radius: 0; background: var(--nacht); font-family: var(--schrift); font-weight: 400; font-size: 1rem; }
.formular input:focus, .formular textarea:focus, .formular select:focus { border-color: var(--bernstein); outline: 0; }
.formular small { font-weight: 400; color: var(--schiefer); }
.formular .haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-family: var(--schrift); color: var(--nebel); }
.formular .haken input { margin-top: 5px; accent-color: var(--rot); }
.erfolg { padding: 16px 18px; border-left: 4px solid var(--bernstein); background: var(--blech); }
@media (max-width: 640px) { .formular { grid-template-columns: 1fr; } }
.hinweis { margin-top: 18px; font-size: .88rem; color: var(--schiefer); max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Bühne: Bus nach rechts rücken, damit die Schlagzeile frei steht (je Bild eigener Versatz) */
@media (min-width: 901px) {
  .buehne__bilder img, .buehne__bilder video { object-position: var(--lage, 62% 60%); transform: translateX(var(--schub, 0)) translateY(var(--hoch, 0)) scale(var(--groesse, 1)); transform-origin: 100% 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
}
/* Bilder, die verschoben werden (--hoch, Busmitte auf Höhe der Überschrift): oben und unten weich ausblenden, damit keine Kante entsteht. */
@media (min-width: 901px) {
  .buehne__bilder img[style*="--hoch"] {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 92%);
    mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 92%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
/* Verkleinerte Bilder (--groesse): auch oben weich ausblenden, weil dort der Rand des Fotos sichtbar würde. */
@media (min-width: 901px) {
  .buehne__bilder img[style*="--groesse"] {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 92%);
    mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 92%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
/* Ganzes Foto zeigen (z. B. R/L in der Reise-Folie): nichts abschneiden, damit der Bus vollständig zu sehen ist.
   Die Ränder des Fotos laufen weich aus; die Bereiche sind auf dieses Foto abgestimmt (Bus frei, Fotokanten unsichtbar). */
@media (min-width: 901px) {
  .buehne__bilder img.buehne__ganz {
    object-fit: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 9%, #000 19%, #000 83%, transparent 94.5%), linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 9%, #000 19%, #000 83%, transparent 94.5%), linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
/* Kurzfilm kleiner zeigen: Im Film füllt der Bus fast das ganze Bild und wirkte im Startbild zu nah.
   Deshalb steht der Film (und sein Standbild) verkleinert rechts, die Ränder laufen weich in den Hintergrund aus.
   Die Größe steht in --film-breite; größerer Wert = Bus näher. */
@media (min-width: 901px) {
  .buehne__bilder video, .buehne__bilder img.buehne__standbild {
    inset: 53% 0 auto auto; width: min(var(--film-breite, 72%), calc(min(100svh, 940px) * 1.5)); height: auto; aspect-ratio: 16 / 9; object-position: 50% 50%;
    transform: translateY(var(--film-y, -50%)); /* --film-y je Film: kleinere Zahl = Film steht höher */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
.buehne > .rahmen { width: 100%; }

/* ---------- Nachbesserungen Handy ---------- */
.raster--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .raster--2 { grid-template-columns: 1fr; }
  .seitenkopf--bild::before { background: linear-gradient(0deg, var(--nacht) 0%, rgba(12, 14, 17, .82) 45%, rgba(12, 14, 17, .25) 78%, rgba(12, 14, 17, .55) 100%); }
  .seitenkopf--bild > img { object-position: 62% 30%; }
}

/* Dunkler Streifen mit den 24-Stunden-Diensten der Hersteller (wie auf der Serviceseite) */
.notdienst-band { --linie: #3F464D; --schiefer: #93A0A7; --nebel: #B9C2C7; --licht: #F3F4F2; padding-block: clamp(44px, 6vw, 80px); background: #1F2327; color: var(--licht); }
.notdienst-band__dach { margin: 0 0 .7rem; font-family: var(--technik); font-weight: 600; font-size: 1.15rem; color: var(--schiefer); }
.notdienst-band h2 { margin: 0 0 24px; color: var(--licht); }
.notdienst-band__spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.notdienst-band h3 { margin: 0 0 .8rem; font-size: 1.35rem; color: var(--licht); }
.notdienst-band p { margin: 0; color: var(--nebel); }
.notdienst-band a { color: var(--licht); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.notdienst-band a:hover { color: #FF5A63; }

/* Dunkler Streifen für ganze Abschnitte (gleiche Farben wie der 24h-Service-Streifen) */
.band-dunkel { --nacht: #1F2327; --asphalt: #262B30; --blech: #30363C; --linie: #3F464D; --schiefer: #93A0A7; --nebel: #B9C2C7; --licht: #F3F4F2; --rot-hell: #FF5A63; background: #1F2327; color: var(--licht); }
.band-dunkel h2, .band-dunkel h3 { color: var(--licht); }

/* Kopf mit dem E-Bus-Bild: Bus so groß wie im Kurzfilm auf der Startseite (gleiche Breite, rechts, Ränder weich) */
/* Kurzfilm im Kopf: liegt genau über seinem Standbild und blendet ein, sobald er läuft */
.seitenkopf--film > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.seitenkopf--film > video.ist-aktiv { opacity: 1; }
@media (min-width: 901px) {
  .seitenkopf--film > img, .seitenkopf--film > video {
    inset: 53% 0 auto auto; width: min(var(--film-breite, 72%), calc(min(100svh, 940px) * 1.5)); height: auto; aspect-ratio: 16 / 9; object-position: 50% 50%;
    transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}

/* Kopfbild einer Modellseite je Modell verschieben (--kopf-x nach rechts, --kopf-y nach unten; nur großer Bildschirm) */
@media (min-width: 901px) {
  .seitenkopf--bild > img[style*="--kopf"] {
    /* Das Bild ragt oben über den Kopf hinaus, damit nach dem Verschieben oben keine leere Fläche bleibt; es läuft dort im Verlauf aus. */
    top: -40%; height: 140%;
    transform: translate(var(--kopf-x, 0), var(--kopf-y, 0)) scale(var(--kopf-s, 1)); transform-origin: 75% 70%; /* --kopf-s: Größe */
    /* Oben und links weich auslaufen, damit die verschobene Bildkante nicht zu sehen ist; --kopf-r: rechts ebenso (nur wenn das Bild weit nach links geschoben ist) */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%), linear-gradient(90deg, transparent 0, #000 16%, #000 calc(100% - var(--kopf-r, 0%)), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 16%), linear-gradient(90deg, transparent 0, #000 16%, #000 calc(100% - var(--kopf-r, 0%)), transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
