/* Unterseiten der Grundfassung Fahrplan: editorial, hell, feine Linien, schwarze
   Kopflinien wie im Fahrplanheft, Orange als einziger Akzent. Kursstarts stehen auf
   einer dunklen Abfahrtstafel, im Seitenkopf klappt ein Zugzielanzeiger das Ziel ein.
   Grundlayout: /unterseiten-basis.css. /fahrplan/style.css liefert Kopf und Fuss. */
:root {
  --u-grund: #ffffff;
  --u-grund-2: #f3f3f2;
  --u-flaeche: #ffffff;
  --u-flaeche-2: #f3f3f2;
  --u-text: #1c1c1b;
  --u-text-2: #585856;
  --u-akzent-text: #8a5a00;
  --u-auf-akzent: #1c1c1b;
  --u-akzent-weich: rgba(247,166,0,.16);
  --u-linie: #d9d9d5;
  --u-linie-stark: #8a8a86;
  --u-aufruf-grund: #1c1c1b;
  --u-aufruf-text: #f4f4f1;
  --u-radius: 0px;
  --u-radius-klein: 2px;
  --u-knopf-radius: 2px;
  --u-schatten: 0 1px 0 #d9d9d5, 0 22px 40px -28px rgba(28,28,27,.35);
  --u-titel-gewicht: 500;
  --u-titel-abstand: -0.02em;
  --u-titel-zeile: 1.04;
  --u-h1: clamp(2.7rem, 1.2rem + 5.6vw, 6.2rem);
  --u-h2: clamp(2.2rem, 1.3rem + 3.1vw, 4.4rem);
  --u-h3: clamp(1.3rem, 1.12rem + .7vw, 1.75rem);
  --u-breite: 1320px;
  --u-rand: clamp(20px, 4.5vw, 64px);
  --u-kopf-h: 76px;
  --fp-schwarz: #1c1c1b;
  --fp-tafel: #141413;
}
.u-seite { background: var(--u-grund); }
.u-flaeche { background: var(--u-grund-2); }

/* ---------------------------------------------------------------- Knoepfe und Links wie auf der Startseite */
.u-knopf { min-height: 56px; padding: 14px 28px; font-size: 18px; border-radius: 2px; }
.u-knopf:hover { transform: none; background: #ffb81c; border-color: #ffb81c; }
.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-link-pfeil:hover { text-decoration-color: var(--u-text); }
.u-seite .u-akzent { color: inherit; background: linear-gradient(var(--ec-orange), var(--ec-orange)) 0 92% / 100% .12em no-repeat; padding-bottom: .02em; }
.u-chip { border-radius: 2px; }
.ks-plaetze { border-radius: 2px; }

/* ---------------------------------------------------------------- Kopf der Seite */
.u-kopf { padding: clamp(24px, 3.4vw, 48px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--u-linie); }
.u-kopf::after { height: 4px; bottom: -1px; }
.u-seite .u-h1 { font-weight: 600; letter-spacing: -0.035em; line-height: .98; }
.u-kopf .u-h1 { max-width: 12.5em; }
.u-lead { color: var(--u-text-2); }
.u-info { border-top: 2px solid var(--u-text); }
.u-info .u-punkt { box-shadow: none; }
.u-brotkrumen { margin-bottom: clamp(20px, 2.6vw, 32px); }
.u-kopf-bild { border-radius: 0; }
.u-kopf-signal { height: 8px; }

/* Zugzielanzeiger (setzt rahmen.js unter die Brotkrumen; Platz reserviert nur mit JS) */
.u-kopf { --zz-b: min(24px, calc((100vw - 2 * var(--u-rand) - 84px) / 14 - 3px)); --zz-h: calc(var(--zz-b) * 1.42); }
.fp-js .u-kopf .u-brotkrumen { position: relative; padding-bottom: calc(var(--zz-h) + 26px + 14px); }
.zz { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 12px; height: calc(var(--zz-h) + 26px); padding: 0 14px 0 12px; background: var(--fp-tafel); border-top: 3px solid var(--ec-orange); border-radius: 0 0 3px 3px; color: #f4f4f1; box-shadow: 0 14px 28px -20px rgba(0,0,0,.6); }
.zz .fb-z { --fb-b: var(--zz-b); --fb-h: var(--zz-h); }
.zz .fb-feld { gap: 3px; }
.zz-gleis { display: inline-flex; align-items: center; gap: 8px; padding-right: 12px; border-right: 1px solid #3a3a36; }
.zz-name { font-size: 13px; font-weight: 500; line-height: 1; color: #b9b9b4; }
.zz-nr .fb-z { color: var(--ec-orange); }
.zz-licht { width: 8px; height: 8px; border-radius: 50%; background: var(--ec-orange); opacity: .25; }
.zz-da .zz-licht { opacity: 1; animation: blinken 1.8s ease-in-out infinite; }
@media (min-width: 600px) { .u-kopf { --zz-b: 24px; } .zz-name { font-size: 14px; } }
@media (max-width: 599px) { .zz { gap: 10px; padding: 0 12px 0 10px; } .zz-gleis { gap: 0; padding-right: 10px; } .zz-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

@media (min-width: 960px) {
  .u-kopf-mit-bild { padding-top: 0; padding-bottom: 0; }
  .u-kopf-mit-bild .u-kopf-raster { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: stretch; gap: 0; max-width: none; margin: 0; padding-right: 0; padding-left: 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; padding: clamp(28px, 3.4vw, 52px) clamp(32px, 4vw, 72px) clamp(48px, 5vw, 80px) 0; }
  .u-kopf-mit-bild .u-kopf-bild { aspect-ratio: auto; max-height: none; min-height: min(calc(100svh - var(--u-kopf-h) - 60px), 720px); }
  .u-kopf-mit-bild .u-h1 { font-size: clamp(2.8rem, 1rem + 4.4vw, 5.4rem); }
  .u-kopf-mit-bild .u-kopf-fakten { margin-top: 0; padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(48px, 5vw, 80px); }
}
@media (max-width: 959px) {
  .u-kopf-mit-bild .u-kopf-raster { gap: 28px; }
  .u-kopf-mit-bild .u-kopf-bild { margin-inline: calc(-1 * var(--u-rand)); aspect-ratio: 16 / 10; }
}
@media (max-width: 599px) { .u-kopf .u-knoepfe { flex-direction: column; } }

/* ---------------------------------------------------------------- Abschnittskoepfe wie die Kopfzeilen der Startseite */
.u-block-kopf { max-width: none; border-top: 2px solid var(--u-text); padding-top: 26px; margin-bottom: clamp(36px, 4.6vw, 64px); }
.u-block-kopf .u-h2 + .u-block-lead { margin-top: 16px; }
.u-block-lead { color: var(--u-text-2); font-size: clamp(1.08rem, 1rem + .3vw, 1.2rem); }
@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-text-raster:not(.u-text-schmal) { border-top: 2px solid var(--u-text); padding-top: 26px; }
.u-text-schmal > .u-h2 { border-top: 2px solid var(--u-text); padding-top: 26px; margin-bottom: 24px; }
.u-bt-text .u-h2 { border-top: 2px solid var(--u-text); padding-top: 24px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); }
.u-faq-raster .u-block-kopf { display: block; }
.u-ks-kopf { border-top: 2px solid var(--u-text); padding-top: 26px; align-items: flex-end; }
.u-ks-kopf .u-block-kopf { display: block; border-top: 0; padding-top: 0; }
/* Eine Kopflinie je Abschnitt: Listen direkt darunter beginnen mit feiner Linie */
.u-block-kopf + .u-haken-gross, .u-block-kopf + .u-steckbrief, .u-block-kopf + .u-fakten { border-top: 1px solid var(--u-linie); }
.u-block-kopf:not(:has(.u-block-lead)) { margin-bottom: clamp(28px, 3.4vw, 44px); }

/* ---------------------------------------------------------------- Bild mit Text */
.u-bt-bild { border-radius: 0; }
.u-bt-bild::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 8px; background: var(--ec-orange); transform-origin: 0 50%; }
.u-bewegt .u-bt-bild:not(.u-los)::after { transform: scaleX(0); }
.u-bewegt .u-bt-bild.u-los::after { transition: transform 1s var(--u-kurve) .25s; }

/* ---------------------------------------------------------------- Kennzahlen wie das Zahlenband */
.u-fakten { gap: 0 clamp(18px, 3vw, 48px); background: none; border: 0; border-top: 2px solid var(--u-text); border-radius: 0; overflow: visible; }
.u-fakt, .u-flaeche .u-fakt { background: none; padding: 22px 0 24px; border-bottom: 1px solid var(--u-linie); }
.u-fakt-wert { color: var(--u-text); font-weight: 600; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); }
.u-fakt-einheit { color: var(--u-text); font-weight: 500; }
.u-fakt dd { font-size: 17px; }

/* ---------------------------------------------------------------- Listen und Steckbrief */
.u-haken-zeichen { width: 24px; height: 24px; padding: 3px; background: transparent; color: var(--u-text); border: 2px solid var(--u-text); }
.u-haken-gross { border-top: 2px solid var(--u-text); }
.u-steckbrief { border-top: 2px solid var(--u-text); }
.u-steckbrief dt { font-size: 17px; }

/* ---------------------------------------------------------------- Karten als Fahrplaneintraege */
.u-karten { gap: clamp(28px, 3vw, 44px) clamp(20px, 2.6vw, 40px); }
.u-karte, .u-flaeche .u-karte { background: none; border: 0; border-radius: 0; overflow: visible; }
.u-karte-link:hover { transform: none; box-shadow: none; }
.u-karte-bild { aspect-ratio: 3 / 2; margin-bottom: 22px; }
.u-karte-inhalt { padding: 22px 0 0; border-top: 2px solid var(--u-text); }
.u-karte-marke { border-radius: 2px; font-weight: 600; }
.u-karte-titel { font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); font-weight: 500; line-height: 1.1; }
.u-karte-link .u-karte-titel a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: .22em; transition: text-decoration-color .2s; }
.u-karte-link:hover .u-karte-titel a { text-decoration-color: var(--ec-orange); }
.u-karte-info { color: var(--u-text); font-weight: 600; }
.u-karte-info::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: var(--ec-orange); vertical-align: 1px; }
.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-karte-link:first-child .u-karte-inhalt { border-top-color: var(--ec-orange); border-top-width: 4px; padding-top: 20px; }

/* ---------------------------------------------------------------- Ablauf als Linie mit Halten */
.u-ablauf-nr { width: 46px; height: 46px; top: -4px; border: 6px solid var(--u-text); background: var(--u-grund); color: var(--u-text); font-size: 15px; overflow: hidden; }
.u-flaeche .u-ablauf-nr { background: var(--u-grund-2); }
.u-ablauf-nr::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--ec-orange); }
.u-ablauf-nr { isolation: isolate; }
.u-ablauf li:last-child .u-ablauf-nr { background: var(--ec-orange); color: var(--u-text); }
.u-ablauf li::after { left: 19px; width: 8px; top: 40px; background: #585856; }
.u-ablauf li:last-child::after { display: none; }
.u-bewegt .u-ablauf:not(.u-los) .u-ablauf-nr::before { transform: scale(0); }
.u-bewegt .u-ablauf.u-los .u-ablauf-nr::before { transition: transform .4s cubic-bezier(.3,1.4,.5,1); transition-delay: calc(var(--i, 0) * 160ms + .5s); }
@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; font-size: 16px; }
  .u-ablauf-3 li::after, .u-ablauf-4 li::after, .u-ablauf-5 li::after { left: 50px; top: 21px; height: 8px; }
}

/* ---------------------------------------------------------------- Kursstarts: dunkle Abfahrtstafel */
.u-b-kursstarts, .u-b-kursstarts.u-flaeche {
  --u-grund: #1c1c1b; --u-grund-2: #1c1c1b; --u-flaeche: #141413; --u-flaeche-2: #232321;
  --u-text: #f4f4f1; --u-text-2: #b9b9b4; --u-akzent-text: #f7a600; --u-akzent-weich: rgba(247,166,0,.1);
  --u-linie: #33332f; --u-linie-stark: #6b6b66;
  background: var(--fp-schwarz); color: var(--u-text);
}
.u-b-kursstarts .u-block-kopf { border-top-color: #f4f4f1; }
.u-b-kursstarts .u-h2 { color: #fff; }
.u-ks-stand { color: var(--u-text-2); }
.u-b-kursstarts .u-ks-stand .u-punkt { box-shadow: none; animation: blinken 1.8s ease-in-out infinite; }
.u-ks { background: var(--fp-tafel); border: 1px solid #2c2c29; border-radius: 6px; padding: 6px clamp(16px, 3vw, 40px) 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.u-ks .ks-liste { border-top: 2px solid var(--ec-orange); perspective: 900px; }
.u-ks .ks-zeile { grid-template-columns: minmax(180px, 3fr) minmax(0, 7fr) minmax(130px, 2fr); grid-template-areas: "datum kurse ort"; gap: 6px 24px; padding: 20px 0; background: none; border-bottom: 1px solid #33332f; transform-origin: 50% 0; }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer) { background: none; }
.u-ks .ks-zeile::before { display: none; }
.u-ks .ks-zeile:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer)::before { display: block; left: -14px; }
.u-ks .ks-datum { grid-area: datum; grid-row: auto; display: flex; align-items: baseline; gap: 8px; color: #fff; }
.u-ks .ks-tag { grid-row: auto; font-size: 44px; font-weight: 600; color: #fff; min-width: 1.25em; }
.u-ks .ks-monat { align-self: auto; font-size: 21px; font-weight: 500; color: #fff; }
.u-ks .ks-jahr { align-self: auto; margin: 0; font-size: 21px; color: var(--u-text-2); }
.u-ks .ks-kurse { grid-area: kurse; font-size: 21px; line-height: 1.35; color: #f4f4f1; }
.u-ks .ks-ort { grid-area: ort; justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-width: 130px; min-height: 46px; padding: 6px 16px; background: #f4f4f1; color: var(--fp-schwarz); font-size: 18px; font-weight: 600; line-height: 1.2; border-radius: 3px; }
.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: var(--ec-orange); }
.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 { justify-self: start; align-self: center; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid #55554f; border-radius: 3px; font-size: 16px; color: var(--u-text-2); }
.u-ks .ks-zeile-anfrage .ks-ort { background: transparent; color: #f4f4f1; box-shadow: inset 0 0 0 1.5px #6b6b66; }
.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(--fp-schwarz); }
.u-ks .ks-plaetze-ausgebucht { color: #b9b9b4; box-shadow: inset 0 0 0 1.5px #6b6b66; }
.u-ks-hinweis, .u-ks-leer { color: var(--u-text-2); }
.u-ks-leer { background: #232321; }
@media (min-width: 700px) and (max-width: 959px) {
  .u-ks .ks-zeile { grid-template-columns: 150px minmax(0, 1fr) 120px; gap: 6px 20px; }
  .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 16px 8px; margin-inline: calc(-1 * var(--u-rand) + 8px); }
  .u-ks .ks-zeile { grid-template-columns: 74px minmax(0, 1fr); grid-template-areas: "datum kurse" "datum ort"; align-items: start; gap: 6px 16px; padding: 18px 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:first-child:not(.ks-zeile-anfrage):not(.ks-zeile-leer)::before { left: -11px; top: 34px; }
  .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; } }
/* Tabelle Standort mal Kurs */
.u-ks-tabelle { padding: 4px clamp(8px, 2vw, 28px) 8px; }
.u-ks .ks-tabelle { color: #f4f4f1; }
.u-ks .ks-tabelle thead th { color: var(--u-text-2); border-bottom: 2px solid var(--ec-orange); }
.u-ks .ks-tabelle tbody th { color: #fff; font-weight: 600; }
.u-ks .ks-tabelle td, .u-ks .ks-tabelle th { border-color: #33332f; }
.u-ks .ks-tabelle time, .u-ks .ks-tabelle td { font-variant-numeric: tabular-nums; }
/* Zeilen klappen beim Erscheinen auf wie auf der Startseite */
.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; }
/* Filter dunkel */
.u-b-kursstarts .u-chip { background: transparent; color: #f4f4f1; border-color: #6b6b66; }
.u-b-kursstarts .u-chip:hover { border-color: #f4f4f1; }
.u-b-kursstarts .u-chip[aria-pressed="true"] { background: var(--ec-orange); border-color: var(--ec-orange); color: var(--fp-schwarz); }
.u-b-kursstarts .u-ks-hinweis a, .u-b-kursstarts .u-ks-leer a { color: #fff; }

/* ---------------------------------------------------------------- Standorte wie Bahnsteigschilder */
.u-so .so-karte { background: var(--u-grund-2); border: 0; border-radius: 0; padding: clamp(24px, 2.6vw, 36px); }
.u-flaeche .u-so .so-karte { background: #fff; }
.u-so .so-name { display: inline-block; align-self: flex-start; padding: 6px 16px 8px; background: var(--fp-schwarz); color: #fff; border-bottom: 4px solid var(--ec-orange); font-weight: 600; letter-spacing: -0.02em; }
.u-so .so-start { color: var(--u-text); border-top-color: var(--u-linie); }
.u-so .so-start time { color: var(--u-text); font-weight: 600; box-shadow: inset 0 -3px 0 var(--ec-orange); }
.u-so .so-kontakt a { border-bottom: 0; text-decoration: underline; text-decoration-color: var(--ec-orange); text-decoration-thickness: 2px; text-underline-offset: .25em; }
@media (min-width: 760px) { .u-so-einzeln .so-name { grid-row: 1 / span 4; justify-self: start; } }

/* ---------------------------------------------------------------- FAQ */
.u-faq .faq { border-top: 2px solid var(--u-text); }
.u-faq .faq-eintrag summary { font-weight: 500; }
.u-faq .faq-eintrag summary:hover { color: var(--u-text); text-decoration: underline; text-decoration-color: var(--ec-orange); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.u-faq .faq-eintrag summary::after,
.u-faq .faq-eintrag:not([open]) summary::after { background: linear-gradient(var(--u-text), var(--u-text)) center / 18px 2px no-repeat, linear-gradient(var(--u-text), var(--u-text)) center / 2px 18px no-repeat; transition: transform .2s; }
.u-faq .faq-eintrag[open] summary::after { transform: rotate(45deg); }

/* ---------------------------------------------------------------- Formular wie die Anmeldung der Startseite */
.u-formular { background: #fff; border: 0; border-top: 6px solid var(--ec-orange); border-radius: 0; box-shadow: 0 1px 0 var(--u-linie); }
.u-feld label { font-weight: 500; font-size: 17px; }
.u-feld input, .u-feld select, .u-feld textarea { min-height: 58px; border: 1px solid #8a8a86; border-radius: 2px; background-color: #fff; font-size: 18px; }
.u-feld textarea { min-height: 128px; }
.u-feld input:focus, .u-feld select:focus, .u-feld textarea:focus { outline: 3px solid var(--ec-orange); outline-offset: 0; border-color: var(--u-text); box-shadow: none; }
.u-formular-seite { background: none; border: 0; border-top: 2px solid var(--u-text); border-radius: 0; padding: 24px 0 0; }
.u-formular-seite-titel { font-weight: 600; }
.u-tel { border-bottom: 0; text-decoration: underline; text-decoration-color: var(--ec-orange); text-decoration-thickness: 3px; text-underline-offset: .25em; font-variant-numeric: tabular-nums; }
.u-formular-danke { border-radius: 0; }
@media (max-width: 959px) { .u-formular { margin-inline: calc(-1 * var(--u-rand)); padding: 28px var(--u-rand) 32px; } }

/* ---------------------------------------------------------------- Aufruf am Ende: dunkel wie die Tafel */
.u-aufruf { border-top: 4px solid var(--ec-orange); }
.u-aufruf-titel { font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-size: clamp(2.4rem, 1.3rem + 4vw, 5rem); }
.u-aufruf p { color: #c9c9c4; opacity: 1; }
.u-aufruf .u-knopf-linie { color: #f4f4f1; border-color: #f4f4f1; }
.u-aufruf .u-knopf-linie:hover { background: #f4f4f1; color: var(--fp-schwarz); }
.u-aufruf-bild { border-radius: 0; }
.u-aufruf .u-akzent { text-decoration: none; }

/* ---------------------------------------------------------------- Rechtstexte */
.u-recht-text { border-top: 2px solid var(--u-text); padding-top: 28px; }
.u-recht-text .u-h3 { font-weight: 600; }

/* ---------------------------------------------------------------- Kopf und Fuss des Rahmens */
html { scroll-padding-top: calc(var(--u-kopf-h) + 12px); }
.hauptnav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ec-orange); text-decoration-thickness: 3px; text-underline-offset: .4em; }
.kopf-aktion .knopf[aria-current="page"] { background: var(--fp-schwarz); border-color: var(--fp-schwarz); color: #fff; text-decoration: none; }
.fuss { padding-bottom: 48px; }

/* .u-seite a { color: inherit } aus der Basis schlaegt sonst die Knopffarbe (helle Schrift auf Orange im dunklen Aufruf) */
.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-seite .u-aufruf .u-knopf-linie { color: #f4f4f1; }
.u-seite .u-aufruf .u-knopf-linie:hover { color: var(--fp-schwarz); }
