/* Entwurf 3: Fahrplan. Editorial, hell, feine Linien, Orange als einziger Akzent. */
:root {
  --schwarz: #1c1c1b;
  --tafel: #141413;
  --text: #1c1c1b;
  --anthrazit: #585856;
  --grau: #f3f3f2;
  --linie: #d9d9d5;
  --linie-dunkel: #33332f;
  --hell: #f4f4f1;
  --hell-2: #b9b9b4;
  --orange: var(--ec-orange);
  --rand: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --kopf-hoehe: 76px;
}

html { scroll-padding-top: calc(var(--kopf-hoehe) + 12px); }
body { background: #fff; color: var(--text); font-size: 18px; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
figure { margin: 0; }
img { width: 100%; }

.rahmen { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }

.sprung { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--schwarz); color: #fff; padding: 12px 16px; text-decoration: none; }
.sprung:focus { top: 12px; }

/* Knoepfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 28px; background: var(--orange); color: var(--schwarz); font-weight: 600; font-size: 18px; line-height: 1.2; text-decoration: none; border: 2px solid var(--orange); border-radius: 2px; transition: background-color .15s, border-color .15s; }
.knopf:hover { background: #ffb81c; border-color: #ffb81c; }
.knopf-linie { background: transparent; border-color: var(--schwarz); color: var(--schwarz); }
.knopf-linie:hover { background: var(--schwarz); border-color: var(--schwarz); color: #fff; }
.knopf-klein { min-height: 46px; padding: 10px 18px; font-size: 17px; }
.knopf-gross { min-height: 64px; font-size: 20px; width: 100%; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--schwarz); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.textlink:hover { text-decoration-color: var(--schwarz); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); height: var(--kopf-hoehe); display: flex; align-items: center; gap: 32px; }
.kopf-logo { display: block; flex: none; }
.kopf-logo img { width: 150px; height: auto; }
.hauptnav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.hauptnav ul a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 500; font-size: 17px; }
.hauptnav ul a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 0.4em; }
.kopf-aktion { display: flex; align-items: center; gap: 20px; }
.kopf-telefon { font-weight: 600; text-decoration: none; white-space: nowrap; display: flex; align-items: center; min-height: 44px; font-variant-numeric: tabular-nums; }
.menue-knopf { display: none; }
.kopf-mobil-knopf { display: none; }

@media (max-width: 1340px) { .kopf-telefon { display: none; } }
.knopf-klein { white-space: nowrap; }
@media (max-width: 1060px) {
  .kopf-innen { justify-content: space-between; gap: 12px; }
  .kopf-logo img { width: 128px; }
  .kopf-mobil-knopf { display: inline-flex; white-space: nowrap; align-items: center; min-height: 44px; margin-left: auto; padding: 0 16px; background: var(--orange); color: var(--schwarz); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 2px; }
  .menue-knopf { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; margin-right: -8px; background: none; border: 0; font: inherit; font-weight: 600; color: var(--schwarz); cursor: pointer; }
  .menue-striche { position: relative; width: 22px; height: 2px; background: currentColor; }
  .menue-striche::before, .menue-striche::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .2s; }
  .menue-striche::before { top: -7px; }
  .menue-striche::after { top: 7px; }
  .menue-knopf[aria-expanded="true"] .menue-striche { background: transparent; }
  .menue-knopf[aria-expanded="true"] .menue-striche::before { transform: translateY(7px) rotate(45deg); }
  .menue-knopf[aria-expanded="true"] .menue-striche::after { transform: translateY(-7px) rotate(-45deg); }
  .hauptnav { display: none; position: absolute; left: 0; right: 0; top: var(--kopf-hoehe); background: #fff; border-bottom: 1px solid var(--linie); padding: 8px var(--rand) 24px; flex-direction: column; align-items: stretch; gap: 16px; max-height: calc(100vh - var(--kopf-hoehe)); overflow-y: auto; }
  .hauptnav.offen { display: flex; }
  .hauptnav ul { flex-direction: column; gap: 0; }
  .hauptnav ul a { min-height: 56px; padding: 0; font-size: 22px; border-bottom: 1px solid var(--linie); }
  .kopf-aktion { flex-direction: column; align-items: stretch; gap: 8px; }
  .kopf-telefon { display: flex; font-size: 20px; }
  .kopf-aktion .knopf { min-height: 56px; }
}

/* Hero: links Text, rechts Video mit Fallblatt-Abfahrtstafel */
.hero {
  display: grid;
  grid-template-columns: [voll-start] minmax(var(--rand), 1fr) [text-start] minmax(0, calc(var(--max) * .56)) [bild-start] minmax(0, calc(var(--max) * .44)) minmax(var(--rand), 1fr) [voll-ende];
  grid-template-rows: 1fr auto auto 1fr;
  min-height: min(calc(100vh - var(--kopf-hoehe)), 920px);
  border-bottom: 1px solid var(--linie);
}
.hero-text { grid-column: text-start / bild-start; grid-row: 2; padding: clamp(40px, 6vh, 80px) clamp(24px, 3vw, 64px) 0 0; }
.hero-details { grid-column: text-start / bild-start; grid-row: 3; padding: 0 clamp(32px, 4vw, 72px) clamp(40px, 6vh, 72px) 0; }
.hero h1 { font-size: clamp(3.2rem, 5.7vw, 6.4rem); font-weight: 600; line-height: .98; letter-spacing: -0.035em; max-width: 9.5em; }
.hero-lead { margin-top: 28px; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--anthrazit); max-width: 34em; }
.hero-fahrplan { margin: 36px 0 0; border-top: 2px solid var(--schwarz); }
.hero-fahrplan > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.hero-fahrplan dt { color: var(--anthrazit); font-size: 17px; }
.hero-fahrplan dd { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.35; }
.hero-naechster dd { font-weight: 600; display: flex; align-items: baseline; gap: 10px; }
.hero-naechster dd::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); transform: translateY(-2px); }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-hinweis { margin-top: 16px; font-size: 17px; color: var(--anthrazit); }

.hero-buehne { grid-column: bild-start / voll-ende; grid-row: 1 / -1; display: flex; flex-direction: column; background: var(--tafel); container-type: inline-size; }
.hero-film { position: relative; flex: 1 1 auto; min-height: 300px; overflow: hidden; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 34% 55%; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.laeuft { opacity: 1; }
.hero-film::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, rgba(20,20,19,0), rgba(20,20,19,.55)); pointer-events: none; }

/* Die Anzeige */
.anzeige { --az-pad: clamp(20px, 2.6vw, 40px); --az-luecke: 22px; --fb-b: min(32px, calc((100cqi - 2 * var(--az-pad) - var(--az-luecke) - 39px) / 14)); --fb-h: calc(var(--fb-b) * 1.44); position: relative; flex: none; background: var(--tafel); color: var(--hell); border-top: 4px solid var(--orange); padding: 18px var(--az-pad) 18px; }
.anzeige-kopf { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; }
.anzeige-kopf .uhr { flex: none; width: 56px; height: 56px; }
.anzeige-info { margin-top: 4px; font-size: 16px; line-height: 1.3; color: var(--hell-2); }
.anzeige-titel { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; color: #fff; letter-spacing: -0.015em; line-height: 1.1; }
.anzeige-spalten { display: grid; grid-template-columns: calc(6 * var(--fb-b) + 15px + var(--az-luecke)) 1fr; padding: 8px 0; border-top: 1px solid #3a3a36; border-bottom: 2px solid var(--orange); font-size: 15px; color: var(--hell-2); }
.anzeige-fuss { margin-top: 10px; font-size: 16px; color: var(--hell-2); }
.anzeige-fuss strong { color: var(--orange); font-weight: 600; }

/* Ohne JS: die Liste als schlichte Tafel */
.anzeige .ks-liste { list-style: none; margin: 0; padding: 0; }
.anzeige .ks-zeile { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "datum ort" "datum kurse"; column-gap: 18px; padding: 10px 0; border-bottom: 1px solid #33332f; }
.anzeige .ks-zeile:nth-child(n+4) { display: none; }
.anzeige .ks-zeile::before { display: none; }
.anzeige .ks-datum { grid-area: datum; gap: 6px; }
.anzeige .ks-tag { font-size: 32px; }
.anzeige .ks-monat, .anzeige .ks-jahr { font-size: 17px; }
.anzeige .ks-ort { grid-area: ort; justify-self: start; background: none; min-width: 0; min-height: 0; padding: 0; color: #fff; font-size: 20px; }
.anzeige .ks-kurse { grid-area: kurse; font-size: 16px; color: var(--hell-2); }
.anzeige .ks-zeile:first-child .ks-ort { background: none; color: var(--orange); }

/* Mit JS: Fallblattzeilen, die Liste bleibt fuer Screenreader */
.anzeige.fb-an .ks-liste { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.az-zeilen { display: none; }
.anzeige.fb-an .az-zeilen { display: block; }
.az-zeile { display: grid; grid-template-columns: auto 1fr; column-gap: var(--az-luecke); row-gap: 8px; padding: 12px 0; border-bottom: 1px solid #33332f; }
.az-zeile:last-child { border-bottom: 0; }
.az-kurse { grid-column: 1 / -1; min-height: 1.35em; font-size: 16px; line-height: 1.35; color: var(--hell-2); transition: opacity .35s ease; }
.az-zeile.erste .fb-z { color: var(--orange); }
.az-kurse.weg { opacity: 0; }

/* Fallblatt */
.fb-feld { display: inline-flex; gap: 3px; }
.fb-z { position: relative; flex: none; width: var(--fb-b); height: var(--fb-h); perspective: calc(var(--fb-h) * 6); color: #f4f4f1; font-weight: 600; font-variant-numeric: tabular-nums; }
.fb-z > span { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #2a2a27; backface-visibility: hidden; }
.fb-o, .fb-ko { top: 0; border-radius: 3px 3px 0 0; transform-origin: 50% 100%; background: linear-gradient(#30302d, #262624) !important; }
.fb-u, .fb-ku { bottom: 0; border-radius: 0 0 3px 3px; transform-origin: 50% 0; background: linear-gradient(#232321, #2c2c29) !important; }
.fb-ko, .fb-ku { z-index: 2; }
.fb-z > span > span { position: static; display: block; height: var(--fb-h); line-height: var(--fb-h); text-align: center; font-size: calc(var(--fb-h) * .66); }
.fb-u > span, .fb-ku > span { margin-top: calc(var(--fb-h) / -2); }
.fb-z::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(8,8,7,.85); }

@media (max-width: 1099px) {
  .hero { grid-template-columns: var(--rand) 1fr var(--rand); grid-template-rows: auto auto auto; min-height: 0; }
  .hero-text { grid-column: 2; grid-row: 1; padding: 30px 0 24px; }
  .hero-details { grid-column: 2; grid-row: 3; padding: 28px 0 40px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.5rem); }
  .hero-lead { margin-top: 14px; font-size: 18px; }
  .hero-fahrplan { margin-top: 0; }
  .hero-fahrplan > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  @media (min-width: 600px) { .hero-fahrplan > div { grid-template-columns: 150px 1fr; gap: 16px; } }
  .hero-fahrplan dt { font-size: 16px; }
  .hero-knoepfe { flex-direction: column; margin-top: 26px; }
  .hero-knoepfe .knopf { width: 100%; }
  .hero-buehne { grid-column: 1 / -1; grid-row: 2; }
  .hero-film { flex: none; min-height: 0; aspect-ratio: 16 / 9; max-height: 480px; }
  .hero-poster, .hero-video { object-position: 30% 55%; }
  .anzeige { --az-pad: var(--rand); --az-luecke: 16px; padding: 14px var(--az-pad) 14px; }
  .anzeige-kopf { gap: 12px; }
  .anzeige-kopf .uhr { width: 46px; height: 46px; }
  .anzeige-titel { font-size: 24px; }
  .anzeige-info { font-size: 15px; }
  .anzeige-fuss { font-size: 15px; }
}
@media (max-width: 599px) {
  .anzeige { --fb-h: calc(var(--fb-b) * 1.5); }
}

/* Kennzahlen */
.kennzahlen ul { list-style: none; margin: 0 auto; padding: 0 var(--rand); max-width: calc(var(--max) + 2 * var(--rand)); display: grid; grid-template-columns: repeat(4, 1fr); }
.kennzahlen li { padding: 32px 28px 36px; border-left: 1px solid var(--linie); display: flex; flex-direction: column; gap: 8px; }
.kennzahlen li:first-child { border-left: 0; padding-left: 0; }
.kennzahlen strong { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.kennzahlen li > span { font-size: 17px; color: var(--anthrazit); line-height: 1.4; max-width: 18em; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 959px) {
  .kennzahlen ul { grid-template-columns: 1fr 1fr; }
  .kennzahlen li { padding: 24px 0 26px 18px; border-bottom: 1px solid var(--linie); }
  .kennzahlen li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kennzahlen li:nth-child(even) { padding-right: 0; }
  .kennzahlen li:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Abschnitte */
.abschnitt { padding-block: clamp(72px, 10vw, 140px); }
.abschnitt-grau { background: var(--grau); }
.abschnitt-linie { padding-top: 0; }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; border-top: 2px solid var(--schwarz); padding-top: 28px; margin-bottom: clamp(40px, 5vw, 72px); }
.kopfzeile h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 500; }
.kopfzeile p { font-size: 19px; color: var(--anthrazit); line-height: 1.5; max-width: 30em; }
@media (max-width: 959px) { .kopfzeile { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; } .kopfzeile h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); } .kopfzeile p { font-size: 18px; } }

/* Abfahrtstafel */
.tafel-abschnitt { background: var(--schwarz); color: var(--hell); padding-block: clamp(72px, 9vw, 128px); }
.tafel-kopf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.tafel-kopf h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); color: #fff; }
.tafel-kopf p { font-size: 19px; color: var(--hell-2); max-width: 30em; }
.tafel { background: var(--tafel); border: 1px solid #2c2c29; border-radius: 6px; padding: 8px clamp(16px, 3vw, 40px) 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.tafel-spalten, .ks-zeile { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 7fr) minmax(150px, 2fr); gap: 24px; align-items: center; }
.tafel-spalten { padding: 18px 0 14px; border-bottom: 2px solid var(--orange); color: var(--hell-2); font-size: 16px; font-weight: 500; }
.tafel-spalten span:last-child, .ks-ort { justify-self: end; }
.ks-liste { list-style: none; margin: 0; padding: 0; perspective: 900px; }
.ks-zeile { grid-template-areas: "datum kurse ort"; padding: 20px 0; border-bottom: 1px solid var(--linie-dunkel); transform-origin: 50% 0; }
.ks-zeile:last-child { border-bottom: 0; }
.ks-datum { grid-area: datum; display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; color: #fff; }
.ks-tag { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; min-width: 1.25em; }
.ks-monat { font-size: 22px; font-weight: 500; }
.ks-jahr { font-size: 22px; color: var(--hell-2); }
.ks-kurse { grid-area: kurse; font-size: 22px; line-height: 1.35; color: var(--hell); }
.ks-ort { grid-area: ort; display: inline-flex; align-items: center; justify-content: center; min-width: 140px; min-height: 48px; padding: 6px 16px; background: #f4f4f1; color: var(--schwarz); font-size: 19px; font-weight: 600; border-radius: 3px; }
.ks-zeile:first-child .ks-datum, .ks-zeile:first-child .ks-tag { color: var(--orange); }
.ks-zeile:first-child .ks-kurse { color: #fff; }
.ks-zeile:first-child .ks-ort { background: var(--orange); }
.tafel-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 36px; }
.tafel-fuss p { font-size: 19px; color: var(--hell); max-width: 44em; }

/* Aufklappen beim Erscheinen */
.tafel-wartet .ks-zeile { opacity: 0; transform: rotateX(-88deg); }
.tafel-laeuft .ks-zeile { animation: klappen .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes klappen { from { opacity: 0; transform: rotateX(-88deg); } 60% { opacity: 1; } to { opacity: 1; transform: rotateX(0); } }
@media (prefers-reduced-motion: reduce) { .tafel-wartet .ks-zeile { opacity: 1; transform: none; } }

@media (min-width: 700px) and (max-width: 959px) {
  .tafel-kopf { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .tafel-spalten, .ks-zeile { grid-template-columns: 150px minmax(0, 1fr) 124px; gap: 20px; }
  .ks-tag { font-size: 38px; }
  .ks-monat, .ks-jahr { font-size: 19px; }
  .ks-kurse { font-size: 19px; }
  .ks-ort { min-width: 120px; font-size: 17px; }
}
@media (max-width: 699px) {
  .tafel-kopf { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .tafel-kopf h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .tafel-kopf p { font-size: 18px; }
  .tafel { padding: 4px 16px 8px; margin-inline: calc(-1 * var(--rand) + 8px); }
  .tafel-spalten, .ks-zeile { grid-template-columns: 76px minmax(0, 1fr); gap: 6px 16px; }
  .tafel-spalten { grid-template-columns: 76px 1fr; }
  .tafel-spalten span:nth-child(3) { display: none; }
  .tafel-spalten span:nth-child(2)::after { content: " und Gleis"; }
  .ks-zeile { grid-template-areas: "datum kurse" "datum ort"; align-items: start; padding: 18px 0; }
  .ks-datum { flex-direction: column; gap: 2px; align-items: flex-start; }
  .ks-tag { font-size: 38px; }
  .ks-monat, .ks-jahr { font-size: 17px; line-height: 1.2; }
  .ks-kurse { font-size: 19px; }
  .ks-ort { justify-self: start; min-width: 0; min-height: 36px; font-size: 17px; padding: 4px 12px; margin-top: 6px; }
  .tafel-fuss { flex-direction: column; align-items: stretch; }
  .tafel-fuss .knopf { width: 100%; }
}

/* Weiterbildungen als Fahrplanzeilen */
.wb-spalten, .wb-zeile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); column-gap: 32px; }
.wb-spalten { padding-bottom: 12px; border-bottom: 2px solid var(--schwarz); color: var(--anthrazit); font-size: 16px; }
.wb-fakten { grid-column: 2 / 5; display: grid; grid-template-columns: subgrid; margin: 0; }
.wb-titel { grid-column: 1; }
.wb-zeile { padding: 28px 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.wb-titel h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; }
.wb-titel p { margin-top: 8px; font-size: 17px; color: var(--anthrazit); max-width: 34em; }
.wb-fakten > div { display: flex; flex-direction: column; gap: 4px; }
.wb-fakten dt { font-size: 16px; color: var(--anthrazit); }
.wb-fakten dd { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.3; }
.wb-haupt { position: relative; padding: 40px 0 44px; }
.wb-haupt::before { content: ""; position: absolute; left: calc(-1 * clamp(14px, 1.6vw, 24px)); top: 40px; bottom: 44px; width: 6px; background: var(--orange); }
.wb-haupt .wb-titel h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; }
.wb-haupt .wb-titel p { font-size: 19px; color: var(--schwarz); }
.wb-haupt .wb-fakten dd { font-size: 22px; font-weight: 600; }
.wb-mehr { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: 24px; margin-top: 24px; }
.wb-mehr > p { grid-column: 1; }
.wb-abschluesse { grid-column: 2 / 5; }
.wb-mehr > p { font-size: 19px; line-height: 1.55; max-width: 32em; }
.wb-abschluesse h4 { font-size: 17px; font-weight: 500; color: var(--anthrazit); letter-spacing: 0; margin-bottom: 8px; }
.wb-abschluesse ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.wb-abschluesse li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--linie); position: relative; font-size: 18px; font-weight: 500; }
.wb-abschluesse li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; border: 2px solid var(--schwarz); }

.wb-bilder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(48px, 6vw, 88px); align-items: stretch; }
.wb-bilder figure { display: flex; flex-direction: column; }
.wb-bilder figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.wb-bild-hoch img { aspect-ratio: auto; flex: 1; min-height: 0; height: 100%; object-position: 50% 60%; }
.wb-bilder figcaption { margin-top: 12px; font-size: 16px; color: var(--anthrazit); }

@media (min-width: 960px) {
  .wb-fakten dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 959px) {
  .wb-spalten { display: block; padding-bottom: 0; }
  .wb-spalten span { display: none; }
  .wb-zeile { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .wb-fakten { grid-column: 1; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .wb-haupt { padding: 28px 0 32px 20px; }
  .wb-haupt::before { left: 0; top: 28px; bottom: 32px; width: 5px; }
  .wb-fakten > div:last-child { grid-column: 1 / -1; }
  .wb-mehr { grid-template-columns: 1fr; margin-top: 4px; }
  .wb-mehr > p, .wb-abschluesse { grid-column: 1; }
  .wb-bilder { grid-template-columns: 1fr; }
  .wb-bild-hoch { display: none; }
}

/* Linie zum Job */
.linie-plan { position: relative; }
.linie-strecken { display: grid; grid-template-columns: 3fr 3fr 1fr; gap: 0; margin-bottom: 18px; font-size: 16px; font-weight: 500; }
.linie-strecken span { padding: 0 12px 10px 0; border-bottom: 1px solid var(--anthrazit); margin-right: 18px; }
.linie-strecken .strecke-kurs { border-bottom-color: var(--orange); border-bottom-width: 3px; padding-bottom: 8px; }
.linie-strecken .strecke-ziel { margin-right: 0; border-bottom-color: transparent; }
.linie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.halt { position: relative; padding: 52px 16px 0 0; }
.halt::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 8px; background: var(--anthrazit); }
.halt-kurs::before { background: var(--orange); }
.halt-ziel::before { display: none; }
.halt-punkt { position: absolute; top: 4px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 6px solid var(--schwarz); z-index: 1; }
.halt-ziel .halt-punkt { width: 46px; height: 46px; top: -4px; left: -8px; background: var(--orange); border-width: 7px; }
.halt h3 { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; hyphens: manual; }
.halt p { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--anthrazit); }
.halt-ziel h3 { font-size: 24px; }
.halt-ziel p { color: var(--schwarz); font-weight: 500; }

@media (max-width: 1099px) {
  .linie-strecken { display: none; }
  .linie { grid-template-columns: 1fr; }
  .halt { padding: 0 0 34px 60px; min-height: 0; }
  .halt::before { top: 6px; bottom: -6px; left: 11px; right: auto; width: 8px; height: auto; }
  .halt-punkt { top: 0; }
  .halt-ziel .halt-punkt { top: -6px; left: -8px; }
  .halt h3 { font-size: 22px; padding-top: 2px; }
  .halt p { margin-top: 6px; max-width: 34em; }
  .halt-vor:first-child::after, .halt-kurs:nth-child(4)::after { position: absolute; top: 3px; right: 0; font-size: 15px; color: var(--anthrazit); }
  .halt:nth-child(4) h3::after { content: "13 Monate"; display: inline-block; margin-left: 12px; padding: 2px 10px; background: var(--orange); color: var(--schwarz); font-size: 16px; font-weight: 600; letter-spacing: 0; border-radius: 2px; vertical-align: 3px; }
}

/* Bildband */
.bildband img { width: 100%; height: clamp(280px, 46vw, 680px); object-fit: cover; object-position: 50% 62%; }

/* Vorteile */
.vorteile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.vorteile-bild { position: relative; min-height: 480px; }
.vorteile-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.vorteile-text h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); border-top: 2px solid var(--schwarz); padding-top: 28px; margin-bottom: 24px; }
.vorteile-liste { margin: 0; }
.vorteile-liste > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--linie); }
.vorteile-liste > div:first-child dt { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; }
.vorteile-liste > div:first-child { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 32px; border-bottom: 2px solid var(--orange); }
.vorteile-liste > div:first-child dd { font-size: 20px; color: var(--schwarz); max-width: 30em; }
.vorteile-liste dt { font-size: 21px; font-weight: 600; line-height: 1.25; }
.vorteile-liste dd { margin: 0; font-size: 18px; line-height: 1.5; color: var(--anthrazit); }
@media (max-width: 959px) {
  .vorteile { grid-template-columns: 1fr; }
  .vorteile-bild { position: static; order: 2; min-height: 0; }
  .vorteile-bild img { position: static; height: auto; aspect-ratio: 1 / 1; object-position: 50% 70%; }
  @media (min-width: 600px) { .vorteile-bild img { aspect-ratio: 16 / 10; object-position: 50% 40%; } }
  .vorteile-liste > div { grid-template-columns: 1fr; }
  .vorteile-text h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); padding-top: 20px; }
}

/* Fortbildungen und Auftrag */
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.fb-auftrag { display: flex; flex-direction: column; }
.fb-block h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; margin-bottom: 18px; }
.fb-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--schwarz); }
.fb-liste li { padding: 16px 0; border-bottom: 1px solid var(--linie); font-size: 20px; font-weight: 500; }
.fb-auftrag figure { flex: 1 1 220px; position: relative; min-height: 220px; margin-bottom: 28px; }
.fb-auftrag img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fb-auftrag p { font-size: 18px; line-height: 1.55; color: var(--anthrazit); max-width: 32em; }
.fb-auftrag .textlink { margin-top: 12px; font-size: 20px; }
@media (max-width: 959px) { .zwei-spalten { grid-template-columns: 1fr; } .fb-liste li { font-size: 19px; } .fb-auftrag figure { flex: none; min-height: 0; } .fb-auftrag img { position: static; height: auto; aspect-ratio: 16 / 10; } }

/* Raumvermietung und Karriere */
.zwei-karten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.karte img { aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 28px; }
.karte h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; padding-top: 20px; border-top: 2px solid var(--schwarz); }
.karte p { margin-top: 14px; font-size: 18px; line-height: 1.55; color: var(--anthrazit); max-width: 32em; }
.karte .textlink { margin-top: 10px; }
@media (max-width: 699px) { .zwei-karten { grid-template-columns: 1fr; gap: 56px; } }

/* FAQ */
.faq-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.faq-kopf h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); border-top: 2px solid var(--schwarz); padding-top: 28px; }
.faq-kopf { display: flex; flex-direction: column; }
.faq-kopf p { margin-top: 20px; max-width: 24em; font-size: 18px; color: var(--anthrazit); }
.faq-kopf p a { color: var(--schwarz); font-weight: 600; white-space: nowrap; }
.faq-bild { flex: 1 1 200px; position: relative; min-height: 200px; margin-top: 32px; }
.faq-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.faq { border-top: 2px solid var(--schwarz); }
.faq-eintrag { border-bottom: 1px solid var(--linie); }
.faq-eintrag summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 24px; align-items: center; min-height: 44px; padding: 26px 0; font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 500; line-height: 1.3; }
.faq-eintrag summary::-webkit-details-marker { display: none; }
.faq-eintrag summary::after { content: ""; width: 28px; height: 28px; background: linear-gradient(var(--schwarz), var(--schwarz)) center / 18px 2px no-repeat, linear-gradient(var(--schwarz), var(--schwarz)) center / 2px 18px no-repeat; border-radius: 50%; transition: transform .2s; }
.faq-eintrag[open] summary::after { transform: rotate(45deg); }
.faq-eintrag summary:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.faq-eintrag p { padding: 0 52px 28px 0; font-size: 18px; line-height: 1.6; color: var(--anthrazit); max-width: 42em; }
@media (max-width: 959px) { .faq-raster { grid-template-columns: 1fr; } .faq-bild { display: none; } .faq-kopf h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); padding-top: 20px; } .faq-eintrag p { padding-right: 0; } }

/* Anmeldung */
.anmeldung { background: var(--grau); padding-block: clamp(72px, 10vw, 140px); border-top: 1px solid var(--linie); }
.anmeldung-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.anmeldung-text { display: flex; flex-direction: column; }
.anmeldung-text h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); font-weight: 600; letter-spacing: -0.03em; border-top: 2px solid var(--schwarz); padding-top: 28px; }
.anmeldung-lead { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--anthrazit); max-width: 30em; }
.anmeldung-telefon { margin-top: 28px; font-size: 18px; color: var(--anthrazit); }
.anmeldung-telefon a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--schwarz); text-decoration: none; font-variant-numeric: tabular-nums; }
.formular { background: #fff; border-top: 6px solid var(--orange); padding: clamp(24px, 4vw, 56px); box-shadow: 0 1px 0 var(--linie); }
.formular h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; margin-bottom: 28px; }
.feld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.feld label { font-size: 17px; font-weight: 500; }
.feld input, .feld select { width: 100%; min-height: 58px; padding: 12px 16px; font: inherit; font-size: 19px; color: var(--schwarz); background: #fff; border: 1px solid #8a8a86; border-radius: 2px; appearance: none; }
.feld select { background-image: linear-gradient(45deg, transparent 50%, var(--schwarz) 50%), linear-gradient(135deg, var(--schwarz) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.feld input:focus, .feld select:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--schwarz); }
.feld [aria-invalid="true"] { border-color: #b3261e; border-width: 2px; }
.formular .knopf-gross { margin-top: 8px; cursor: pointer; font-family: inherit; }
.formular-hinweis { margin-top: 16px; font-size: 16px; color: var(--anthrazit); line-height: 1.5; }
.formular-fehler { margin-bottom: 12px; color: #b3261e; font-weight: 500; }
.formular-danke { padding: 8px 0; }
.danke-titel { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.formular-danke p:not(.danke-titel) { font-size: 19px; color: var(--anthrazit); }
@media (max-width: 959px) {
  .anmeldung-raster { grid-template-columns: 1fr; }
  .anmeldung-text h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); padding-top: 20px; }
  .feld-paar { grid-template-columns: 1fr; }
  .formular { margin-inline: calc(-1 * var(--rand)); padding: 28px var(--rand) 32px; }
}

/* Standorte, dunkel wie Bahnsteigschilder */
.standorte { background: var(--schwarz); color: var(--hell); padding-block: clamp(72px, 9vw, 128px) clamp(56px, 7vw, 96px); }
.kopfzeile-hell { border-top-color: var(--hell); }
.kopfzeile-hell h2 { color: #fff; }
.kopfzeile-hell p { color: var(--hell-2); }
.so-raster { display: grid; grid-template-columns: repeat(3, 1fr); }
.so-karte { padding: 0 32px 8px; border-left: 1px solid var(--linie-dunkel); display: flex; flex-direction: column; }
.so-karte:first-child { border-left: 0; padding-left: 0; }
.so-karte:last-child { padding-right: 0; }
.so-name { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; color: #fff; padding-bottom: 14px; border-bottom: 4px solid var(--orange); margin-bottom: 20px; }
.so-adresse { font-size: 19px; line-height: 1.5; }
.so-kontakt { margin-top: 16px; font-size: 18px; line-height: 1.5; }
.so-kontakt a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration-color: var(--orange); font-variant-numeric: tabular-nums; }
.so-zeiten { margin-top: 12px; font-size: 17px; color: var(--hell-2); }
.so-start { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--linie-dunkel); font-size: 18px; color: var(--hell); }
.so-start time { color: var(--orange); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 959px) {
  .so-raster { grid-template-columns: 1fr; gap: 40px; }
  .so-karte { padding: 0; border-left: 0; }
}

/* Fuss */
.fuss { background: var(--schwarz); color: var(--hell-2); border-top: 1px solid var(--linie-dunkel); padding: 56px 0 104px; font-size: 17px; }
.fuss-raster { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 32px; }
.fuss-marke img { width: 190px; }
.fuss-marke p { margin-top: 14px; }
.fuss-titel { color: #fff; font-weight: 600; margin-bottom: 8px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss a { color: var(--hell); display: inline-flex; align-items: center; min-height: 44px; }
.fuss-unten { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--linie-dunkel); font-size: 16px; }
@media (max-width: 959px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }
[hidden] { display: none !important; }
@media (max-width: 420px) {
  .kopf-innen { gap: 8px; }
  .kopf-logo img { width: 112px; }
  .kopf-mobil-knopf { padding: 0 12px; font-size: 15px; }
  .menue-knopf { padding: 0 6px; gap: 8px; }
}

/* ---------- Animationstinger ---------- */

/* Bahnhofsuhr: Sekundenzeiger mit Halt bei 12 */
.uhr-sekunde { transform-box: view-box; transform-origin: 32px 32px; animation: sekunde 60s linear infinite; }
@keyframes sekunde { 0% { transform: rotate(0deg); } 97.5% { transform: rotate(360deg); } 100% { transform: rotate(360deg); } }

/* Kennzahlen: Zahl bekommt vor dem Zaehlen ihre Endbreite */
.zahl { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }

/* Abfahrtstafel: naechste Abfahrt blinkt dezent */
.ks-zeile { position: relative; }
.ks-zeile:first-child::before { content: ""; position: absolute; left: calc(-1 * clamp(12px, 1.8vw, 24px)); top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--orange); animation: blinken 1.8s ease-in-out infinite; }
@keyframes blinken { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@media (max-width: 699px) { .ks-zeile:first-child::before { left: -11px; top: 38px; } }

/* Linie: Zug faehrt von Halt zu Halt, erreichte Halte fuellen sich */
.linie-plan { position: relative; }
.zug { position: absolute; left: 0; top: 0; z-index: 3; width: 44px; height: 26px; opacity: 0; pointer-events: none; transition: transform .65s cubic-bezier(.45,0,.25,1), opacity .3s; will-change: transform; }
.zug svg { display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }
.zug.faehrt { opacity: 1; }
.halt-punkt::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.halt.erreicht .halt-punkt::after { transform: scale(1); }
.halt-ziel .halt-punkt::after { inset: -7px; background: transparent; border: 3px solid var(--orange); transform: scale(1); opacity: 0; }
.halt-ziel.erreicht .halt-punkt::after { animation: ankunft 1.2s ease-out 2; }
@keyframes ankunft { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* Zeilen erscheinen gestaffelt */
.warten { opacity: 0; transform: translateY(18px); }
.da { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .uhr-sekunde, .ks-zeile:first-child::before { animation: none; }
  .warten { opacity: 1; transform: none; }
  .zug { display: none; }
}

/* ---------- Navigation mit Untermenues und Fuss mit Seitenlinks (Startseite und Unterseiten) ---------- */
.nav-gruppe { position: relative; display: flex; align-items: center; }
.nav-auf { display: inline-flex; align-items: center; justify-content: center; width: 30px; min-height: 44px; margin-left: -8px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.nav-auf::before { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-auf[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.hauptnav .nav-unter { display: none; position: absolute; top: calc(100% + 16px); left: 0; z-index: 5; flex-direction: column; gap: 0; min-width: 300px; padding: 8px 0; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 1px 0 var(--linie), 0 24px 48px -24px rgba(28,28,27,.35); }
.hauptnav .nav-unter::before { content: ""; position: absolute; left: 0; right: 0; top: -19px; height: 19px; }
.hauptnav .nav-unter-breit { min-width: 320px; }
.hauptnav .nav-unter a { min-height: 44px; padding: 0 20px; font-size: 17px; font-weight: 500; white-space: nowrap; }
.hauptnav .nav-unter li:first-child a { font-weight: 600; }
.hauptnav .nav-unter a:hover, .hauptnav .nav-unter a[aria-current="page"] { background: var(--grau); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .35em; }
@media (min-width: 1061px) {
  .nav-gruppe:hover > .nav-unter, .nav-gruppe.auf > .nav-unter { display: flex; }
  .nav-gruppe:hover > .nav-auf::before { transform: translateY(2px) rotate(-135deg); }
}
@media (min-width: 1061px) and (max-width: 1240px) {
  .kopf-innen { gap: 20px; }
  .hauptnav ul a { padding: 0 9px; font-size: 16px; }
  .nav-auf { width: 24px; margin-left: -6px; }
}
@media (max-width: 1060px) {
  .nav-gruppe { display: grid; grid-template-columns: minmax(0, 1fr) 56px; align-items: stretch; }
  .nav-auf { width: 56px; min-height: 56px; margin: 0; border-bottom: 1px solid var(--linie); }
  .nav-auf::before { width: 9px; height: 9px; }
  .hauptnav .nav-unter { position: static; grid-column: 1 / -1; min-width: 0; padding: 4px 0 10px 16px; background: none; border-top: 0; box-shadow: none; border-bottom: 1px solid var(--linie); }
  .hauptnav .nav-unter::before { display: none; }
  .nav-gruppe.auf > .nav-unter { display: flex; }
  .hauptnav .nav-unter a { min-height: 48px; padding: 0; font-size: 18px; border-bottom: 0; white-space: normal; }
  .hauptnav .nav-unter a:hover, .hauptnav .nav-unter a[aria-current="page"] { background: none; }
}
.fuss-raster-voll { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.fuss-raster-voll .fuss-marke p { line-height: 1.6; }
.fuss-titel-folgen { margin-top: 20px; }
.fuss-unten-voll { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; }
.fuss-recht { display: flex; flex-wrap: wrap; gap: 0 24px; }
@media (max-width: 959px) { .fuss-raster-voll { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .fuss-raster-voll { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .fuss-raster-voll .fuss-spalte:last-child { grid-column: 1 / -1; } }

/* Links der Startseite auf die Unterseiten */
.wb-link { color: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .2em; transition: text-decoration-thickness .15s; }
.wb-link:hover, .wb-link:focus-visible { text-decoration-thickness: 4px; }
.abschnitt-link { margin-top: 28px; }
.fb-liste a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin: -6px 0; color: inherit; text-decoration: none; }
.fb-liste a::after { content: ""; flex: none; width: 9px; height: 9px; border: solid var(--schwarz); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .2s; }
.fb-liste a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.fb-liste a:hover::after { transform: translateX(4px) rotate(45deg); }
.fb-alle { margin-top: 18px; }
.textlinks { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 12px; }
.textlinks .textlink { margin-top: 0; font-size: 20px; }
.tafel-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf-hell { background: transparent; border-color: #f4f4f1; color: #f4f4f1; }
.knopf-hell:hover { background: #f4f4f1; border-color: #f4f4f1; color: var(--schwarz); }
@media (max-width: 699px) { .tafel-knoepfe { flex-direction: column; } .tafel-knoepfe .knopf { width: 100%; } }
.so-links { list-style: none; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--linie-dunkel); display: flex; flex-wrap: wrap; gap: 8px 32px; }
.so-links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .3em; }
@media (max-width: 1060px) { .hauptnav { padding-bottom: 140px; } }
