/* =====================================================================================
   Vorlage 47 Elektro-Autohaus · Bautyp Bühne
   1 Basis · 2 Kopf · 3 Knöpfe · 4 Kapitel und Auftritt · 5 Ihr Wagen (Bühne und Wahl)
   6 Laden (klebender Abschnitt) · 7 Probefahrt · 8 Werkstatt · 9 Gebrauchte · 10 Jobs · 11 Besuch
   12 Kapitelleiste · 13 Fuß · 14 Handy · 15 Bewegungsstufen
   ===================================================================================== */

/* ---------- 1 · Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--graphit); color: var(--text-hell); font-family: var(--schrift); -webkit-text-size-adjust: 100%; scroll-padding-top: var(--kopf); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-size: 16.5px; line-height: 1.6; font-weight: 400; overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--elektro-glut); outline-offset: 3px; border-radius: 6px; }
.hell :focus-visible { outline-color: var(--elektro-tief); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--weiss); color: var(--text); padding: 10px 16px; border-radius: 10px; }
.sprung:focus { top: 12px; }
.vorzeile { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--elektro-hell); margin: 0 0 14px; }
.hell .vorzeile { color: var(--elektro-tief); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--leise-hell); line-height: 1.6; max-width: 40em; }
.hell .lead { color: var(--muted); }
b, strong { font-weight: 600; }

/* ---------- 2 · Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; height: var(--kopf); background: rgba(15, 17, 20, .94); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.kopf-innen { max-width: var(--breite); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-hell); min-height: 44px; }
.logo svg { width: 38px; height: 23px; }
.logo span { font-weight: 600; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; display: flex; flex-direction: column; }
.logo small { font-size: 11px; font-weight: 400; letter-spacing: .08em; color: var(--leise-hell); text-transform: uppercase; }
.kopf-tel { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text-hell); font-weight: 500; font-variant-numeric: tabular-nums; }
.kopf-tel .punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--ladegruen); box-shadow: 0 0 0 4px rgba(61, 220, 151, .16); }

/* ---------- 3 · Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--elektro); color: #fff; font: 600 15px/1.2 var(--schrift); text-decoration: none; cursor: pointer; transition: background .25s, transform .25s var(--weich); }
.knopf:hover { background: var(--elektro-tief); }
.knopf:active { transform: scale(.98); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 14px; }
.knopf-rand { background: transparent; color: var(--elektro-tief); box-shadow: inset 0 0 0 1.5px currentColor; }
.knopf-rand:hover { background: rgba(31, 79, 209, .08); }
.knopf-text { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--leise-hell); font: 500 14px var(--schrift); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(154, 165, 177, .4); }
.knopf-text:hover { color: var(--text-hell); }

/* ---------- 4 · Kapitel und Auftritt ---------- */
.kapitel { position: relative; min-height: 100svh; padding: clamp(80px, 11vh, 128px) 24px calc(var(--leiste) + 64px); }
.kapitel.hell { background: var(--eisweiss); color: var(--text); }
.kapitel-service, .kapitel-jobs { background: var(--graphit-2); }
.kapitel-innen { width: 100%; max-width: var(--breite); margin: 0 auto; }
.kapitel-probefahrt, .kapitel-service, .kapitel-gebraucht, .kapitel-jobs, .kapitel-besuch { display: flex; flex-direction: column; justify-content: center; }
.kapitel h2 { margin-bottom: 18px; }

/* Einblenden aus der Tiefe: nur mit JavaScript, nicht bei „starr" (main.js setzt .ist-da) */
.js:not([data-bewegung="starr"]) [data-auftritt] { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .8s var(--weich), transform .9s var(--weich); }
.js:not([data-bewegung="starr"]) [data-auftritt].ist-da { opacity: 1; transform: none; }

/* ---------- 5 · Ihr Wagen: Bühne und Wahl ---------- */
.kapitel-wagen { min-height: calc(100svh - var(--kopf)); padding: clamp(20px, 3vh, 36px) 24px calc(var(--leiste) + 8px); background: var(--graphit); overflow: clip; display: flex; flex-direction: column; isolation: isolate; }
.buehne-licht { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 34% 62% at 50% -6%, rgba(206, 222, 242, .17), rgba(206, 222, 242, .045) 55%, transparent 76%),
    radial-gradient(ellipse 70% 30% at 50% 100%, rgba(42, 98, 240, .07), transparent 70%); }
.wagen-kopf { text-align: center; max-width: 820px; margin: 0 auto; }
.wagen-kopf h1 { font-size: clamp(32px, 4.1vw, 56px); }
.anleitung { color: var(--leise-hell); font-size: 17px; margin: 14px auto 0; }

.wagen-flaeche { position: relative; width: clamp(320px, min(94vw, (100svh - 520px) * 2.3), 1120px); aspect-ratio: 1080 / 470; margin: 6px auto 0; isolation: isolate; }
.wagen-flaeche::before { content: ""; position: absolute; z-index: -1; left: -30%; right: -30%; top: 66%; height: 60%; pointer-events: none;
  background: radial-gradient(ellipse 46% 34% at 50% 18%, rgba(160, 186, 222, .16), rgba(160, 186, 222, .04) 60%, transparent 72%); }
.wagen-flaeche > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }

/* Felgen: im SVG-<use> greifen keine Nachfahren-Regeln, deshalb über geerbte Variablen */
:root { --f-aero: 0; --f-turbine: 1; --f-sport: 0; }
[data-felge="aero"] { --f-aero: 1; --f-turbine: 0; --f-sport: 0; }
[data-felge="sport"] { --f-aero: 0; --f-turbine: 0; --f-sport: 1; }
.felge { transition: opacity .5s var(--weich); }
.felge-aero { opacity: var(--f-aero); }
.felge-turbine { opacity: var(--f-turbine); }
.felge-sport { opacity: var(--f-sport); }

.wagen-flaeche.auftritt { animation: wagen-auftritt 1.2s var(--weich) both; }
@keyframes wagen-auftritt { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.wagen-licht { pointer-events: none; }
.lichtband { transform: translateX(0); display: none; }
.licht-laeuft .lichtband { display: inline; }
.licht-laeuft .lichtband { animation: lichtband 1.5s cubic-bezier(.45, .05, .35, 1) both; }
@keyframes lichtband { from { transform: translateX(0); } to { transform: translateX(1480px); } }

.akku-blick { transition: opacity .6s var(--weich); pointer-events: none; }
.js .akku-blick, .js .akku-schild, .js .vorfuehrung { opacity: 0; }
[data-akku="64"] .akku-82, [data-akku="82"] .akku-64 { display: none; }
.zeigt-akku .akku-blick { opacity: 1; }
.akku-schild { position: absolute; left: 50%; top: 87%; transform: translate(-50%, 6px); margin: 0; font-size: 13px; font-weight: 500; color: var(--elektro-glut); transition: opacity .5s, transform .6s var(--weich); white-space: nowrap; pointer-events: none; }
.zeigt-akku .akku-schild { opacity: 1; transform: translate(-50%, 0); }
.vorfuehrung { position: absolute; left: 50%; top: 2%; transform: translateX(-50%); margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: var(--leise-hell); white-space: nowrap; transition: opacity .5s; pointer-events: none; }
.vorfuehrung-an .vorfuehrung { opacity: 1; }

/* Die Wahl */
.wahl { position: relative; width: 100%; max-width: 1200px; margin: 4px auto 0; padding-top: 18px; border-top: 1px solid var(--linie-dunkel); display: grid; grid-template-columns: auto auto auto 1fr; gap: 0; align-items: start; }
.wahl-gruppe { border: 0; margin: 0; padding: 0 28px; min-width: 0; border-left: 1px solid var(--linie-dunkel); }
.wahl-gruppe:first-child { padding-left: 0; border-left: 0; }
.wahl-gruppe legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--leise-hell); }
.wahl-name { margin-left: 8px; letter-spacing: 0; text-transform: none; color: var(--text-hell); font-size: 13px; }
.farben, .pillen { display: flex; gap: 6px; flex-wrap: wrap; }
.farben input, .pillen input, .karten-wahl input, .zeiten-wahl input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
.farbe { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: box-shadow .3s var(--weich); }
.farbe::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, var(--f1), var(--f2) 52%, var(--f3) 100%); box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .08); transition: transform .3s var(--weich); }
.farbe:hover::before { transform: scale(1.06); }
input:checked + .farbe { box-shadow: 0 0 0 1.5px var(--text-hell); }
input:focus-visible + .farbe, input:focus-visible + label { outline: 2px solid var(--elektro-glut); outline-offset: 2px; }
.pillen label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: var(--radius-klein); border: 1px solid var(--linie-dunkel); color: var(--leise-hell); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.pillen label:hover { color: var(--text-hell); border-color: #46505b; }
.pillen input:checked + label { background: var(--text-hell); color: var(--graphit); border-color: var(--text-hell); }

.wahl-zurueck { display: flex; justify-content: flex-end; align-self: end; }
.wahl-ergebnis { grid-column: 1 / -1; grid-row: 2; display: flex; gap: clamp(28px, 4vw, 64px); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--linie-dunkel); min-width: 0; }
.wert { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.wert-name { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--leise-hell); white-space: nowrap; }
.wert b { font-size: clamp(24px, 2.3vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wert-preis b { color: var(--text-hell); }
.wahl-fuss .knopf { white-space: nowrap; }
.wahl-fuss { grid-column: 1 / -1; grid-row: 2; justify-self: end; align-self: end; display: flex; }
.wahl-hinweis { grid-column: 1 / -1; margin: 10px 0 0; font-size: 12px; color: var(--leise-hell); }

/* ---------- 6 · Laden, verständlich (js/laden.js) ---------- */
.kapitel-laden { padding-left: 0; padding-right: 0; padding-bottom: 40px; background: var(--graphit); }
.laden-kopf { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 24px 48px; }
.laden-kopf .lead { margin: 0 auto; }
.laden-spur { position: relative; display: grid; grid-template-columns: minmax(320px, 34%) 1fr; max-width: calc(var(--breite) + 48px); margin: 0 auto; padding: 0 24px; }
.laden-buehne { grid-column: 2; grid-row: 1; position: sticky; top: var(--kopf); height: calc(100svh - var(--kopf)); display: flex; align-items: center; justify-content: center; padding: 24px 40px 90px 8px; overflow: hidden; }
.laden-schritte { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; }
.lschritt { padding: 56px 32px 56px 0; }
.lschritt-nr { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--elektro-hell); margin-bottom: 12px; }
.lschritt h3 { font-size: clamp(26px, 2.5vw, 36px); letter-spacing: -.02em; margin-bottom: 18px; }
.lschritt p { color: var(--leise-hell); font-size: 17px; }
.lschritt .satz { color: var(--text-hell); }
.lschritt-fuss { margin-top: 24px; }

.lb-szene { width: min(100%, calc((100svh - var(--kopf) - 130px) / .72)); display: flex; flex-direction: column; gap: 8px; }
.lb-anzeigen { position: relative; aspect-ratio: 1000 / 380; }
.lb-boden { position: relative; aspect-ratio: 1000 / 340; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.lb-boden::before { content: ""; position: absolute; inset: 60% -10% -10%; background: radial-gradient(ellipse 50% 40% at 62% 25%, rgba(150, 178, 220, .12), transparent 70%); }
.lb-ebene { position: absolute; inset: 0; width: 100%; height: 100%; }
.lb-garage, .lb-wallbox { display: none; }
.laden-an .lb-garage, .laden-an .lb-wallbox { display: block; opacity: 0; }
html:not(.js) .akku-blick, html:not(.js) .akku-schild, html:not(.js) .vorfuehrung { display: none; }

.anzeige { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: center; padding: 0 2% 2% 2%; }
.anzeige.az-2, .laden-an .anzeige { display: flex; }
.laden-an .anzeige { opacity: 0; visibility: hidden; }
.az-titel { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--leise-hell); margin: 0 0 10px; }
.az-gross { margin: 0 0 8px; font-size: clamp(54px, 6.4vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.az-gross span { font-size: .42em; font-weight: 500; color: var(--leise-hell); margin-left: 6px; letter-spacing: 0; }
.az-leiste { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.az-fuellung { display: block; height: 100%; background: linear-gradient(90deg, var(--elektro), var(--elektro-glut)); transform-origin: 0 50%; }
.az-achse { display: flex; justify-content: space-between; font-size: 12px; color: var(--leise-hell); margin: 8px 0 12px; font-variant-numeric: tabular-nums; }
.az-unter { margin: 10px 0 0; font-size: 15px; color: var(--leise-hell); font-variant-numeric: tabular-nums; }
.az-unter b { color: var(--text-hell); font-weight: 600; }

.az-kurve-feld { position: relative; flex: 1; min-height: 0; margin: 4px 0 22px 56px; }
.az-kurve { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.az-punkt { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(156, 192, 255, .35), 0 0 18px rgba(107, 151, 255, .8); left: 98.3%; top: 49.3%; }
.az-y { position: absolute; left: -56px; top: 0; bottom: 0; width: 50px; font-size: 11.5px; color: var(--leise-hell); font-variant-numeric: tabular-nums; }
.az-y span { position: absolute; left: 0; transform: translateY(-50%); white-space: nowrap; }
.az-x { position: absolute; left: 6.7%; right: 0; bottom: -22px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--leise-hell); }

.az-akku { position: relative; height: 46%; min-height: 64px; border: 2px solid rgba(255, 255, 255, .32); border-radius: 18px; margin-right: 18px; }
.az-akku::after { content: ""; position: absolute; right: -12px; top: 32%; bottom: 32%; width: 8px; border-radius: 0 5px 5px 0; background: rgba(255, 255, 255, .32); }
.az-akku-fuellung { position: absolute; inset: 6px; border-radius: 11px; background: linear-gradient(90deg, #1f4fd1, var(--elektro-hell) 70%, var(--ladegruen)); transform-origin: 0 50%; transform: scaleX(.8); }
.az-akku-marke { position: absolute; top: -10px; bottom: -10px; width: 1px; background: rgba(255, 255, 255, .45); }
.az-akku-10 { left: calc(6px + (100% - 12px) * .1); }
.az-akku-80 { left: calc(6px + (100% - 12px) * .8); }
.az-akku-zahl { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: clamp(34px, 4vw, 60px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }

.az-strecke { display: grid; grid-template-columns: 140px 1fr 86px; gap: 16px 18px; align-items: center; }
.az-strecke-zeile { display: contents; }
.az-strecke-name { font-size: 14px; color: var(--leise-hell); }
.az-strecke-bahn, .az-kosten-bahn { position: relative; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.az-strecke-balken, .az-kosten-balken { position: absolute; inset: 0; border-radius: 6px; transform-origin: 0 50%; }
#az4-sommer { background: linear-gradient(90deg, #c27a12, var(--bernstein)); transform: scaleX(.8667); }
#az4-winter { background: linear-gradient(90deg, #3a78c9, var(--eis)); transform: scaleX(.6667); }
.az-strecke b, .az-kosten b { font-size: 20px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.az-sommer b { color: var(--bernstein); }
.az-winter b { color: var(--eis); }
.az-orte { grid-column: 2; position: relative; height: 34px; }
.az-orte span { position: absolute; left: calc(var(--km) / 600 * 100%); top: 0; padding-top: 12px; font-size: 12px; color: var(--leise-hell); transform: translateX(-50%); white-space: nowrap; transition: color .3s; }
.az-orte span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 8px; background: currentColor; }
.az-orte span.erreicht { color: var(--text-hell); }

.az-kosten { display: grid; grid-template-columns: 120px 1fr 96px; gap: 18px; align-items: center; }
.az-kosten-zeile { display: contents; }
.az-kosten-zeile > span:first-child { font-size: 14px; color: var(--leise-hell); }
.az-kosten-balken { transform: scaleX(var(--w)); }
.k-haus { background: var(--elektro); }
.k-schnell { background: var(--elektro-glut); }
.k-benzin { background: var(--karmin); }

/* klebend und an den Scroll gekoppelt (laden.js setzt .laden-an) */
.laden-an .lschritt { min-height: calc(100svh - var(--kopf)); display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.laden-an .lschritt-text { transition: opacity .3s; }
.laden-an .anzeige, .laden-an .lb-ebene { will-change: opacity; }

/* ---------- 7 · Probefahrt (hell) ---------- */
.probefahrt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.haken-liste { list-style: none; padding: 0; margin: 28px 0 0; }
.haken-liste li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--linie-hell); }
.haken-liste li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--elektro-tief); border-bottom: 2px solid var(--elektro-tief); transform: rotate(-45deg); }
.probefahrt-form { background: var(--weiss); border-radius: var(--radius-gross); padding: clamp(24px, 3vw, 40px); box-shadow: 0 1px 0 rgba(18, 21, 25, .04), 0 24px 60px -30px rgba(18, 21, 25, .25); }
.feld { margin-bottom: 18px; min-width: 0; }
.feld label, .feld-name { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.feld input:not([type="radio"]), .feld textarea, .feld select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--linie-hell); border-radius: var(--radius-klein); background: #fff; color: var(--text); font: 16px var(--schrift); }
.feld textarea { resize: vertical; }
.feld textarea[readonly] { background: var(--eisweiss); color: var(--muted); font-size: 14px; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--elektro-tief); outline-offset: 1px; border-color: transparent; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.karten-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.karten-wahl label { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--linie-hell); border-radius: var(--radius); cursor: pointer; color: var(--text); margin: 0; transition: border-color .3s, box-shadow .3s; }
.karten-wahl label b { font-size: 16px; }
.karten-wahl small { font-size: 13px; color: var(--muted); }
.karten-wahl input:checked + label { border-color: var(--elektro-tief); box-shadow: inset 0 0 0 1px var(--elektro-tief); }
.zeiten-wahl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.zeiten-wahl label { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 6px; margin: 0; border: 1px solid var(--linie-hell); border-radius: var(--radius-klein); color: var(--text); font-size: 15px; cursor: pointer; font-variant-numeric: tabular-nums; transition: background .3s, color .3s; }
.zeiten-wahl input:checked + label { background: var(--text); color: #fff; border-color: var(--text); }
.haken { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 6px 0 20px; }
.haken input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--elektro-tief); }
.formular-fuss { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.formular-meldung { margin: 0; font-size: 14px; color: var(--elektro-tief); font-weight: 500; }
.js:not([data-bewegung="starr"]) .probefahrt-form:not(.ist-da) .zeiten-wahl label { opacity: 0; transform: translateY(8px); }
.zeiten-wahl label { transition: opacity .5s var(--weich), transform .6s var(--weich), background .3s, color .3s; }
.zeiten-wahl label:nth-of-type(2) { transition-delay: 70ms, 70ms, 0s, 0s; }
.zeiten-wahl label:nth-of-type(3) { transition-delay: 140ms, 140ms, 0s, 0s; }
.zeiten-wahl label:nth-of-type(4) { transition-delay: 210ms, 210ms, 0s, 0s; }

/* ---------- 8 · Werkstatt (dunkel) ---------- */
.service-kopf, .gebraucht-kopf, .jobs-kopf, .besuch-kopf { max-width: 760px; margin-bottom: 48px; }
.leistungen { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.leistungen > div { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 4px 20px; padding: 22px 0; }
.leistungen > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--linie-dunkel); transform-origin: 0 50%; transition: transform .9s var(--weich); }
.js:not([data-bewegung="starr"]) .leistungen:not(.ist-da) > div::before { transform: scaleX(0); }
.leistungen > div:nth-child(2)::before { transition-delay: .08s; } .leistungen > div:nth-child(3)::before { transition-delay: .16s; }
.leistungen > div:nth-child(4)::before { transition-delay: .24s; } .leistungen > div:nth-child(5)::before { transition-delay: .32s; }
.leistungen > div:nth-child(6)::before { transition-delay: .4s; }
.leistungen dt { font-weight: 600; font-size: 18px; }
.leistungen dd { margin: 0; color: var(--leise-hell); font-size: 15px; grid-column: 1; }
.leistungen dd.preis { grid-column: 2; grid-row: 1; color: var(--text-hell); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zahlen { list-style: none; margin: 64px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linie-dunkel); border-bottom: 1px solid var(--linie-dunkel); }
.zahlen li { padding: 28px 0 28px 24px; border-left: 1px solid var(--linie-dunkel); }
.zahlen li:first-child { border-left: 0; padding-left: 0; }
.zahlen b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.zahlen span { display: block; margin-top: 10px; color: var(--leise-hell); font-size: 14px; }
.service-unten { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 24px; align-items: stretch; }
.stimme { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--graphit-3); display: flex; flex-direction: column; justify-content: space-between; }
.stimme blockquote { margin: 0 0 20px; font-size: 17px; line-height: 1.55; }
.stimme blockquote p { margin: 0; }
.stimme figcaption { font-size: 13px; color: var(--leise-hell); }

.bild-platzhalter { margin: 0; border-radius: var(--radius); overflow: hidden; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 24px), var(--graphit-3); border: 1px dashed #3d444d; display: flex; flex-direction: column; }
.bild-platzhalter .platz { flex: 1; min-height: 180px; display: grid; place-items: center; padding: 20px; text-align: center; font-size: 14px; color: var(--leise-hell); }
.bild-platzhalter figcaption { padding: 10px 16px 14px; font-size: 12px; color: var(--leise-hell); border-top: 1px dashed #3d444d; }
.hell .bild-platzhalter { background: repeating-linear-gradient(135deg, rgba(18, 21, 25, .035) 0 12px, transparent 12px 24px), #e2e8ee; border-color: #b8c2cc; }
.hell .bild-platzhalter .platz, .hell .bild-platzhalter figcaption { color: var(--muted); }
.hell .bild-platzhalter figcaption { border-color: #b8c2cc; }

/* ---------- 9 · Gebrauchte (hell) ---------- */
.angebote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.angebot { background: var(--weiss); border-radius: var(--radius-gross); overflow: hidden; box-shadow: 0 24px 60px -36px rgba(18, 21, 25, .35); display: flex; flex-direction: column; }
.angebot .bild-platzhalter { border-radius: 0; border: 0; border-bottom: 1px dashed #b8c2cc; }
.angebot .bild-platzhalter .platz { min-height: 200px; }
.angebot-text { padding: 22px 24px 24px; }
.angebot-text h3 { font-size: 20px; margin-bottom: 6px; }
.angebot-daten { color: var(--muted); font-size: 14px; }
.angebot-unten { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--linie-hell); }
.angebot-unten p { margin: 0; }
.akku-ring { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.akku-ring svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.akku-ring circle { fill: none; stroke: var(--linie-hell); stroke-width: 4; }
.akku-ring .ring { stroke: var(--elektro-tief); stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--soh)); transition: stroke-dashoffset 1.4s var(--weich) .3s; }
.js:not([data-bewegung="starr"]) .angebot:not(.ist-da) .ring { stroke-dashoffset: 1; }
.akku-ring b { display: block; font-size: 17px; color: var(--text); }
.angebot-preis { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.inzahlung { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--linie-hell); }
.inzahlung p { margin: 0; color: var(--muted); }
.inzahlung b { color: var(--text); }

/* ---------- 10 · Jobs (dunkel) ---------- */
.jobs { border-top: 1px solid var(--linie-dunkel); }
.job { border-bottom: 1px solid var(--linie-dunkel); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 20px; min-height: 84px; padding: 16px 0; }
.job summary::-webkit-details-marker { display: none; }
.job summary::after { content: ""; width: 14px; height: 14px; justify-self: end; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; color: var(--elektro-hell); transition: transform .4s var(--weich); }
.job[open] summary::after { transform: rotate(45deg); }
.job-titel { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.01em; }
.job-meta { font-size: 14px; color: var(--leise-hell); white-space: nowrap; }
.job-inhalt { padding: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.job-inhalt ul { margin: 0; padding-left: 18px; color: var(--leise-hell); }
.job-inhalt li { margin-bottom: 6px; }
.job-gehalt { margin: 0; padding: 16px 20px; border-radius: var(--radius-klein); background: var(--graphit-3); font-size: 15px; align-self: start; }
.bewerben { margin-top: 48px; display: grid; grid-template-columns: 1fr 2fr; gap: 20px 32px; align-items: start; }
.bewerben > p { grid-column: 2; margin: 0; }
.bewerben h3 { font-size: 22px; }
.bewerben ol { margin: 0; padding-left: 20px; color: var(--leise-hell); }
.bewerben li { margin-bottom: 8px; }

/* ---------- 11 · Besuch (hell) ---------- */
.besuch-raster { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px 48px; align-items: start; }
.karte-svg { width: 100%; height: auto; border-radius: var(--radius-gross); }
.route { fill: none; stroke: var(--elektro-tief); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--weich) .2s; }
.pin { transition: transform .6s var(--weich) 1.5s, opacity .4s 1.5s; transform-box: fill-box; transform-origin: 50% 100%; }
.js:not([data-bewegung="starr"]) .karte:not(.ist-da) .route { stroke-dashoffset: 1; }
.js:not([data-bewegung="starr"]) .karte:not(.ist-da) .pin { transform: translateY(-14px); opacity: 0; }
.karte-legende { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.karte-legende b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--text); color: #fff; font-size: 12px; }
.zeiten { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.zeiten caption { text-align: left; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.zeiten th, .zeiten td { text-align: left; vertical-align: top; padding: 14px 0; border-top: 1px solid var(--linie-hell); font-size: 15px; }
.zeiten th { font-weight: 600; padding-right: 16px; width: 44%; }
.zeiten td { color: var(--muted); }
.zeiten tr.ist-heute th, .zeiten tr.ist-heute td { color: var(--text); }
.heute[hidden] { display: none; }
.heute { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--elektro-tief); color: #fff; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.adresse { font-style: normal; margin-bottom: 24px; line-height: 1.7; }
.adresse a { color: var(--elektro-tief); }
.anfahrt { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.anfahrt b { display: block; color: var(--text); }
.besuch-foto { grid-column: 1 / -1; }
.besuch-foto .platz { min-height: 260px; }

/* ---------- 12 · Kapitelleiste ---------- */
.kapitelleiste { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; padding: 5px; border-radius: 999px; background: rgba(20, 23, 27, .94); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.kl-liste { list-style: none; display: flex; margin: 0; padding: 0; }
.kl-liste a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border-radius: 999px; color: var(--leise-hell); text-decoration: none; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s; }
.kl-liste a span { font-size: 11px; color: #8b96a2; font-variant-numeric: tabular-nums; transition: color .3s; }
.kl-liste a:hover { color: var(--text-hell); }
.kl-liste a.ist-aktiv { background: rgba(255, 255, 255, .1); color: var(--text-hell); }
.kl-liste a.ist-aktiv span { color: var(--elektro-hell); }
.kl-handy, .kl-anruf { display: none; }

/* ---------- 13 · Fuß ---------- */
.fuss { background: #0b0c0e; color: var(--leise-hell); padding: 64px 24px calc(var(--leiste) + 24px); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .05); }
.fuss-raster { max-width: var(--breite); margin: 0 auto 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fuss-logo { font-size: 20px; font-weight: 600; color: var(--text-hell); }
.fuss address { font-style: normal; margin-bottom: 1em; }
.fuss a { color: var(--text-hell); }
.fuss-links a { display: inline-block; margin-right: 16px; min-height: 44px; line-height: 44px; }
.fuss-demo { max-width: var(--breite); margin: 0 auto 24px; font-size: 12.5px; }
.fuss-zeile { width: 100%; max-width: none; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .06); text-align: center; font-size: 12.5px; color: #8b95a1; }
.fuss-zeile a { color: #c5ccd4; }

/* ---------- Mittlere Breiten ---------- */
@media (max-width: 1180px) {
  .kl-liste a span { display: none; }
  .kl-liste a { padding: 0 12px; }
}
@media (max-width: 1060px) {
  .wahl-gruppe { padding: 0 18px; }
  .service-unten { grid-template-columns: 1fr 1fr; }
  .service-unten .bild-platzhalter { grid-column: 1 / -1; }
  .angebote { grid-template-columns: 1fr 1fr; }
  .bewerben { grid-template-columns: 1fr; gap: 16px; }
  .bewerben > p { grid-column: 1; }
}

/* ---------- 14 · Handy und Tablet ---------- */
@media (max-width: 900px) {
  :root { --kopf: 56px; --leiste: 72px; }
  .kopf-tel { display: none; }
  .kopf-innen { padding: 0 16px; justify-content: space-between; }
  .kapitel { padding: 72px 16px calc(var(--leiste) + 48px); }

  .kapitel-wagen { padding: 22px 16px calc(var(--leiste) + 4px); min-height: 0; }
  .wagen-flaeche { width: calc(100vw - 16px); margin-top: 10px; }
  .vorzeile { font-size: 11.5px; letter-spacing: .1em; }
  .anleitung { font-size: 15px; margin-top: 10px; }
  .vorfuehrung { top: -10px; font-size: 11px; white-space: normal; width: max-content; max-width: calc(100vw - 40px); text-align: center; line-height: 1.35; }
  .nur-breit { display: none; }
  .wahl { grid-template-columns: 1fr auto; padding-top: 0; border-top: 0; }
  .wahl-gruppe, .wahl-gruppe:first-child { grid-column: 1 / -1; padding: 0; border-left: 0; margin-bottom: 14px; }
  .wahl-lack { grid-row: 2; }
  .wahl-gruppe legend { margin-bottom: 6px; }
  .farben { gap: 2px; }
  .pillen label { padding: 0 12px; font-size: 13.5px; }
  .wahl-zurueck { grid-column: 2; grid-row: 2; align-self: start; margin-top: -12px; position: relative; z-index: 1; }
  .wahl-ergebnis { grid-column: 1 / -1; grid-row: 1; justify-content: space-between; gap: 10px; margin: 0 0 14px; padding: 12px 0; border-top: 1px solid var(--linie-dunkel); border-bottom: 1px solid var(--linie-dunkel); }
  .wert-name { font-size: 10.5px; letter-spacing: .08em; }
  .wert b { font-size: 22px; }
  .wahl-fuss { grid-column: 1 / -1; grid-row: auto; justify-self: stretch; margin-top: 14px; }
  .wahl-fuss .knopf { width: 100%; }

  .laden-kopf { padding-bottom: 28px; }
  .laden-spur { grid-template-columns: 1fr; }
  .laden-buehne { grid-column: 1; grid-row: 1; height: auto; padding: 10px 16px 14px; z-index: 2; background: var(--graphit); }
  .laden-an .laden-buehne { height: 54svh; }
  .laden-schritte { grid-column: 1; grid-row: 2; padding: 0 16px; }
  .laden-an .laden-schritte { grid-row: 1; padding-top: 54svh; }
  .lschritt { padding: 24px 0; }
  .laden-an .lschritt { display: block; min-height: 70svh; padding: 0; }
  .laden-an .lschritt-text { position: sticky; top: calc(var(--kopf) + 54svh + 10px); padding-bottom: 8px; }
  .lschritt-nr { font-size: 11.5px; margin-bottom: 6px; }
  .lschritt h3 { font-size: 22px; margin-bottom: 8px; }
  .lschritt p { font-size: 15px; line-height: 1.5; }
  .lschritt-fuss { margin-top: 10px; }
  .lb-szene { width: 100%; gap: 4px; }
  .lb-anzeigen { aspect-ratio: 1000 / 600; }
  .anzeige { justify-content: center; }
  .az-titel { font-size: 11px; margin-bottom: 6px; }
  .az-gross { font-size: 52px; }
  .az-unter { font-size: 13px; margin-top: 6px; }
  .az-kurve-feld { margin: 2px 0 20px 44px; }
  .az-y { left: -44px; font-size: 10.5px; }
  .az-x { font-size: 10.5px; }
  .az-akku { height: 42%; min-height: 54px; }
  .az-akku-zahl { font-size: 32px; }
  .az-strecke { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .az-strecke-bahn { grid-column: 1 / -1; margin-bottom: 8px; height: 10px; }
  .az-sommer .az-strecke-name, .az-sommer b { grid-row: 1; }
  .az-sommer .az-strecke-bahn { grid-row: 2; }
  .az-winter .az-strecke-name, .az-winter b { grid-row: 3; }
  .az-winter .az-strecke-bahn { grid-row: 4; }
  .az-orte { grid-column: 1 / -1; grid-row: 5; height: 28px; }
  .az-strecke-name, .az-kosten-zeile > span:first-child { font-size: 12px; }
  .az-strecke b, .az-kosten b { font-size: 16px; }
  .az-orte span { font-size: 10.5px; }
  .az-kosten { grid-template-columns: 82px 1fr 72px; gap: 14px 10px; }

  .probefahrt-raster { grid-template-columns: 1fr; }
  .feld-paar { grid-template-columns: 1fr; gap: 0; }
  .leistungen { grid-template-columns: 1fr; }
  .zahlen { grid-template-columns: 1fr 1fr; margin: 44px 0; }
  .zahlen li:nth-child(3) { border-left: 0; padding-left: 0; }
  .zahlen li:nth-child(n+3) { border-top: 1px solid var(--linie-dunkel); }
  .service-unten { grid-template-columns: 1fr; }
  .angebote { grid-template-columns: 1fr; }
  .inzahlung { flex-direction: column; align-items: flex-start; }
  .job summary { grid-template-columns: 1fr 28px; gap: 4px 12px; }
  .job-meta { grid-column: 1; grid-row: 2; white-space: normal; }
  .job summary::after { grid-column: 2; grid-row: 1 / 3; }
  .job-inhalt { grid-template-columns: 1fr; }
  .besuch-raster { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr; gap: 12px; }

  /* Kapitelleiste wird zur Leiste mit Menü und Anruf */
  .kapitelleiste { left: 10px; right: 10px; bottom: 10px; transform: none; border-radius: 16px; justify-content: space-between; gap: 8px; padding: 6px; }
  .kl-liste { display: none; }
  .kl-handy { display: block; position: static; flex: 1; min-width: 0; }
  .kl-handy summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 11px; cursor: pointer; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; }
  .kl-handy summary::-webkit-details-marker { display: none; }
  .kl-handy summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-left: 2px solid var(--leise-hell); border-top: 2px solid var(--leise-hell); transform: rotate(45deg) translateY(2px); transition: transform .3s; }
  .kl-handy[open] summary::after { transform: rotate(225deg) translateY(2px); }
  .kl-wort { color: var(--leise-hell); }
  #kl-nr { color: var(--elektro-hell); font-variant-numeric: tabular-nums; }
  .kl-handy ol { list-style: none; position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); margin: 0; padding: 6px; border-radius: 16px; background: #171a1f; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 -18px 40px -16px rgba(0, 0, 0, .6); }
  .kl-handy ol a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 10px; color: var(--text-hell); text-decoration: none; font-size: 15px; }
  .kl-handy ol a span { font-size: 12px; color: var(--leise-hell); width: 20px; }
  .kl-handy ol a.ist-aktiv { background: rgba(255, 255, 255, .08); }
  .kl-anruf { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 11px; background: var(--elektro); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
}
@media (max-width: 420px) {
  .knopf-klein { padding: 0 14px; font-size: 13.5px; }
  .logo small { display: none; }
  .pillen { gap: 5px; }
  .pillen label { padding: 0 10px; font-size: 13px; }
  .farbe { width: 44px; }
}

/* ---------- 15 · Bewegungsstufen ---------- */
[data-bewegung="starr"] .felge, [data-bewegung="starr"] .akku-blick, [data-bewegung="starr"] .akku-schild { transition: none; }
[data-bewegung="starr"] #lackfarben { transition: none; }
@media (prefers-reduced-motion: reduce) {
  #lackfarben, .felge { transition: none; }
  .licht-laeuft .lichtband { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
