/* =====================================================================
   Silke´s Fahrschule – Designkonzept „Freie Fahrt“
   01 Schriften · 02 Tokens · 03 Basis · 04 Typografie · 05 Knöpfe & Kleinteile
   06 Kopf & Menü · 07 Hero · 08 Abschnitte · 09 Klassen · 10 Formulare
   11 Unterseiten · 12 Fuß & Leiste · 13 Bewegung
   ===================================================================== */

/* ---------------------------------------------------------------- 01 Schriften (lokal, SIL OFL) */
@font-face { font-family: "Sofia Sans"; src: url("../fonts/sofia-sans.woff2") format("woff2"); font-weight: 1 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia Sans Condensed"; src: url("../fonts/sofia-sans-condensed.woff2") format("woff2"); font-weight: 1 1000; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------- 02 Tokens */
:root {
  --schiefer-950: #0f1214;
  --schiefer-900: #171b1e;
  --schiefer-800: #20262a;
  --schiefer-700: #2e363b;
  --schiefer-500: #5d686f;
  --schiefer-300: #a7b0b6;
  --schiefer-200: #cfd5d8;
  --papier: #f3f1ec;
  --papier-2: #e7e4dc;
  --weiss: #fff;
  --tinte: #14181b;
  --rot: #dd281a;            /* Rot aus dem Logo */
  --rot-dunkel: #b81d11;
  --rot-text: #c21f12;       /* kleiner roter Text auf hellem Grund (Kontrast AA) */
  --gelb: #ffc81a;           /* nur für „jetzt/heute“ */
  --gruen: #2fbf71;
  --erste-hilfe: #0d8a4a;    /* Rettungszeichen-Grün */

  --schrift: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --schmal: "Sofia Sans Condensed", "Arial Narrow", "Sofia Sans", system-ui, sans-serif;

  --wrap: 82rem;
  --rand: clamp(1.25rem, 4.5vw, 3.5rem);
  --abstand: clamp(4.5rem, 10vw, 9rem);
  --radius: 6px;
  --kopf-h: 4.75rem;
  --sanft: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- 03 Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 4.5rem); }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6; color: var(--tinte); background: var(--schiefer-950); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { display: block; background: var(--papier); overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--rot); color: #fff; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.sprung { position: absolute; left: 1rem; top: -5rem; z-index: 200; padding: .75rem 1.1rem; background: var(--gelb); color: var(--tinte); font-weight: 700; border-radius: var(--radius); }
.sprung:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--pfeil { transition: transform .35s var(--sanft); }
.picto { width: 100%; height: auto; fill: currentColor; --loch: #fff; }
.picto .loch, .plakette .loch, [class*="picto"] .loch { fill: var(--loch, #fff); }
.rad { stroke: var(--loch, #fff); stroke-width: 2.2; }

/* ---------------------------------------------------------------- 04 Typografie */
.titel-xl, .titel-l, .titel-m, .hero__titel { font-family: var(--schmal); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.005em; text-wrap: balance; }
.titel-xl { font-size: clamp(2.9rem, 8.2vw, 6.75rem); }
.titel-l { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.titel-m { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1; }
.rot { color: var(--rot); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 38em; text-wrap: pretty; }
.klein { font-size: .875rem; color: var(--schiefer-500); }
.unterstrich { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: .2em; transition: background-size .35s var(--sanft); }
.unterstrich:hover { background-size: 0 2px; background-position: 100% 100%; }
.unterstrich:hover .icon--pfeil { transform: translateX(4px); }

/* Label mit Leitlinie (Markenelement: unterbrochene Mittellinie) */
.label { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; font-family: var(--schmal); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--schiefer-500); }
.label__linie { width: 3.25rem; height: 3px; flex: none; background: repeating-linear-gradient(90deg, currentColor 0 .7rem, transparent .7rem 1.275rem); }
.label__nr { color: var(--rot-text); }
.sek--dunkel .label, .seitenkopf .label, .hero .label, .schluss .label, .label--hell { color: var(--schiefer-300); }
.sek--dunkel .label__nr { color: var(--rot); }

/* ---------------------------------------------------------------- 05 Knöpfe & Kleinteile */
.btn { --bg: var(--tinte); --fg: #fff; --rahmen: var(--bg); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3rem; padding: .7rem 1.35rem; border: 2px solid var(--rahmen); border-radius: var(--radius); background: var(--bg); color: var(--fg); font-family: var(--schmal); font-weight: 800; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; line-height: 1.1; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--sanft), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon--pfeil { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--rot { --bg: var(--rot); box-shadow: 0 10px 24px -12px rgba(221, 40, 26, .8); }
.btn--rot:hover { --bg: var(--rot-dunkel); }
.btn--dunkel:hover { --bg: var(--rot); }
.btn--weiss { --bg: #fff; --fg: var(--tinte); }
.btn--weiss:hover { --bg: var(--tinte); --fg: #fff; }
.btn--linie { --bg: transparent; --fg: #fff; --rahmen: rgba(255, 255, 255, .38); }
.btn--linie:hover { --bg: #fff; --fg: var(--tinte); --rahmen: #fff; }
.btn--linie-dunkel { --bg: transparent; --fg: var(--tinte); --rahmen: rgba(20, 24, 27, .3); }
.btn--linie-dunkel:hover { --bg: var(--tinte); --fg: #fff; --rahmen: var(--tinte); }
.btn--klein { min-height: 2.5rem; padding: .45rem 1rem; font-size: 1rem; }
.btn--gross { min-height: 3.6rem; padding: .9rem 1.7rem; font-size: 1.25rem; }
.btn--breit { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Zusatzzeichen-Plakette (Markenelement, aus dem Logo): weißes Schild, schwarzer Innenrand */
.plakette { --b: 4.5rem; position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .05em; width: var(--b); aspect-ratio: 5 / 4; flex: none; padding: calc(var(--b) * .1) calc(var(--b) * .12) calc(var(--b) * .07); border-radius: calc(var(--b) * .1); background: #fff; color: #111; box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 12px 22px -14px rgba(0, 0, 0, .7); }
.plakette::after { content: ""; position: absolute; inset: calc(var(--b) * .035); border: calc(var(--b) * .028) solid #111; border-radius: calc(var(--b) * .075); pointer-events: none; }
.plakette__bild { width: 78%; }
.plakette__code { font-family: var(--schmal); font-weight: 900; font-size: calc(var(--b) * .3); line-height: 1; letter-spacing: .02em; }
.plakette--gross { --b: 5.75rem; }
.plakette--xl { --b: clamp(6.5rem, 12vw, 8.75rem); }
/* Scheine & Kurse: gelbes Schild (Arbeitsmaschinen), grünes Schild (Erste Hilfe), Wort statt Kürzel */
.plakette--gelb { background: var(--gelb); }
.plakette--gelb .picto { --loch: var(--gelb); }
.plakette--gruen { background: var(--erste-hilfe); color: #fff; }
.plakette--gruen::after { border-color: #fff; }
.plakette--wort .plakette__code { font-size: calc(var(--b) * .172); font-weight: 800; letter-spacing: .05em; margin-top: .12em; }
.plakette--wort .plakette__bild { width: 84%; }

/* Mindestalter als rundes Verkehrszeichen */
.alter { --d: 2.75rem; display: inline-grid; place-items: center; width: var(--d); height: var(--d); flex: none; border-radius: 50%; background: #fff; border: calc(var(--d) * .13) solid var(--rot); color: #111; font-family: var(--schmal); font-weight: 900; font-size: calc(var(--d) * .44); line-height: 1; box-shadow: 0 0 0 1.5px #fff, 0 8px 16px -10px rgba(0, 0, 0, .6); }
.alter--gross { --d: clamp(4rem, 7vw, 5.25rem); }

/* Status „jetzt geöffnet“ */
.status { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--schmal); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--schiefer-500); }
.status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--schiefer-300); flex: none; }
.status[data-zustand="auf"] { color: #14804a; }
.status[data-zustand="auf"]::before { background: var(--gruen); box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); animation: puls 2.2s infinite; }
.status[data-zustand="zu"]::before { background: var(--rot); }
.status--hell, .buero .status { color: var(--schiefer-300); }
.status--hell[data-zustand="auf"], .buero .status[data-zustand="auf"] { color: #6fe3a5; }
@keyframes puls { 70% { box-shadow: 0 0 0 .55rem rgba(47, 191, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); } }

/* ---------------------------------------------------------------- 06 Kopf & Menü */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--kopf-h); color: #fff; transition: background-color .3s, box-shadow .3s, transform .4s var(--sanft); }
.kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 18, 20, .86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transition: opacity .3s; }
.kopf[data-zustand="unten"]::before, .menue-offen .kopf::before { opacity: 1; }
.kopf__inner { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.marke { position: relative; z-index: 2; align-self: flex-start; display: block; margin: .4rem auto 0 0; text-decoration: none; }
.marke__logo { display: block; width: auto; height: 6.4rem; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)); transform-origin: 0 0; transition: height .4s var(--sanft), transform .4s var(--sanft); }
.kopf[data-zustand="unten"] .marke__logo, .menue-offen .marke__logo { height: 3.95rem; }
.marke:hover .marke__logo { transform: rotate(-2deg) scale(1.03); }
.nav { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav a { position: relative; padding: .4rem 0; font-family: var(--schmal); font-weight: 700; font-size: 1.08rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .82); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--rot) 0 .55rem, transparent .55rem .9rem); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--sanft); }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.kopf__rechts { display: flex; align-items: center; gap: 1.1rem; }
.kopf__tel { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--schmal); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.kopf__tel:hover { color: var(--gelb); }
.burger { display: none; align-items: center; gap: .7rem; height: 2.75rem; padding: 0 .2rem 0 .9rem; background: none; border: 0; color: #fff; font-family: var(--schmal); font-weight: 800; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; }
.burger__striche { position: relative; width: 2rem; height: 2rem; }
.burger__striche i { position: absolute; left: .25rem; right: .25rem; height: 3px; background: currentColor; border-radius: 2px; transition: transform .35s var(--sanft), top .35s var(--sanft); }
.burger__striche i:first-child { top: .65rem; }
.burger__striche i:last-child { top: 1.2rem; }
.burger[aria-expanded="true"] .burger__striche i:first-child { top: .92rem; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__striche i:last-child { top: .92rem; transform: rotate(-45deg); }

.menue { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; gap: 2rem; padding: calc(var(--kopf-h) + 1.5rem) var(--rand) calc(1.5rem + env(safe-area-inset-bottom)); background: var(--schiefer-950); color: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-1rem); transition: opacity .3s, transform .4s var(--sanft), visibility 0s .4s; }
.menue::before { content: ""; position: absolute; right: -4rem; top: 20%; width: 6px; height: 120%; background: repeating-linear-gradient(#fff 0 3rem, transparent 3rem 6rem); opacity: .08; transform: rotate(18deg); pointer-events: none; }
.menue-offen .menue { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menue-offen { overflow: hidden; }
.menue__liste { display: grid; }
.menue__liste a { display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--schmal); font-weight: 800; font-size: clamp(2rem, 9vw, 3rem); text-transform: uppercase; line-height: 1.05; text-decoration: none; }
.menue__liste a[aria-current] { color: var(--rot); }
.menue__nr { font-size: .95rem; font-weight: 700; letter-spacing: .1em; color: var(--schiefer-500); }
.menue__fuss { display: grid; gap: .75rem; margin-top: auto; }
.menue__daten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .75rem; font-size: .95rem; color: var(--schiefer-300); }

/* ---------------------------------------------------------------- 07 Hero (Startseite): Nachtfahrt mit laufender Leitlinie */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(100svh, 46rem); padding-top: var(--kopf-h); background: radial-gradient(120% 80% at 50% 62%, #232a2f 0%, var(--schiefer-900) 38%, var(--schiefer-950) 78%); color: #fff; overflow: hidden; }
.hero__strasse { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__strasse::before { content: ""; position: absolute; left: 0; right: 0; top: 60%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 30%, rgba(255, 255, 255, .22) 70%, transparent); }
.hero__strasse::after { content: ""; position: absolute; left: 56%; top: 60%; width: 70vmax; height: 26vmax; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(221, 40, 26, .3), transparent); }
.hero__fahrbahn { position: absolute; left: 56%; top: 60%; width: 200vmax; height: 120vmax; margin-left: -100vmax; transform-origin: 50% 0; transform: perspective(30vmax) rotateX(82deg); background:
    linear-gradient(#fff 0 42%, transparent 42%) 50% 0 / .9vmax 14vmax repeat-y,
    linear-gradient(#fff, #fff) calc(50% - 21vmax) 0 / .7vmax 100% no-repeat,
    linear-gradient(#fff, #fff) calc(50% + 21vmax) 0 / .7vmax 100% no-repeat,
    linear-gradient(#1c2226, #1c2226) 50% 0 / 46vmax 100% no-repeat;
  opacity: .55; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%); mask-image: linear-gradient(to bottom, transparent 0, #000 9%); animation: fahrt 1.6s linear infinite; }
@keyframes fahrt { to { background-position: 50% 14vmax, calc(50% - 21vmax) 0, calc(50% + 21vmax) 0, 50% 0; } }

.hero__inner { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vh, 5rem) clamp(1.25rem, 2.5vh, 3rem); }
.hero__text { container-type: inline-size; }
.hero__titel { font-size: min(11.4cqi, 6.75rem); font-weight: 900; line-height: .88; margin-bottom: 1.75rem; white-space: nowrap; }
.hero__zeile { display: block; overflow: hidden; padding-block: .06em; margin-block: -.06em; }
.hero__zeile > span { display: block; }
.hero__lead { color: var(--schiefer-200); margin-bottom: 2rem; max-width: 33em; }
.hero__punkte { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.9rem; font-family: var(--schmal); font-weight: 700; font-size: 1.05rem; letter-spacing: .07em; text-transform: uppercase; color: var(--schiefer-200); }
.hero__punkte li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__punkte .icon { color: var(--gruen); stroke-width: 3; width: 1.1em; height: 1.1em; }

.hero__seite { position: relative; display: grid; justify-items: center; gap: 0; }
.hero__logo { width: min(100%, 23rem); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.hero__logo img { width: 100%; }
.heute { position: relative; width: min(100%, 26rem); margin-top: .9rem; padding: 1.15rem 1.3rem 1.2rem; border-radius: 10px; background: rgba(15, 18, 20, .82); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 30px 50px -30px #000; }
.heute__kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding-bottom: .8rem; margin-bottom: .35rem; border-bottom: 2px dashed rgba(255, 255, 255, .2); }
.heute__tag { font-family: var(--schmal); font-weight: 900; font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase; }
.heute__liste > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: .98rem; }
.heute__liste dt { color: var(--schiefer-300); }
.heute__liste dd { font-weight: 700; text-align: right; white-space: nowrap; }
.heute__liste [data-jetzt] dt { color: #fff; }
.heute__liste [data-jetzt] dd { color: var(--gelb); }
.heute__liste [data-jetzt] dt::before { content: "Heute · "; color: var(--gelb); font-weight: 700; }
.heute__liste [data-vorbei] { opacity: .45; }
.heute__tel { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; font-family: var(--schmal); font-weight: 800; font-size: 1.5rem; letter-spacing: .03em; text-decoration: none; }
.heute__tel:hover { color: var(--gelb); }
.heute__tel .icon { color: var(--rot); }

/* Band mit allen Klassen-Plaketten */
.band { position: relative; container-type: inline-size; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(15, 18, 20, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.band__spur { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem clamp(.6rem, 1.1vw, 1rem); padding: 1.1rem var(--rand) 1.25rem; }
.band__umbruch { flex-basis: 100%; height: 0; }   /* neue Reihe: Scheine & Kurse */
.band__teil { flex: none; text-decoration: none; transition: transform .3s var(--sanft); }
.band__teil .plakette { --b: min(4.7rem, calc((100cqi - 2 * var(--rand) - 14rem - 2px) / 15)); }
.band__teil:hover { transform: translateY(-6px) rotate(-3deg); }
.band__teil:nth-child(even):hover { transform: translateY(-6px) rotate(3deg); }

/* ---------------------------------------------------------------- 08 Abschnitte */
.sek { position: relative; padding-block: var(--abstand); }
.sek--papier { background: var(--papier); }
.sek--hell { background: #fff; }
.sek--dunkel { background: var(--schiefer-900); color: #fff; }
.sek--dunkel .lead { color: var(--schiefer-200); }
.sek__kopf { display: grid; gap: 1.1rem; justify-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sek__kopf .label { margin-bottom: .1rem; }
.sek__kopf--zweispaltig { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; column-gap: clamp(2rem, 6vw, 6rem); }
.sek__kopf--zweispaltig > div { display: grid; gap: 1.1rem; }
.sek__kopf--zweispaltig > .btn { justify-self: end; }

/* Klassenfinder */
.finder__box { background: #fff; border-radius: 12px; box-shadow: 0 1px 0 rgba(20, 24, 27, .08), 0 40px 60px -45px rgba(20, 24, 27, .45); overflow: hidden; }
.finder__reiterleiste { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--schiefer-900); }
.finder__reiter { position: relative; display: grid; justify-items: center; gap: .35rem; padding: 1.2rem .5rem 1rem; background: none; border: 0; border-right: 1px solid rgba(255, 255, 255, .08); color: var(--schiefer-300); font-family: var(--schmal); font-weight: 800; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; transition: color .25s, background-color .25s; }
.finder__reiter:last-child { border-right: 0; }
.finder__reiter .picto { width: clamp(3rem, 6vw, 4.6rem); --loch: var(--schiefer-900); transition: transform .4s var(--sanft); }
.finder__reiter:hover { color: #fff; }
.finder__reiter:hover .picto { transform: translateX(5px); }
.finder__reiter[aria-selected="true"] { background: #fff; color: var(--tinte); }
.finder__reiter[aria-selected="true"] .picto { --loch: #fff; }
.finder__reiter[aria-selected="true"]::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--rot); }
.finder__feld { padding: clamp(1.25rem, 3vw, 2.25rem); }
.finder__unter { margin-bottom: 1.25rem; font-size: 1.05rem; color: var(--schiefer-500); }
.finder__unter strong { color: var(--tinte); }
.finder__karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: .75rem; }
.kkarte { display: flex; align-items: center; gap: 1.1rem; padding: .9rem 1.1rem .9rem .9rem; border: 1px solid var(--papier-2); border-radius: 10px; background: var(--papier); text-decoration: none; transition: border-color .25s, background-color .25s, transform .3s var(--sanft); }
.kkarte:hover { border-color: var(--tinte); background: #fff; transform: translateY(-3px); }
.kkarte:hover .icon--pfeil { transform: translateX(4px); color: var(--rot); }
.kkarte__text { display: grid; gap: .1rem; margin-right: auto; }
.kkarte__text strong { font-family: var(--schmal); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.kkarte__text small { font-size: .95rem; color: var(--schiefer-500); }
.kkarte__alter { display: grid; justify-items: center; gap: .15rem; }
.kkarte__alter small { font-family: var(--schmal); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--schiefer-500); }
.finder__alle { margin-top: 1.75rem; text-align: right; }
.js .finder__feld:not([hidden]) { animation: einblenden .45s var(--sanft); }
@keyframes einblenden { from { opacity: 0; transform: translateY(10px); } }

/* Gründe */
.gruende { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .16); }
.grund { padding: 1.75rem 1.75rem 0 0; border-right: 1px solid rgba(255, 255, 255, .1); margin-right: 1.75rem; }
.grund:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.grund__nr { display: block; margin-bottom: 2.5rem; font-family: var(--schmal); font-weight: 900; font-size: 1.1rem; letter-spacing: .12em; color: var(--rot); }
.grund h3 { margin-bottom: .75rem; font-family: var(--schmal); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.1rem); text-transform: uppercase; line-height: 1; }
.grund p { color: var(--schiefer-300); font-size: 1rem; }

/* Weg zum Führerschein: Straße mit Haltepunkten */
.weg__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.weg__kopf { position: sticky; top: calc(var(--kopf-h) + 2rem); margin-bottom: 0; }
.route { --spur: 4.5rem; position: relative; display: grid; gap: 1rem; padding-left: calc(var(--spur) + 1.75rem); }
.route::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--spur); border-radius: 10px; background:
    linear-gradient(#fff 0 55%, transparent 55%) 50% 0 / 4px 2.6rem repeat-y,
    linear-gradient(90deg, transparent 6px, rgba(255, 255, 255, .5) 6px 8px, transparent 8px calc(100% - 8px), rgba(255, 255, 255, .5) calc(100% - 8px) calc(100% - 6px), transparent 0),
    var(--schiefer-800); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.route__halt { position: relative; padding: 1.5rem 1.75rem 1.6rem; background: #fff; border-radius: 10px; box-shadow: 0 1px 0 rgba(20, 24, 27, .08); }
.route__halt::before { content: ""; position: absolute; right: 100%; top: 2.55rem; width: 1.75rem; height: 2px; background: var(--schiefer-200); }
.route__schild { position: absolute; left: calc(-1.75rem - var(--spur) / 2); top: 1.2rem; transform: translateX(-50%); display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #1f5fbf; border: 2px solid #fff; color: #fff; font-family: var(--schmal); font-weight: 900; font-size: 1.5rem; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .7); }
.route__halt--ziel .route__schild { background: var(--gruen); }
.route__halt--ziel .route__schild .icon { stroke-width: 3.2; }
.route__halt h3 { margin-bottom: .45rem; font-family: var(--schmal); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.route__halt p { color: #3c464c; }
.route__halt a { color: var(--rot-text); font-weight: 700; }

/* Zeilen (Zusatzangebote) */
.zeilen { border-top: 2px solid var(--tinte); }
.zeile { display: grid; grid-template-columns: 6rem minmax(0, .8fr) minmax(0, 1.4fr); align-items: baseline; gap: 1rem clamp(1rem, 4vw, 4rem); padding: 1.6rem 0; border-bottom: 1px solid var(--schiefer-200); transition: padding .35s var(--sanft), background-color .3s; }
.zeile:hover { padding-inline: 1rem; background: var(--papier); }
.zeile__kurz { font-family: var(--schmal); font-weight: 900; font-size: 1.15rem; letter-spacing: .14em; color: var(--rot-text); }
.zeile__titel { font-family: var(--schmal); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); text-transform: uppercase; line-height: 1; }
.zeile__text { color: #3c464c; }

/* Scheine & Kurse: Karten mit Schild */
.scheine { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.scheine + .zwischentitel { margin-top: clamp(2.75rem, 5vw, 4rem); }
.zwischentitel { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-family: var(--schmal); font-weight: 800; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--schiefer-500); }
.scheine > li { display: grid; }
.schein { display: grid; grid-template-rows: auto 1fr; border-radius: 12px; background: var(--papier); overflow: hidden; text-decoration: none; transition: transform .35s var(--sanft), box-shadow .35s; }
.sek--papier .schein { background: #fff; }
.schein__schild { position: relative; display: grid; place-items: center; padding: 1.9rem 1rem 2rem; background: var(--schiefer-900); }
.schein__schild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 1.4rem, transparent 1.4rem 2.6rem); }
.schein--gelb .schein__schild::after { background: repeating-linear-gradient(-45deg, var(--gelb) 0 .7rem, #111 .7rem 1.4rem); height: 6px; }
.schein--gruen .schein__schild::after { background: var(--erste-hilfe); height: 6px; }
.schein .plakette { --b: clamp(6rem, 8.5vw, 7.5rem); transition: transform .45s var(--sanft); }
.schein__text { display: grid; grid-template-rows: auto 1fr auto; gap: .5rem; padding: 1.2rem 1.25rem 1.3rem; }
.schein__text strong { font-family: var(--schmal); font-weight: 900; font-size: clamp(1.35rem, 1.75vw, 1.65rem); text-transform: uppercase; line-height: 1; overflow-wrap: break-word; hyphens: manual; }
.schein__text > span { font-size: .98rem; line-height: 1.5; color: #3c464c; }
.schein__text em { display: inline-flex; align-items: center; gap: .45em; margin-top: .4rem; font-family: var(--schmal); font-style: normal; font-weight: 800; font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rot-text); }
.schein:hover { transform: translateY(-5px); box-shadow: 0 30px 40px -30px rgba(20, 24, 27, .55); }
.schein:hover .plakette { transform: rotate(-4deg) scale(1.05); }
.schein:hover .icon--pfeil { transform: translateX(4px); }

/* Band Berufskraftfahrer */
.profi { position: relative; background: var(--rot); color: #fff; overflow: hidden; }
.profi::before { content: ""; position: absolute; left: -5%; right: -5%; bottom: 2.2rem; height: 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 3.5rem, transparent 3.5rem 7rem); animation: spur 2.4s linear infinite; }
@keyframes spur { to { transform: translateX(-7rem); } }
.profi__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(4rem, 8vw, 7rem) clamp(5.5rem, 9vw, 8rem); }
.profi__text { display: grid; gap: 1.25rem; justify-items: start; }
.profi .label { color: rgba(255, 255, 255, .85); margin-bottom: 0; }
.profi__siegel { display: grid; gap: .75rem; }
.profi__siegel li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 10px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .22); }
.profi__siegel .icon { width: 2.1rem; height: 2.1rem; stroke-width: 1.7; }
.profi__siegel .picto { width: 3.4rem; flex: none; --loch: #c22416; }
.profi__siegel span { display: grid; }
.profi__siegel strong { font-family: var(--schmal); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; }
.profi__siegel small { font-size: .95rem; opacity: .9; }

/* Standorte */
.orte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.ort, .buero, .theorie { position: relative; display: grid; align-content: start; justify-items: start; gap: 1.1rem; padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(20, 24, 27, .08), 0 30px 50px -40px rgba(20, 24, 27, .4); }
.sek--hell .ort, .sek--hell .theorie { background: var(--papier); box-shadow: none; }
.ort::before, .theorie::before { content: ""; position: absolute; left: clamp(1.4rem, 2.5vw, 2rem); top: 0; width: 3.5rem; height: 5px; background: var(--rot); }
.ort__art { font-family: var(--schmal); font-weight: 700; font-size: .92rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rot-text); }
.ort__name { margin-top: -.5rem; font-family: var(--schmal); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.1rem); text-transform: uppercase; line-height: .95; }
.ort__adresse { display: flex; gap: .7rem; }
.ort__adresse .icon, .ort__theorie .icon { color: var(--rot); margin-top: .15rem; }
.ort__theorie { width: 100%; padding-top: 1.1rem; border-top: 2px dashed var(--schiefer-200); }
.ort__theorie dt { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; font-family: var(--schmal); font-weight: 700; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--schiefer-500); }
.ort__theorie dd { padding-left: 1.85rem; }
.ort__status { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .7rem; border-radius: 99px; background: var(--gelb); color: var(--tinte); font-family: var(--schmal); font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.ort .btn { margin-top: auto; }
.buero { background: var(--schiefer-900); color: #fff; box-shadow: none; }
.buero .ort__art { color: var(--schiefer-300); }
.buero__zeit { font-size: 1.15rem; }
.buero__wege { display: grid; gap: .6rem; width: 100%; padding-top: 1.1rem; border-top: 2px dashed rgba(255, 255, 255, .2); }
.buero__wege a { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.buero__wege a:hover { color: var(--gelb); }
.buero__wege .icon { color: var(--rot); }

/* Fragen (Akkordeon) */
.faq-kurz { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-kurz .sek__kopf { margin-bottom: 0; }
.fragen { border-top: 2px solid var(--tinte); }
.frage { border-bottom: 1px solid var(--schiefer-200); }
.frage summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.2rem 0; font-family: var(--schmal); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.1; cursor: pointer; list-style: none; transition: color .2s; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { color: var(--rot-text); }
.frage summary .icon { width: 1.6rem; height: 1.6rem; padding: .25rem; border-radius: 50%; background: var(--tinte); color: #fff; stroke-width: 2.6; transition: transform .35s var(--sanft), background-color .25s; }
.frage[open] summary .icon { transform: rotate(135deg); background: var(--rot); }
.frage__antwort { display: grid; gap: .8rem; padding: 0 3rem 1.5rem 0; color: #333d43; max-width: 46em; }
.frage__antwort ul, .recht ul { display: grid; gap: .35rem; padding-left: 1.3rem; list-style: none; }
.frage__antwort li, .recht li { position: relative; }
.frage__antwort li::before, .recht li::before { content: ""; position: absolute; left: -1.3rem; top: .68em; width: .7rem; height: 3px; background: var(--rot); }
.frage__antwort a { color: var(--rot-text); font-weight: 700; }

/* Schluss */
.schluss { position: relative; background: var(--schiefer-950); color: #fff; overflow: hidden; }
.schluss__spur { position: absolute; left: -5%; right: -5%; top: 0; height: 6px; background: repeating-linear-gradient(90deg, #fff 0 3.5rem, transparent 3.5rem 7rem); opacity: .9; animation: spur 2.4s linear infinite; }
.schluss__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(4.5rem, 9vw, 8rem); }
.schluss__text { display: grid; gap: 1.1rem; }
.schluss__text .label { margin-bottom: 0; }
.schluss__text .lead { color: var(--schiefer-200); }
.schluss__aktion { display: grid; gap: 1.1rem; justify-items: start; }
.schluss__tel { display: grid; font-family: var(--schmal); font-weight: 800; font-size: 1.75rem; letter-spacing: .02em; line-height: 1.1; text-decoration: none; }
.schluss__tel small { font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--schiefer-300); }
.schluss__tel:hover { color: var(--gelb); }

/* ---------------------------------------------------------------- 09 Unterseiten: Kopf, Ankerleiste, Klassen */
.seitenkopf { position: relative; isolation: isolate; padding: calc(var(--kopf-h) + clamp(2.5rem, 7vw, 6rem)) 0 clamp(3rem, 7vw, 6rem); background: radial-gradient(100% 120% at 85% 110%, #2a3237 0%, var(--schiefer-900) 45%, var(--schiefer-950) 100%); color: #fff; overflow: hidden; }
.seitenkopf__spur { position: absolute; z-index: -1; left: -5%; right: -5%; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, #fff 0 3.5rem, transparent 3.5rem 7rem); animation: spur 2.4s linear infinite; }
.seitenkopf::after { content: ""; position: absolute; z-index: -1; right: -6rem; top: 50%; width: clamp(18rem, 38vw, 34rem); aspect-ratio: 48 / 44; transform: translateY(-42%) rotate(8deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 44'%3E%3Cpath d='M7 6.5h34L24 37.5z' fill='none' stroke='%23fff' stroke-width='7' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .05; }
.seitenkopf__inner { display: grid; gap: 1.2rem; justify-items: start; }
.seitenkopf .label { margin-bottom: 0; }
.seitenkopf .lead { color: var(--schiefer-200); }
.seitenkopf__siegel { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.seitenkopf__siegel li { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .9rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; font-family: var(--schmal); font-weight: 700; font-size: 1.02rem; letter-spacing: .05em; text-transform: uppercase; }
.seitenkopf__siegel .icon { color: var(--gruen); }
.krumen { display: flex; gap: .6rem; margin-bottom: .6rem; font-family: var(--schmal); font-weight: 700; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--schiefer-300); }
.krumen li + li::before { content: "/"; margin-right: .6rem; color: var(--rot); }
.krumen a { text-decoration: none; }
.krumen a:hover { color: #fff; }

.anker { position: sticky; top: var(--kopf-h); z-index: 50; background: rgba(23, 27, 30, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.anker__inner { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.anker__inner::-webkit-scrollbar { display: none; }
.anker a { position: relative; display: flex; align-items: center; gap: .7rem; flex: none; padding: .7rem 1.1rem .7rem .2rem; margin-right: .9rem; font-family: var(--schmal); font-weight: 800; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--schiefer-300); transition: color .2s; }
.anker a .picto { width: 2.6rem; --loch: var(--schiefer-900); }
.anker a::after { content: ""; position: absolute; left: 0; right: 1.1rem; bottom: 0; height: 3px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--sanft); }
.anker a:hover, .anker a[aria-current] { color: #fff; }
.anker a[aria-current]::after { transform: scaleX(1); }
.anker--text a { padding-block: 1rem; }

.gruppen { will-change: transform; }
.klasse--ziel { outline: 3px solid var(--rot); outline-offset: 3px; }
.gruppe__kopf { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gruppe__kopf .label { margin-bottom: 0; }
.gruppe__codes { display: inline-block; margin-left: .4em; font-size: .42em; font-weight: 700; letter-spacing: .1em; color: var(--schiefer-500); vertical-align: middle; }
.klassen { display: grid; gap: 1.1rem; }
.klasse { display: grid; grid-template-columns: minmax(16rem, .42fr) minmax(0, 1fr); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 rgba(20, 24, 27, .08), 0 30px 50px -42px rgba(20, 24, 27, .45); scroll-margin-top: calc(var(--kopf-h) + 5rem); }
.sek--hell .klasse { background: var(--papier); box-shadow: none; }
.klasse:target { outline: 3px solid var(--rot); outline-offset: 3px; }
.klasse__kopf { position: relative; display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 1.5rem 1rem; padding: clamp(1.4rem, 2.5vw, 2rem); background: var(--schiefer-900); color: #fff; }
.klasse__kopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 1.4rem, transparent 1.4rem 2.6rem); }
.klasse__titel { grid-column: 1 / -1; grid-row: 2; padding-bottom: .9rem; }
.klasse__code { font-family: var(--schmal); font-weight: 700; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--schiefer-300); }
.klasse__titel h3 { font-family: var(--schmal); font-weight: 900; font-size: clamp(1.8rem, 2.6vw, 2.4rem); text-transform: uppercase; line-height: .98; text-wrap: balance; }
.klasse__kopf .alter { justify-self: end; align-self: start; }
.klasse__inhalt { display: grid; gap: 1.25rem; justify-items: start; padding: clamp(1.4rem, 2.5vw, 2rem); }
.klasse__daten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; width: 100%; padding-bottom: 1.25rem; border-bottom: 1px solid var(--schiefer-200); }
.klasse__daten dt, .steckbrief dt { margin-bottom: .2rem; font-family: var(--schmal); font-weight: 700; font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; color: var(--schiefer-500); }
.klasse__daten dd { font-weight: 700; line-height: 1.35; }
.klasse__punkte { display: grid; gap: .7rem; padding-left: 1.4rem; color: #333d43; }
.klasse__punkte li { position: relative; }
.klasse__punkte li::before { content: ""; position: absolute; left: -1.4rem; top: .68em; width: .75rem; height: 3px; background: var(--rot); }
.klasse__hinweis { padding: .85rem 1.1rem; border-left: 4px solid var(--gelb); background: rgba(255, 200, 26, .14); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }
.klasse__mehr { width: 100%; }
.klasse__mehr summary { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; cursor: pointer; list-style: none; }
.klasse__mehr summary::-webkit-details-marker { display: none; }
.klasse__mehr summary .icon { color: var(--rot); transition: transform .3s var(--sanft); }
.klasse__mehr[open] summary .icon { transform: rotate(135deg); }
.klasse__mehr p { margin-top: .6rem; font-size: .98rem; color: #3c464c; max-width: 52em; }

/* Anhänger-Rechner */
.rechner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 1.1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 12px; background: var(--schiefer-900); color: #fff; }
.rechner__kopf { display: grid; align-content: start; gap: .8rem; }
.rechner__kopf .label { margin-bottom: 0; color: var(--schiefer-300); }
.rechner__kopf p:last-child { color: var(--schiefer-300); font-size: 1rem; }
.rechner__regler { display: grid; align-content: center; gap: .5rem; }
.rechner__regler label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .6rem; font-family: var(--schmal); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--schiefer-300); }
.rechner__regler output { font-weight: 900; font-size: 1.6rem; letter-spacing: 0; color: #fff; }
.rechner input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2rem; background: none; cursor: pointer; }
.rechner input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 .8rem, transparent .8rem 1.4rem); }
.rechner input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 .8rem, transparent .8rem 1.4rem); }
.rechner input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.7rem; height: 1.7rem; margin-top: calc(3px - .85rem); border-radius: 50%; background: #fff; border: .32rem solid var(--rot); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.rechner input[type="range"]::-moz-range-thumb { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; border: .32rem solid var(--rot); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.rechner__ergebnis { display: grid; align-content: center; gap: .9rem; padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 2px dashed rgba(255, 255, 255, .2); }
.rechner__balken { position: relative; height: .7rem; margin-bottom: 1.4rem; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.rechner__fuell { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 99px; background: var(--gruen); transition: width .3s var(--sanft), background-color .3s; }
.rechner__balken i { position: absolute; left: var(--p); top: -.3rem; bottom: -.3rem; width: 2px; background: #fff; }
.rechner__balken b { position: absolute; top: calc(100% + .2rem); left: 50%; transform: translateX(-50%); font-family: var(--schmal); font-style: normal; font-size: .8rem; letter-spacing: .06em; color: var(--schiefer-300); }
.rechner__summe { color: var(--schiefer-300); }
.rechner__summe strong { color: #fff; font-size: 1.15rem; }
.rechner__klasse { display: flex; align-items: center; gap: 1rem; font-family: var(--schmal); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; }
.rechner .klein { color: var(--schiefer-500); font-size: .82rem; }

/* ---------------------------------------------------------------- 10 Formulare */
.kontakt__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.kontakt__formular > .titel-m { margin-bottom: 2rem; }
.formular { display: grid; gap: 1.25rem; }
.feld { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.feld--paar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feld label, .feld legend { font-family: var(--schmal); font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: #3c464c; padding: 0; }
.feld legend { margin-bottom: .6rem; }
.pflicht { color: var(--rot-text); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 3.25rem; padding: .75rem 1rem; border: 2px solid var(--schiefer-200); border-radius: var(--radius); background: #fff; font-size: 1.05rem; transition: border-color .2s, box-shadow .2s; }
.feld textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: var(--schiefer-300); }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 4px rgba(255, 200, 26, .55); }
.feld [aria-invalid="true"] { border-color: var(--rot); background: #fff6f5; }
.feld__fehler { font-size: .9rem; font-weight: 600; color: var(--rot-text); }
.chips__liste { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; min-height: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-width: 3.6rem; min-height: 3rem; padding: .3rem .8rem; border: 2px solid var(--schiefer-200); border-radius: var(--radius); background: #fff; font-family: var(--schmal); font-weight: 900; font-size: 1.3rem; letter-spacing: .02em; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--sanft); }
.chip--breit span { padding-inline: 1.2rem; font-size: 1.1rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.chip:hover span { border-color: var(--tinte); transform: translateY(-2px); }
.chip input:checked + span { background: var(--tinte); border-color: var(--tinte); color: #fff; box-shadow: inset 0 -5px 0 var(--rot); }
.chip input:focus-visible + span { outline: 3px solid var(--gelb); outline-offset: 2px; }
.chips[data-fehler] .chips__liste { outline: 2px solid var(--rot); outline-offset: 6px; border-radius: var(--radius); }
.feld--kurs { margin-top: 1rem; max-width: 28rem; }
.feld--kurs label { font-size: .9rem; color: var(--schiefer-500); }
.zustimmung { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .98rem; color: #333d43; }
.zustimmung input { width: 1.4rem; height: 1.4rem; margin: .15rem 0 0; accent-color: var(--rot); }
.zustimmung a, .formular .klein a { color: var(--rot-text); font-weight: 700; }
.zustimmung input[aria-invalid="true"] { outline: 2px solid var(--rot); outline-offset: 2px; }
.honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.formular[data-laeuft] [data-senden] { opacity: .6; pointer-events: none; }
.meldung { margin-bottom: 1.5rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); border-left: 5px solid var(--gruen); background: #e9f8f0; font-weight: 600; }
.meldung[data-art="fehler"] { border-color: var(--rot); background: #fdeeed; }
.meldung a { color: var(--rot-text); }
.meldung strong { display: block; font-family: var(--schmal); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; margin-bottom: .2rem; }

.kontakt__karte { position: sticky; top: calc(var(--kopf-h) + 1.5rem); display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 12px; background: var(--schiefer-900); color: #fff; }
.kontakt__karte .label { margin-bottom: -.4rem; }
.kontakt__karte-titel { font-family: var(--schmal); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; line-height: 1.05; }
.haken { display: grid; gap: .55rem; }
.haken li { display: flex; gap: .7rem; }
.haken .icon { color: var(--gruen); stroke-width: 3; margin-top: .2rem; }
.kontakt__hinweis { padding: .9rem 0 1.1rem; border-block: 2px dashed rgba(255, 255, 255, .2); color: var(--schiefer-200); font-size: .98rem; }
.direkt { display: grid; gap: .5rem; }
.direkt a { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); text-decoration: none; transition: background-color .2s, border-color .2s; }
.direkt a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.direkt .icon { width: 1.5rem; height: 1.5rem; color: var(--rot); }
.direkt span { display: grid; font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.direkt small { font-family: var(--schmal); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--schiefer-300); }
.kontakt__zeiten { display: grid; gap: .6rem; padding-top: 1.25rem; border-top: 2px dashed rgba(255, 255, 255, .2); }
.kontakt__zeit strong { display: block; }

/* ---------------------------------------------------------------- 11 Unterseiten: BAA, Termine, Fahrschule, Fragen, Recht, 404 */
.kurse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.kurse__spalte { padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(20, 24, 27, .08); }
.kurse__spalte h3 { display: grid; gap: .5rem; padding-bottom: 1.1rem; margin-bottom: .6rem; border-bottom: 2px solid var(--tinte); font-family: var(--schmal); font-weight: 900; font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
.kurse__nr { font-size: 1rem; letter-spacing: .12em; color: var(--rot-text); }
.kurse__spalte li { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--papier-2); font-weight: 700; font-size: 1.08rem; }
.kurse__spalte li:last-child { border-bottom: 0; }
.kurse__spalte li > span { margin-right: auto; }
.kurse__spalte .icon { color: var(--gruen); stroke-width: 3; }
.kurse__spalte small { font-family: var(--schmal); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--schiefer-500); white-space: nowrap; }
.kurse__spalte small.neu { padding: .2rem .55rem; border-radius: 99px; background: var(--gelb); color: var(--tinte); }
.foerder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.foerder__text { display: grid; gap: 1.1rem; color: var(--schiefer-200); }
.foerder__text .btns { margin-top: .6rem; }

.theorien { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.theorie__zeit { display: grid; font-size: 1.1rem; }
.theorie__zeit span { font-family: var(--schmal); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.theorie address { display: flex; align-items: center; gap: .6rem; padding-top: 1rem; border-top: 2px dashed var(--schiefer-200); width: 100%; color: #3c464c; }
.theorie address .icon { color: var(--rot); }

.termine { display: grid; gap: .6rem; }
.termine__leer { padding: 1.5rem 1.75rem; border: 2px dashed var(--schiefer-300); border-radius: 12px; font-size: 1.1rem; max-width: 48rem; }
.termine__leer a { color: var(--rot-text); font-weight: 700; }
.termine__gruppe { margin: 1.75rem 0 .4rem; font-family: var(--schmal); font-weight: 800; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--schiefer-500); }
.termine__gruppe:first-child { margin-top: 0; }
.termin { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.5rem; padding: 1rem 1.5rem 1rem 1rem; border-radius: 12px; background: var(--papier); transition: transform .3s var(--sanft); }
.sek--papier .termin { background: #fff; }
.termin:hover { transform: translateX(6px); }
.termin__datum { display: grid; justify-items: center; padding: .55rem .4rem .5rem; border-radius: 8px; background: var(--schiefer-900); color: #fff; font-family: var(--schmal); line-height: 1; box-shadow: inset 0 5px 0 var(--rot); }
.termin__datum b { font-weight: 900; font-size: 2.3rem; }
.termin__datum span { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--schiefer-300); }
.termin h3 { font-family: var(--schmal); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; line-height: 1.05; }
.termin p { color: var(--schiefer-500); font-size: .98rem; }
.termin__in { font-family: var(--schmal); font-weight: 800; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 99px; border: 2px solid var(--schiefer-200); white-space: nowrap; }
.termin__in[data-bald] { background: var(--gelb); border-color: var(--gelb); }

.ueber { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ueber__text { display: grid; gap: 1.2rem; justify-items: start; }
.ueber__text .label { margin-bottom: 0; }
.ueber__text > p:not(.lead):not(.label) { color: #333d43; max-width: 40em; }
.steckbrief { border-top: 2px solid var(--tinte); }
.steckbrief > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--schiefer-200); }
.steckbrief dt { margin: .3rem 0 0; }
.steckbrief dd { font-weight: 700; }
.flotte { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; }
.flotte li { display: grid; justify-items: center; gap: .9rem; padding: 1.5rem .8rem 1.2rem; border-radius: 12px; background: var(--papier); font-family: var(--schmal); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; text-align: center; line-height: 1.1; transition: background-color .3s, color .3s, transform .3s var(--sanft); }
.flotte .picto { width: min(100%, 6rem); --loch: var(--papier); transition: transform .5s var(--sanft); }
.flotte li:hover { background: var(--schiefer-900); color: #fff; transform: translateY(-4px); }
.flotte li:hover .picto { --loch: var(--schiefer-900); transform: translateX(6px); }

.faq { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.faq > * { max-width: 58rem; }
.faq__block { scroll-margin-top: calc(var(--kopf-h) + 5rem); }
.faq__block .titel-m { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.faq__nr { font-size: 1rem; letter-spacing: .12em; color: var(--rot-text); }
.faq__mehr { display: grid; gap: 1rem; justify-items: start; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 12px; background: #fff; }

.recht { display: grid; gap: 1rem; }
.recht > * { max-width: 48rem; }
.recht h2 { margin-top: 1.75rem; font-family: var(--schmal); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1.05; scroll-margin-top: calc(var(--kopf-h) + 2rem); }
.recht h2:first-of-type { margin-top: 0; }
.recht h3 { margin-top: .75rem; font-family: var(--schmal); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; }
.recht a { color: var(--rot-text); font-weight: 600; overflow-wrap: anywhere; }
.markiert { background: #ffe680; box-shadow: 0 0 0 3px #ffe680; border-radius: 2px; }

.fehler { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--kopf-h) + 3rem) 0 4rem; background: radial-gradient(90% 90% at 50% 100%, #2a3237, var(--schiefer-950)); color: #fff; }
.fehler__inner { display: grid; gap: 1.3rem; justify-items: start; }
.fehler__schild { display: grid; place-items: center; width: clamp(8rem, 18vw, 12rem); aspect-ratio: 1; border-radius: 50%; background: #fff; border: clamp(1rem, 2.4vw, 1.6rem) solid var(--rot); color: #111; font-family: var(--schmal); font-weight: 900; font-size: clamp(2.5rem, 6vw, 4rem); box-shadow: 0 0 0 3px #fff, 0 30px 50px -20px #000; transform: rotate(-6deg); }
.fehler .lead { color: var(--schiefer-200); }

/* ---------------------------------------------------------------- 12 Fuß & mobile Leiste */
.fuss { position: relative; background: var(--schiefer-950); color: var(--schiefer-200); font-size: 1rem; }
.fuss__linie { height: 1px; background: rgba(255, 255, 255, .1); }
.fuss__oben { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem); }
.fuss__marke { display: grid; gap: 1.25rem; align-content: start; }
.fuss__marke img { width: 15rem; }
.fuss__claim { max-width: 22rem; color: var(--schiefer-300); }
.fuss__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.fuss h2 { display: grid; margin-bottom: 1rem; font-family: var(--schmal); font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1.05; }
.fuss h2 small { order: -1; font-size: .78rem; letter-spacing: .16em; color: var(--rot); }
.fuss address, .fuss__spalten ul { display: grid; gap: .5rem; justify-items: start; }
.fuss a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.fuss a:hover { color: #fff; }
.fuss__zeit { color: var(--schiefer-300); }
.fuss__unten { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: var(--schiefer-300); }
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-left: auto; }
.agentur { display: inline-flex; align-items: center; gap: .6rem; opacity: .75; }
.agentur:hover { opacity: 1; }

.leiste { display: none; }

/* ---------------------------------------------------------------- 13 Bewegung */
.js .zeig { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--sanft) var(--v, 0s), transform .8s var(--sanft) var(--v, 0s); }
.js .zeig.sichtbar { opacity: 1; transform: none; }
.hero__zeile > span { animation: hoch .9s var(--sanft) both; }
.hero__zeile:nth-child(2) > span { animation-delay: .1s; }
.hero__zeile:nth-child(3) > span { animation-delay: .2s; }
.hero .label, .hero__lead, .hero__btns, .hero__punkte, .hero__seite { animation: auf .9s var(--sanft) .35s both; }
.hero__lead { animation-delay: .45s; }
.hero__btns { animation-delay: .55s; }
.hero__punkte { animation-delay: .65s; }
.hero__seite { animation-delay: .3s; }
.band__teil { animation: auf .6s var(--sanft) both; animation-delay: calc(.7s + var(--i, 0) * .04s); }
@keyframes hoch { from { transform: translateY(110%); } }
@keyframes auf { from { opacity: 0; transform: translateY(18px); } }

/* Sehr breite Bildschirme: Klassen und Scheine in einer Reihe, getrennt durch eine Linie */
@media (min-width: 118rem) {
  .band__spur { column-gap: .7rem; }
  .band__teil .plakette { --b: min(4.7rem, calc((100cqi - 2 * var(--rand) - 15rem) / 20)); }
  .band__umbruch { flex-basis: 2px; height: auto; align-self: stretch; margin-inline: .6rem; background: rgba(255, 255, 255, .25); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .hero__fahrbahn, .profi::before, .schluss__spur, .seitenkopf__spur { animation: none !important; }
  .js .zeig { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- Kleinere Bildschirme */
@media (max-width: 80rem) {
  .band__teil .plakette { --b: 4.2rem; }   /* schmaler: Schilder brechen frei um */
}

@media (max-width: 68rem) {
  .nav, .kopf__tel { display: none; }
  .burger { display: inline-flex; }
  .kopf__rechts { gap: .5rem; }
  .gruende { grid-template-columns: repeat(2, 1fr); }
  .grund { padding-bottom: 2rem; }
  .grund:nth-child(2n) { border-right: 0; margin-right: 0; padding-right: 0; }
  .grund:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .grund__nr { margin-bottom: 1.5rem; }
  .orte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buero { grid-column: 1 / -1; }
  .fuss__oben { grid-template-columns: 1fr; }
  .rechner { grid-template-columns: 1fr 1fr; }
  .rechner__kopf { grid-column: 1 / -1; }
  .flotte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kurse { grid-template-columns: 1fr 1fr; }
  .scheine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 56rem) {
  :root { --kopf-h: 4.25rem; }
  .marke { margin-top: .35rem; }
  .marke__logo { height: 4.7rem; }
  .kopf[data-zustand="unten"] .marke__logo, .menue-offen .marke__logo { height: 3.55rem; }
  body { padding-bottom: calc(4.1rem + env(safe-area-inset-bottom)); }
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 2.25rem; gap: 2.5rem; }
  .hero__logo { width: min(86%, 24rem); }
  .hero__titel { font-size: 15.6cqi; white-space: normal; }
  .hero__fahrbahn, .hero__strasse::after { left: 50%; }
  .hero__strasse::before, .hero__strasse::after, .hero__fahrbahn { top: 34rem; }
  /* Handy/Tablet: alle Klassen-Schilder auf einmal zeigen (umbrechen statt seitlich wischen) */
  .band__spur { gap: .6rem; }
  .band__teil .plakette { --b: min(4.4rem, calc((100cqi - 2 * var(--rand) - 2.4rem - 1px) / 5)); }
  .sek__kopf--zweispaltig, .weg__grid, .profi__inner, .faq-kurz, .schluss__inner, .kontakt__grid, .ueber, .foerder { grid-template-columns: 1fr; }
  .sek__kopf--zweispaltig > .btn { justify-self: start; }
  .weg__kopf, .kontakt__karte { position: static; }
  .zeile { grid-template-columns: 4rem 1fr; }
  .zeile__text { grid-column: 2; }
  .zeile:hover { padding-inline: 0; background: none; }
  .klasse { grid-template-columns: 1fr; }
  .klasse__kopf { grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
  .klasse__titel { grid-column: 2; grid-row: 1; padding-bottom: .6rem; }
  .klasse__kopf .alter { grid-column: 3; align-self: center; }
  .klasse .plakette--xl { --b: 5.5rem; }
  .rechner { grid-template-columns: 1fr; }
  .rechner__ergebnis { padding: 1.5rem 0 0; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .2); }
  .fuss__spalten { grid-template-columns: 1fr 1fr; }
  .fuss__unten ul { margin-left: 0; }
  .kurse { grid-template-columns: 1fr; }
  .scheine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__reiterleiste { grid-template-columns: repeat(3, 1fr); }
  .finder__reiter { border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .finder__reiter:nth-child(3n) { border-right: 0; }

  .leiste { position: fixed; inset: auto 0 0 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr 1.2fr; padding-bottom: env(safe-area-inset-bottom); background: rgba(15, 18, 20, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: transform .35s var(--sanft); }
  .leiste a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 4.1rem; font-family: var(--schmal); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-right: 1px solid rgba(255, 255, 255, .1); }
  .leiste__haupt { background: var(--rot); border-right: 0 !important; }
  .menue-offen .leiste { transform: translateY(110%); }
}

@media (max-width: 36rem) {
  body { font-size: 1rem; }
  .kopf .btn--klein { display: none; }
  .hero__btns .btn { width: 100%; }
  .gruende { grid-template-columns: 1fr; }
  .grund { border-right: 0; margin-right: 0; padding-right: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .grund:first-child { border-top: 0; }
  .orte, .theorien { grid-template-columns: 1fr; }
  .route { --spur: 2.75rem; padding-left: calc(var(--spur) + 1.1rem); }
  .route__halt { padding: 1.25rem 1.25rem 1.3rem; }
  .route__halt::before { width: 1.1rem; }
  .route__schild { left: calc(-1.1rem - var(--spur) / 2); width: 2.3rem; height: 2.3rem; font-size: 1.2rem; }
  .kkarte { gap: .8rem; padding-right: .8rem; }
  .kkarte .icon--pfeil { display: none; }
  .kkarte .plakette--gross { --b: 4.6rem; }
  .klasse__daten { grid-template-columns: 1fr; gap: .8rem; }
  .klasse__kopf { grid-template-columns: auto 1fr; }
  .klasse__kopf .alter { grid-column: 2; grid-row: 1; justify-self: end; }
  .klasse__titel { grid-column: 1 / -1; grid-row: 2; }
  .feld--paar { grid-template-columns: 1fr; }
  .scheine { grid-template-columns: 1fr; gap: .7rem; }
  .schein { grid-template-rows: none; grid-template-columns: 7.4rem minmax(0, 1fr); }
  .schein__schild { padding: 1rem .6rem; }
  .schein__schild::after { left: auto; top: 0; bottom: 0; right: 0; width: 5px; height: auto !important; }
  .schein--gelb .schein__schild::after { width: 6px; }
  .schein .plakette { --b: 5.4rem; }
  .schein__text { padding: 1rem 1.1rem; }
  .flotte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__spalten { grid-template-columns: 1fr; }
  .steckbrief > div { grid-template-columns: 1fr; gap: .1rem; }
  .termin { grid-template-columns: 5rem 1fr; padding: .8rem; }
  .termin__in { grid-column: 2; justify-self: start; }
  .termin__datum b { font-size: 1.9rem; }
  .frage__antwort { padding-right: 0; }
  .formular__fuss .btn { width: 100%; }
}
