/* Unterseiten der Fassung Signal 1a "Nachtfahrt": blaue Stunde, Kino, Lichtsignal.
   Grundlayout: /unterseiten-basis.css. Kopf, Navigation und Fuss kommen aus /signal/a/style.css.
   Motive: der Seitenkopf als Leinwand (Vorhang geht auf, Scheinwerferkegel, Filmstreifen),
   ein Lichtsignal schaltet von Rot ueber Gelb auf Gruen, Bilder oeffnen sich wie ein Vorhang.
   Animationen nur mit transform und opacity und nur unter .u-bewegt; sonst steht der Endzustand
   (Signal auf Gruen, Vorhang offen). */
:root {
  --u-grund: #0a0c10;
  --u-grund-2: #05070a;
  --u-flaeche: #11141a;
  --u-flaeche-2: #181c24;
  --u-text: #eef0f3;
  --u-text-2: #bcc2cc;
  --u-akzent-text: #f7a600;
  --u-auf-akzent: #0a0c10;
  --u-akzent-weich: rgba(247,166,0,.1);
  --u-linie: #252a34;
  --u-linie-stark: #3b424f;
  --u-aufruf-grund: #05070a;
  --u-aufruf-text: #eef0f3;
  --u-radius: 0px;
  --u-radius-klein: 0px;
  --u-knopf-radius: 0px;
  --u-schatten: 0 30px 60px -24px rgba(0,0,0,.9);
  --u-h1: clamp(2.6rem, 1rem + 6.6vw, 6.6rem);
  --u-h2: clamp(2.2rem, 1.25rem + 3.6vw, 4.4rem);
  --u-titel-gewicht: 800;
  --u-titel-zeile: .96;
  --u-titel-abstand: -0.03em;
  --u-breite: 1328px;
  --u-kopf-h: 72px;
  --nf-film: repeating-linear-gradient(90deg, #1b1f27 0 14px, transparent 14px 30px);
  --nf-aus: #1d2129;
  /* Lampen eines Signalschirms (44 x 120 px, Lampen bei 22, 60, 98 px). Grund: Gruen an. */
  --nf-schirm: radial-gradient(circle at 22px 98px, #e2ffef 0 3px, #3fe08a 7px 12px, #1d8f55 14.5px, rgba(63,224,138,.3) 15.5px, rgba(63,224,138,0) 21px),
               radial-gradient(circle at 22px 60px, var(--nf-aus) 0 13px, #0c0e12 14.5px, rgba(0,0,0,0) 15.5px),
               radial-gradient(circle at 22px 22px, var(--nf-aus) 0 13px, #0c0e12 14.5px, rgba(0,0,0,0) 15.5px), #000;
  --nf-gelb-an: radial-gradient(circle at 22px 60px, #fff3d2 0 3px, #f7a600 7px 12px, #a86f00 14.5px, rgba(247,166,0,.3) 15.5px, rgba(247,166,0,0) 21px),
                radial-gradient(circle at 22px 98px, var(--nf-aus) 0 13px, #0c0e12 14.5px, #000 15.5px 21px, rgba(0,0,0,0) 21.5px);
  --nf-rot-an: radial-gradient(circle at 22px 22px, #ffd8d2 0 3px, #ff4f40 7px 12px, #a82a1e 14.5px, rgba(255,79,64,.32) 15.5px, rgba(255,79,64,0) 21px),
               radial-gradient(circle at 22px 60px, var(--nf-aus) 0 13px, #0c0e12 14.5px, #000 15.5px 21px, rgba(0,0,0,0) 21.5px);
  /* dasselbe quer (120 x 44 px, Lampen bei 22, 60, 98 px) fuer den Aufruf */
  --nf-quer: radial-gradient(circle at 98px 22px, #e2ffef 0 3px, #3fe08a 7px 12px, #1d8f55 14.5px, rgba(63,224,138,.3) 15.5px, rgba(63,224,138,0) 21px),
             radial-gradient(circle at 60px 22px, var(--nf-aus) 0 13px, #0c0e12 14.5px, rgba(0,0,0,0) 15.5px),
             radial-gradient(circle at 22px 22px, var(--nf-aus) 0 13px, #0c0e12 14.5px, rgba(0,0,0,0) 15.5px), #000;
  --nf-quer-gelb: radial-gradient(circle at 60px 22px, #fff3d2 0 3px, #f7a600 7px 12px, #a86f00 14.5px, rgba(247,166,0,.3) 15.5px, rgba(247,166,0,0) 21px),
                  radial-gradient(circle at 98px 22px, var(--nf-aus) 0 13px, #0c0e12 14.5px, #000 15.5px 21px, rgba(0,0,0,0) 21.5px);
  --nf-quer-rot: radial-gradient(circle at 22px 22px, #ffd8d2 0 3px, #ff4f40 7px 12px, #a82a1e 14.5px, rgba(255,79,64,.32) 15.5px, rgba(255,79,64,0) 21px),
                 radial-gradient(circle at 60px 22px, var(--nf-aus) 0 13px, #0c0e12 14.5px, #000 15.5px 21px, rgba(0,0,0,0) 21.5px);
}
@media (max-width: 959px) { :root { --u-kopf-h: 64px; } }
html { scroll-padding-top: calc(var(--u-kopf-h) + 16px); }
.u-seite { background: var(--u-grund); }
.u-seite h3, .u-seite .u-h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }

/* Knoepfe und Links wie auf der Startseite: kantig, mit Pfeil */
.u-knopf { min-height: 56px; padding: 14px 28px; font-size: 18px; }
.u-knopf::after { content: ""; flex: none; width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.u-knopf:hover { background: #ffb81f; border-color: #ffb81f; transform: none; }
.u-knopf-linie { border-color: var(--u-linie-stark); }
.u-knopf-linie:hover { background: transparent; border-color: var(--u-text); }
.u-knopf-voll::after { display: none; }
.u-link-pfeil .u-pfeil, .u-karte-mehr .u-pfeil { color: var(--u-akzent); }
.u-link-pfeil:hover { color: var(--u-akzent); }
@media (max-width: 599px) { .u-knopf { padding-left: 20px; padding-right: 20px; } }

/* ================================================================ Seitenkopf: die Leinwand */
.u-kopf {
  overflow: hidden; border-bottom: 0;
  padding-top: calc(var(--u-kopf-h) + clamp(12px, 2.6vw, 36px)); padding-bottom: clamp(72px, 8vw, 116px);
  background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(40,62,116,.42), rgba(40,62,116,0) 70%), linear-gradient(180deg, #06080d 0%, var(--u-grund) 78%);
}
.u-kopf-raster, .u-kopf-fakten { position: relative; z-index: 1; }
.u-kopf .u-h1 { font-weight: 800; line-height: .93; letter-spacing: -0.035em; max-width: 12.5em; }
.u-kopf .u-akzent { text-shadow: 0 0 44px rgba(247,166,0,.28); }
.u-lead { color: var(--u-text); opacity: .9; }
.u-brotkrumen { font-size: 15px; }
.u-info { border-top-color: var(--u-linie); }
/* Naechster Start: gruene Lampe statt Punkt */
.u-info .u-punkt, .u-ks-stand .u-punkt { width: 11px; height: 11px; background: #3fe08a; box-shadow: 0 0 0 4px rgba(63,224,138,.14), 0 0 12px rgba(63,224,138,.8); }
.u-bewegt .u-info .u-punkt::after, .u-bewegt .u-ks-stand .u-punkt::after { background: #3fe08a; }

/* Filmstreifen unten (rollt ein) */
.u-kopf::after { height: 8px; bottom: 14px; background: var(--nf-film); }
.u-bewegt .u-kopf::after { animation: u-strich 1.6s cubic-bezier(.45,0,.25,1) .2s both; }

/* Scheinwerferkegel: warmer Lichtkegel faellt von rechts oben in die Nacht */
.u-kopf::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; right: -12vw; top: -30%; width: 78vw; height: 150%;
  background: radial-gradient(ellipse 46% 34% at 66% 38%, rgba(255,196,96,.13), rgba(255,196,96,0) 70%),
              conic-gradient(from 218deg at 84% 18%, rgba(255,214,150,0) 0deg, rgba(255,214,150,.07) 14deg, rgba(255,214,150,.11) 24deg, rgba(255,214,150,.06) 36deg, rgba(255,214,150,0) 52deg);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 80% 20%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 80% 20%, #000 30%, transparent 78%);
}
.u-bewegt .u-kopf::before { animation: nf-kegel 2.6s cubic-bezier(.2,.7,.2,1) .2s both; }
@keyframes nf-kegel { from { opacity: 0; transform: translate3d(8%, -4%, 0) scale(.94); } to { opacity: 1; transform: none; } }

/* Lichtsignal (Schirm mit drei Lampen). Drei Ebenen: Grund mit Gruen, darueber Gelb, darueber Rot.
   Animiert wird nur die Deckkraft der oberen Ebenen: Rot bis 1,4 s, Gelb bis 2,3 s, dann Fahrt frei. */
@keyframes nf-rot { 0%, 37% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes nf-gelb { 0%, 73% { opacity: 1; } 77%, 100% { opacity: 0; } }

/* Kopf ohne Bild: Signal auf einem Mast, der auf dem Filmstreifen steht */
.u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::before,
.u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after,
.u-kopf:not(.u-kopf-mit-bild) .u-kopf-text::after {
  content: ""; position: absolute; right: calc(var(--u-rand) + 72px); top: 6px; width: 44px; height: 120px;
  border-radius: 22px; transform: scale(1.3); transform-origin: 100% 0; pointer-events: none;
}
.u-kopf:not(.u-kopf-mit-bild) .u-kopf-text::before {
  content: ""; position: absolute; right: calc(var(--u-rand) + 72px + 27px); top: 162px; bottom: calc(22px - clamp(72px, 8vw, 116px)); width: 4px;
  background: linear-gradient(180deg, #343b47, #1b1f27 70%, #12151b); pointer-events: none;
}
@media (min-width: 960px) { .u-kopf:not(.u-kopf-mit-bild) .u-kopf-text { max-width: min(980px, calc(100% - 190px)); } }
.u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::before { background: var(--nf-schirm); box-shadow: inset 0 0 0 1px #343b47, 0 18px 44px rgba(0,0,0,.6), 0 0 60px rgba(63,224,138,.12); }
.u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after { background: var(--nf-gelb-an); opacity: 0; }
.u-kopf:not(.u-kopf-mit-bild) .u-kopf-text::after { background: var(--nf-rot-an); opacity: 0; }
.u-bewegt .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after { animation: nf-gelb 2.4s linear .5s both; }
.u-bewegt .u-kopf:not(.u-kopf-mit-bild) .u-kopf-text::after { animation: nf-rot 2.4s linear .5s both; }
/* Mast unter dem Schirm */
@media (max-width: 959px) {
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::before,
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-raster::after,
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-text::after { top: 0; right: var(--u-rand); transform: scale(.5); transform-origin: 100% 0; }
  .u-kopf:not(.u-kopf-mit-bild) .u-brotkrumen { padding-right: 40px; }
  .u-kopf:not(.u-kopf-mit-bild) .u-kopf-text::before { display: none; }
}

/* Kopf mit Bild: Leinwand mit Vorhang, Bild verlaeuft in die Nacht */
.u-kopf-mit-bild .u-kopf-bild { border-radius: 0; background: linear-gradient(180deg, #13264c, #0a1226 55%, #070a12); }
.u-kopf-mit-bild .u-kopf-bild img { filter: saturate(.7) brightness(.78) contrast(1.1); opacity: .86; }
.u-kopf-bild::before, .u-kopf-bild::after { content: ""; position: absolute; left: 0; right: 0; z-index: 3; height: 50.5%; background: #05070a; transform: scaleY(0); pointer-events: none; }
.u-kopf-bild::before { top: 0; transform-origin: 50% 0; }
.u-kopf-bild::after { bottom: 0; transform-origin: 50% 100%; }
.u-bewegt .u-kopf-bild::before, .u-bewegt .u-kopf-bild::after { animation: nf-vorhang 1.3s cubic-bezier(.6,0,.25,1) .15s both; }
@keyframes nf-vorhang { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.u-kopf-signal { left: auto; top: auto; right: clamp(18px, 2.6vw, 40px); bottom: clamp(18px, 2.6vw, 40px); z-index: 2; width: 44px; height: 120px; border-radius: 22px; background: var(--nf-schirm); box-shadow: inset 0 0 0 1px #343b47, 0 18px 44px rgba(0,0,0,.7), 0 0 50px rgba(63,224,138,.14); transform: none; }
.u-kopf-signal::before, .u-kopf-signal::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; }
.u-kopf-signal::before { background: var(--nf-gelb-an); }
.u-kopf-signal::after { background: var(--nf-rot-an); }
.u-bewegt .u-kopf-signal { animation: none; }
.u-bewegt .u-kopf-signal::before { animation: nf-gelb 2.4s linear .5s both; }
.u-bewegt .u-kopf-signal::after { animation: nf-rot 2.4s linear .5s both; }

@media (min-width: 960px) {
  .u-kopf-mit-bild { padding-top: 0; padding-bottom: clamp(56px, 6vw, 96px); }
  .u-kopf-mit-bild .u-kopf-raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; gap: 0; max-width: none; margin: 0; padding: 0 0 0 max(var(--u-rand), calc((100vw - var(--u-breite)) / 2)); }
  .u-kopf-mit-bild .u-kopf-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: calc(var(--u-kopf-h) + clamp(28px, 3vw, 52px)) clamp(28px, 3.4vw, 64px) clamp(48px, 5vw, 80px) 0; }
  .u-kopf-mit-bild .u-kopf-text > * { max-width: 100%; }
  .u-kopf-mit-bild .u-h1 { font-size: clamp(2.6rem, .8rem + 4.6vw, 5.8rem); }
  .u-kopf-mit-bild .u-kopf-bild { aspect-ratio: auto; max-height: none; min-height: min(calc(100svh - 96px), 800px); }
  .u-kopf-mit-bild .u-kopf-bild img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, rgba(0,0,0,.2) 0, #000 190px); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, rgba(0,0,0,.2) 0, #000 190px); mask-composite: intersect;
  }
  .u-kopf-mit-bild .u-kopf-fakten { margin-top: 0; }
}
@media (max-width: 959px) {
  .u-kopf-mit-bild { padding-top: 0; }
  .u-kopf-mit-bild .u-kopf-raster { gap: 8px; }
  .u-kopf-mit-bild .u-kopf-bild { order: -1; margin: 0 calc(-1 * var(--u-rand)); aspect-ratio: 4 / 3; max-height: 62svh; }
  .u-kopf-mit-bild .u-kopf-bild img { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0, #000 30%, #000 64%, transparent 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0, #000 30%, #000 64%, transparent 100%); }
  .u-kopf-signal { right: var(--u-rand); bottom: 22%; transform: scale(.6); transform-origin: 100% 100%; }
  .u-kopf-mit-bild .u-kopf-fakten { margin-top: 40px; }
}
@media (min-width: 600px) and (max-width: 959px) { .u-kopf-mit-bild .u-kopf-bild { aspect-ratio: 16 / 9; } }

/* Kennzahlen im Kopf: Filmstreifen oben, Zahlen leuchten wie auf der Startseite */
.u-kopf-fakten { padding-top: 30px; }
.u-kopf-fakten::before { content: ""; position: absolute; left: var(--u-rand); right: var(--u-rand); top: 0; height: 8px; background: var(--nf-film); }

/* ================================================================ Bloecke */
.u-block { border-bottom: 0; }
.u-flaeche { background: var(--u-grund-2); }
.u-h2 { font-weight: 800; }
.u-block-kopf { max-width: 58rem; }
.u-b-karten-block .u-block-kopf, .u-b-ablauf .u-block-kopf, .u-b-fakten-block .u-block-kopf, .u-b-standorte-block .u-block-kopf { margin-left: auto; margin-right: auto; text-align: center; }
.u-b-karten-block .u-block-lead, .u-b-ablauf .u-block-lead, .u-b-fakten-block .u-block-lead, .u-b-standorte-block .u-block-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 599px) {
  .u-b-karten-block .u-block-kopf, .u-b-ablauf .u-block-kopf, .u-b-fakten-block .u-block-kopf, .u-b-standorte-block .u-block-kopf { text-align: left; }
}

/* Kennzahlen */
.u-fakten { background: var(--u-linie); border: 0; border-top: 1px solid var(--u-linie); border-bottom: 1px solid var(--u-linie); }
.u-fakt { background: var(--u-grund); }
.u-flaeche .u-fakt { background: var(--u-grund-2); }
.u-fakt-wert { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 5.2rem); font-weight: 800; letter-spacing: -0.04em; text-shadow: 0 0 34px rgba(247,166,0,.28); }
.u-fakt dd { font-size: 16px; }

/* Text: auch schmale Textbloecke mit Titel stehen breit zweispaltig, Titel links */
@media (min-width: 960px) {
  .u-text-raster.u-text-schmal:has(> .u-h2) { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); }
  .u-text-raster.u-text-schmal:has(> .u-h2) .u-h2 { position: sticky; top: calc(var(--u-kopf-h) + 32px); align-self: start; }
}
.u-text-raster .u-h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.6rem); }

/* Bild mit Text: Bild oeffnet sich wie ein Vorhang, Nachtlook */
.u-bt-bild { background: #05070a; }
.u-bt-bild img { filter: saturate(.82) brightness(.88) contrast(1.05); }
.u-bt-bild::before, .u-bt-bild::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 50.5%; background: #05070a; transform: scaleY(0); pointer-events: none; }
.u-bt-bild::before { top: 0; transform-origin: 50% 0; }
.u-bt-bild::after { bottom: 0; transform-origin: 50% 100%; }
.u-bewegt .u-bt-bild:not(.u-los)::before, .u-bewegt .u-bt-bild:not(.u-los)::after { transform: scaleY(1); }
.u-bewegt .u-bt-bild.u-los::before, .u-bewegt .u-bt-bild.u-los::after { animation: nf-vorhang 1.1s cubic-bezier(.6,0,.25,1) .1s both; }
.u-bt-text .u-h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }

/* Haekchen als leuchtende Lampen */
.u-haken-zeichen { box-shadow: 0 0 12px rgba(247,166,0,.45); }
.u-haken-gross { border-top-color: var(--u-linie-stark); }

/* Karten: Lichtkante oben laeuft beim Ueberfahren durch */
.u-karte { background: var(--u-flaeche); border-color: var(--u-linie); }
.u-flaeche .u-karte { background: var(--u-flaeche); }
.u-karte::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; z-index: 2; height: 3px; background: var(--u-akzent); box-shadow: 0 0 14px rgba(247,166,0,.6); transform: scaleX(.16); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.u-karte-link:hover { transform: translateY(-4px); background: var(--u-flaeche-2); border-color: var(--u-linie-stark); }
.u-karte-link:hover::before, .u-karte-link:focus-within::before { transform: none; }
.u-karte-titel { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.95rem); line-height: 1.08; }
.u-karte-link:hover .u-karte-titel { color: var(--u-akzent); }
.u-karte-marke { border-radius: 0; font-weight: 700; }
.u-karte-bild img { filter: saturate(.82) brightness(.86); transition: transform .6s var(--u-kurve), filter .4s; }
.u-karte-link:hover .u-karte-bild img { filter: none; }

/* Ablauf: Strecke mit Spitzenlicht wie "So kommst du in den Fuehrerstand" */
.u-ablauf li::before { content: ""; position: absolute; left: 24px; top: 46px; bottom: 0; width: 2px; background: #2c323d; }
.u-ablauf li:last-child::before { display: none; }
.u-ablauf li::after { background: linear-gradient(180deg, var(--u-akzent) 75%, #fff2c8); box-shadow: 0 0 14px rgba(247,166,0,.75); transform-origin: 50% 0; }
.u-ablauf-nr { font-weight: 800; color: var(--u-akzent); }
.u-ablauf li:last-child .u-ablauf-nr { box-shadow: 0 0 0 6px rgba(247,166,0,.18), 0 0 28px rgba(247,166,0,.6); }
@media (min-width: 900px) {
  .u-ablauf-3 li::before, .u-ablauf-4 li::before, .u-ablauf-5 li::before { left: 56px; right: calc(-1 * clamp(24px, 3vw, 44px)); top: 27px; bottom: auto; width: auto; height: 2px; }
  .u-ablauf-3 li::after, .u-ablauf-4 li::after, .u-ablauf-5 li::after { background: linear-gradient(90deg, var(--u-akzent) 80%, #fff2c8); transform-origin: 0 50%; }
}

/* Steckbrief */
.u-steckbrief { border-top-color: var(--u-linie-stark); }
.u-steckbrief dt { display: flex; align-items: baseline; gap: 10px; }
.u-steckbrief dt::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--u-akzent); box-shadow: 0 0 8px rgba(247,166,0,.7); transform: translateY(-2px); }

/* ================================================================ Kursstarts: Programm der naechsten Abfahrten */
.u-ks { background: var(--u-grund-2); border: 1px solid var(--u-linie); border-top: 2px solid var(--u-akzent); }
.u-flaeche .u-ks { background: var(--u-grund); }
.u-ks .ks-zeile { position: relative; transition: background-color .2s; }
.u-ks .ks-zeile:hover { background-color: rgba(255,255,255,.03); }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) { background: linear-gradient(90deg, rgba(247,166,0,.12), rgba(247,166,0,0) 70%); }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer)::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--u-akzent); box-shadow: 0 0 12px rgba(247,166,0,.7); }
.u-ks .ks-tag { font-size: 44px; font-weight: 800; text-shadow: 0 0 24px rgba(247,166,0,.22); }
.u-ks .ks-ort { font-size: 22px; }
@media (min-width: 760px) { .u-ks .ks-tag { font-size: 54px; } .u-ks .ks-ort { font-size: 26px; } }
@media (max-width: 379px) { .u-ks .ks-tag { font-size: 34px; } }
.u-ks .ks-zeile-anfrage { background: transparent; }
.u-ks .ks-zeile-anfrage .ks-ort, .u-ks .ks-zeile-anfrage .ks-kurse { opacity: .8; }
.u-ks .ks-datum-anfrage { display: inline-flex; align-items: center; gap: 8px; color: var(--u-text-2); }
.u-ks .ks-datum-anfrage::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--u-akzent); box-shadow: 0 0 8px rgba(247,166,0,.7); }
.u-ks-stand { font-size: 16px; gap: 14px; }
/* Plaetze: wenige wie eine gelbe, ausgebucht wie eine rote Lampe */
.ks-plaetze { border-radius: 0; font-size: 13px; padding: 2px 9px; }
.ks-plaetze-wenige { background: var(--u-akzent); color: #0a0c10; }
.ks-plaetze-ausgebucht { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--u-text-2); box-shadow: inset 0 0 0 1.5px var(--u-linie-stark); opacity: 1; }
.ks-plaetze-ausgebucht::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff4f40; box-shadow: 0 0 8px rgba(255,79,64,.8); }
/* Tabelle je Standort */
.u-ks-tabelle { border-top-width: 2px; }
.u-ks .ks-tabelle thead th { padding-top: 18px; padding-bottom: 14px; border-bottom-color: var(--u-linie-stark); }
.u-ks .ks-tabelle tbody th { font-size: 22px; font-weight: 700; white-space: nowrap; }
.u-ks .ks-tabelle td { color: var(--u-text); line-height: 1.7; }
.u-ks .ks-tabelle td time { font-weight: 600; }
.u-ks .ks-tabelle tbody tr:first-child td:first-of-type time:first-child { color: var(--u-akzent); }
.u-ks .ks-zelle-anfrage { color: var(--u-text-2) !important; }
.u-ks .ks-zelle-aus::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--u-linie-stark); vertical-align: middle; }
/* Filter */
.u-chip { border-radius: 0; background: transparent; border-color: var(--u-linie-stark); }
.u-chip:hover { border-color: var(--u-text); }
.u-chip[aria-pressed="true"] { background: var(--u-akzent); border-color: var(--u-akzent); color: #0a0c10; }
.u-ks-leer { border-left: 3px solid var(--u-akzent); }

/* ================================================================ Standorte */
.u-so .so-karte { position: relative; background: var(--u-flaeche); border: 1px solid var(--u-linie); border-top: 1px solid var(--u-linie); }
.u-so .so-karte::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--u-akzent); box-shadow: 0 0 14px rgba(247,166,0,.55); transform-origin: 0 50%; }
/* Die Startseiten-CSS blendet .so-raster erst mit .los ein (setzt dort skript.js); hier steuert .u-los */
.bewegt .u-so .so-raster:not(.los) .so-karte { opacity: 1; transform: none; }
.bewegt .u-so .so-raster:not(.los) .so-karte::before { transform: none; }
.u-bewegt .u-so:not(.u-los) .so-raster:not(.los) .so-karte::before { transform: scaleX(0); }
.u-bewegt .u-so.u-los .so-raster:not(.los) .so-karte::before { transition: transform 1s cubic-bezier(.6,0,.2,1) .35s; }
.u-so .so-name { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.u-so .so-start { border-top-color: var(--u-linie); }
.u-so-einzeln .so-karte { padding: clamp(24px, 3.4vw, 48px); }
.u-so-einzeln .so-name { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); }

/* ================================================================ FAQ */
.u-faq .faq { border-top-color: var(--u-linie-stark); }
.u-faq-raster .u-h2 { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.8rem); }

/* ================================================================ Formular: Anmeldung im Lichtkegel */
.u-b-formular {
  background: radial-gradient(ellipse 55% 60% at 8% 100%, rgba(247,166,0,.09), rgba(247,166,0,0) 70%),
              radial-gradient(ellipse 60% 60% at 95% 0%, rgba(40,62,116,.32), rgba(40,62,116,0) 70%), var(--u-grund-2);
}
.u-formular { background: rgba(14,17,22,.94); border: 1px solid var(--u-linie-stark); border-top: 4px solid var(--u-akzent); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.u-feld input, .u-feld select, .u-feld textarea { background-color: #07090c; border-color: var(--u-linie-stark); }
.u-feld input:hover, .u-feld select:hover, .u-feld textarea:hover { border-color: #566070; }
.u-formular-danke strong { color: var(--u-akzent); }
.u-formular-seite { background: transparent; border: 1px solid var(--u-linie); border-left: 3px solid #3fe08a; }
.u-formular-seite-titel { display: flex; align-items: center; gap: 12px; }
.u-formular-seite-titel::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #3fe08a; box-shadow: 0 0 12px rgba(63,224,138,.8); }

/* ================================================================ Aufruf: Finale mit grossem Signal */
.u-aufruf {
  border-top: 1px solid var(--u-linie);
  background: radial-gradient(ellipse 60% 80% at 100% 100%, rgba(247,166,0,.12), rgba(247,166,0,0) 70%),
              radial-gradient(ellipse 70% 70% at 0% 0%, rgba(40,62,116,.34), rgba(40,62,116,0) 70%), #05070a;
}
.u-aufruf::before { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 8px; background: var(--nf-film); }
.u-aufruf-titel { font-size: clamp(2.4rem, 1rem + 4.6vw, 5.4rem); font-weight: 800; line-height: .95; letter-spacing: -0.035em; }
.u-aufruf .u-akzent { color: var(--u-akzent); text-decoration: none; text-shadow: 0 0 44px rgba(247,166,0,.3); }
.u-aufruf p { opacity: 1; color: var(--u-text-2); }
.u-aufruf .u-knopf-linie { color: var(--u-text); border-color: var(--u-linie-stark); }
.u-aufruf .u-knopf-linie:hover { border-color: var(--u-text); }
.u-aufruf-text { position: relative; }
.u-aufruf-text::before { content: ""; display: block; width: 120px; height: 44px; margin-bottom: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--nf-quer); box-shadow: inset 0 0 0 1px #343b47, 0 16px 40px rgba(0,0,0,.6), 0 0 50px rgba(63,224,138,.14); }
.u-aufruf-text::after, .u-aufruf-text .u-aufruf-titel::before { content: ""; position: absolute; left: 0; top: 0; width: 120px; height: 44px; border-radius: 22px; opacity: 0; pointer-events: none; }
.u-aufruf-text::after { background: var(--nf-quer-gelb); }
.u-aufruf-text .u-aufruf-titel::before { background: var(--nf-quer-rot); }
.u-bewegt .u-aufruf-text.u-los::after { animation: nf-gelb 2.4s linear .5s both; }
.u-bewegt .u-aufruf-text.u-los .u-aufruf-titel::before { animation: nf-rot 2.4s linear .5s both; }
.u-aufruf-bild { border-radius: 0; background: #05070a; }
.u-aufruf-bild img { filter: saturate(.8) brightness(.86); }
.u-aufruf-bild::before, .u-aufruf-bild::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 50.5%; background: #05070a; transform: scaleY(0); pointer-events: none; }
.u-aufruf-bild::before { top: 0; transform-origin: 50% 0; }
.u-aufruf-bild::after { bottom: 0; transform-origin: 50% 100%; }
.u-bewegt .u-aufruf-text:not(.u-los) + .u-aufruf-bild::before, .u-bewegt .u-aufruf-text:not(.u-los) + .u-aufruf-bild::after { transform: scaleY(1); }
.u-bewegt .u-aufruf-text.u-los + .u-aufruf-bild::before, .u-bewegt .u-aufruf-text.u-los + .u-aufruf-bild::after { animation: nf-vorhang 1.2s cubic-bezier(.6,0,.25,1) .3s both; }

/* ================================================================ Rechtstexte */
.u-b-recht .u-innen { position: relative; }
.u-recht-text .u-h3 { color: var(--u-text); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); padding-top: 18px; border-top: 1px solid var(--u-linie); }
.u-recht-text .u-h3:first-child { padding-top: 0; border-top: 0; }

/* ================================================================ Seitenende */
.nf-unterseite .fuss { padding-bottom: 48px; }
