/* Unterseiten Campus 2a "Fahrt ins Licht": Morgenlicht und Blick aus dem Fuehrerstand.
   Grundlayout: /unterseiten-basis.css. Kopf und Fuss: /campus/style.css und /campus/rahmen.css.
   Leitmotive wie auf der Startseite: warmer Lichtschein, Kabinenfenster mit dunklem Rahmen und Pult,
   Marker unter dem Titel, Fahrtbalken unter dem Kopf, Halte im Ablauf, Strecke bei den Standorten.
   Zweispalter sind immer gleich hoch: Bilder und Fenster strecken sich auf die Nachbarspalte,
   FAQ und Formular bekommen links bzw. rechts ein Fenster, das mitwaechst.
   Die Szenen im Fenster (Strecke zum Horizont) sind kleine Inline-SVGs, keine Zusatzbilder. */
:root {
  --u-grund: #ffffff;
  --u-grund-2: #f1f2f1;
  --u-flaeche: #ffffff;
  --u-flaeche-2: #f1f2f1;
  --u-text: #2b2b29;
  --u-text-2: #585856;
  --u-akzent-text: #8a5a00;
  --u-akzent-weich: rgba(247,166,0,.16);
  --u-linie: #e1e3e2;
  --u-linie-stark: #c9cbca;
  --u-aufruf-grund: #2b2b29;
  --u-aufruf-text: #f4f4f2;
  --u-radius: 28px;
  --u-radius-klein: 14px;
  --u-knopf-radius: 999px;
  --u-schatten: 0 1px 2px rgba(0,0,0,.04), 0 30px 60px -36px rgba(28,28,27,.35);
  --u-h1: clamp(2.6rem, 1.2rem + 4.6vw, 5.2rem);
  --u-h2: clamp(2.1rem, 1.4rem + 2.2vw, 3.5rem);
  --u-titel-gewicht: 600;
  --u-titel-abstand: -0.03em;
  --u-titel-zeile: 1.02;
  --u-breite: 1264px;
  --u-rand: clamp(20px, 4vw, 48px);
  --u-kopf-h: 84px;
  /* eigene Werte der Fassung */
  --a-rahmen: #2b2b29;
  --a-pult: #232322;
  --a-glut: #ffc54d;
  --a-fenster: 34px 34px 14px 14px;
  --a-kabine: 42px 42px 26px 26px;
  /* Szenen im Fenster: Strecke zum Horizont im Morgenlicht (Inline-SVG, mit und ohne Sonne) */
  --a-szene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='h' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f7e3c3'/%3E%3Cstop offset='.55' stop-color='%23ffd08a'/%3E%3Cstop offset='1' stop-color='%23ffad2e'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2357473a'/%3E%3Cstop offset='.5' stop-color='%2334302c'/%3E%3Cstop offset='1' stop-color='%23262624'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff4d6'/%3E%3Cstop offset='1' stop-color='%23f7a600'/%3E%3C/linearGradient%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23fff7e0'/%3E%3Cstop offset='.22' stop-color='%23fff1c8'/%3E%3Cstop offset='.3' stop-color='%23ffd477' stop-opacity='.85'/%3E%3Cstop offset='1' stop-color='%23ffb33a' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='400' height='161' fill='url%28%23h%29'/%3E%3Cpath d='M0 161 Q24 150 44 156 T96 152 T150 157 T190 159 H210 T262 154 T318 157 T362 150 T400 155 V162 H0Z' fill='%236a5543'/%3E%3Crect y='160' width='400' height='140' fill='url%28%23b%29'/%3E%3Cpath d='M186 171H214M175 182H225M149 206H251M114 237H286M72 275H328' stroke='%231b1a18' stroke-width='5'/%3E%3Cpath d='M198 160L52 300M202 160L348 300' stroke='url%28%23s%29' stroke-width='3.4'/%3E%3Cpath d='M30 34V300M370 34V300' stroke='%23262624' stroke-width='8'/%3E%3Cpath d='M30 56H74M370 56H326M0 50L200 148M400 50L200 148' stroke='%23262624' stroke-width='2'/%3E%3Cpath d='M118 110V178M282 110V178' stroke='%232f2d2a' stroke-width='4'/%3E%3Cpath d='M166 138V166M234 138V166' stroke='%233a3632' stroke-width='2'/%3E%3C/svg%3E")/*SZENE*/;
  --a-szene-sonne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='h' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f7e3c3'/%3E%3Cstop offset='.55' stop-color='%23ffd08a'/%3E%3Cstop offset='1' stop-color='%23ffad2e'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2357473a'/%3E%3Cstop offset='.5' stop-color='%2334302c'/%3E%3Cstop offset='1' stop-color='%23262624'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff4d6'/%3E%3Cstop offset='1' stop-color='%23f7a600'/%3E%3C/linearGradient%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23fff7e0'/%3E%3Cstop offset='.22' stop-color='%23fff1c8'/%3E%3Cstop offset='.3' stop-color='%23ffd477' stop-opacity='.85'/%3E%3Cstop offset='1' stop-color='%23ffb33a' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='400' height='161' fill='url%28%23h%29'/%3E%3Ccircle cx='200' cy='150' r='70' fill='url%28%23g%29'/%3E%3Cpath d='M0 161 Q24 150 44 156 T96 152 T150 157 T190 159 H210 T262 154 T318 157 T362 150 T400 155 V162 H0Z' fill='%236a5543'/%3E%3Crect y='160' width='400' height='140' fill='url%28%23b%29'/%3E%3Cpath d='M186 171H214M175 182H225M149 206H251M114 237H286M72 275H328' stroke='%231b1a18' stroke-width='5'/%3E%3Cpath d='M198 160L52 300M202 160L348 300' stroke='url%28%23s%29' stroke-width='3.4'/%3E%3Cpath d='M30 34V300M370 34V300' stroke='%23262624' stroke-width='8'/%3E%3Cpath d='M30 56H74M370 56H326M0 50L200 148M400 50L200 148' stroke='%23262624' stroke-width='2'/%3E%3Cpath d='M118 110V178M282 110V178' stroke='%232f2d2a' stroke-width='4'/%3E%3Cpath d='M166 138V166M234 138V166' stroke='%233a3632' stroke-width='2'/%3E%3C/svg%3E")/*SZENE-SONNE*/;
}
@media (max-width: 1180px) { :root { --u-kopf-h: 72px; } }
html { scroll-padding-top: calc(var(--u-kopf-h) + 16px); }

/* ---------- Kopf der Seite: Fahrtbalken wie auf der Startseite ---------- */
.kopf { border-bottom: 0; }
.fahrt-balken { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(43,43,41,.06); pointer-events: none; }
.fahrt-balken span { display: block; height: 100%; background: linear-gradient(90deg, #f7a600, #ffc54d); transform: scaleX(0); transform-origin: left center; }
html:not(.js) .fahrt-balken { display: none; }

/* ---------- Grundton ---------- */
.u-seite .u-h1 { letter-spacing: -0.035em; line-height: .99; hyphenate-limit-chars: 10 4 4; }
/* Marker wie im Hero, hier als Lichtstreif, der im Seitenkopf einmal aufzieht */
.u-seite .u-akzent { color: var(--u-text); background: linear-gradient(90deg, rgba(247,166,0,.55), rgba(255,197,77,.55) 70%, rgba(255,222,150,.5)) no-repeat 0 88% / 100% .3em; padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.u-aufruf .u-akzent { background: none; color: var(--a-glut); }
.u-knopf { font-size: 18px; min-height: 58px; padding: 14px 30px; }
.u-knopf:hover { background: #ffb81f; border-color: #ffb81f; box-shadow: 0 8px 22px -10px rgba(201,133,0,.7); }
.u-seite .u-knopf { color: var(--u-auf-akzent); }
.u-seite .u-knopf-linie { color: var(--u-text); border-color: var(--u-text); }
.u-seite .u-knopf-linie:hover { color: #fff; }
.u-knopf-linie:hover { background: var(--u-text); border-color: var(--u-text); color: #fff; box-shadow: none; }
.u-link-pfeil { border-bottom: 3px solid var(--ec-orange); }
.u-block { padding: clamp(64px, 8vw, 120px) 0; }
.u-block-kopf { max-width: 48rem; }

/* ---------- Seitenkopf: Morgenlicht ---------- */
.u-kopf { overflow: hidden; border-bottom: 0; padding-top: clamp(16px, 2.6vw, 36px); background: var(--u-grund); }
/* warmer Lichtschein oben rechts, geht beim Laden einmal auf */
.u-kopf::before { content: ""; position: absolute; right: -18%; top: -42%; width: min(1100px, 82vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(247,166,0,.22), rgba(247,166,0,.08) 52%, rgba(247,166,0,0)); pointer-events: none; }
.u-kopf > .u-innen { position: relative; }
/* Lichtspur am unteren Rand */
.u-kopf::after { height: 3px; bottom: 0; background: linear-gradient(90deg, rgba(247,166,0,0), #f7a600 22%, #ffc54d 62%, rgba(255,197,77,0)); }
.u-brotkrumen a { min-height: 40px; }
/* Hinweis "Naechster Start" wie eine Pult-Anzeige */
.u-info { align-items: center; width: fit-content; max-width: 100%; margin-top: 4px; padding: 12px 20px 12px 16px; border: 0; border-radius: 16px; background: var(--a-rahmen); color: #f1f1ef; font-weight: 500; box-shadow: 0 18px 36px -24px rgba(43,43,41,.8); }
.u-info .u-punkt { transform: none; background: var(--a-glut); box-shadow: 0 0 10px rgba(255,197,77,.8); }

/* Kopf mit Bild: Kabinenfenster mit dunklem Rahmen, unten das Pult mit Lampen */
.u-kopf-bild { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--a-kabine); background: linear-gradient(180deg, #3a3a38, var(--a-rahmen) 30%); box-shadow: 0 2px 0 rgba(255,255,255,.08) inset, 0 50px 90px -50px rgba(43,43,41,.7), 0 18px 40px -28px rgba(201,133,0,.45); }
.u-kopf-bild img { left: 12px; top: 12px; width: calc(100% - 24px); height: calc(100% - 64px); border-radius: var(--a-fenster); }
/* Pult: Anzeige-Leiste und drei Lampen */
.u-kopf-bild::before { content: ""; position: absolute; left: 18px; right: 18px; bottom: 14px; height: 26px; border-radius: 10px;
  background:
    radial-gradient(circle, #6fcf7a 0 5px, transparent 6px) right 58px center / 14px 14px no-repeat,
    radial-gradient(circle, #f7a600 0 5px, transparent 6px) right 34px center / 14px 14px no-repeat,
    radial-gradient(circle, #4b4b48 0 5px, transparent 6px) right 10px center / 14px 14px no-repeat,
    linear-gradient(90deg, #f7a600, #ffc54d) 12px center / 22% 4px no-repeat,
    var(--a-pult); }
/* Lichtschein, der einmal ueber das Fenster zieht */
.u-kopf-signal { left: 12px; top: 12px; right: 12px; bottom: 52px; width: auto; height: auto; overflow: hidden; border-radius: var(--a-fenster); background: linear-gradient(115deg, rgba(255,255,255,.14), rgba(255,255,255,0) 34%), radial-gradient(120% 90% at 50% 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,.22) 100%); transform: none; pointer-events: none; }
.u-kopf-signal::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -45%; width: 38%; background: linear-gradient(100deg, rgba(255,214,140,0), rgba(255,226,170,.5), rgba(255,214,140,0)); transform: skewX(-12deg); opacity: 0; }

@media (min-width: 960px) {
  .u-kopf-mit-bild .u-kopf-raster { grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); align-items: stretch; }
  .u-kopf-mit-bild .u-kopf-text { display: flex; flex-direction: column; justify-content: center; padding: 0; }
  .u-kopf-mit-bild .u-kopf-bild { aspect-ratio: auto; max-height: none; min-height: 440px; }
  .u-kopf-mit-bild .u-h1 { font-size: clamp(2.6rem, 1rem + 3.6vw, 4.6rem); }

  /* Kopf ohne Bild: rechts ein kleines Kabinenfenster, Strecke zum Horizont, die Sonne geht auf */
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster { position: relative; min-height: 300px; }
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-text { max-width: calc(100% - 420px); }
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::before { content: ""; position: absolute; right: var(--u-rand); top: 50%; width: 344px; height: 296px; margin-top: -148px; box-sizing: border-box; border: 12px solid transparent; border-bottom-width: 44px; border-radius: var(--a-kabine);
    background:
      radial-gradient(circle, #6fcf7a 0 5px, transparent 6px) right 60px bottom 15px / 14px 14px no-repeat border-box,
      radial-gradient(circle, #f7a600 0 5px, transparent 6px) right 38px bottom 15px / 14px 14px no-repeat border-box,
      radial-gradient(circle, #4b4b48 0 5px, transparent 6px) right 16px bottom 15px / 14px 14px no-repeat border-box,
      var(--a-szene) center bottom / cover no-repeat padding-box,
      linear-gradient(180deg, #3a3a38, #2b2b29 30%) border-box;
    background-clip: border-box, border-box, border-box, padding-box, border-box;
    box-shadow: 0 50px 90px -50px rgba(43,43,41,.7), 0 18px 40px -28px rgba(201,133,0,.45); }
  /* die Sonne mit Hof, sitzt auf dem Horizont des Fensters */
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after { content: ""; position: absolute; right: calc(var(--u-rand) + 52px); top: 50%; width: 240px; height: 240px; margin-top: -134px; border-radius: 50%; background: radial-gradient(closest-side, #fff7e0, #fff1c8 16%, rgba(255,212,119,.8) 24%, rgba(255,190,80,.28) 55%, rgba(255,179,58,0)); pointer-events: none; transform-origin: 50% 50%; }
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after { clip-path: inset(0 0 calc(50% - 4px) 0 round 0 0 0 0); }
}
@media (max-width: 959px) {
  /* Kopf ohne Bild: unter dem Text ein schmales Panoramafenster mit Blick auf die Strecke */
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after { content: ""; display: block; height: clamp(124px, 30vw, 190px); box-sizing: border-box; border: 8px solid var(--a-rahmen); border-bottom-width: 26px; border-radius: 30px 30px 20px 20px; background: var(--a-szene-sonne) center 56% / cover no-repeat; box-shadow: 0 30px 50px -34px rgba(43,43,41,.7), 0 14px 30px -24px rgba(201,133,0,.45); }
  .u-bewegt .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after { animation: a-fenster-rein .9s var(--u-kurve) .3s both; }
  .u-kopf-bild { border-radius: 32px 32px 22px 22px; }
  .u-kopf-bild img { left: 8px; top: 8px; width: calc(100% - 16px); height: calc(100% - 52px); border-radius: 24px 24px 10px 10px; }
  .u-kopf-signal { left: 8px; top: 8px; right: 8px; bottom: 44px; border-radius: 24px 24px 10px 10px; }
  .u-kopf-bild::before { left: 12px; right: 12px; bottom: 10px; height: 24px; }
}

/* Kennzahlen im Kopf: das Pult unter dem Fenster */
.u-kopf-fakten .u-fakten { gap: 10px; padding: 10px; background: linear-gradient(180deg, #3a3a38, var(--a-rahmen) 40%); border: 0; border-radius: 30px; box-shadow: 0 40px 70px -46px rgba(43,43,41,.7); }
.u-kopf-fakten .u-fakt { background: var(--a-pult); border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); padding: clamp(18px, 2vw, 26px); }
.u-kopf-fakten .u-fakt-wert { color: #fff; font-weight: 600; letter-spacing: -0.035em; }
.u-kopf-fakten .u-fakt-einheit { color: var(--a-glut); }
.u-kopf-fakten .u-fakt dd { color: #c9c9c5; }
.u-kopf-fakten .u-fakt:first-child .u-fakt-wert { color: var(--a-glut); }

/* Bewegung im Kopf (nur mit .u-bewegt) */
.u-bewegt .u-kopf::before { animation: a-licht 2.2s cubic-bezier(.2,.7,.2,1) both; }
.u-bewegt .u-kopf .u-akzent { animation: a-marker 1.1s cubic-bezier(.6,0,.2,1) .55s both; }
.u-bewegt .u-kopf-signal { animation: none; }
.u-bewegt .u-kopf-signal::before { animation: a-glanz 1.9s cubic-bezier(.4,0,.2,1) .9s both; }
.u-bewegt .u-kopf-bild img { animation: u-zoom 1.8s var(--u-kurve) both; }
.u-bewegt .u-kopf-raster::before { animation: a-fenster-rein .9s var(--u-kurve) .15s both; }
.u-bewegt .u-kopf-raster::after { animation: a-sonne 2.4s cubic-bezier(.2,.7,.2,1) .6s both; }
.u-bewegt .u-info .u-punkt { animation: a-lampe 2.4s ease-in-out 1s 3; }
.u-bewegt .u-info .u-punkt::after { display: none; }
@keyframes a-licht { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes a-marker { from { background-size: 0% .3em; } to { background-size: 100% .3em; } }
@keyframes a-glanz { 0% { opacity: 0; transform: skewX(-12deg) translateX(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: skewX(-12deg) translateX(560%); } }
@keyframes a-fenster-rein { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes a-sonne { from { opacity: 0; transform: scale(.45); } to { opacity: 1; transform: none; } }
@keyframes a-lampe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Text: eine Spalte, Fliesstext an einer Lichtspur ---------- */
.u-text-raster, .u-text-raster:not(.u-text-schmal) { grid-template-columns: minmax(0, 1fr) !important; gap: clamp(20px, 2.4vw, 32px); max-width: 52rem; }
.u-text-raster .u-h2 { position: static !important; max-width: 20em; }
.u-text-raster .u-fliess { padding-left: clamp(20px, 2.4vw, 32px); border-left: 3px solid transparent; border-image: linear-gradient(180deg, #f7a600, rgba(247,166,0,.35) 60%, rgba(247,166,0,0)) 1; }

/* ---------- Fenster: Bilder mit dunklem Rahmen, Glanz beim Erscheinen ---------- */
.u-bt-bild, .u-karte-bild, .u-aufruf-bild { position: relative; overflow: hidden; border-radius: var(--a-fenster); }
.u-bt-bild::after, .u-karte-bild::after, .u-aufruf-bild::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; border: 10px solid var(--a-rahmen); pointer-events: none; }
.u-karte-bild::after { border-width: 7px; }
.u-bt-bild::before, .u-karte-bild::before { content: ""; position: absolute; z-index: 2; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,240,210,.4), rgba(255,255,255,0)); transform: skewX(-12deg); opacity: 0; pointer-events: none; }
.u-bewegt .u-bt-bild.u-los::before { animation: a-glanz-gross 1.6s cubic-bezier(.4,0,.2,1) .35s both; }
.u-bewegt .u-karten.u-los .u-karte-bild::before { animation: a-glanz-gross 1.6s cubic-bezier(.4,0,.2,1) both; animation-delay: calc(var(--i, 0) * 140ms + .35s); }
@keyframes a-glanz-gross { 0% { opacity: 0; transform: skewX(-12deg) translateX(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: skewX(-12deg) translateX(520%); } }

/* Bild mit Text: gleich hoch, Text mittig */
@media (min-width: 900px) {
  .u-bt { gap: clamp(40px, 5vw, 88px); }
  .u-bt-bild { min-height: 210px; }
  .u-bt-text { padding: clamp(12px, 1.6vw, 24px) 0; }
}

/* Karten wie die Fenster-Karten der Startseite */
.u-karten { gap: clamp(16px, 2vw, 28px); }
.u-karte { border: 0; padding: 10px; border-radius: 32px; background: var(--u-grund-2); }
.u-flaeche .u-karte { background: #fff; }
.u-karte-bild { aspect-ratio: 4 / 3; border-radius: 26px 26px 10px 10px; }
.u-karten-2 .u-karte-mit-bild .u-karte-bild { aspect-ratio: 16 / 9; }
.u-karte-inhalt { padding: clamp(18px, 2vw, 24px) clamp(12px, 1.4vw, 18px) clamp(12px, 1.4vw, 16px); }
.u-karte:not(.u-karte-mit-bild) .u-karte-inhalt { padding: clamp(20px, 2.4vw, 30px); }
.u-seite .u-karte-titel { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); margin-bottom: 10px; }
.u-karte:not(.u-karte-mit-bild) .u-karte-inhalt::before { content: ""; display: block; width: 40px; height: 4px; margin-bottom: 18px; border-radius: 4px; background: linear-gradient(90deg, #f7a600, #ffc54d); }
.u-karte-marke { background: var(--a-rahmen); color: #fff; }
.u-karte-info { color: var(--u-akzent-text); }
.u-karte-mehr { color: var(--u-text); text-decoration: underline; text-decoration-color: var(--ec-orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.u-karte-link:hover { box-shadow: var(--u-schatten); transform: translateY(-4px); }
.u-karte-link:hover .u-karte-bild img { transform: scale(1.04); }

/* Haekchen */
.u-haken-gross li { font-weight: 500; }
.u-haken-zeichen { padding: 5px; }

/* Kennzahlen ausserhalb des Kopfs: helle Anzeigen mit oranger Lichtkante */
.u-b-fakten-block .u-fakten { gap: 12px; background: none; border: 0; border-radius: 0; overflow: visible; }
.u-b-fakten-block .u-fakt { position: relative; background: var(--u-grund-2); border-radius: 22px; }
.u-b-fakten-block.u-flaeche .u-fakt { background: #fff; }
.u-b-fakten-block .u-fakt-wert { color: var(--u-text); font-weight: 600; }
.u-b-fakten-block .u-fakt-einheit { color: var(--u-akzent-text); }
.u-b-fakten-block .u-fakt dt::after { content: ""; display: block; flex-basis: 100%; width: 36px; max-width: 36px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--ec-orange); }

/* ---------- Ablauf als Fahrt mit Halten ---------- */
.u-ablauf li { padding-left: 76px; }
.u-ablauf-nr { width: 56px; height: 56px; top: -8px; border: 3px solid var(--ec-orange); background: var(--ec-orange) !important; color: #1c1c1b !important; font-size: 19px; box-shadow: 0 0 0 6px rgba(247,166,0,.16); }
.u-ablauf li:last-child .u-ablauf-nr { border-radius: 16px; }
/* Gleis grau, Fahrt orange */
.u-ablauf li::before { content: ""; position: absolute; left: 25px; top: 50px; bottom: -6px; width: 6px; border-radius: 6px; background: var(--u-linie); }
.u-flaeche .u-ablauf li::before { background: #dcdedd; }
.u-ablauf li::after { left: 25px; top: 50px; bottom: -6px; width: 6px; border-radius: 6px; background: var(--ec-orange); }
.u-ablauf li:last-child::before { display: none; }
@media (min-width: 900px) {
  .u-ablauf-3 li, .u-ablauf-4 li, .u-ablauf-5 li { padding: 84px 0 0; }
  .u-ablauf-3 .u-ablauf-nr, .u-ablauf-4 .u-ablauf-nr, .u-ablauf-5 .u-ablauf-nr { top: 0; width: 58px; height: 58px; }
  .u-ablauf-3 li::before, .u-ablauf-4 li::before, .u-ablauf-5 li::before,
  .u-ablauf-3 li::after, .u-ablauf-4 li::after, .u-ablauf-5 li::after { left: 58px; right: calc(-1 * clamp(24px, 3vw, 44px)); top: 26px; bottom: auto; width: auto; height: 6px; transform-origin: 0 50%; }
}
/* der Zug faehrt Halt fuer Halt: Punkt leuchtet auf, dann fuellt sich das Gleis bis zum naechsten */
.u-bewegt .u-ablauf.u-los .u-ablauf-nr { animation: a-halt .5s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i, 0) * 620ms + .2s); }
.u-bewegt .u-ablauf.u-los li::after { transition: transform .5s cubic-bezier(.45,0,.3,1); transition-delay: calc(var(--i, 0) * 620ms + .55s); }
.u-bewegt .u-ablauf:not(.u-los) .u-ablauf-nr { background: #fff !important; border-color: var(--u-linie-stark); box-shadow: none; }
@keyframes a-halt { from { background: #fff; border-color: #c9cbca; box-shadow: none; transform: scale(.85); } to { background: var(--ec-orange); border-color: var(--ec-orange); transform: none; } }

/* ---------- Steckbrief in einer Karte ---------- */
.u-steckbrief { padding: 6px clamp(20px, 3vw, 40px); border-top: 0; border-radius: 30px; background: var(--u-grund-2); }
.u-flaeche .u-steckbrief { background: #fff; }
.u-steckbrief dt { color: var(--u-akzent-text); font-weight: 600; font-size: 15px; }
.u-steckbrief > div:last-child, .u-steckbrief > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
@media (max-width: 699px) { .u-steckbrief > div:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--u-linie); } }

/* ---------- Kursstarts wie die Pult-Anzeige ---------- */
.u-ks { padding: 10px; border: 0; border-radius: 30px; background: linear-gradient(180deg, #3a3a38, var(--a-rahmen) 60px); box-shadow: 0 2px 0 rgba(255,255,255,.08) inset, 0 40px 80px -50px rgba(43,43,41,.75), 0 18px 40px -30px rgba(201,133,0,.4); color: #f1f1ef; }
/* Lampenleiste oben im Pult */
.u-ks::before { content: ""; display: block; height: 22px; margin: 0 8px 8px;
  background:
    radial-gradient(circle, #6fcf7a 0 5px, transparent 6px) right 44px center / 14px 14px no-repeat,
    radial-gradient(circle, #f7a600 0 5px, transparent 6px) right 22px center / 14px 14px no-repeat,
    radial-gradient(circle, #4b4b48 0 5px, transparent 6px) right 0 center / 14px 14px no-repeat,
    linear-gradient(90deg, #f7a600, #ffc54d) 0 center / 56px 4px no-repeat; }
.u-ks .ks-liste { display: grid; gap: 8px; }
.u-ks .ks-zeile { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "datum ort" "datum kurse"; column-gap: 18px; row-gap: 2px; padding: 16px clamp(14px, 2vw, 24px); border: 0; border-radius: 18px; background: var(--a-pult); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.u-ks .ks-datum { grid-area: datum; width: 76px; height: 78px; grid-template-columns: 1fr; place-content: center; justify-items: center; row-gap: 3px; border-radius: 14px; background: #1b1b1a; text-align: center; }
.u-ks .ks-tag { grid-row: auto; font-size: 30px; color: var(--a-glut); }
.u-ks .ks-monat { align-self: center; font-size: 14px; color: #fff; }
.u-ks .ks-jahr { display: none; }
.u-ks .ks-ort { grid-area: ort; align-self: end; color: #fff; }
.u-ks .ks-kurse { grid-area: kurse; align-self: start; color: #d0d0cc; }
.u-ks .ks-zeile:first-child .ks-jahr { color: #d0d0cc; }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) { position: relative; background: #322b1d; box-shadow: inset 0 0 0 1.5px rgba(247,166,0,.55); }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) .ks-datum { background: var(--ec-orange); }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) .ks-tag, .u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) .ks-monat { color: #1c1c1b; }
.u-ks .ks-zeile-anfrage { background: #262625; }
.u-ks .ks-zeile-anfrage .ks-datum { height: auto; min-height: 78px; padding: 10px 8px; font-size: 14px; color: #d0d0cc; }
.u-ks .ks-zeile-leer { grid-template-areas: none; grid-template-columns: minmax(0, 1fr); }
.u-ks .ks-zeile-leer .ks-kurse { color: #f1f1ef; }
.u-ks .ks-plaetze-ausgebucht { color: #d0d0cc; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
/* ab 760 px eine Zeile je Termin, ab 1000 px zwei Spalten wie eine Anzeigetafel */
.u-ks .ks-liste { grid-template-columns: minmax(0, 1fr); column-gap: 8px; }
.u-ks .ks-zeile, .u-ks .ks-zeile:last-child { border-bottom: 0 !important; }
@media (min-width: 760px) and (max-width: 999px) {
  .u-ks .ks-zeile { grid-template-columns: 84px minmax(0, .8fr) minmax(0, 1.6fr); grid-template-areas: "datum ort kurse"; column-gap: 28px; }
  .u-ks .ks-datum { width: 84px; }
  .u-ks .ks-ort, .u-ks .ks-kurse { align-self: center; }
}
@media (min-width: 1000px) {
  .u-ks .ks-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-ks:not(.u-ks-filterbar) .ks-liste > .ks-zeile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .u-ks .ks-zeile { grid-template-columns: 84px minmax(0, 1fr); column-gap: 22px; }
  .u-ks .ks-datum { width: 84px; }
}
@media (max-width: 379px) { .u-ks .ks-zeile { grid-template-columns: 62px minmax(0, 1fr); column-gap: 14px; } .u-ks .ks-datum { width: 62px; height: 70px; } .u-ks .ks-tag { font-size: 26px; } }
/* Tabelle (Standorte) im selben Pult */
.u-ks-tabelle .ks-tabelle-rahmen { border-radius: 18px; background: var(--a-pult); }
.u-ks .ks-tabelle th, .u-ks .ks-tabelle td { border-bottom-color: rgba(255,255,255,.1); color: #e4e4e1; }
.u-ks .ks-tabelle thead th { color: #c9c9c5; }
.u-ks .ks-tabelle tbody th { color: #fff; }
.u-ks .ks-tabelle time { color: var(--a-glut); font-weight: 600; }
.u-ks .ks-zelle-anfrage { color: #c9c9c5 !important; }
.u-bewegt .u-ks.u-los .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) .ks-datum { animation: a-anzeige 1.2s ease-out .5s 2; }
@keyframes a-anzeige { 0%, 100% { opacity: 1; } 40% { opacity: .55; } }
.u-ks-stand .u-punkt { background: #6fcf7a; box-shadow: 0 0 0 4px rgba(111,207,122,.22); }
.u-bewegt .u-ks-stand .u-punkt::after { background: #6fcf7a; }
/* Filter */
.u-filter { padding: 18px 20px; border-radius: 22px; background: var(--u-grund-2); }
.u-flaeche .u-filter { background: #fff; }
.u-chip[aria-pressed="true"] { box-shadow: 0 6px 16px -8px rgba(201,133,0,.8); }
.u-ks-leer { background: #fff; }
.u-seite .u-ks-hinweis { margin-top: 22px; }

/* ---------- Standorte: Strecke Hamburg, Bremen, Hannover ---------- */
.u-so .so-raster { position: relative; }
.u-so .so-karte { position: relative; border: 0; border-radius: 30px; background: #fff; box-shadow: var(--u-schatten); }
.u-b-standorte-block:not(.u-flaeche) .u-so .so-karte { background: var(--u-grund-2); box-shadow: none; }
.u-so .so-start { color: var(--u-akzent-text); }
.u-so .so-kontakt a { border-bottom-color: var(--ec-orange); }
.u-so:not(.u-so-einzeln) .so-raster { padding-left: 46px; }
.u-so:not(.u-so-einzeln) .so-raster::before, .u-so:not(.u-so-einzeln) .so-raster::after { content: ""; position: absolute; left: 13px; top: 34px; bottom: 34px; width: 6px; border-radius: 6px; background: #dcdedd; }
.u-so:not(.u-so-einzeln) .so-raster::after { background: var(--ec-orange); transform-origin: 50% 0; }
.u-so:not(.u-so-einzeln) .so-karte::before { content: ""; position: absolute; z-index: 1; left: -46px; top: 22px; width: 32px; height: 32px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 7px solid var(--ec-orange); box-shadow: 0 0 0 6px rgba(247,166,0,.18); }
@media (min-width: 900px) {
  .u-so:not(.u-so-einzeln) .so-raster { padding-left: 0; padding-top: 68px; }
  .u-so:not(.u-so-einzeln) .so-raster::before, .u-so:not(.u-so-einzeln) .so-raster::after { left: 16.66%; right: 16.66%; top: 13px; bottom: auto; width: auto; height: 6px; transform-origin: 0 50%; }
  .u-so:not(.u-so-einzeln) .so-karte::before { left: 50%; top: -68px; margin-left: -16px; }
}
.u-bewegt .u-so:not(.u-los) .so-raster::after { transform: scaleY(0); }
@media (min-width: 900px) { .u-bewegt .u-so:not(.u-los) .so-raster::after { transform: scaleX(0); } }
.u-bewegt .u-so.u-los .so-raster::after { transition: transform 1.6s cubic-bezier(.4,0,.2,1) .3s; }

/* Einzelner Standort: links ein Fenster mit Blick auf die Strecke, darin der Name, so hoch wie die Angaben rechts */
.u-so-einzeln .so-karte { display: block; padding: 230px 24px 28px; overflow: hidden; }
.u-so-einzeln .so-karte::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 200px; border-radius: 24px 24px 10px 10px; background: linear-gradient(180deg, rgba(28,28,27,0) 55%, rgba(28,28,27,.55)), var(--a-szene-sonne) center bottom / cover no-repeat; box-shadow: inset 0 0 0 7px var(--a-rahmen); }
.u-so-einzeln .so-name { position: absolute; z-index: 1; left: 34px; top: 136px; margin: 0; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
@media (min-width: 760px) {
  .u-so-einzeln .so-karte { display: block; min-height: 320px; padding: clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px) calc(46% + clamp(28px, 3.5vw, 56px)); }
  .u-so-einzeln .so-karte::before { right: auto; bottom: 10px; height: auto; width: 46%; border-radius: 26px 26px 12px 12px; }
  .u-so-einzeln .so-name { top: auto; left: clamp(32px, 3.4vw, 48px); bottom: clamp(44px, 4vw, 58px); font-size: clamp(2.2rem, 1.4rem + 2vw, 3.2rem); }
  .u-so-einzeln .so-start { margin-top: 0; }
}

/* ---------- FAQ: links ein Fenster, das mit der Liste waechst ---------- */
.u-faq-raster { gap: clamp(24px, 3vw, 40px); }
.u-faq-raster > .u-block-kopf { position: relative; overflow: hidden; margin-bottom: 0; min-height: 300px; padding: clamp(26px, 3vw, 40px); border-radius: var(--a-kabine);
  background: linear-gradient(180deg, var(--a-rahmen) 0, var(--a-rahmen) 36%, rgba(43,43,41,0) 62%), var(--a-szene-sonne) center bottom / max(100%, 520px) auto no-repeat, linear-gradient(180deg, #f3dcb5, #f7e3c3);
  box-shadow: inset 0 0 0 10px var(--a-rahmen), 0 40px 70px -46px rgba(43,43,41,.7); }
.u-faq-raster > .u-block-kopf .u-h2 { color: #fff; }
.u-faq-raster > .u-block-kopf .u-block-lead { color: #e4e4e1; }
@media (min-width: 960px) {
  .u-faq-raster:has(> .u-block-kopf) { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); align-items: stretch; }
  .u-faq-raster > .u-block-kopf { min-height: 360px; }
  .u-faq-raster:has(> .u-block-kopf) .u-faq { display: flex; flex-direction: column; }
  .u-faq-raster:has(> .u-block-kopf) .u-faq .faq { flex: 1; }
}
@media (max-width: 959px) { .u-faq-raster > .u-block-kopf { min-height: 320px; } }
.u-faq .faq { border-top: 0; padding: 4px clamp(20px, 3vw, 36px); border-radius: 30px; background: var(--u-grund-2); }
.u-flaeche .u-faq .faq { background: #fff; }
.u-faq .faq-eintrag:last-child { border-bottom: 0; }
.u-faq .faq-eintrag:not([open]) > p { display: none; }
.u-faq .faq-eintrag summary::after { background-color: var(--ec-orange); }
.u-faq .faq-eintrag:not([open]) summary::after, .u-faq .faq-eintrag[open] summary::after { background-image: linear-gradient(#1c1c1b, #1c1c1b), linear-gradient(#1c1c1b, #1c1c1b); }
.u-faq .faq-eintrag[open] summary::after { background-size: 12px 2px, 0 0; }

/* ---------- Formular: Seitenkarte als Kabine, unten das Fenster bis zur Formularhoehe ---------- */
.u-formular { border: 0; border-radius: 30px; box-shadow: var(--u-schatten); }
.u-feld input, .u-feld select, .u-feld textarea { border-radius: 14px; background: #fff; }
.u-formular-raster { align-items: stretch; }
.u-formular-seite { position: relative; overflow: hidden; display: flex; flex-direction: column; border: 0; border-radius: var(--a-kabine); background: linear-gradient(180deg, #3a3a38, var(--a-rahmen) 80px); color: #e4e4e1; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; box-shadow: 0 40px 70px -46px rgba(43,43,41,.7); }
.u-formular-seite p { color: #d6d6d2; }
.u-formular-seite .u-formular-seite-titel { color: #fff; font-size: 24px; }
.u-formular-seite .u-tel { color: var(--a-glut); border-bottom-color: rgba(255,197,77,.5); }
.u-formular-seite .u-klein { color: #c9c9c5; }
.u-formular-seite .u-klein:last-of-type { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
/* Fenster unten: fuellt die Hoehe neben dem Formular */
.u-formular-seite::after { content: ""; display: block; flex: 1 0 200px; margin: 24px calc(-1 * clamp(24px, 3vw, 36px) + 10px) 10px; border-radius: 26px 26px 12px 12px; background: var(--a-szene-sonne) center bottom / 100% auto no-repeat, linear-gradient(180deg, #f3dcb5, #f7e3c3 60%); min-height: 0; }
@media (min-width: 960px) { .u-formular-raster { grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr); } }
@media (min-width: 600px) and (max-width: 959px) { .u-formular-seite::after { flex-basis: 260px; } }

/* ---------- Aufruf: dunkel, Morgenrot von unten rechts ---------- */
.u-aufruf { background: radial-gradient(70% 120% at 100% 110%, rgba(247,166,0,.42), rgba(247,166,0,.12) 45%, rgba(247,166,0,0) 70%), var(--u-aufruf-grund); }
.u-aufruf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, rgba(247,166,0,0), #f7a600 30%, #ffc54d 70%, rgba(255,197,77,0)); }
.u-aufruf-mit-bild { background: radial-gradient(60% 120% at 0% 110%, rgba(247,166,0,.38), rgba(247,166,0,.1) 45%, rgba(247,166,0,0) 70%), var(--u-aufruf-grund); }
.u-aufruf-titel { letter-spacing: -0.03em; }
.u-seite .u-aufruf .u-knopf-linie { color: #fff; border-color: rgba(255,255,255,.7); }
.u-seite .u-aufruf .u-knopf-linie:hover { background: #fff; color: var(--u-text); }
.u-aufruf-bild::after { border-color: #3a3a38; }
@media (min-width: 960px) {
  .u-aufruf-mit-bild .u-aufruf-raster { align-items: stretch; }
  .u-aufruf-mit-bild .u-aufruf-text { display: flex; flex-direction: column; justify-content: center; }
  .u-aufruf-bild { aspect-ratio: auto; min-height: 340px; }
}

@media (min-width: 1060px) {
  .u-aufruf:not(.u-aufruf-mit-bild) .u-aufruf-raster { position: relative; min-height: 280px; }
  .u-aufruf:not(.u-aufruf-mit-bild) .u-aufruf-text { max-width: calc(100% - 440px); }
  .u-aufruf:not(.u-aufruf-mit-bild) .u-aufruf-raster::after { content: ""; position: absolute; right: var(--u-rand); top: 50%; width: 360px; height: 300px; margin-top: -150px; box-sizing: border-box; border: 10px solid #3a3a38; border-bottom-width: 36px; border-radius: var(--a-kabine); background: var(--a-szene-sonne) center bottom / cover no-repeat; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7), 0 0 80px -20px rgba(247,166,0,.35); }
  .u-bewegt .u-aufruf:not(.u-aufruf-mit-bild) .u-aufruf-raster::after { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform 1s var(--u-kurve); }
  .u-bewegt .u-aufruf:not(.u-aufruf-mit-bild) .u-aufruf-raster:has(.u-los)::after { opacity: 1; transform: none; }
}

/* Rechtstexte */
.u-recht-text .u-h3 { font-size: 1.4rem; }

/* Bewegung: Karten heben sich weich an */
.u-bewegt [data-u-staffel]:not(.u-los) > * { transform: translateY(24px) scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .u-kopf::before, .u-kopf-raster::before, .u-kopf-raster::after, .u-kopf-signal::before, .u-kopf .u-akzent { animation: none !important; }
}
