/* Startseite 2026 („Boxenstopp“) – übertragen aus entwurf-2026/index.html. Schriften: Barlow, Barlow Condensed, Caveat (SIL OFL). */
body { margin: 0; }
/* theme.json färbt Überschriften global navy; hier erben sie wie im Entwurf die Farbe ihres Bereichs (z. B. weiß im Hero) */
h1, h2, h3, h4, h5, h6 { color: inherit; }
html:not(.js) .js-only { display: none; }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }

/* Handschrift für persönliche Grüße – Caveat, SIL Open Font License */
@font-face { font-family: "Caveat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/startseite-caveat-500.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/startseite-caveat-700.woff2") format("woff2"); }
/* Schriften eingebettet (keine Verbindung zu Google, DSGVO) – Barlow, SIL Open Font License */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/startseite-barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500 600; font-style: normal; font-display: swap; src: url("../fonts/startseite-barlow-500-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/startseite-barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700 800; font-style: italic; font-display: swap; src: url("../fonts/startseite-barlow-condensed-700-800-italic.woff2") format("woff2"); }


:root {
	--navy: #241b56; --night: #140f33; --gold: #f9b133; --gold-deep: #e39a12; --ink: #1a1826; --tire: #6b6882;
	--ok: #1d7a3a; --warn: #a15c00; --bad: #b3261e;
	--fill: #241b56; --fill-hover: #140f33; --sel: #241b56; --sel-text: #ffffff; --panel: #241b56; --panel-line: transparent; --section-dark: #140f33;
	--bg: #f6f5fa; --surface: #ffffff; --surface-2: #efedf6; --text: #1a1826; --muted: #5a5770; --line: #e0deea;
	--accent: #241b56; --accent-contrast: #ffffff; --text-soft: #3b3850; --focus: #241b56; --shadow: 0 1px 2px rgba(20,15,51,.06), 0 12px 32px rgba(20,15,51,.10);
	--logo-light: block; --logo-dark: none;
	--display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r: 16px; --gutter: clamp(16px, 4vw, 40px); --max: 1200px;
}
/* Eigener Hell-/Dunkelmodus: verhindert die Zwangsumfärbung von Samsung Internet/Chrome (Force Dark).
   html:root ist spezifischer als das color-scheme:light der Artifact-Hülle. */
html:root { color-scheme: only light; } /* Opt-out gegen Zwangsumfärbung (Samsung Internet); Dunkel-Blöcke setzen "dark" */
html:root[data-theme="light"] { color-scheme: only light; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--bg: #16151e; --surface: #22202f; --surface-2: #2d2b3d; --text: #f3f2f8; --muted: #c6c3d8; --line: #45425c;
		--fill: #5145c4; --fill-hover: #6357d6; --sel: #f9b133; --sel-text: #140f33; --panel: #2e2873; --panel-line: #5a53b0; --section-dark: #0d0c14;
		--accent: #f9b133; --accent-contrast: #140f33; --text-soft: #e2e0ee; --eyebrow: #f9b133; --ok: #5fd38f; --bad: #ff8a80; --focus: #f9b133; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
		--logo-light: none; --logo-dark: block; --tire: #9d99b8;
	}
}
:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #16151e; --surface: #22202f; --surface-2: #2d2b3d; --text: #f3f2f8; --muted: #c6c3d8; --line: #45425c;
		--fill: #5145c4; --fill-hover: #6357d6; --sel: #f9b133; --sel-text: #140f33; --panel: #2e2873; --panel-line: #5a53b0; --section-dark: #0d0c14;
	--accent: #f9b133; --accent-contrast: #140f33; --text-soft: #e2e0ee; --eyebrow: #f9b133; --ok: #5fd38f; --bad: #ff8a80; --focus: #f9b133; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
	--logo-light: none; --logo-dark: block; --tire: #9d99b8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1.02; letter-spacing: .005em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); color: var(--accent); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
.eyebrow { justify-self: start; align-self: start; width: fit-content; display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; color: #140f33; background: #f9b133; padding: .35rem .7rem; border-radius: 6px; }
.hero :where(a, button, input, [tabindex]):focus-visible, .check-sec :where(a, button, input, [tabindex]):focus-visible, .band :where(a, button):focus-visible, .foot :where(a, button):focus-visible, .bill :where(a, button):focus-visible, .order-sum :where(a, button):focus-visible { outline-color: #f9b133; }
.band :where(a, button):focus-visible { outline-color: #140f33; }
.book :where(a, button, input, [tabindex]):focus-visible { outline-color: var(--focus); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 60ch; }
.num { font-variant-numeric: tabular-nums; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px; padding: .85rem 1.5rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold { background: var(--gold); color: var(--night); box-shadow: 0 6px 18px rgba(249,177,51,.35); }
.btn-gold:hover { background: #ffc24f; }
.btn-navy { background: var(--fill); color: #fff; }
.btn-navy:hover { background: var(--fill-hover); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(127,127,127,.12); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: var(--night); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }
/* ---------- Kopf ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.logo { display: block; line-height: 0; }
.logo img { width: 128px; }
.logo .l-light { display: var(--logo-light); } .logo .l-dark { display: var(--logo-dark); }
.nav { display: flex; gap: 1.5rem; margin-left: auto; font-weight: 600; }
.nav a { text-decoration: none; padding-block: .25rem; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat; transition: background-size .2s; }
.nav a:hover { background-size: 100% 3px; }
.lang { display: inline-flex; border-radius: 999px; background: var(--surface-2); padding: 3px; }
.lang button { border: 0; background: transparent; padding: .35rem .7rem; border-radius: 999px; font-weight: 700; font-size: .875rem; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.top .btn { padding: .6rem 1.1rem; }
@media (max-width: 900px) { .nav, .top .btn-cta { display: none; } .lang { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--section-dark); color: #fff; }
.hero::before { /* Speed-Lines aus dem Logo */
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background: repeating-linear-gradient(-12deg, transparent 0 38px, rgba(255,255,255,.035) 38px 40px);
}
.speed { position: absolute; left: -10%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(249,177,51,.7), transparent); animation: speed 3.6s linear infinite; }
@keyframes speed { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-block: clamp(1.25rem, 2.8vw, 2.5rem) clamp(2.5rem, 6vw, 5rem); }
/* Desktop: gelber Kasten genau 50px unter der Navigation */
@media (min-width: 961px) { .hero .wrap > div:first-child { padding-top: calc(50px - clamp(1.25rem, 2.8vw, 2.5rem)); } }
.hero h1 { font-size: clamp(3rem, 7.5vw, 5.75rem); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: #d8d5ea; margin-top: 1.25rem; }
.status { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.75rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 600; font-size: .9375rem; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 0 rgba(88,214,141,.6); animation: pulse 2s infinite; }
.status.closed i { background: #ff8a80; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(88,214,141,0); } 100% { box-shadow: 0 0 0 0 rgba(88,214,141,0); } }
.proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; padding: 0; list-style: none; font-weight: 600; color: #fff; }
.proof li { display: flex; align-items: center; gap: .45rem; }
.proof .ico { color: var(--gold); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Buchungs-App ---------- */
.book { background: var(--surface); color: var(--text); border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; }
.book-head { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.ring { width: 56px; height: 56px; flex: none; }
.ring .track { stroke: var(--surface-2); }
.ring .bar { stroke: var(--gold); transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1); }
.ring .tyre { transform-origin: 32px 32px; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.book-head h2 { font-size: 1.5rem; color: var(--text); }
.book-head small { display: block; color: var(--muted); font-weight: 600; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }
.book-body { padding: 1.25rem; min-height: 360px; }
.book-foot { display: flex; gap: .75rem; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-top: 1px solid var(--line); background: var(--surface-2); }
.book-foot .hint { font-size: .875rem; color: var(--muted); }
.step { animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: .001; transform: translateX(14px); } }
.q { font-weight: 700; margin-bottom: .75rem; }

.opt { display: flex; gap: .9rem; align-items: center; width: 100%; text-align: left; padding: .9rem 1rem; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.opt + .opt { margin-top: .6rem; }
.opt[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.opt .badge { margin-left: auto; font-weight: 700; white-space: nowrap; }
.opt .ico-box { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); flex: none; }
.opt small { display: block; color: var(--muted); }
.switch { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; cursor: pointer; }
.switch input { appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(18px); }
.note { font-size: .875rem; color: var(--muted); margin-top: 1rem; display: flex; gap: .5rem; }

/* Kalender */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cal-head strong { font-size: 1.05rem; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; cursor: pointer; }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-block: .25rem; }
.day { aspect-ratio: 1; max-width: 100%; border: 0; border-radius: 12px; background: transparent; cursor: pointer; display: grid; place-items: center; position: relative; font-weight: 600; font-variant-numeric: tabular-nums; }
.day:hover:not([disabled]) { background: var(--surface-2); }
.day[disabled] { color: color-mix(in srgb, var(--muted) 55%, transparent); cursor: not-allowed; }
.day.closed[disabled] { text-decoration: line-through; }
.day .dot { position: absolute; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.day .dot.few { background: var(--gold-deep); }
.day[aria-pressed="true"] { background: var(--sel); color: var(--sel-text); }
.day[aria-pressed="true"] .dot { background: var(--sel-text); }
.legend { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .8125rem; color: var(--muted); margin-top: .75rem; }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.quick { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { border: 1.5px solid var(--line); background: var(--surface); padding: .4rem .8rem; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--sel); color: var(--sel-text); border-color: var(--sel); }

/* Slots */
.slots-group { margin-top: .75rem; }
.slots-group .slots-h { font-family: var(--body); font-style: normal; font-weight: 700; margin: 0 0 .5rem; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; }
.slot { padding: .6rem .25rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot:hover:not([disabled]) { border-color: var(--accent); }
.slot[disabled] { text-decoration: line-through; color: color-mix(in srgb, var(--muted) 55%, transparent); background: var(--surface-2); cursor: not-allowed; border-color: transparent; }
.slot[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.hold { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 12px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ok); font-weight: 600; font-size: .9rem; margin-top: 1rem; }
.hold.expired { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); color: var(--bad); }

/* Formular */
.field { display: grid; gap: .3rem; margin-bottom: .9rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input { font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--muted) 55%, transparent); background: var(--surface); color: var(--text); width: 100%; }
.field input:focus-visible, .field input:focus { border-color: var(--accent); outline: 3px solid var(--focus); outline-offset: 1px; box-shadow: none; }
.field .err { color: var(--bad); font-size: .875rem; font-weight: 600; }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.plate { display: flex; border: 2.5px solid #111; border-radius: 8px; overflow: hidden; background: #fff; max-width: 320px; }
.plate .eu { background: #003399; color: #fff; width: 34px; display: grid; place-content: center; text-align: center; font-weight: 700; font-size: .8rem; line-height: 1; padding-block: 4px; }
.plate .eu b { color: #ffcc00; font-size: .6rem; display: block; letter-spacing: 1px; }
.plate input { border: 0 !important; border-radius: 0; box-shadow: none !important; background: #fff; color: #111; font: 700 1.5rem/1 "Barlow Condensed", var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .45rem .7rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }

/* Zusammenfassung / Erfolg */
.summary { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 14px; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; }
.summary li + li { border-top: 1px solid var(--line); }
.summary span { color: var(--muted); }
.summary strong { text-align: right; }
.alert { padding: .9rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--bad) 10%, var(--surface)); border: 1.5px solid color-mix(in srgb, var(--bad) 45%, transparent); margin-bottom: 1rem; }
.alert strong { color: var(--bad); }
.success { text-align: center; padding-top: .5rem; }
.success svg.check { width: 96px; height: 96px; margin: 0 auto .75rem; }
.success .c-ring { stroke: var(--ok); stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw .7s ease forwards; }
.success .c-tick { stroke: var(--ok); stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .55s ease forwards; }
.success .crown { transform-origin: 48px 20px; animation: crown .6s .9s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes crown { from { transform: translateY(-18px) scale(.4); opacity: 0; } }
.ref { display: inline-block; margin: .75rem 0 1rem; padding: .35rem .8rem; border-radius: 8px; background: var(--surface-2); font: 700 1.1rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; }
.proto { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 6px; background: color-mix(in srgb, var(--gold) 30%, transparent); color: var(--text); }
.spin { width: 48px; height: 48px; margin: 3rem auto 1rem; animation: rot 1s linear infinite; color: var(--accent); }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- Abschnitte ---------- */
section { padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(3.5rem, 8vw, 6.5rem); } /* oben halbiert */
.sec-head { display: grid; gap: .75rem; margin-bottom: 2.25rem; max-width: 720px; }
.trust { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 1.25rem; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.trust li > span:last-child { min-width: 0; }
.trust li { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.trust .ico-box { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; flex: none; }
.trust small { display: block; color: var(--muted); font-weight: 500; }


/* Leistungen entdecken: links Auswahl, rechts animierte Bühne (keine Preise) */
.explore { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1.5rem; align-items: stretch; }
.xs-list { grid-template-rows: repeat(4, 1fr); } /* vier Zeilen so hoch wie die Bühne */
.xs-list { display: grid; gap: .75rem; }
.xs-list button { display: grid; grid-template-columns: auto 1fr; gap: .15rem .9rem; align-items: center; text-align: left; border: 2px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 1rem 1.1rem; cursor: pointer; transition: border-color .15s, transform .15s, background-color .15s; }
.xs-list button:hover { transform: translateX(4px); }
.xs-list button[aria-selected="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
.xs-list .ico-box { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; }
.xs-list button[aria-selected="true"] .ico-box { background: var(--gold); color: var(--night); }
.xs-list .ico-box .ico { width: 26px; height: 26px; }
.xs-list b { font-size: 1.1rem; }
.xs-list small { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.xs-list small.full { color: var(--bad); font-weight: 600; }
.xs-stage { position: relative; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 1rem 1.25rem 1.25rem; outline-offset: 4px;
	--x-bg: #f3eee4; --x-car: #d9d6e6; --x-arch: #bdb8d2; --x-line: #b9b4d0; --x-text: #241b56; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xs-stage { --x-bg: #2d2b3d; --x-car: #45425c; --x-arch: #56526f; --x-line: #6b6882; --x-text: #f3f2f8; } }
:root[data-theme="dark"] .xs-stage { --x-bg: #2d2b3d; --x-car: #45425c; --x-arch: #56526f; --x-line: #6b6882; --x-text: #f3f2f8; }
.xs-scene { background: var(--x-bg); border-radius: 14px; overflow: hidden; }
.xs-scene svg { display: block; width: 100%; height: clamp(150px, 14vw, 190px); }
.xs-scene text { font: 700 13px var(--body); fill: var(--x-text); text-anchor: middle; }
.xs-replay { position: absolute; top: 1.5rem; right: 1.75rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); color: var(--accent); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; }
.xs-replay:hover { background: var(--gold); color: var(--night); }
.xs-stage h3 { font-size: 1.4rem; color: var(--accent); margin-top: .8rem; }
.xs-stage > p { color: var(--muted); margin: .35rem 0 0; }
.xs-stage ul { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .25rem; font-size: .95rem; }
.xs-stage li { display: flex; gap: .6rem; align-items: flex-start; }
.xs-stage li .ico { color: var(--ok); margin-top: .2rem; flex: none; }
.xs-stage li.warn .ico { color: var(--bad); }
.xs-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .9rem; }
.xs-cta .btn { padding: .7rem 1.25rem; }
@media (max-width: 860px) { .explore { grid-template-columns: 1fr; } .xs-list { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .xs-list button { grid-template-columns: 1fr; } .xs-list .ico-box { grid-row: auto; } }
@media (max-width: 420px) { .xs-list small { display: none; } }

/* Szenen-Animationen: je ein Durchlauf < 5 s (WCAG 2.2.2), Endbild bleibt stehen; Start erst im Sichtbereich */
.xs-scene * { transform-box: fill-box; transform-origin: center; }
.xs-stage .xs-scene * { animation-fill-mode: both !important; } /* Endbild stehen lassen; die animation-Kurzschreibweise würde es sonst zurücksetzen */
.xs-stage:not(.play) .xs-scene * { animation-play-state: paused !important; }
/* Radwechsel */
.x-old { animation: xOut 4.6s cubic-bezier(.5,0,.6,1); }
.x-new { animation: xIn 4.6s cubic-bezier(.3,.7,.3,1); }
.x-lab-old { animation: xFadeOut 4.6s; }
.x-lab-new { animation: xFadeIn 4.6s; }
.x-glow { animation: xGlow 4.6s; }
@keyframes xOut { 0%, 18% { transform: none; opacity: 1; } 45%, 100% { transform: translateX(230px) rotate(220deg); opacity: 0; } }
@keyframes xIn { 0%, 45% { transform: translateX(-230px) rotate(-220deg); opacity: 0; } 50% { opacity: 1; } 76%, 100% { transform: none; opacity: 1; } }
@keyframes xFadeOut { 0%, 20% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes xFadeIn { 0%, 70% { opacity: 0; } 84%, 100% { opacity: 1; } }
@keyframes xGlow { 0%, 76% { opacity: 0; transform: scale(.85); } 84% { opacity: .9; } 100% { opacity: 0; transform: scale(1.15); } }
/* Auswuchten */
/* Drehpunkt exakt in der Radmitte (156|100 im Szenen-Koordinatensystem) statt aus dem Umriss berechnet */
.xs-scene .x-wob, .xs-scene .x-spin { transform-box: view-box; transform-origin: 156px 100px; }
.x-wob { animation: xWob 4.6s linear; }
.x-spin { animation: xSpin 4.6s cubic-bezier(.15,.6,.35,1); }
.x-weight { animation: xPop 4.6s; }
.x-vib { animation: xVib 4.6s; }
.x-bad { animation: xFadeOut2 4.6s; }
.x-good { animation: xFadeIn2 4.6s; }
@keyframes xWob { 0% { transform: none; } 4%, 12%, 20%, 28%, 36% { transform: translate(0, -3px); } 8%, 16%, 24%, 32%, 40% { transform: translate(0, 3px); } 46%, 100% { transform: none; } }
@keyframes xSpin { from { transform: rotate(0); } to { transform: rotate(2520deg); } }
@keyframes xPop { 0%, 44% { opacity: 0; transform: scale(2.2); } 52%, 100% { opacity: 1; transform: none; } }
@keyframes xVib { 0%, 40% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes xFadeOut2 { 0%, 50% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes xFadeIn2 { 0%, 54% { opacity: 0; } 62%, 100% { opacity: 1; } }
/* Montage */
.x-tyre { animation: xMount 4.6s cubic-bezier(.3,.7,.3,1); }
.x-spark { animation: xSpark 4.6s; }
.x-ok { animation: xOk 4.6s cubic-bezier(.3,1.6,.5,1); }
@keyframes xMount { 0%, 8% { transform: translateX(-150px) scaleX(.35); opacity: 0; } 14% { opacity: 1; } 50%, 100% { transform: none; opacity: 1; } }
@keyframes xSpark { 0%, 50% { opacity: 0; transform: scale(.6); } 56% { opacity: 1; } 68%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes xOk { 0%, 70% { opacity: 0; transform: scale(.3); } 82%, 100% { opacity: 1; transform: none; } }
/* Einlagern */
.x-slot { animation: xShelf .7s cubic-bezier(.3,.7,.3,1); }
.x-stamp { animation: xStamp 4.6s cubic-bezier(.3,1.5,.5,1); }
@keyframes xShelf { from { transform: translateX(260px); opacity: 0; } 30% { opacity: 1; } }
@keyframes xStamp { 0%, 76% { opacity: 0; transform: scale(1.8) rotate(-4deg); } 88%, 100% { opacity: 1; transform: rotate(-12deg); } }

@media (max-width: 480px) { .svc { grid-template-columns: 1fr; } }

/* Reifen-Check */
.check-sec { background: var(--section-dark); color: #fff; }
.check-sec h2 { color: #fff; }
.check-sec .lead { color: #cfcbe6; }
.game { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.game .panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 1.5rem; display: grid; gap: 1.5rem; }
.game label { font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; }
.game label output { color: var(--gold); font-variant-numeric: tabular-nums; }
.game input[type=range] { width: 100%; height: 28px; accent-color: var(--gold); cursor: pointer; }
.game .sub { font-size: .875rem; color: #bdb8d8; margin-top: .35rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.seg button { border: 1.5px solid rgba(255,255,255,.25); background: transparent; color: #fff; padding: .45rem .9rem; border-radius: 999px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }
.dot-in { font: 700 1.4rem/1 ui-monospace, Consolas, monospace; letter-spacing: .2em; width: 8ch; padding: .45rem .6rem; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.3); background: rgba(0,0,0,.25); color: #fff; margin-top: .5rem; }
.tread { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: .75rem; }
.tread i { flex: 1; background: linear-gradient(#3a3564, #221d49); border-radius: 4px 4px 0 0; transition: height .3s; }
.gauge-wrap { text-align: center; }
.gauge { width: min(340px, 100%); margin-inline: auto; }
.gauge .needle { transform-origin: 160px 160px; transition: transform 1s cubic-bezier(.2,1.2,.3,1); }
.verdict { font: 800 italic 2rem/1.05 var(--display); margin-top: .5rem; }
.verdict-text { color: #cfcbe6; max-width: 42ch; margin: .75rem auto 1.25rem; }
@media (max-width: 860px) { .game { grid-template-columns: 1fr; } }

/* Fahrzeuge (Tabs) */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tabs button { border: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; }
.tabs button[aria-selected="true"] { background: var(--sel); color: var(--sel-text); box-shadow: none; }
.tabpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: var(--surface); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.tabpanel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.tabpanel li { display: flex; gap: .6rem; }
.tabpanel li .ico { color: var(--ok); margin-top: .2rem; }
.tabpanel .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.big-ico { width: 72px; height: 72px; color: var(--accent); margin-bottom: 1rem; }
@media (max-width: 760px) { .tabpanel { grid-template-columns: 1fr; } }

/* Über uns */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.about figure { margin: 0; position: relative; }
.about figure img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about figure::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 60%; height: 60%; border-radius: 20px; background: var(--gold); z-index: -1; }
.about blockquote { margin: 1.5rem 0 0; font: 700 italic 1.5rem/1.3 var(--display); color: var(--accent); }
.about .text { display: grid; gap: 1rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* Bewertungen */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 85%); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.review { scroll-snap-align: start; background: var(--surface); border-radius: 18px; padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--shadow); }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review p { flex: 1; }
.review footer { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); }
.review footer b { color: var(--text); display: block; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--fill); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.orig { font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.score { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.score b { font: 800 italic 3.5rem/1 var(--display); color: var(--accent); }

/* Besuch */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.visit img { border-radius: 20px; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card { background: var(--surface); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow); display: grid; gap: 1.25rem; }
.addr { font-style: normal; font-size: 1.125rem; line-height: 1.5; }
.copyline { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.copyline code { font: 600 1rem var(--body); user-select: all; }
/* Telefonnummer als Anruf-Link; mobil große Tippfläche, "Kopieren" nur am Desktop */
.copyline .tel-link { font: 600 1rem var(--body); color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.copyline .tel-link:hover { text-decoration-color: currentColor; }
@media (max-width: 900px) { .copyline .tel-link { font-size: 1.15rem; padding-block: .5rem; } .copyline [data-copy] { display: none; } }
.mini { border: 0; background: var(--surface-2); padding: .3rem .65rem; border-radius: 8px; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .4rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 14px; padding: 0 1.25rem; box-shadow: 0 1px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--accent); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; color: var(--muted); }

/* CTA-Band + Fuß */
.band { background: var(--gold); color: #111; padding-block: clamp(2.5rem, 6vw, 4rem); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.band h2 { color: #111; font-size: clamp(2rem, 4vw, 3rem); }
.band p { color: #2a2616; margin-top: .5rem; }
/* Schlanke Saisonwechsel-Leiste: erscheint beim Scrollen unten, verschwindet, sobald das echte Band ins Bild kommt (Desktop; mobil übernimmt .dock) */
.band-mini { position: fixed; inset: auto 0 0 0; z-index: 45; display: none; background: var(--gold); color: #111; box-shadow: 0 -6px 24px rgba(20,15,51,.18); transform: translateY(100%); transition: transform .3s ease; }
.band-mini .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.band-mini strong { font-size: 1.125rem; }
.band-mini .btn { padding: .55rem 1.1rem; }
.band-mini.is-on { transform: none; }
@media (min-width: 901px) { .band-mini { display: block; } body.band-mini-on .notes-btn { bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { .band-mini { transition: none; } }
.foot { background: var(--section-dark); color: #cfcbe6; padding-block: 2.5rem calc(2.5rem + 72px); font-size: .9375rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: center; }
.foot img { width: 120px; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot a { color: #fff; }
@media (min-width: 901px) { .foot { padding-bottom: 2.5rem; } }

/* Mobile Buchungsleiste */
.dock { position: fixed; inset: auto 0 0 0; z-index: 50; display: none; gap: .75rem; align-items: center; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom, 0px)); background: var(--surface); box-shadow: 0 -6px 24px rgba(20,15,51,.18); }
.dock .btn { flex: 1; }
.dock small { color: var(--muted); font-weight: 600; font-size: .8125rem; line-height: 1.2; }
@media (max-width: 900px) { .dock { display: flex; } }

/* Entwurfsnotizen */
.notes-btn { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; border: 0; border-radius: 999px; padding: .55rem 1rem; font-weight: 700; background: var(--ink); color: #fff; box-shadow: var(--shadow); cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; font-size: .875rem; }
@media (max-width: 900px) { .notes-btn { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.notes { position: fixed; inset: 0; z-index: 70; background: rgba(10,8,25,.55); display: flex; justify-content: flex-end; }
.notes[hidden] { display: none; }
.notes-panel { width: min(680px, 100%); height: 100%; overflow-y: auto; background: var(--bg); color: var(--text); padding: 1.5rem clamp(1rem, 4vw, 2.25rem) 3rem; box-shadow: -20px 0 40px rgba(0,0,0,.3); }
.notes-panel h2 { font-size: 2.25rem; }
.notes-panel h3 { font-size: 1.35rem; color: var(--accent); margin-top: 1.75rem; }
.notes-panel p, .notes-panel li { font-size: .98rem; color: var(--text); }
.notes-panel ul, .notes-panel ol { padding-left: 1.2rem; display: grid; gap: .35rem; margin: .6rem 0 0; }
.notes-panel .tbl { overflow-x: auto; margin-top: .75rem; }
.notes-panel table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.notes-panel th, .notes-panel td { border-bottom: 1px solid var(--line); padding: .45rem .5rem; text-align: left; vertical-align: top; }
.notes-panel .x { float: right; }
.sim { display: flex; gap: .6rem; align-items: center; margin-top: .75rem; padding: .75rem 1rem; border-radius: 12px; background: var(--surface); font-weight: 600; }

/* ---------- Überarbeitung 2 ---------- */
.ico.fill { fill: currentColor; stroke: none; }
.book .success .lead { color: var(--text-soft); }
.book-foot { flex-wrap: wrap; }
.book-foot .btn { white-space: normal; flex: 1 1 auto; text-align: center; }
.book-foot .hint { flex: 1 1 100%; order: -1; }
.book-foot .hint:empty { display: none; }


/* Bewertungen groß */
.rating-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: center; margin-bottom: 2.25rem; }
.rating-hero .big { font: 800 italic clamp(5rem, 14vw, 9rem)/.85 var(--display); color: var(--accent); letter-spacing: -.02em; }
.rating-hero .big small { font-size: .35em; color: var(--muted); }
.big-stars { display: flex; gap: 6px; margin-bottom: .75rem; }
.big-stars svg { width: clamp(28px, 4vw, 40px); height: clamp(28px, 4vw, 40px); fill: var(--gold); animation: pop .5s cubic-bezier(.2,1.6,.4,1) both; }
.big-stars svg:nth-child(2) { animation-delay: .08s; } .big-stars svg:nth-child(3) { animation-delay: .16s; } .big-stars svg:nth-child(4) { animation-delay: .24s; } .big-stars svg:nth-child(5) { animation-delay: .32s; }
@keyframes pop { from { transform: scale(.3) rotate(-30deg); } }
.rating-hero h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.rating-hero p { color: var(--muted); margin-top: .6rem; max-width: 56ch; }
.rating-hero p.eyebrow { color: #140f33; margin-top: 0; }
.notes-panel p.eyebrow, .check-sec p.eyebrow, .hero p.eyebrow { color: #140f33; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.facts span { background: var(--surface); border-radius: 999px; padding: .35rem .8rem; font-weight: 700; font-size: .875rem; box-shadow: 0 1px 0 var(--line); }
@media (max-width: 640px) { .rating-hero { grid-template-columns: 1fr; } }

/* Gewählte Auswahl klein oben im Schritt */
.picked { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.picked button { display: inline-flex; align-items: center; gap: .35rem; border: 0; border-radius: 999px; padding: .3rem .7rem; background: var(--fill); color: #fff; font-size: .8125rem; font-weight: 700; cursor: pointer; animation: pickIn .3s ease both; }
.picked button:hover { background: var(--fill-hover); }
.picked .ico { width: 1em; height: 1em; color: var(--gold); }
@keyframes pickIn { from { transform: translateY(-4px); opacity: .3; } }

/* Übersicht: Cross-Sell Auswuchten + Preis */
.reg-box { padding: .85rem; border: 2px dashed var(--gold-deep); border-radius: 12px; background: color-mix(in srgb, var(--gold) 8%, var(--surface)); }
.reg-box input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; }
.reg-note { color: var(--muted); line-height: 1.4; }
.reg-note.bad { color: var(--bad); font-weight: 600; }
.upsell { display: grid; grid-template-columns: auto 1fr; gap: .5rem .9rem; align-items: center; margin-top: 1rem; padding: 1rem; border-radius: 14px; border: 2px dashed var(--gold-deep); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
.upsell.is-on { border-style: solid; border-color: var(--ok); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }
.upsell .ico-box { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--accent); display: grid; place-items: center; }
.upsell small { display: block; color: var(--text-soft); line-height: 1.4; margin-top: .15rem; }
.upsell .btn { grid-column: 1 / -1; padding: .65rem 1rem; }
.price-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; color: var(--text-soft); }
.price-list li.sum { border-top: 2px solid var(--text); margin-top: .35rem; padding-top: .6rem; color: var(--text); font-weight: 700; }
.price-list li.sum span:last-child { font: 800 italic 1.75rem/1 var(--display); color: var(--ok); }

/* Dunkelmodus: Karten mit feiner Kontur vom Grund trennen */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.book, .review, .card, .tabpanel, .person, .order fieldset, .faq details, .svc button, .opt) { box-shadow: 0 0 0 1px var(--line); } }
:root[data-theme="dark"] :is(.book, .review, .card, .tabpanel, .person, .order fieldset, .faq details, .svc button, .opt) { box-shadow: 0 0 0 1px var(--line); }

/* Zitat über die volle Breite */
.quote-wide { margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding-top: 1.75rem; text-align: center; font: 800 italic clamp(1.9rem, 4.5vw, 3.25rem)/1.1 var(--display); color: var(--accent); text-wrap: balance; position: relative; }
.quote-band { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.quote-band .quote-wide { margin: 0; }
#familie { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.quote-wide::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 56px; height: 28px; background: var(--gold); clip-path: polygon(0 100%, 8% 20%, 30% 60%, 50% 0, 70% 60%, 92% 20%, 100% 100%); }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.person { background: var(--surface); border-radius: 16px; padding: 1rem; display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; box-shadow: var(--shadow); }
.person .mono { width: 52px; height: 52px; border-radius: 50%; background: var(--fill); color: #fff; display: grid; place-items: center; font: 800 italic 1.4rem/1 var(--display); position: relative; }
.person .mono::after { content: ""; position: absolute; top: -9px; left: 50%; width: 22px; height: 12px; transform: translateX(-50%); background: var(--gold); clip-path: polygon(0 100%, 8% 20%, 30% 60%, 50% 0, 70% 60%, 92% 20%, 100% 100%); }
.person b { display: block; }
.person small { color: var(--muted); line-height: 1.35; display: block; }
.values { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.values li { display: flex; gap: .6rem; align-items: flex-start; }
.values .ico { color: var(--ok); margin-top: .2rem; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } }

/* Reifen-Anfrage */
.order { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.order form { display: grid; gap: 1rem; }
.order fieldset { border: 0; margin: 0; background: var(--surface); border-radius: 18px; padding: 1.25rem; box-shadow: var(--shadow); display: grid; gap: 1rem; min-width: 0; }
.order legend { float: left; width: 100%; padding: 0; font: 800 italic 1.35rem/1.1 var(--display); color: var(--accent); display: flex; gap: .6rem; align-items: center; }
.order legend .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--night); font: 700 .9rem var(--body); flex: none; }
.og { display: grid; gap: .45rem; }
.og > .lbl { font-weight: 700; font-size: .9375rem; }
.og > .lbl small { font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips button { border: 1.5px solid var(--line); background: var(--surface); padding: .45rem .8rem; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; }
.chips button:hover { border-color: var(--accent); }
.chips button[aria-pressed="true"] { background: var(--sel); color: var(--sel-text); border-color: var(--sel); }
.chips button[disabled] { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.xtra { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .1rem .4rem; border-radius: 5px; background: var(--gold); color: var(--night); }
.chips button[aria-pressed="true"] .xtra { background: var(--surface); color: var(--text); }
.size-row { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.size-row label { display: grid; gap: .2rem; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.size-row select, .order input[type=text], .order input[type=email], .order input[type=tel], .order textarea { font: inherit; padding: .6rem .7rem; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--muted) 55%, transparent); background: var(--surface); color: var(--text); }
.size-row .sep { font: 800 italic 1.6rem/1 var(--display); color: var(--muted); padding-bottom: .45rem; }
.order textarea { width: 100%; min-height: 90px; resize: vertical; }
.order .field { margin: 0; }
.sidewall { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; }
.sidewall svg { width: 120px; height: 120px; }
.order-sum { position: sticky; top: 96px; background: var(--panel); border: 1px solid var(--panel-line); color: #fff; border-radius: 20px; padding: 1.4rem; display: grid; gap: .9rem; }
.order-sum h3 { color: #fff; }
.meter { height: 10px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #ffd27a); border-radius: inherit; transition: width .4s; }
.order-sum ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-size: .9375rem; }
.order-sum li { display: flex; justify-content: space-between; gap: .75rem; border-bottom: 1px dashed rgba(255,255,255,.18); padding-bottom: .35rem; }
.order-sum li span:first-child { color: #c8c4e0; }
.order-sum li b { text-align: right; }
.order-sum .fine { font-size: .8125rem; color: #c8c4e0; }
.order-done { text-align: center; padding: 1rem 0; }
@media (max-width: 960px) { .order { grid-template-columns: 1fr; } .order-sum { position: static; } }
.full-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .875rem; color: var(--bad); font-weight: 600; }

/* ---------- Überarbeitung 3: Logo lebendig, Hero wärmer, Familie nahbarer ---------- */
:root { --hand: "Caveat", "Segoe Print", cursive; --lg-word: #1f2154; --lg-sub: #675a8f; --lg-tyre: #231f20; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --lg-word: #fff; --lg-sub: #cfcbe6; --lg-tyre: #fff; --warn: #f9b133; } }
:root[data-theme="dark"] { --lg-word: #fff; --lg-sub: #cfcbe6; --lg-tyre: #fff; --warn: #f9b133; }

/* Logo als Inline-SVG: Farben per Variable, Krone fällt beim Laden auf den Reifen */
.logo { position: relative; }
.logo-svg { width: 128px; height: auto; display: block; overflow: visible; transform-origin: 0 50%; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.logo-svg .lg-word { fill: var(--lg-word); transition: fill .3s; }
.logo-svg .lg-sub { fill: var(--lg-sub); transition: fill .3s; }
.logo-svg .lg-tyre { fill: var(--lg-tyre); transition: fill .3s; }
.logo-svg .lg-crown-p { fill: #f9a72b; }
.lg-crown, .lg-crown-tilt { transform-box: fill-box; transform-origin: 50% 100%; }
.lg-crown { animation: lgCrownDrop 1.5s .3s ease-in both; }
.logo:hover .lg-crown { animation: lgCrownHop 1.1s ease-in-out; }
@keyframes lgCrownDrop { /* Einheiten = Logo-Koordinaten, ca. 10 Einheiten pro Bildschirmpixel */
	0% { transform: translateY(-140px) rotate(-5deg); opacity: 0; animation-timing-function: ease-in; }
	15% { opacity: 1; }
	42% { transform: none; animation-timing-function: ease-out; }
	60% { transform: translateY(-45px) rotate(3deg); animation-timing-function: ease-in; }
	76% { transform: none; animation-timing-function: ease-out; }
	88% { transform: translateY(-14px) rotate(-1deg); animation-timing-function: ease-in; }
	100% { transform: none; } }
@keyframes lgCrownHop { 30% { transform: translateY(-100px) rotate(-4deg); } 52% { transform: none; } 70% { transform: translateY(-30px) rotate(2deg); } 86% { transform: none; } }

/* Kopfzeile: immer hell; Logo etwas tiefer gesetzt, damit die Krone nach oben Luft zum Hüpfen hat */
.top .wrap { min-height: 80px; }
.logo { margin-top: 12px; }

/* Hero: Halle schimmert durch, warmes Licht von rechts oben statt reinem Nachtblau */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .2; filter: sepia(.45) saturate(1.3); pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 75%); mask-image: linear-gradient(90deg, transparent 15%, #000 75%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: radial-gradient(55% 75% at 88% 0%, rgba(249,177,51,.32), transparent 70%), radial-gradient(45% 60% at 0% 100%, rgba(255,128,64,.16), transparent 70%);
	animation: heroBreathe 9s ease-in-out infinite alternate; }
@keyframes heroBreathe { to { opacity: .7; } }
.hero .wrap { z-index: 2; }
.speed { z-index: 1; background: linear-gradient(90deg, transparent, rgba(255,196,90,.85), transparent); box-shadow: 0 0 10px rgba(249,177,51,.45); }

/* Familiengruß an der Buchungskarte */
.book-col { position: relative; min-width: 0; }
.greet { position: absolute; top: -24px; right: -20px; z-index: 3; display: flex; align-items: center; gap: .65rem; padding: .45rem 1rem .45rem .45rem; background: #fffaf0; color: #1a1826; border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,.3); transform: rotate(3deg); animation: greetIn .7s .9s cubic-bezier(.3,1.5,.5,1) both; }
.greet::before { content: ""; position: absolute; top: -9px; left: 50%; width: 58px; height: 18px; transform: translateX(-50%) rotate(-5deg); background: rgba(249,177,51,.8); border-radius: 2px; }
.greet .ph { width: 84px; height: 56px; border-radius: 28px; overflow: hidden; flex: none; box-shadow: 0 0 0 3px var(--gold); }
.greet .ph img { width: 100px; max-width: none; margin: -4px 0 0 -8px; }
.greet p { margin: 0; line-height: 1; }
.greet b { display: block; font: 700 1.5rem/1 var(--hand); color: #241b56; }
.greet small { display: block; font: 500 1.15rem/1.1 var(--hand); color: #8a5a00; margin-top: .15rem; }
@keyframes greetIn { from { opacity: 0; transform: rotate(14deg) scale(.6) translateY(-12px); } }
/* Desktop: Karte etwas tiefer, damit der Zettel frei über der Kartenecke sitzt */
@media (min-width: 961px) { .book-col { margin-top: 58px; } .greet { top: -64px; right: -12px; } }
@media (max-width: 1100px) { .greet { right: -6px; } }
@media (max-width: 560px) { .book-col { display: flex; flex-direction: column; } .greet { order: -1; position: relative; top: auto; right: auto; width: fit-content; margin: 0 .25rem -14px auto; } }

/* Handschriftliche Unterschriften */
.quote-wide .sign { display: block; margin-top: .6rem; font: 700 clamp(1.9rem, 3.6vw, 2.7rem)/1 var(--hand); font-style: normal; color: var(--gold-deep); transform: rotate(-3deg); }
.success .sign-inline { margin: .75rem 0 .25rem; font: 700 1.6rem/1 var(--hand); color: var(--accent); transform: rotate(-2deg); }

/* Reifen-Check hell und warm statt zweiter Nachtfläche */
.check-sec { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 14%, var(--bg)), var(--bg)); color: var(--text); }
.check-sec h2 { color: var(--accent); }
.check-sec .lead, .verdict-text, .game .sub { color: var(--muted); }
.check-sec :where(a, button, input, [tabindex]):focus-visible { outline-color: var(--focus); }
.game .panel { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.game label output { color: var(--accent); }
.seg button { border-color: var(--line); color: var(--text); }
.dot-in { border-color: var(--line); background: var(--surface-2); color: var(--text); }
.tread i { background: linear-gradient(var(--tire), var(--navy)); }
.gauge > path:first-of-type { stroke: var(--line); }
.gauge #ticks { stroke: var(--muted); }
.gauge .needle path { stroke: var(--text); }
.gauge > circle { fill: var(--surface); stroke: var(--text); }

/* Buchungskarte kompakter: ungefähr so hoch wie der Hero-Text */
.book-head { padding: .8rem 1.25rem; }
.book-head .ring { width: 48px; height: 48px; }
.book-body { min-height: 0; padding: 1rem 1.25rem 1.1rem; }
.book-body .q { margin-bottom: .5rem; }
.cal { gap: 2px; }
.cal .dow { padding-block: .1rem; }
.day { aspect-ratio: auto; height: 42px; border-radius: 10px; }
.day .dot { bottom: 3px; width: 5px; height: 5px; }
.legend { margin-top: .5rem; }
.book-foot[hidden] { display: none; }

/* Status im Hero: Link zu den Öffnungszeiten */
.status-wrap { margin: 1.75rem 0 0; }
a.status { margin-top: 0; color: #fff; text-decoration: none; transition: background-color .15s; }
a.status:hover { background: rgba(255,255,255,.16); }
a.status .ico { width: 1em; height: 1em; opacity: .7; margin-left: -.15rem; }
#hours { scroll-margin-top: 230px; } /* Adresse darüber bleibt sichtbar */
#hours:target { animation: hoursFlash 1.6s ease-out; border-radius: 10px; }
@keyframes hoursFlash { 0%, 30% { box-shadow: 0 0 0 4px var(--gold); background: color-mix(in srgb, var(--gold) 18%, transparent); } 100% { box-shadow: 0 0 0 4px transparent; } }

/* Buchungsschritte kompakt: jeder Schritt ungefähr so hoch wie der Kalender */
.picked { margin-bottom: .6rem; }
.picked button small { font-weight: 500; opacity: .75; margin-left: .15rem; }
.picked button small::before { content: "· "; }
.book-body .q { margin-bottom: .4rem; }
.slots-group { margin-top: .5rem; }
.slots-group .slots-h { margin-bottom: .3rem; }
.slots { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: .35rem; }
.slot { padding: .4rem .2rem; border-radius: 8px; font-size: .95rem; }
.field { margin-bottom: .55rem; gap: .2rem; }
.field label { font-size: .875rem; }
.field input { padding: .5rem .75rem; }
.plate input { font-size: 1.25rem; padding-block: .35rem; }
.book-body .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; }
@media (max-width: 420px) { .book-body .two { grid-template-columns: 1fr; } }
.hold { padding: .4rem .7rem; font-size: .85rem; margin-top: .4rem; }
.hold.hold-top { margin: 0 0 .75rem; } /* Ablauf-Hinweis oben in der Karte: Abstand zum Datums-Chip darunter */
.book-body .note { font-size: .8rem; margin-top: .5rem; }
.book-foot { padding: .7rem 1.25rem; }
.book-foot .btn { padding: .6rem 1rem; }
.summary li { padding: .35rem .9rem; }
.upsell { grid-template-columns: auto 1fr auto; padding: .7rem .8rem; margin-top: .6rem; gap: .3rem .7rem; }
.upsell .ico-box { width: 38px; height: 38px; }
.upsell small { display: none; } /* Erklärung steht bei „Unsere Leistungen“ */
.upsell .btn { grid-column: auto; padding: .5rem .85rem; }
@media (max-width: 420px) { .upsell { grid-template-columns: auto 1fr; } .upsell .btn { grid-column: 1 / -1; } }
.success svg.check { width: 64px; height: 64px; margin-bottom: .4rem; }
.success .sign-inline { margin: .45rem 0 .15rem; }
.ref { margin: .4rem 0 .5rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.speed { display: none; }
}

/* ---------- Live-Betrieb ---------- */
/* Complianz „Zustimmung verwalten“: über die Saisonwechsel-Leiste heben, solange diese sichtbar ist.
   transform statt bottom, weil Complianz den Button per bottom-Animation ein- und ausfährt. */
#cmplz-manage-consent .cmplz-manage-consent { transition: transform .3s ease; }
/* Unter die Leiste (z 45) legen: Der Button schaut dann wie sonst am Bildschirmrand aus der Oberkante der Leiste heraus. */
body.band-mini-on #cmplz-manage-consent .cmplz-manage-consent { transform: translateY(-61px); z-index: 44; }
.book-loading { text-align: center; padding: 1.5rem 0; color: var(--muted); }
/* Formular ohne JavaScript (aus dem Buchungs-Plugin) in der Buchungskarte */
.rbnc-fallback input[type="date"], .rbnc-fallback input[type="text"], .rbnc-fallback input[type="email"], .rbnc-fallback input[type="tel"] { font: inherit; padding: .5rem .7rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); width: 100%; max-width: 100% !important; box-sizing: border-box; }
.rbnc-fallback button { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: .6rem 1.1rem !important; background: var(--fill) !important; color: #fff !important; cursor: pointer; margin-top: .5rem; }
.rbnc-fallback .rbnc-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .4rem; }
.rbnc-fallback .rbnc-slots label { display: flex; gap: .4rem; align-items: center; padding: .45rem .6rem; border: 1.5px solid var(--line); border-radius: 8px; white-space: nowrap; font-weight: 600; }
.rbnc-fallback h3 { font-size: 1.1rem; }
