/* Unterseiten Campus c "Bahnsteig": jede Seite beginnt am Bahnsteig.
   Seitenkopf mit Bahnsteigkante und Sicherheitslinie, ein kurzer Zug rollt einmal ein;
   Info-Zeile als Abfahrtsanzeige mit Bahnhofsuhr, Kennzahlen und Kursstarts als dunkle
   Abfahrtstafel mit LED-Schrift, Standorte als Bahnhofsschilder, Ablauf als Strecke mit Halten.
   Grundlayout: /unterseiten-basis.css. Kopf und Fuss: /campus/style.css, /campus/rahmen.css.
   Zweispalter sind immer gleich hoch: Bild und Seitenkarte strecken sich auf die Nachbarspalte,
   FAQ steht ueber die volle Breite, ungerade Listen schliessen mit einer breiten Zeile.
   Quelle der Datei: _lokal/ec-website-2027/arbeit-campus/u/c-svg/ (SVGs als data-URI). */
:root {
  --nacht: #1f2120;
  --led: #ffb000;
  --zug: #333534;
  --u-grund: #ffffff;
  --u-grund-2: #f4f3f0;
  --u-flaeche: #ffffff;
  --u-flaeche-2: #e9e7e2;
  --u-text: #2b2b29;
  --u-text-2: #575755;
  --u-akzent-text: #8a5a00;
  --u-akzent-weich: rgba(247,166,0,.16);
  --u-linie: #e2e0db;
  --u-linie-stark: #c6c4be;
  --u-aufruf-grund: var(--nacht);
  --u-aufruf-text: #f4f3f0;
  --u-radius: 22px;
  --u-radius-klein: 12px;
  --u-knopf-radius: 999px;
  --u-schatten: 0 2px 6px rgba(43,43,41,.06), 0 30px 60px -36px rgba(43,43,41,.34);
  --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;
  --c-zug-h: 88px;
  --c-kante: 24px;
}
@media (max-width: 1180px) { :root { --u-kopf-h: 72px; } }
@media (max-width: 699px) { :root { --c-zug-h: 56px; --c-kante: 20px; } }
html { scroll-padding-top: calc(var(--u-kopf-h) + 16px); }

/* Titelwort mit oranger Unterstreichung, die aufzieht (wie "Komplett gefördert." auf der Startseite) */
.u-seite .u-akzent {
  color: var(--u-text); padding: 0 .04em;
  background: linear-gradient(var(--u-akzent), var(--u-akzent)) 0 86% / 100% .22em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.u-bewegt .u-kopf .u-akzent { animation: c-strich .9s cubic-bezier(.3,.7,.2,1) .55s both; }
.u-bewegt [data-u-anim]:not(.u-los) .u-akzent { background-size: 0% .22em; }
.u-bewegt .u-los .u-akzent { animation: c-strich .9s cubic-bezier(.3,.7,.2,1) .35s both; }
@keyframes c-strich { from { background-size: 0% .22em; } }
.u-aufruf .u-akzent { color: inherit; text-decoration: none; }

/* Knoepfe wie auf der Startseite; Farbe gegen .u-seite a { color: inherit } absichern */
.u-seite .u-knopf { color: var(--u-auf-akzent); }
.u-seite .u-knopf-linie { color: var(--u-text); }
.u-seite .u-aufruf .u-knopf-linie { color: #fff; }
.u-seite .u-aufruf .u-knopf-linie:hover { color: var(--u-text); }
.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-knopf-linie { border-color: var(--u-text); }
.u-knopf-linie:hover { background: var(--u-text); border-color: var(--u-text); color: #fff; box-shadow: none; }

/* ================================================================ Seitenkopf: Bahnsteig */
.u-kopf {
  overflow-x: clip; border-bottom: 0;
  padding-top: clamp(16px, 2.6vw, 36px);
  padding-bottom: calc(clamp(36px, 4.4vw, 64px) + var(--c-zug-h) + var(--c-kante) - 10px);
  background:
    linear-gradient(#a6a8a7, #a6a8a7) 0 calc(100% - var(--c-kante) - 3px) / 100% 3px no-repeat,
    linear-gradient(#a6a8a7, #a6a8a7) 0 calc(100% - var(--c-kante) - 10px) / 100% 2px no-repeat,
    radial-gradient(120% 70% at 88% 0%, rgba(247,166,0,.14), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fff 55%, var(--u-grund-2) 100%);
}
/* Bahnsteigkante mit weisser Sicherheitslinie */
.u-kopf::after {
  z-index: 2; height: var(--c-kante); bottom: 0; transform: none;
  background:
    repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 50px) 0 6px / 100% 5px no-repeat,
    linear-gradient(180deg, #e3e2de, #d4d3cf);
  box-shadow: 0 -3px 0 #c2c1bc;
}
.u-bewegt .u-kopf::after { animation: none; }
/* Kurzer Zug: faehrt einmal von rechts ein und haelt am rechten Rand des Inhalts */
.u-kopf::before {
  content: ""; position: absolute; z-index: 1;
  right: max(var(--u-rand), calc((100% - var(--u-breite)) / 2));
  bottom: calc(var(--c-kante) - 6px);
  width: calc(var(--c-zug-h) * 4); height: var(--c-zug-h);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23cfe3ef'/%3E%3Cstop offset='.4' stop-color='%238fb1c6'/%3E%3Cstop offset='.75' stop-color='%23314a59'/%3E%3Cstop offset='1' stop-color='%231d2a32'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' x1='0' y1='0' x2='.6' y2='1'%3E%3Cstop offset='0' stop-color='%23e4eef3'/%3E%3Cstop offset='1' stop-color='%23a9c2d1'/%3E%3C/linearGradient%3E%3Cpattern id='l' width='4' height='4' patternUnits='userSpaceOnUse'%3E%3Crect width='4' height='4' fill='%233c3e3d'/%3E%3Crect width='1.6' height='4' fill='%232a2c2b'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath d='M44 10H108a4 4 0 0 1 4 4V84a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V52C0 26 18 10 44 10Z' fill='%23333534'/%3E%3Cpath d='M44 10H108a4 4 0 0 1 4 4v2H30C34 12 39 10 44 10Z' fill='%235a5c5b'/%3E%3Cpath d='M13 46C13 31 26 22 44 22h6a3 3 0 0 1 3 3V43a3 3 0 0 1-3 3Z' fill='url(%23s)' stroke='%231d1e1e' stroke-width='2.5'/%3E%3Crect x='62' y='22' width='42' height='22' rx='3' fill='url(%23l)'/%3E%3Crect x='8' y='68' width='104' height='5' fill='%23f7a600'/%3E%3Crect x='3' y='76' width='9' height='5' rx='2.5' fill='%23fff3c4'/%3E%3Crect x='2' y='82' width='108' height='6' fill='%23000' opacity='.22'/%3E%3Crect x='110' y='72' width='12' height='5' fill='%231b1c1c'/%3E%3Crect x='120' y='10' width='280' height='78' rx='5' fill='%23333534'/%3E%3Crect x='120' y='10' width='280' height='6' rx='3' fill='%235a5c5b'/%3E%3Crect x='120' y='16' width='280' height='2.5' fill='%23424443'/%3E%3Crect x='130' y='22' width='44' height='34' rx='7' fill='%231d1e1e'/%3E%3Csvg x='133' y='25' width='38' height='28'%3E%3Crect width='38' height='28' rx='5' fill='url(%23g)'/%3E%3Cg transform='translate(-133 -25)'%3E%3Cpath d='M140 56Q140 44 152 44Q164 44 164 56Z' fill='%23f7a600'/%3E%3Ccircle cx='152' cy='37' r='6' fill='%236b5a4e'/%3E%3Cpath d='M145 35a7 7 0 0 1 14 0Z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E%3Crect x='182' y='19' width='32' height='69' rx='3' fill='%231d1e1e'/%3E%3Crect x='184.5' y='21' width='13' height='67' fill='%234a4c4b'/%3E%3Crect x='198.5' y='21' width='13' height='67' fill='%234a4c4b'/%3E%3Crect x='187' y='25' width='8' height='22' rx='2' fill='url(%23g)'/%3E%3Crect x='201' y='25' width='8' height='22' rx='2' fill='url(%23g)'/%3E%3Crect x='224' y='22' width='44' height='34' rx='7' fill='%231d1e1e'/%3E%3Csvg x='227' y='25' width='38' height='28'%3E%3Crect width='38' height='28' rx='5' fill='url(%23g)'/%3E%3Cg transform='translate(-227 -25)'%3E%3Cpath d='M228 56Q228 44 240 44Q252 44 252 56Z' fill='%23f7a600'/%3E%3Ccircle cx='240' cy='37' r='6' fill='%236b5a4e'/%3E%3Cpath d='M233 35a7 7 0 0 1 14 0Z' fill='%23fff'/%3E%3Cpath d='M246 56Q246 44 258 44Q270 44 270 56Z' fill='%23f7a600'/%3E%3Ccircle cx='258' cy='37' r='6' fill='%236b5a4e'/%3E%3Cpath d='M251 35a7 7 0 0 1 14 0Z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E%3Crect x='278' y='22' width='44' height='34' rx='7' fill='%231d1e1e'/%3E%3Csvg x='281' y='25' width='38' height='28'%3E%3Crect width='38' height='28' rx='5' fill='url(%23g)'/%3E%3Cg transform='translate(-281 -25)'%3E%3C/g%3E%3C/svg%3E%3Crect x='332' y='22' width='44' height='34' rx='7' fill='%231d1e1e'/%3E%3Csvg x='335' y='25' width='38' height='28'%3E%3Crect width='38' height='28' rx='5' fill='url(%23g)'/%3E%3Cg transform='translate(-335 -25)'%3E%3Cpath d='M340 56Q340 44 352 44Q364 44 364 56Z' fill='%23f7a600'/%3E%3Ccircle cx='352' cy='37' r='6' fill='%236b5a4e'/%3E%3Cpath d='M345 35a7 7 0 0 1 14 0Z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E%3Crect x='278' y='59' width='98' height='6' rx='1.5' fill='%23111'/%3E%3Crect x='282' y='61' width='56' height='2' fill='%23ffb000'/%3E%3Crect x='120' y='68' width='280' height='5' fill='%23f7a600'/%3E%3Crect x='122' y='82' width='276' height='6' fill='%23000' opacity='.22'/%3E%3Cg fill='%231b1c1c'%3E%3Crect x='8' y='86' width='40' height='5' rx='2'/%3E%3Crect x='64' y='86' width='40' height='5' rx='2'/%3E%3Crect x='128' y='86' width='44' height='5' rx='2'/%3E%3Crect x='348' y='86' width='44' height='5' rx='2'/%3E%3C/g%3E%3Cg fill='%232b2c2c' stroke='%23575958' stroke-width='2.5'%3E%3Ccircle cx='18' cy='92' r='6'/%3E%3Ccircle cx='38' cy='92' r='6'/%3E%3Ccircle cx='74' cy='92' r='6'/%3E%3Ccircle cx='94' cy='92' r='6'/%3E%3Ccircle cx='139' cy='92' r='6'/%3E%3Ccircle cx='161' cy='92' r='6'/%3E%3Ccircle cx='359' cy='92' r='6'/%3E%3Ccircle cx='381' cy='92' r='6'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 10px rgba(31,33,32,.18));
}
.u-bewegt .u-kopf::before { animation: c-einfahrt 2.6s cubic-bezier(.12,.62,.22,1) .25s both; }
@keyframes c-einfahrt { from { transform: translateX(calc(100vw + 20px)); } }

/* Brotkrumen als Linie mit Halten */
.u-brotkrumen { font-size: 15px; }
.u-brotkrumen ol { gap: 0; }
.u-brotkrumen li { position: relative; }
.u-brotkrumen li + li::before {
  width: 26px; height: 10px; margin: 0 10px 0 8px; border: 0; transform: none; border-radius: 5px;
  background: radial-gradient(circle at calc(100% - 5px) 50%, #fff 0 2px, var(--u-akzent) 2.5px 5px, transparent 5.5px), linear-gradient(var(--u-linie-stark), var(--u-linie-stark)) 0 50% / calc(100% - 8px) 2px no-repeat;
}
.u-brotkrumen [aria-current] { font-weight: 600; }

/* Info-Zeile als Abfahrtsanzeige mit Bahnhofsuhr */
.u-info {
  align-items: center; width: fit-content; max-width: 100%; gap: 14px; padding: 10px 20px 10px 10px; border: 0; border-radius: 14px;
  background: var(--nacht); color: var(--led); font-weight: 600; letter-spacing: .01em;
  box-shadow: inset 0 0 0 2px var(--nacht), inset 0 0 0 4px rgba(255,255,255,.14), 0 20px 40px -28px rgba(31,33,32,.8);
}
.u-info .u-punkt {
  width: 34px; height: 34px; transform: none; box-shadow: inset 0 0 0 2px #d6d6d4;
  background: #fff repeating-conic-gradient(from -2deg, #2b2b29 0 4deg, transparent 4deg 30deg);
}
/* Ziffernblatt mit Stunden- und Minutenzeiger (10 nach 10) */
.u-info .u-punkt::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  background:
    radial-gradient(circle, #2b2b29 0 1.5px, transparent 2px 72%, #fff 74%),
    conic-gradient(transparent 0 53deg, #2b2b29 53deg 67deg, transparent 67deg 293deg, #2b2b29 293deg 307deg, transparent 307deg),
    #fff;
}
/* Sekundenzeiger mit Kelle */
.u-info .u-punkt::after {
  content: ""; position: absolute; inset: auto; left: calc(50% - 1px); top: 5px; width: 2px; height: 14px; border-radius: 1px;
  opacity: 1; transform-origin: 50% 12px;
  background: radial-gradient(circle at 50% 2px, #e2231a 0 2.4px, transparent 2.8px), linear-gradient(#e2231a, #e2231a) 50% 0 / 1.4px 100% no-repeat;
}
.u-bewegt .u-info .u-punkt::after { animation: c-sekunde 60s steps(60) infinite; }
@keyframes c-sekunde { to { transform: rotate(360deg); } }

/* Kopf ohne Bild: grosse Bahnhofsuhr rechts, Sekundenzeiger laeuft */
.u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster { position: relative; }
@media (min-width: 960px) {
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-text { max-width: calc(100% - 280px); }
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after {
    content: ""; position: absolute; right: calc(var(--u-rand) + 12px); top: calc(50% - 116px); width: 196px; height: 231px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 236'%3E%3Crect x='94' y='0' width='12' height='36' rx='3' fill='%23585856'/%3E%3Ccircle cx='100' cy='136' r='98' fill='%232b2b29'/%3E%3Ccircle cx='100' cy='136' r='90' fill='%23fff'/%3E%3Cg fill='%232b2b29'%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(0 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(6 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(12 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(18 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(24 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(30 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(36 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(42 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(48 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(54 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(60 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(66 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(72 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(78 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(84 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(90 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(96 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(102 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(108 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(114 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(120 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(126 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(132 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(138 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(144 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(150 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(156 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(162 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(168 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(174 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(180 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(186 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(192 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(198 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(204 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(210 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(216 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(222 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(228 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(234 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(240 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(246 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(252 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(258 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(264 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(270 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(276 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(282 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(288 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(294 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(300 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(306 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(312 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(318 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(324 100 136)'/%3E%3Crect x='97' y='54' width='6' height='18' transform='rotate(330 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(336 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(342 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(348 100 136)'/%3E%3Crect x='98.8' y='54' width='2.4' height='7' transform='rotate(354 100 136)'/%3E%3Crect x='96' y='74' width='8' height='72' rx='1' transform='rotate(-60 100 136)' /%3E%3Crect x='97' y='60' width='6' height='86' rx='1' transform='rotate(60 100 136)'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; filter: drop-shadow(0 24px 30px rgba(31,33,32,.22));
  }
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::before {
    content: ""; position: absolute; z-index: 1; right: calc(var(--u-rand) + 12px); top: calc(50% - 116px + 36.4px); width: 196px; height: 196px;
    background:
      radial-gradient(circle at 50% 50%, #e2231a 0 5px, transparent 5.5px),
      radial-gradient(circle at 50% 30px, #e2231a 0 9px, transparent 9.5px),
      linear-gradient(#e2231a, #e2231a) 50% 30px / 3px 86px no-repeat;
  }
  .u-bewegt .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::before { animation: c-sekunde 60s steps(60) infinite; }
}

/* Kopf mit Bild: Bild als Zugfenster, so hoch wie der Text */
.u-kopf-bild { border-radius: 30px; background: #1d1e1e; box-shadow: 0 30px 60px -36px rgba(31,33,32,.6); }
.u-kopf-bild img { inset: 10px 10px 24px; width: calc(100% - 20px); height: calc(100% - 34px); border-radius: 22px; }
.u-kopf-bild::after { content: ""; position: absolute; inset: 10px 10px 24px; border-radius: 22px; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.26) 0 7%, transparent 18%); }
.u-kopf-signal { left: 24px; right: 24px; width: auto; bottom: 9px; height: 6px; border-radius: 3px; background: var(--u-akzent); }
@media (min-width: 960px) {
  .u-kopf-mit-bild .u-kopf-raster { grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); align-items: stretch; }
  .u-kopf-mit-bild .u-kopf-text { display: flex; flex-direction: column; justify-content: center; }
  .u-kopf-mit-bild .u-kopf-bild { aspect-ratio: auto; max-height: none; min-height: 380px; }
  .u-kopf-mit-bild .u-h1 { font-size: clamp(2.6rem, 1rem + 3.6vw, 4.6rem); }
}
.u-seite .u-h1 { letter-spacing: -0.035em; line-height: .99; hyphenate-limit-chars: 12 5 5; }

/* Kennzahlen im Kopf: dunkle Abfahrtstafel mit LED-Zahlen, Felder klappen um */
.u-kopf-fakten .u-fakten {
  gap: 0; border: 0; border-radius: 22px; background: var(--nacht); overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--nacht), inset 0 0 0 4px rgba(255,255,255,.1), 0 30px 60px -36px rgba(31,33,32,.7);
}
.u-kopf .u-kopf-fakten .u-fakten > .u-fakt { background: none; border: 0; padding: clamp(18px, 2.2vw, 28px) clamp(16px, 2.2vw, 30px); transform-origin: 50% 0; }
.u-kopf-fakten .u-fakt + .u-fakt { box-shadow: inset 1px 0 0 rgba(255,255,255,.12); }
.u-kopf-fakten .u-fakt-wert { color: var(--led); font-weight: 600; letter-spacing: -0.02em; }
.u-kopf-fakten .u-fakt-einheit { color: #fff; }
.u-kopf-fakten .u-fakt dd { color: #cfcfcb; }
@media (max-width: 899px) {
  .u-kopf-fakten .u-fakten-4 > .u-fakt:nth-child(3) { box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
  .u-kopf-fakten .u-fakten-4 > .u-fakt:nth-child(4) { box-shadow: inset 1px 0 0 rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.12); }
}
@media (max-width: 599px) {
  .u-kopf-fakten .u-fakten-3 > .u-fakt + .u-fakt { box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
}
.u-bewegt .u-kopf-fakten [data-u-staffel]:not(.u-los) > * { opacity: 1; transform: perspective(600px) rotateX(-90deg); }
.u-bewegt .u-kopf-fakten [data-u-staffel].u-los > * { transition: transform .6s cubic-bezier(.3,.8,.3,1); transition-delay: calc(.2s + var(--i, 0) * 140ms); }

/* ================================================================ Bloecke */
.u-block { padding: clamp(64px, 8vw, 120px) 0; }
.u-flaeche { background: var(--u-grund-2); }
.u-block-kopf { max-width: 48rem; }

/* Kennzahlen ausserhalb des Kopfs: Linien wie auf der Startseite */
.u-fakten { gap: 0; background: none; border: 0; border-top: 2px solid var(--u-text); border-radius: 0; overflow: visible; }
.u-fakt { background: none; padding: 24px 24px 6px 0; }
.u-fakt-wert { color: var(--u-text); font-weight: 600; letter-spacing: -0.035em; }
.u-fakt-einheit { color: var(--u-akzent-text); }
.u-fakten > .u-fakt + .u-fakt { padding-left: 24px; border-left: 1px solid var(--u-linie); }
@media (max-width: 899px) {
  .u-fakten-4 > .u-fakt:nth-child(3) { padding-left: 0; border-left: 0; }
  .u-fakten-4 > .u-fakt:nth-child(n+3) { border-top: 1px solid var(--u-linie); }
}
@media (max-width: 599px) {
  .u-fakten-3 > .u-fakt + .u-fakt { padding-left: 0; border-left: 0; border-top: 1px solid var(--u-linie); }
  .u-fakt { padding-right: 12px; }
  .u-fakten-2 > .u-fakt + .u-fakt, .u-fakten-4 > .u-fakt:nth-child(even) { padding-left: 16px; }
}

/* Karten: weiss, Zuglaufschild als Marke, oranger Streifen wie am Zug */
.u-karte { border: 0; border-radius: var(--u-radius); background: var(--u-grund-2); }
.u-flaeche .u-karte { background: #fff; box-shadow: 0 2px 6px rgba(43,43,41,.05); }
.u-karte::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--u-akzent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--u-kurve); }
.u-karte-link:hover::after { transform: none; }
.u-karte-link:hover { box-shadow: var(--u-schatten); }
.u-karte-bild { aspect-ratio: 4 / 3; }
.u-karten-2 .u-karte-mit-bild .u-karte-bild { aspect-ratio: 16 / 9; }
.u-karte-inhalt { padding: clamp(22px, 2.4vw, 32px); }
.u-karte-titel { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); margin-bottom: 12px; }
.u-karte-marke { padding: 5px 12px; border-radius: 8px; background: var(--nacht); color: var(--led); letter-spacing: .02em; }
.u-karte-mehr { text-decoration: underline; text-decoration-color: var(--u-akzent); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Bild mit Text: Bild rund, Text mittig, beide Spalten gleich hoch */
.u-bt-bild { border-radius: var(--u-radius); }
.u-bt-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--u-akzent); }
@media (min-width: 900px) {
  .u-bt { gap: clamp(40px, 5vw, 88px); }
  .u-bt-bild { min-height: 220px; }
  .u-bt-text { padding: 0; }
}
.u-link-pfeil { border-bottom: 3px solid var(--u-akzent); }

/* Haekchen; ungerade Listen in zwei Spalten enden mit einer breiten Zeile */
.u-haken-gross li { font-weight: 500; }
.u-haken-zeichen { padding: 5px; }
@media (min-width: 760px) { .u-spalten-2 > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Ablauf als Strecke: Halte mit Ring, Gleis mit Schwellen, eine Lok faehrt bis zum letzten Halt */
.u-ablauf { --c-luecke: clamp(24px, 3vw, 44px); }
.u-ablauf-nr { border: 0; background: #fff; box-shadow: inset 0 0 0 6px var(--u-akzent); color: var(--u-text); }
.u-flaeche .u-ablauf-nr { background: #fff; }
.u-ablauf li:last-child .u-ablauf-nr { background: var(--u-akzent); box-shadow: 0 0 0 7px var(--u-akzent-weich); }
.u-ablauf li::after { width: 8px; left: 21px; background: repeating-linear-gradient(180deg, #d2d0ca 0 4px, transparent 4px 11px), linear-gradient(90deg, #b9b7b1 0 2px, transparent 2px 6px, #b9b7b1 6px 8px); }
@media (min-width: 900px) {
  .u-ablauf-3, .u-ablauf-4, .u-ablauf-5 { gap: var(--c-luecke); }
  .u-ablauf-3 li::after, .u-ablauf-4 li::after, .u-ablauf-5 li::after {
    left: 56px; right: calc(-1 * var(--c-luecke)); top: 24px; width: auto; height: 8px;
    background: repeating-linear-gradient(90deg, #d2d0ca 0 4px, transparent 4px 11px), linear-gradient(180deg, #b9b7b1 0 2px, transparent 2px 6px, #b9b7b1 6px 8px);
  }
  .u-ablauf-3 li:last-child::before, .u-ablauf-4 li:last-child::before, .u-ablauf-5 li:last-child::before {
    content: ""; position: absolute; z-index: 2; left: -58px; top: -7px; width: calc(100% + 0px); height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 100'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23cfe3ef'/%3E%3Cstop offset='.4' stop-color='%238fb1c6'/%3E%3Cstop offset='.75' stop-color='%23314a59'/%3E%3Cstop offset='1' stop-color='%231d2a32'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(112 0) scale(-1 1)'%3E%3Cpath d='M44 10H108a4 4 0 0 1 4 4V84a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V52C0 26 18 10 44 10Z' fill='%23333534'/%3E%3Cpath d='M13 46C13 31 26 22 44 22h6a3 3 0 0 1 3 3V43a3 3 0 0 1-3 3Z' fill='url(%23s)' stroke='%231d1e1e' stroke-width='2.5'/%3E%3Crect x='62' y='22' width='42' height='22' rx='3' fill='%233c3e3d'/%3E%3Crect x='8' y='66' width='104' height='7' fill='%23f7a600'/%3E%3Crect x='3' y='76' width='9' height='5' rx='2.5' fill='%23fff3c4'/%3E%3Cg fill='%232b2c2c' stroke='%23575958' stroke-width='3'%3E%3Ccircle cx='24' cy='92' r='7'/%3E%3Ccircle cx='88' cy='92' r='7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 0 / 45px 40px no-repeat; pointer-events: none;
  }
  .u-bewegt .u-ablauf-3:not(.u-los) li:last-child::before { transform: translateX(calc(-2 * (100% + var(--c-luecke)))); }
  .u-bewegt .u-ablauf-4:not(.u-los) li:last-child::before { transform: translateX(calc(-3 * (100% + var(--c-luecke)))); }
  .u-bewegt .u-ablauf-5:not(.u-los) li:last-child::before { transform: translateX(calc(-4 * (100% + var(--c-luecke)))); }
  .u-bewegt .u-ablauf.u-los li:last-child::before { transition: transform 2.4s cubic-bezier(.45,.05,.2,1) .35s; }
}
.u-bewegt .u-ablauf[data-u-staffel]:not(.u-los) > li:last-child { transform: none; }

/* Steckbrief wie ein Fahrplanaushang: Karte mit Zugstreifen oben */
.u-steckbrief { position: relative; overflow: hidden; padding: 10px clamp(20px, 3vw, 40px) 4px; border-top: 0; border-radius: var(--u-radius); background: var(--u-grund-2); }
.u-steckbrief::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--u-akzent); }
.u-flaeche .u-steckbrief { background: #fff; }
.u-steckbrief dt { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.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); } }
@media (min-width: 700px) { .u-steckbrief > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ================================================================ Kursstarts: dunkle Abfahrtstafel */
.u-ks {
  border: 0; border-radius: 26px; background: var(--nacht); color: #fff; padding: clamp(8px, 1.4vw, 16px) clamp(4px, 1vw, 12px);
  box-shadow: inset 0 0 0 2px var(--nacht), inset 0 0 0 4px rgba(255,255,255,.1), 0 40px 70px -44px rgba(31,33,32,.8);
}
.u-ks .ks-zeile { border-bottom-color: rgba(255,255,255,.1); padding-block: 16px; }
.u-ks .ks-tag { color: var(--led); font-weight: 600; font-size: 34px; }
.u-ks .ks-monat { color: var(--led); font-size: 17px; }
.u-ks .ks-jahr, .u-ks .ks-zeile:first-child .ks-jahr { color: #bdbdb9; }
.u-ks .ks-ort { color: #fff; }
.u-ks .ks-kurse { color: #d6d6d2; }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) { background: rgba(255,176,0,.09); border-radius: 14px; box-shadow: inset 4px 0 0 var(--led); }
.u-ks .ks-zeile-anfrage { background: none; }
.u-ks .ks-datum-anfrage { color: #bdbdb9; }
.u-ks .ks-zeile-leer .ks-kurse { color: #fff; }
.u-ks .ks-plaetze-wenige { background: var(--led); color: #1c1c1b; }
.u-ks .ks-plaetze-ausgebucht { color: #d6d6d2; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.u-ks .ks-tabelle th, .u-ks .ks-tabelle td { border-bottom-color: rgba(255,255,255,.1); color: #e8e8e4; }
.u-ks .ks-tabelle thead th { color: #bdbdb9; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.u-ks .ks-tabelle tbody th { color: #fff; }
.u-ks .ks-tabelle time, .u-ks .ks-tabelle td:not(.ks-zelle-anfrage):not(.ks-zelle-aus) { color: var(--led); font-weight: 600; }
.u-ks .ks-zelle-anfrage { color: #bdbdb9 !important; }
.u-ks a { color: var(--led); }
/* Zeilen klappen nacheinander auf wie Fallblaetter */
.u-bewegt .u-ks.u-los .ks-zeile { animation-name: c-klapp; transform-origin: 50% 0; }
@keyframes c-klapp { from { opacity: 0; transform: perspective(700px) rotateX(-80deg); } to { opacity: 1; transform: none; } }
.u-ks-stand .u-punkt { background: var(--led); }
.u-seite .u-ks-hinweis { margin-top: 18px; }

/* Filter: gewaehlte Chips wie Zuglaufschilder */
.u-filter { padding: 18px 20px; border-radius: 20px; background: var(--u-grund-2); }
.u-flaeche .u-filter { background: #fff; }
.u-chip[aria-pressed="true"] { background: var(--nacht); border-color: var(--nacht); color: var(--led); }

/* ================================================================ Standorte: Bahnhofsschilder */
.u-so .so-karte { position: relative; overflow: hidden; border: 0; border-radius: var(--u-radius); background: #fff; box-shadow: var(--u-schatten); padding-bottom: calc(clamp(22px, 2.6vw, 34px) + 14px); }
.u-so .so-karte::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, #fff 0 30px, transparent 30px 38px) 0 4px / 100% 4px no-repeat, linear-gradient(#e3e2de, #d4d3cf); }
.u-so .so-name {
  display: inline-flex; width: fit-content; padding: 10px 18px 11px; border-radius: 10px; background: var(--nacht); color: #fff;
  box-shadow: inset 0 0 0 3px var(--nacht), inset 0 0 0 5px rgba(255,255,255,.85); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.05;
}
.u-so .so-start { color: var(--u-akzent-text); }
/* Ein Standort: links das grosse Bahnhofsschild, so hoch wie die Angaben rechts */
@media (min-width: 760px) {
  .u-so-einzeln .so-karte { align-items: stretch; padding: clamp(18px, 2vw, 26px); padding-bottom: calc(clamp(18px, 2vw, 26px) + 14px); column-gap: clamp(32px, 4vw, 64px); }
  .u-so-einzeln .so-name {
    align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; width: auto; min-height: 260px; margin: 0;
    padding: clamp(24px, 3vw, 40px); border-radius: 16px; font-size: clamp(2.4rem, 1.4rem + 2.6vw, 4rem);
    box-shadow: inset 0 0 0 6px var(--nacht), inset 0 0 0 9px rgba(255,255,255,.85);
    background: radial-gradient(90% 70% at 100% 0%, rgba(255,176,0,.2), transparent 60%), var(--nacht);
  }
  .u-so-einzeln .so-adresse { margin-top: clamp(8px, 1.4vw, 18px); }
  .u-so-einzeln .so-karte > :not(.so-name) { padding-right: clamp(4px, 1.4vw, 20px); }
}

/* ================================================================ FAQ: ueber die volle Breite */
.u-faq-raster { grid-template-columns: minmax(0, 1fr) !important; gap: clamp(24px, 3vw, 40px); }
.u-faq-raster .u-block-kopf { margin-bottom: 0; }
.u-faq .faq { border-top: 0; padding: 4px clamp(20px, 3vw, 40px); border-radius: var(--u-radius); background: var(--u-grund-2); }
.u-flaeche .u-faq .faq { background: #fff; }
.u-faq .faq-eintrag:last-child { border-bottom: 0; }
/* Plus und Minus als Halt: Ring, offen gefuellt */
.u-faq .faq-eintrag summary::after { width: 30px; height: 30px; background-color: #fff; box-shadow: inset 0 0 0 4px var(--u-akzent); background-image: linear-gradient(var(--u-text), var(--u-text)); }
.u-faq .faq-eintrag:not([open]) summary::after { background-image: linear-gradient(var(--u-text), var(--u-text)), linear-gradient(var(--u-text), var(--u-text)); }
.u-faq .faq-eintrag[open] summary::after { background-color: var(--u-akzent); }
.u-faq .faq-eintrag summary:hover { color: var(--u-text); text-decoration: underline; text-decoration-color: var(--u-akzent); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ================================================================ Formular: Seitenkarte als naechtlicher Bahnsteig, so hoch wie das Formular */
.u-formular { border: 0; border-radius: var(--u-radius); box-shadow: var(--u-schatten); }
.u-feld input, .u-feld select, .u-feld textarea { border-radius: 12px; 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(--u-radius);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; background: var(--nacht); color: #e4e4e1;
  box-shadow: inset 0 0 0 2px var(--nacht), inset 0 0 0 4px rgba(255,255,255,.1);
}
.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(--led); border-bottom-color: var(--led); }
.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); }
.u-formular-seite::after {
  content: ""; display: block; flex: 1 0 210px; margin: 18px calc(-1 * clamp(24px, 3vw, 36px)) 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='.5' y2='1'%3E%3Cstop offset='0' stop-color='%23cfe3ef'/%3E%3Cstop offset='.5' stop-color='%236f93a8'/%3E%3Cstop offset='1' stop-color='%231d2a32'/%3E%3C/linearGradient%3E%3CradialGradient id='h'%3E%3Cstop offset='0' stop-color='%23ffd666' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23ffd666' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffd666' stop-opacity='.22'/%3E%3Cstop offset='1' stop-color='%23ffd666' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='200' cy='200' rx='170' ry='90' fill='url(%23h)' opacity='.45'/%3E%3Cpath d='M164 214L60 300H170Z M236 214L340 300H230Z' fill='url(%23k)'/%3E%3Cg stroke='%233d3f3e' stroke-width='4'%3E%3Cpath d='M150 246H250M128 262H272M100 282H300'/%3E%3C/g%3E%3Cg stroke='%238d8f8e' stroke-width='4' fill='none'%3E%3Cpath d='M172 236L92 300M228 236L308 300'/%3E%3C/g%3E%3Cpath d='M0 300V256L128 230H138L44 300Z' fill='%233e403f'/%3E%3Cpath d='M138 230L44 300' stroke='%235a5c5b' stroke-width='3'/%3E%3Cpath d='M0 266L122 234' stroke='%23e9e8e4' stroke-width='3' stroke-dasharray='12 7' opacity='.8'/%3E%3Crect x='146' y='112' width='108' height='124' rx='22' fill='%23333534'/%3E%3Crect x='146' y='112' width='108' height='14' rx='7' fill='%234a4c4b'/%3E%3Crect x='156' y='132' width='88' height='44' rx='10' fill='url(%23s)' stroke='%231d1e1e' stroke-width='3'/%3E%3Crect x='198.5' y='132' width='3' height='44' fill='%231d1e1e'/%3E%3Ccircle cx='200' cy='122' r='3.5' fill='%23fff3c4'/%3E%3Crect x='146' y='190' width='108' height='10' fill='%23f7a600'/%3E%3Ccircle cx='166' cy='214' r='20' fill='url(%23h)'/%3E%3Ccircle cx='234' cy='214' r='20' fill='url(%23h)'/%3E%3Ccircle cx='166' cy='214' r='7' fill='%23fff6d6'/%3E%3Ccircle cx='234' cy='214' r='7' fill='%23fff6d6'/%3E%3Crect x='140' y='228' width='120' height='10' rx='3' fill='%231b1c1c'/%3E%3C/svg%3E") 50% 100% / cover no-repeat;
}
@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: 280px; } }

/* ================================================================ Aufruf: dunkel, unten die Bahnsteigkante */
.u-aufruf { background: var(--nacht); padding-bottom: calc(var(--u-abstand) + 18px); }
.u-aufruf::before { content: ""; position: absolute; right: -140px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,176,0,.22), rgba(255,176,0,0)); pointer-events: none; }
.u-aufruf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 50px) 0 5px / 100% 4px no-repeat, linear-gradient(180deg, #d4d3cf, #c2c1bc); }
.u-aufruf-mit-bild::before { left: -160px; right: auto; }
.u-aufruf-titel { letter-spacing: -0.03em; }
.u-aufruf .u-knopf-linie { color: #fff; border-color: rgba(255,255,255,.7); }
.u-aufruf .u-knopf-linie:hover { background: #fff; color: var(--u-text); }
.u-aufruf-bild { border-radius: 26px; background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.u-aufruf-bild img { inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); border-radius: 19px; }
@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; }
}

/* 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-info .u-punkt::after { animation: none !important; }
}
