/* Unterseiten von Fahrplan a "Hauptbahnhof": die Seite als Bahnhofshalle.
   Nacht als Grund, Gelb fuer Laufschrift und Kennzahlen, Orange fuer die naechste Abfahrt.
   Dunkle und helle Abschnitte wechseln wie Halle und Bahnsteig. Im Seitenkopf klappt
   eine grosse Fallblattanzeige Ziel und Gleis ein, darueber laeuft die Laufschrift.
   Grundlayout: /unterseiten-basis.css, Kopf und Fuss: /fahrplan/a/style.css. */
:root {
  --u-grund: #0c0c0b;
  --u-grund-2: #1c1c1a;
  --u-flaeche: #131312;
  --u-flaeche-2: #1c1c1a;
  --u-text: #f2f2ee;
  --u-text-2: #b4b4ad;
  --u-akzent-text: #ffc933;
  --u-auf-akzent: #0c0c0b;
  --u-akzent-weich: rgba(255,201,51,.12);
  --u-linie: #2f2f2b;
  --u-linie-stark: #5a5a55;
  --u-aufruf-grund: #ffc933;
  --u-aufruf-text: #0c0c0b;
  --u-radius: 6px;
  --u-radius-klein: 3px;
  --u-knopf-radius: 3px;
  --u-schatten: 0 30px 60px -32px rgba(0,0,0,.9);
  --u-titel-gewicht: 600;
  --u-titel-abstand: -0.025em;
  --u-titel-zeile: 1.02;
  --u-h1: clamp(2.6rem, 1.2rem + 5.2vw, 5.8rem);
  --u-h2: clamp(2.2rem, 1.3rem + 3vw, 4.4rem);
  --u-breite: 1320px;
  --u-rand: clamp(20px, 4.5vw, 64px);
  --u-kopf-h: 72px;
  --fa-gelb: #ffc933;
  --fa-nacht: #0c0c0b;
  --fa-tafel: #131312;
  --fa-kante: #2f2f2b;
  --fa-karte: #ffc933;
}
/* Helle Abschnitte wie die Bahnsteige der Startseite */
.u-flaeche {
  --u-grund: #ededea; --u-grund-2: #ededea; --u-flaeche: #ffffff; --u-flaeche-2: #f6f6f3;
  --u-text: #141413; --u-text-2: #4f4f4c; --u-akzent-text: #8a5a00; --u-akzent-weich: rgba(247,166,0,.16);
  --u-linie: #cfcfca; --u-linie-stark: #85857f; --fa-karte: #0c0c0b;
  color: var(--u-text);
}
.u-seite { background: var(--u-grund); }
.u-block { background: var(--u-grund); }
.u-flaeche { background: #ededea; }

/* ---------------------------------------------------------------- Knoepfe und Links */
.u-knopf { min-height: 56px; padding: 14px 28px; font-size: 18px; }
/* .u-seite a erbt sonst die Schriftfarbe, auf Orange waere das hell auf hell */
.u-seite .u-knopf { color: var(--u-auf-akzent); }
.u-seite .u-knopf-linie { color: var(--u-text); }
.u-seite .u-knopf-linie:hover { color: var(--u-grund); }
.u-knopf:hover { transform: none; background: var(--fa-gelb); border-color: var(--fa-gelb); }
.u-knopf-linie { background: transparent; color: var(--u-text); border-color: var(--u-text); }
.u-knopf-linie:hover { background: var(--u-text); border-color: var(--u-text); color: var(--u-grund); }
.u-link-pfeil { border-bottom: 0; text-decoration: underline; text-decoration-color: var(--ec-orange); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.u-chip[aria-pressed="true"] { background: var(--fa-gelb); border-color: var(--fa-gelb); color: var(--fa-nacht); }
.u-flaeche .u-chip[aria-pressed="true"] { background: var(--fa-nacht); border-color: var(--fa-nacht); color: #fff; }
.u-haken-zeichen { background: var(--fa-gelb); color: var(--fa-nacht); border-radius: 3px; }
.u-flaeche .u-haken-zeichen { background: var(--ec-orange); }

/* ---------------------------------------------------------------- Seitenkopf: Halle mit Laufschrift und grosser Anzeige */
.u-kopf { overflow: hidden; padding: calc(44px + clamp(20px, 2.6vw, 36px)) 0 clamp(48px, 6vw, 88px); background: radial-gradient(120% 90% at 50% 0%, #1d1d1a 0%, var(--fa-nacht) 64%); border-bottom: 1px solid var(--fa-kante); }
/* Laufschrift unter dem Hallendach (rein dekorativ, Text ist Inhalt der Seite) */
.u-kopf::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; background: var(--fa-gelb); }
.u-kopf::after {
  content: "Info-Veranstaltung jeden Donnerstag um 15:15 Uhr      ◆      Komplett förderfähig mit Bildungsgutschein      ◆      Hamburg, Bremen und Hannover      ◆      Unbefristeter Job nach GDL-Tarif      ◆      Info-Veranstaltung jeden Donnerstag um 15:15 Uhr      ◆      Komplett förderfähig mit Bildungsgutschein      ◆      Hamburg, Bremen und Hannover      ◆      Unbefristeter Job nach GDL-Tarif      ◆      Info-Veranstaltung jeden Donnerstag um 15:15 Uhr      ◆      Komplett förderfähig mit Bildungsgutschein      ◆      Hamburg, Bremen und Hannover      ◆      Unbefristeter Job nach GDL-Tarif      ◆      " / "";
  top: 0; bottom: auto; right: auto; left: 0; width: max-content; height: 44px; line-height: 44px; white-space: pre; background: none; color: var(--fa-nacht); font-weight: 600; font-size: 16px; transform: none;
}
.u-bewegt .u-kopf::after { animation: fa-laufen 70s linear infinite; }
@keyframes fa-laufen { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
.u-brotkrumen a { color: var(--u-text-2); }
.u-brotkrumen [aria-current] { color: #fff; }
.u-seite .u-h1 { color: #fff; font-weight: 600; letter-spacing: -0.035em; line-height: .98; }
.u-kopf .u-h1 { max-width: 13em; }
.u-seite .u-kopf .u-akzent { color: var(--fa-gelb); }
.u-lead { color: var(--u-text-2); }
.u-info { border-top-color: var(--fa-kante); }
.u-info .u-punkt { background: var(--fa-gelb); box-shadow: 0 0 0 4px rgba(255,201,51,.18); }
.u-bewegt .u-info .u-punkt::after { background: var(--fa-gelb); }
.u-kopf-bild { border: 1px solid #3a3a35; box-shadow: 0 0 0 6px #1e1e1c, 0 0 0 7px #2c2c28, 0 40px 80px -40px rgba(0,0,0,.9); }
.u-kopf-signal { height: 10px; background: var(--fa-gelb); }
@media (min-width: 960px) {
  .u-kopf-mit-bild .u-kopf-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .u-kopf-mit-bild .u-kopf-bild { aspect-ratio: 4 / 5; max-height: 640px; }
  .u-kopf-mit-bild .u-h1 { font-size: clamp(2.6rem, 1rem + 4.2vw, 5rem); }
}
@media (max-width: 959px) { .u-kopf-mit-bild .u-kopf-bild { aspect-ratio: 16 / 10; margin-top: 8px; } }

/* Grosse Fallblattanzeige (setzt rahmen.js unter die Brotkrumen; Platz nur mit JS) */
.u-kopf-text { container-type: inline-size; }
.u-brotkrumen {
  --fa-pad: clamp(12px, 2cqi, 22px);
  --fa-b: clamp(16px, calc((100cqi - 2 * var(--fa-pad) - 2px - 13 * 4px - 28px - var(--fa-b-gleis, 72px)) / 14), 44px);
  --fa-h: calc(var(--fa-b) * 1.42);
}
.fa-js .u-kopf .u-brotkrumen { margin-bottom: 0; position: relative; padding-bottom: calc(var(--fa-h) + 2 * var(--fa-pad) + 31px + clamp(22px, 2.8vw, 34px)); }
.fa { position: absolute; left: 0; right: 0; bottom: clamp(22px, 2.8vw, 34px); display: flex; align-items: flex-end; gap: 28px; padding: var(--fa-pad); background: linear-gradient(180deg, #171716, #101010); border: 1px solid #3a3a35; border-radius: 6px; box-shadow: 0 0 0 5px #1a1a18, 0 0 0 6px #2c2c28, 0 30px 60px -30px rgba(0,0,0,.9); }
.fa-feld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fa-feld-gleis { margin-left: auto; padding-left: 20px; border-left: 1px dashed var(--fa-kante); }
.fa-name { font-size: 14px; line-height: 15px; font-weight: 500; color: #b4b4ad; }
.fa .fb-feld { gap: 4px; }
.fa .fb-z { --fb-b: var(--fa-b); --fb-h: var(--fa-h); color: #fff; }
.fa-gleis .fb-z { color: var(--fa-gelb); }
@media (max-width: 599px) {
  .u-brotkrumen { --fa-b-gleis: 0px; --fa-b: clamp(14px, calc((100cqi - 2 * var(--fa-pad) - 13 * 3px) / 14), 30px); }
  .fa .fb-feld { gap: 3px; }
  .fa-feld-gleis { display: none; }
}

/* ---------------------------------------------------------------- Abschnittskoepfe */
.u-block-kopf { max-width: none; }
.u-block-kopf .u-h2 { color: var(--u-text); }
.u-block-lead { color: var(--u-text-2); }
@media (min-width: 960px) {
  .u-block-kopf:has(.u-block-lead) { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
  .u-block-kopf:has(.u-block-lead) .u-h2 + .u-block-lead { margin-top: 0; }
}
.u-faq-raster .u-block-kopf, .u-ks-kopf .u-block-kopf { display: block; }
.u-fliess p, .u-bt-text p { color: var(--u-text-2); }

/* ---------------------------------------------------------------- Bilder mit Rahmen wie die Anzeigetafel */
.u-bt-bild { border: 1px solid var(--u-linie); }
.u-bt-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--fa-gelb); transform-origin: 0 50%; }
.u-flaeche .u-bt-bild::after { background: var(--ec-orange); }
.u-bewegt .u-bt-bild:not(.u-los)::after { transform: scaleX(0); }
.u-bewegt .u-bt-bild.u-los::after { transition: transform 1.1s var(--u-kurve) .2s; }

/* ---------------------------------------------------------------- Kennzahlen als gelbes Band */
.u-fakten, .u-flaeche .u-fakten { gap: 0; background: var(--fa-gelb); border: 0; border-radius: var(--u-radius); }
.u-fakt, .u-flaeche .u-fakt { background: none; padding: clamp(22px, 2.6vw, 32px) clamp(18px, 2.2vw, 28px); border-left: 2px solid rgba(12,12,11,.16); }
.u-fakt-wert, .u-fakt-einheit { color: var(--fa-nacht); }
.u-fakt-wert { font-weight: 700; }
.u-fakt dd { color: #2a2a27; }
.u-fakten .u-fakt:first-child { border-left: 0; }
@media (max-width: 899px) {
  .u-fakten-4 .u-fakt:nth-child(odd), .u-fakten-5 .u-fakt:nth-child(odd) { border-left: 0; }
  .u-fakten-4 .u-fakt:nth-child(n+3), .u-fakten-5 .u-fakt:nth-child(n+3) { border-top: 2px solid rgba(12,12,11,.16); }
}
@media (max-width: 599px) {
  .u-fakten-3 .u-fakt { border-left: 0; }
  .u-fakten-3 .u-fakt + .u-fakt { border-top: 2px solid rgba(12,12,11,.16); }
}
.u-fakten-2 .u-fakt:nth-child(2) { border-left: 2px solid rgba(12,12,11,.16); }
.u-fakten-2 .u-fakt:nth-child(n+3) { border-top: 2px solid rgba(12,12,11,.16); }
.u-fakten-2 .u-fakt:nth-child(odd) { border-left: 0; }

/* ---------------------------------------------------------------- Listen und Steckbrief */
.u-haken-gross { border-top: 3px solid var(--u-text); }
.u-steckbrief { border-top: 3px solid var(--u-text); }
.u-steckbrief dd { color: var(--u-text); }

/* ---------------------------------------------------------------- Karten wie die Zugkarten der Startseite */
.u-karte { background: var(--u-flaeche); border: 1px solid var(--u-linie); }
.u-karte-inhalt { border-top: 5px solid var(--fa-karte); }
.u-karte-link:hover { border-color: var(--u-linie-stark); }
.u-karte-link:first-child .u-karte-inhalt { border-top-color: var(--ec-orange); }
.u-karte-titel { font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); line-height: 1.08; }
.u-karte-marke { background: var(--fa-gelb); color: var(--fa-nacht); border-radius: 3px; }
.u-flaeche .u-karte-marke { background: var(--fa-nacht); color: var(--fa-gelb); }
.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: .3em; }
.u-flaeche .u-karte-link:first-child { background: var(--fa-nacht); border-color: var(--fa-nacht); --u-text: #f2f2ee; --u-text-2: #b4b4ad; --u-akzent-text: #ffc933; }
.u-flaeche .u-karte-link:first-child .u-karte-marke { background: var(--fa-gelb); color: var(--fa-nacht); }
.u-flaeche .u-karte-link:first-child .u-karte-titel { color: #fff; }

/* ---------------------------------------------------------------- Ablauf wie die Zuganzeige: Halte fuellen sich gelb */
.u-ablauf-nr { width: 44px; height: 44px; border: 5px solid #5a5a55; background: var(--fa-nacht); color: #fff; font-size: 15px; }
.u-flaeche .u-ablauf-nr { background: #fff; color: var(--fa-nacht); border-color: #85857f; }
.u-ablauf li::after { left: 19px; width: 6px; top: 40px; background: var(--fa-gelb); }
.u-flaeche .u-ablauf li::after { background: var(--ec-orange); }
.u-ablauf li::before { content: ""; position: absolute; left: 19px; width: 6px; top: 40px; bottom: 0; background: var(--u-linie); }
.u-ablauf li:last-child::before { display: none; }
.u-ablauf .u-ablauf-nr { transition: background-color .3s, border-color .3s, color .3s; }
.u-ablauf-nr, .u-ablauf li:last-child .u-ablauf-nr { background: var(--fa-gelb); border-color: var(--fa-gelb); color: var(--fa-nacht); }
.u-flaeche .u-ablauf-nr, .u-flaeche .u-ablauf li:last-child .u-ablauf-nr { background: var(--ec-orange); border-color: var(--ec-orange); color: var(--fa-nacht); }
.u-bewegt .u-ablauf:not(.u-los) .u-ablauf-nr { background: var(--fa-nacht); border-color: #5a5a55; color: #fff; }
.u-bewegt .u-flaeche .u-ablauf:not(.u-los) .u-ablauf-nr { background: #fff; border-color: #85857f; color: var(--fa-nacht); }
.u-bewegt .u-ablauf.u-los .u-ablauf-nr { transition-delay: calc(var(--i, 0) * 160ms + .45s); }
@media (min-width: 900px) {
  .u-ablauf-3 .u-ablauf-nr, .u-ablauf-4 .u-ablauf-nr, .u-ablauf-5 .u-ablauf-nr { width: 50px; height: 50px; }
  .u-ablauf-3 li::after, .u-ablauf-4 li::after, .u-ablauf-5 li::after,
  .u-ablauf-3 li::before, .u-ablauf-4 li::before, .u-ablauf-5 li::before { left: 50px; right: calc(-1 * clamp(24px, 3vw, 44px)); top: 22px; bottom: auto; width: auto; height: 6px; }
}

/* ---------------------------------------------------------------- Kursstarts: die grosse Abfahrtstafel, immer dunkel */
.u-b-kursstarts, .u-b-kursstarts.u-flaeche {
  --u-grund: #0c0c0b; --u-grund-2: #0c0c0b; --u-flaeche: #131312; --u-flaeche-2: #1c1c1a;
  --u-text: #f2f2ee; --u-text-2: #b4b4ad; --u-akzent-text: #ffc933; --u-akzent-weich: rgba(255,201,51,.1);
  --u-linie: #2a2a27; --u-linie-stark: #5a5a55;
  background: var(--fa-nacht); color: var(--u-text);
}
.u-b-kursstarts .u-chip { background: #1c1c1a; color: #f2f2ee; border: 1px solid var(--fa-kante); border-radius: 3px; font-weight: 600; }
.u-b-kursstarts .u-chip:hover { border-color: #b4b4ad; }
.u-b-kursstarts .u-chip[aria-pressed="true"] { background: var(--fa-gelb); border-color: var(--fa-gelb); color: var(--fa-nacht); }
.u-ks-stand .u-punkt { background: var(--fa-gelb); box-shadow: 0 0 0 4px rgba(255,201,51,.18); }
.u-bewegt .u-ks-stand .u-punkt::after { background: var(--fa-gelb); }
.u-ks { background: var(--fa-tafel); border: 1px solid #34342f; border-radius: 6px; padding: 6px clamp(16px, 3vw, 40px) 10px; box-shadow: 0 0 0 5px #1a1a18; }
.u-ks .ks-liste { border-top: 2px solid var(--fa-gelb); perspective: 1000px; }
.u-ks .ks-zeile { grid-template-columns: minmax(200px, 3fr) minmax(0, 7fr) minmax(140px, 2fr); grid-template-areas: "datum kurse ort"; gap: 6px 24px; padding: 18px 0; background: none; border-bottom: 1px solid #2a2a27; transform-origin: 50% 0; }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) { background: none; }
.u-ks .ks-datum { grid-area: datum; grid-row: auto; display: flex; align-items: baseline; gap: 10px; color: var(--fa-gelb); }
.u-ks .ks-tag { grid-row: auto; font-size: 46px; font-weight: 700; color: var(--fa-gelb); min-width: 1.25em; }
.u-ks .ks-monat { align-self: auto; font-size: 22px; font-weight: 600; color: var(--fa-gelb); }
.u-ks .ks-jahr { align-self: auto; margin: 0; font-size: 22px; color: #b4b4ad; }
.u-ks .ks-kurse { grid-area: kurse; font-size: 21px; color: #f2f2ee; }
.u-ks .ks-ort { grid-area: ort; justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-width: 140px; min-height: 48px; padding: 6px 16px; background: #fff; color: var(--fa-nacht); font-size: 19px; font-weight: 700; line-height: 1.2; border-radius: 3px; }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) .ks-ort { background: var(--ec-orange); }
.u-ks .ks-zeile-anfrage { background: none; opacity: 1; }
.u-ks .ks-zeile-anfrage .ks-datum-anfrage { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px dashed #5a5a55; border-radius: 3px; font-size: 16px; font-weight: 600; color: #b4b4ad; }
.u-ks .ks-zeile-anfrage .ks-ort { background: transparent; color: #f2f2ee; box-shadow: inset 0 0 0 1.5px #5a5a55; }
.u-ks .ks-zeile-leer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kurse"; }
.u-ks .ks-plaetze-wenige { background: var(--ec-orange); color: var(--fa-nacht); }
.u-ks .ks-plaetze-ausgebucht { color: #b4b4ad; box-shadow: inset 0 0 0 1.5px #5a5a55; }
.u-ks-leer { background: #1c1c1a; }
@media (min-width: 700px) and (max-width: 959px) {
  .u-ks .ks-zeile { grid-template-columns: 150px minmax(0, 1fr) 124px; gap: 6px 18px; }
  .u-ks .ks-tag { font-size: 38px; }
  .u-ks .ks-monat, .u-ks .ks-jahr, .u-ks .ks-kurse { font-size: 19px; }
  .u-ks .ks-ort { min-width: 0; width: 100%; font-size: 17px; }
}
@media (max-width: 699px) {
  .u-ks { padding: 4px 14px 8px; margin-inline: calc(-1 * var(--u-rand) + 6px); }
  .u-ks .ks-zeile { grid-template-columns: 74px minmax(0, 1fr); grid-template-areas: "datum kurse" "datum ort"; align-items: start; gap: 6px 14px; padding: 16px 0; }
  .u-ks .ks-datum { flex-direction: column; gap: 2px; align-items: flex-start; }
  .u-ks .ks-tag { font-size: 36px; }
  .u-ks .ks-monat, .u-ks .ks-jahr { font-size: 16px; line-height: 1.2; }
  .u-ks .ks-kurse { font-size: 18px; }
  .u-ks .ks-ort { justify-self: start; min-width: 0; min-height: 34px; font-size: 16px; padding: 3px 12px; margin-top: 4px; }
  .u-ks .ks-zeile-anfrage .ks-datum-anfrage { min-height: 30px; padding: 0 8px; font-size: 14px; line-height: 1.15; }
}
@media (max-width: 379px) { .u-ks .ks-zeile { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 12px; } .u-ks .ks-tag { font-size: 32px; } }
.u-ks-tabelle { padding: 4px clamp(8px, 2vw, 28px) 8px; }
.u-ks .ks-tabelle { color: #f2f2ee; }
.u-ks .ks-tabelle thead th { color: #b4b4ad; border-bottom: 2px solid var(--fa-gelb); }
.u-ks .ks-tabelle tbody th { color: #fff; }
.u-ks .ks-tabelle td, .u-ks .ks-tabelle th { border-color: #2a2a27; }
.u-ks .ks-tabelle td time { color: var(--fa-gelb); font-weight: 600; }
.u-bewegt .u-ks:not(.u-los) .ks-zeile { opacity: 0; }
.u-bewegt .u-ks.u-los .ks-zeile { animation: klappen .55s cubic-bezier(.2,.7,.2,1) both; }
.u-bewegt .u-ks.u-los .ks-zeile:nth-child(2) { animation-delay: .09s; }
.u-bewegt .u-ks.u-los .ks-zeile:nth-child(3) { animation-delay: .18s; }
.u-bewegt .u-ks.u-los .ks-zeile:nth-child(4) { animation-delay: .27s; }
.u-bewegt .u-ks.u-los .ks-zeile:nth-child(5) { animation-delay: .36s; }
.u-bewegt .u-ks.u-los .ks-zeile:nth-child(n+6) { animation-delay: .45s; }
.u-b-kursstarts .u-ks-hinweis a, .u-b-kursstarts .u-ks-leer a { color: #fff; text-decoration-color: var(--fa-gelb); }

/* ---------------------------------------------------------------- Standorte als Bahnhofsschilder, immer dunkel */
.u-b-standorte-block, .u-b-standorte-block.u-flaeche {
  --u-grund: #1c1c1a; --u-flaeche: #0c0c0b; --u-text: #f2f2ee; --u-text-2: #b4b4ad; --u-akzent-text: #ffc933;
  --u-linie: #2f2f2b; --u-linie-stark: #5a5a55;
  background: #1c1c1a; color: var(--u-text);
}
.u-so .so-karte, .u-flaeche .u-so .so-karte { padding: 0 0 24px; background: var(--fa-nacht); border: 1px solid var(--fa-kante); border-radius: 6px; overflow: hidden; }
.u-so .so-name { margin: 0 0 4px; padding: 22px 24px 20px; background: #fff; color: var(--fa-nacht); font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 700; line-height: 1; border-bottom: 8px solid var(--fa-gelb); }
.u-so .so-adresse, .u-so .so-kontakt, .u-so .so-zeiten { padding: 0 24px; margin: 14px 0 0; }
.u-so .so-adresse { color: #f2f2ee; }
.u-so .so-kontakt a { color: #fff; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--ec-orange); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.u-so .so-zeiten { color: #b4b4ad; }
.u-so .so-start { margin: auto 24px 0; padding-top: 16px; border-top: 1px solid var(--fa-kante); color: #b4b4ad; font-weight: 400; }
.u-so .so-start time { color: var(--fa-gelb); font-weight: 600; }
@media (min-width: 760px) {
  .u-so-einzeln .so-karte { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 56px); padding-bottom: 0; }
  .u-so-einzeln .so-name { grid-row: 1 / span 5; align-self: stretch; display: flex; align-items: flex-end; margin: 0; padding: 32px 28px 26px; border-bottom: 0; border-right: 10px solid var(--fa-gelb); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); }
  .u-so-einzeln .so-adresse { margin-top: 28px; }
  .u-so-einzeln .so-adresse, .u-so-einzeln .so-kontakt, .u-so-einzeln .so-zeiten { padding: 0 28px 0 0; }
  .u-so-einzeln .so-start { margin: 18px 28px 28px 0; }
}

/* ---------------------------------------------------------------- FAQ mit gelben Plus-Kaesten */
.u-faq .faq { border-top: 3px solid var(--u-text); }
.u-faq .faq-eintrag { border-bottom-color: var(--u-linie); }
.u-faq .faq-eintrag summary { color: var(--u-text); }
.u-faq .faq-eintrag summary:hover { color: var(--u-akzent-text); }
.u-faq .faq-eintrag summary::after,
.u-faq .faq-eintrag:not([open]) summary::after { width: 32px; height: 32px; border-radius: 3px; background: linear-gradient(var(--fa-nacht), var(--fa-nacht)) center / 14px 2px no-repeat, linear-gradient(var(--fa-nacht), var(--fa-nacht)) center / 2px 14px no-repeat, var(--fa-gelb); transition: transform .2s; }
.u-faq .faq-eintrag[open] summary::after { transform: rotate(45deg); }
.u-faq .faq-eintrag p { color: var(--u-text-2); }

/* ---------------------------------------------------------------- Formular: weisser Schein auf hellem Bahnsteig, Infopunkt daneben */
.u-formular { background: #fff; border: 0; border-top: 6px solid var(--ec-orange); border-radius: 4px; box-shadow: 0 1px 0 #d6d6d1; --u-text: #141413; --u-text-2: #4f4f4c; --u-linie-stark: #85857f; color: var(--u-text); }
.u-feld label { color: var(--u-text); }
.u-feld input, .u-feld select, .u-feld textarea { min-height: 58px; border: 1px solid #85857f; border-radius: 3px; background-color: #fff; color: #141413; font-size: 18px; }
.u-feld input:focus, .u-feld select:focus, .u-feld textarea:focus { outline: 3px solid var(--ec-orange); outline-offset: 0; border-color: #141413; box-shadow: none; }
.u-formular .u-knopf:hover { background: var(--fa-nacht); border-color: var(--fa-nacht); color: #fff; }
.u-formular-hinweis a { color: #141413; }
.u-formular-seite { --u-text: #f2f2ee; --u-text-2: #b4b4ad; background: var(--fa-tafel); color: var(--u-text); border: 1px solid #34342f; border-top: 4px solid var(--fa-gelb); box-shadow: 0 0 0 5px #1a1a18; }
.u-formular-seite-titel { color: #fff; }
.u-formular-seite .u-tel { color: var(--fa-gelb); border-bottom: 0; font-variant-numeric: tabular-nums; }
.u-formular-seite .u-tel:hover { text-decoration: underline; }
.u-formular-seite .u-klein { color: #b4b4ad; }
@media (max-width: 959px) { .u-formular { margin-inline: calc(-1 * var(--u-rand)); border-radius: 0; padding: 28px var(--u-rand) 32px; } .u-formular-seite { margin-top: 8px; } }

/* ---------------------------------------------------------------- Aufruf: gelbe Tafel */
.u-aufruf-titel { font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-size: clamp(2.4rem, 1.3rem + 4vw, 5rem); }
.u-aufruf p { opacity: 1; color: #2a2a27; }

.u-seite .u-aufruf .u-knopf { color: #fff; }
.u-seite .u-aufruf .u-knopf-linie { color: var(--fa-nacht); }
.u-aufruf .u-knopf { background: var(--fa-nacht); border-color: var(--fa-nacht); color: #fff; }
.u-aufruf .u-knopf:hover { background: #2a2a27; border-color: #2a2a27; }
.u-aufruf .u-knopf-linie { background: transparent; color: var(--fa-nacht); border-color: var(--fa-nacht); }
.u-aufruf .u-knopf-linie:hover { background: rgba(12,12,11,.08); color: var(--fa-nacht); }
.u-aufruf .u-knopf:focus-visible, .u-aufruf a:focus-visible { outline-color: var(--fa-nacht); }
.u-aufruf .u-akzent { text-decoration-color: var(--fa-nacht); }
.u-aufruf::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(12,12,11,.05) 0 18px, transparent 18px 36px); pointer-events: none; }
.u-aufruf-bild { border: 4px solid var(--fa-nacht); }

/* ---------------------------------------------------------------- Rechtstexte */
.u-recht-text .u-h3 { color: var(--u-text); }
.u-recht-text { border-top: 3px solid var(--u-text); padding-top: 28px; }

/* ---------------------------------------------------------------- Rahmen */
html { scroll-padding-top: calc(var(--u-kopf-h) + 12px); }
.fuss { padding-bottom: 48px; }
/* Feine Trennfuge, damit G und C auch auf kleinen Blaettern unterscheidbar bleiben */
.fa .fb-z::after { height: 1px; margin-top: 0; background: rgba(5,5,5,.9); }
