/*
 * JAC Schweiz – Stile der Website.
 * Grundlage: design/grundlagen.html (entschieden am 17.11.2026):
 * Entwurf «Nacht», Bühne «1b · Name als Titel», Karten «B · Preisschild in JAC-Blau»,
 * lange Lesetexte auf hellem Grund.
 *
 * Regel: Nichts Mitlaufendes (sticky/fixed) in denselben Bereich wie einen Rechtstext.
 */

:root {
	--nacht: #0A1A33;
	--flaeche: #12264A;
	--flaeche-tief: #0E2243;
	--fuss: #07142A;
	--marke: #00419B;
	--akzent: #3D7BE0;
	--hellblau: #9AB2D9;
	--leise: #B7C4DA;
	--hell: #D6E1F3;
	--weiss: #FFFFFF;
	--papier: #F4F6FA;
	--tinte: #0A1A33;
	--tinte-leise: #44546F;
	--linie: rgba(255, 255, 255, .12);
	--rand: clamp(16px, 4vw, 48px);
	--r-etikett: 4px;
	--r-karte: 8px;
	--r-knopf: 999px;
	--ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(96px + var(--hinweis)); }
:root { --hinweis: 0px; }
body:has(.hinweisleiste) { --hinweis: 40px; } /* genaue Höhe setzt main.js */
body { margin: 0; background: var(--nacht); color: var(--weiss); font: 400 1.0625rem/1.6 Archivo, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--hellblau); text-underline-offset: .2em; }
a:hover { color: var(--weiss); }
::selection { background: var(--marke); color: var(--weiss); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; }
[hidden] { display: none !important; }

.rahmen { max-width: 1296px; margin-inline: auto; padding-inline: var(--rand); }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: var(--r-knopf); background: var(--weiss); color: var(--nacht); font-weight: 700; }
.sprung:focus { top: 12px; }

h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.recht { font-size: .8125rem; line-height: 1.5; color: var(--leise); max-width: 62ch; }
.recht sup, .preisschild sup { font-size: .7em; font-weight: 700; line-height: 0; }
.leer { color: var(--leise); }

/* ---------- Knöpfe, Etiketten, Links ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--r-knopf); background: var(--weiss); color: var(--nacht); font-weight: 700; font-size: .9375rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.knopf:hover { background: var(--hell); color: var(--nacht); }
.knopf:active { transform: translateY(1px); }
.knopf--rand { background: transparent; border-color: rgba(255, 255, 255, .3); color: var(--weiss); }
.knopf--rand:hover { background: rgba(255, 255, 255, .1); color: var(--weiss); }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.textlink .pfeil { transition: transform .18s var(--ease); }
.textlink:hover .pfeil { transform: translateX(3px); }
.etikett { display: inline-block; align-self: flex-start; padding: 4px 9px; border-radius: var(--r-etikett); background: var(--weiss); color: var(--nacht); font-size: .75rem; font-weight: 700; line-height: 1.3; }

/* ---------- Hinweisleiste und Kopf ---------- */
/* VW-Hinweis: bleibt oben stehen, die Kopfzeile läuft direkt darunter mit. */
.hinweisleiste { position: sticky; top: 0; z-index: 51; background: var(--flaeche); border-bottom: 1px solid var(--linie); font-size: .875rem; font-weight: 600; }
.hinweisleiste .rahmen { padding-block: 9px; text-align: center; }

.kopf { position: sticky; top: var(--hinweis); z-index: 50; background: var(--nacht); border-bottom: 1px solid var(--linie); }
.kopf__zeile { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.kopf__logo img { width: 142px; height: 28px; filter: brightness(0) invert(1); }
.kopf__nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.menue { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.menue__link, .menue a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-radius: var(--r-knopf); background: transparent; color: var(--weiss); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; }
.menue__link:hover, .menue a:hover, .menue__link[aria-expanded="true"] { background: rgba(255, 255, 255, .08); color: var(--weiss); }
.menue__pfeil { color: var(--hellblau); transition: transform .18s var(--ease); }
.menue__link[aria-expanded="true"] .menue__pfeil { transform: rotate(180deg); }
.kopf__aktionen { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.menue > li { position: relative; }
.untermenue { position: absolute; left: 0; top: calc(100% + 6px); z-index: 60; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.untermenue a { display: block; width: 100%; padding: 10px 12px; border-radius: 6px; color: var(--weiss); font-weight: 500; font-size: .9375rem; text-decoration: none; }
.untermenue a:hover { background: rgba(255, 255, 255, .08); }
.menue .current-menu-item > a, .untermenue .current-menu-item > a { color: var(--hellblau); }
.kopf__schalter { display: none; }
.kopf__haendler { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--flaeche-tief); border-top: 1px solid var(--linie); box-shadow: 0 24px 48px rgba(0, 0, 0, .4); max-height: calc(100vh - 120px); overflow-y: auto; }
.mega__raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 32px; }
.mega__titel { margin-bottom: 8px; padding-inline: 8px; font-size: .875rem; font-weight: 700; color: var(--hellblau); letter-spacing: 0; }
.mega__modell { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 6px; color: var(--weiss); text-decoration: none; }
.mega__modell:hover { background: rgba(255, 255, 255, .06); color: var(--weiss); }
.mega__modell img { width: 88px; height: 46px; object-fit: contain; flex: none; }
.mega__modell b { display: block; font-size: .9375rem; }
.mega__modell small { display: block; font-size: .8125rem; color: var(--leise); font-variant-numeric: tabular-nums; }
.mega__fuss { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-block: 16px 24px; border-top: 1px solid var(--linie); }
.mega__fuss span { margin-left: auto; font-size: .8125rem; color: var(--leise); }

/* ---------- Preisschild (Kaufpreis und Leasing gleich gross) ---------- */
.preisschild { display: inline-flex; flex-direction: column; align-self: flex-start; gap: 0; padding: .7rem .9rem .8rem; border-radius: 6px; background: var(--marke); color: var(--weiss); font-variant-numeric: tabular-nums; }
.preisschild__zeile span { display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--hell); }
.preisschild__zeile b { display: block; font-size: clamp(1.3125rem, 2.1vw, 1.625rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.preisschild__zeile + .preisschild__zeile { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .28); }
.preisschild a { color: inherit; text-decoration: none; }
.preisschild a:hover { text-decoration: underline; }
.preisschild sup { position: relative; top: .2em; margin-left: .2em; font-size: .45em; font-weight: 800; vertical-align: top; }
.preisschild--text b { font-size: 1.125rem; }

.preisschild--schraeg { margin-top: 18px; padding: 12px 18px 14px; border-radius: 10px; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .7); transform: rotate(-3deg); transform-origin: left center; }
.preisschild--schraeg .preisschild__zeile span { font-size: 1rem; font-weight: 800; color: var(--weiss); }
.preisschild--schraeg .preisschild__zeile b { font-size: clamp(1.75rem, 3.4vw, 3rem); letter-spacing: -.04em; line-height: .9; }
.preisschild--schraeg sup { top: .3em; margin-left: .15em; font-size: .32em; }

/* ---------- Bühne ---------- */
.buehne { padding-block: clamp(32px, 6vw, 72px); background: radial-gradient(ellipse 52% 60% at 74% 62%, rgba(0, 65, 155, .9) 0%, rgba(0, 65, 155, 0) 70%) var(--nacht); overflow: hidden; }
.buehne__raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: center; }
.buehne__text { display: flex; flex-direction: column; align-items: flex-start; }
.buehne__name { font-size: clamp(2.25rem, 5.6vw, 4.75rem); font-weight: 900; letter-spacing: -.04em; line-height: .98; }
.buehne__satz { margin-top: 30px; font-size: 1.125rem; line-height: 1.45; color: var(--hell); max-width: 44ch; }
.buehne__satz b { color: var(--weiss); font-weight: 800; }
.buehne .recht { margin-top: 12px; }
.buehne__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.buehne__bild img { width: 100%; max-height: 420px; object-fit: contain; }
.buehne__bild { position: relative; }
/* Startseite: Bühne mit mehreren Modellen zum Blättern (Wischen, Pfeile, Modellnamen). */
.buehne--karussell { padding-bottom: clamp(20px, 3vw, 36px); }
.buehne__spur { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.buehne__spur::-webkit-scrollbar { display: none; }
.buehne__folie { scroll-snap-align: start; scroll-snap-stop: always; }
.buehne__folie .buehne__bild img { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.buehne__folie:not([data-aktiv]) .buehne__bild img { opacity: .35; transform: translateX(6%) scale(.96); }
.buehne__steuerung { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(20px, 3vw, 36px); }
.buehne__wahl { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.buehne__wahl::-webkit-scrollbar { display: none; }
.buehne__wahl button { position: relative; flex: none; padding: 10px 16px 12px; border: 1px solid var(--linie); border-radius: var(--r-knopf); background: transparent; color: var(--leise); font: inherit; font-size: .9375rem; font-weight: 700; white-space: nowrap; cursor: pointer; transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
.buehne__wahl button:hover { color: var(--weiss); border-color: rgba(255, 255, 255, .35); }
.buehne__wahl button[aria-current="true"] { background: var(--marke); border-color: var(--marke); color: var(--weiss); }
.buehne__pfeile { display: flex; flex: none; gap: 10px; }
.buehne__punkte { display: none; position: absolute; left: 50%; bottom: 0; z-index: 1; align-items: center; gap: 6px; transform: translateX(-50%); }
.buehne__punkte span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: width .3s var(--ease), background-color .3s var(--ease); }
.buehne__punkte span[data-an] { width: 22px; border-radius: 4px; background: var(--weiss); }
/* Mini-Menü unten (nur Handy und Tablet). Platz am Seitenende, damit am Schluss nichts darunter liegt. */
.mobilleiste { display: none; }
.rundknopf { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: var(--weiss); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease); }
.rundknopf:hover { background: var(--marke); border-color: var(--marke); }
.rundknopf:disabled { opacity: .3; cursor: default; background: transparent; border-color: rgba(255, 255, 255, .3); }
@media (prefers-reduced-motion: reduce) { .buehne__folie .buehne__bild img { transition: none; } }
.etikett--gross { position: absolute; top: 4%; right: 0; z-index: 1; padding: 8px 14px; border-radius: 6px; font-size: 1rem; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(48px, 7vw, 88px) 0; }
.abschnitt--eng { padding-top: 24px; }
.abschnitt > h2 { margin-bottom: 28px; }
.abschnitt__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }

.seitenkopf { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 32px); }
.seitenkopf h1 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.seitenkopf .etikett { margin-top: 14px; }
.seitenkopf p { margin-top: 14px; color: var(--hell); max-width: 60ch; }
.seitenkopf time { display: block; margin-bottom: 10px; color: var(--leise); font-size: .9375rem; }
.seitenkopf--schmal { max-width: calc(860px + 2 * var(--rand)); }
.seitenkopf__aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

.brotkrumen { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: .875rem; color: var(--leise); }
.brotkrumen a { color: var(--leise); text-decoration: none; }
.brotkrumen a:hover { color: var(--weiss); }
.brotkrumen [aria-current] { color: var(--weiss); }

/* ---------- Karten ---------- */
.kartenraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.karte { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--flaeche); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-karte); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.karte:hover { border-color: rgba(154, 178, 217, .5); transform: translateY(-3px); }
.karte__bild { display: grid; place-items: center; aspect-ratio: 16 / 8; }
.karte__bild img { width: 100%; height: 100%; object-fit: contain; }
.karte__name { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.karte__name a { color: var(--weiss); text-decoration: none; }
.karte__spec { font-size: .875rem; color: var(--leise); }
.karte .preisschild { margin-top: 6px; }
.karte__mehr { margin-top: auto; padding-top: 8px; }
.karte[hidden] { display: none; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter__knopf { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--linie); border-radius: var(--r-knopf); background: transparent; color: var(--weiss); font-weight: 600; font-size: .9375rem; cursor: pointer; }
.filter__knopf span { color: var(--leise); font-weight: 400; font-variant-numeric: tabular-nums; }
.filter__knopf:hover { background: rgba(255, 255, 255, .08); }
.filter__knopf[aria-pressed="true"] { background: var(--weiss); border-color: var(--weiss); color: var(--nacht); }
.filter__knopf[aria-pressed="true"] span { color: var(--tinte-leise); }

/* ---------- Modellseite ---------- */
html { scroll-padding-top: calc(150px + var(--hinweis)); }
.sprungleiste { position: sticky; top: calc(77px + var(--hinweis)); z-index: 40; background: var(--nacht); border-block: 1px solid var(--linie); }
.sprungleiste__zeile { display: flex; align-items: center; gap: 8px 16px; min-height: 56px; }
.sprungleiste__name { flex: none; font-weight: 800; }
.sprungleiste ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sprungleiste ul::-webkit-scrollbar { display: none; }
.sprungleiste ul a { display: block; padding: 8px 14px; border-radius: var(--r-knopf); color: var(--hell); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sprungleiste ul a:hover, .sprungleiste ul a[aria-current="true"] { background: rgba(255, 255, 255, .08); color: var(--weiss); }
.sprungleiste__knopf { margin-left: auto; min-height: 38px; padding: 8px 16px; font-size: .875rem; }

.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 0; }
.kennzahlen > div { display: flex; flex-direction: column-reverse; gap: 6px; padding-top: 18px; border-top: 2px solid var(--akzent); }
.kennzahlen dd { margin: 0; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.kennzahlen dd small { margin-left: .25em; font-size: .35em; font-weight: 800; letter-spacing: 0; color: var(--hellblau); }
.kennzahlen dt { color: var(--leise); }
.zaehler { padding-top: clamp(32px, 5vw, 56px); }
.kennzahlen--start dd { color: var(--weiss); }
.zweispalter { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; margin-top: 40px; align-items: start; }
.einleitung { font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.5; max-width: 60ch; }
.haken { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.haken li { position: relative; padding-left: 26px; color: var(--hell); }
.haken li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--akzent); border-bottom: 2.5px solid var(--akzent); transform: rotate(-45deg); }

.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.galerie__bild { display: block; overflow: hidden; border-radius: var(--r-karte); background: var(--flaeche); }
.galerie__bild img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.galerie__bild:hover img { transform: scale(1.03); }
.galerie > .galerie__bild:first-child { grid-column: span 2; grid-row: span 2; }
/* Höchstens drei Fotos nebeneinander. */
.details { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 240px), calc((100% - 24px) / 3)), 1fr)); gap: 12px; }

.farbwahl { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.farbwahl__bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.farbwahl__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.farbknopf { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--linie); border-radius: var(--r-knopf); background: transparent; color: var(--weiss); font-size: .875rem; font-weight: 600; cursor: pointer; }
.farbknopf img { width: 44px; height: 30px; object-fit: cover; border-radius: var(--r-knopf); }
.farbknopf:hover { background: rgba(255, 255, 255, .06); }
.farbknopf[aria-pressed="true"] { border-color: var(--weiss); box-shadow: inset 0 0 0 1px var(--weiss); }
.farbwahl__auswahl { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 20px; }
.farbwahl__auswahl b { font-size: 1.25rem; }
.farbwahl__auswahl span { color: var(--hell); font-variant-numeric: tabular-nums; }
.farbwahl .recht { margin-top: 8px; }

.reiter__leiste { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
.reiter__leiste button { padding: 9px 16px; border: 1px solid var(--linie); border-radius: var(--r-knopf); background: transparent; color: var(--weiss); font-weight: 600; font-size: .9375rem; cursor: pointer; }
.reiter__leiste button[aria-selected="true"] { background: var(--weiss); border-color: var(--weiss); color: var(--nacht); }
.technik { width: 100%; max-width: 860px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.technik th, .technik td { padding: 11px 0; border-top: 1px solid var(--linie); text-align: left; vertical-align: top; font-size: .9375rem; }
.technik th { width: 50%; padding-right: 24px; font-weight: 400; color: var(--leise); }
.technik td { font-weight: 600; }


.energie { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: start; }
.energie .recht { margin: 6px 0 16px; }
.energie__etikette { display: block; width: min(320px, 100%); border-radius: 6px; overflow: hidden; background: var(--weiss); }

.modelluebersicht { display: flex; justify-content: center; margin-top: clamp(48px, 7vw, 88px); }

.grossbild { max-width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-karte); background: var(--fuss); overflow: hidden; }
.grossbild::backdrop { background: rgba(7, 20, 42, .85); }
.grossbild img { display: block; max-width: 100%; max-height: 92vh; object-fit: contain; }
.grossbild__zu { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(7, 20, 42, .7); color: var(--weiss); cursor: pointer; }

/* ---------- Leasingrechner (Plugin jac-leasingrechner) im dunklen Design ---------- */
.leasing .jac-lr {
	--lr-primary: var(--akzent);
	--lr-ink: var(--weiss);
	--lr-ink-soft: var(--leise);
	--lr-line: var(--linie);
	--lr-line-strong: rgba(255, 255, 255, .22);
	--lr-bg-soft: var(--flaeche-tief);
	--lr-white: var(--flaeche);
	font-family: inherit;
	font-size: 1rem;
	letter-spacing: 0;
}
.leasing .jac-lr-titel { margin-bottom: 28px; color: inherit; font: inherit; font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.leasing .jac-lr :focus-visible { outline: 2px solid var(--akzent) !important; outline-offset: 3px; }
.leasing .jac-lr__link, .leasing .jac-lr a:not(.jac-lr__btn) { color: var(--hellblau); }
.leasing .jac-lr__label { font-size: 1rem; font-weight: 700; }
.leasing .jac-lr__value { font-variant-numeric: tabular-nums; }

/* Eingabefelder wie die Felder der Website */
.leasing .jac-lr__input { border-radius: var(--r-karte); background: var(--flaeche); border-color: rgba(255, 255, 255, .22); }
.leasing .jac-lr__input:focus-within { border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent); }
.leasing .jac-lr__input input { font-variant-numeric: tabular-nums; font-weight: 700; }

/* Schieberegler */
.leasing .jac-lr input[type="range"] { height: 6px; border-radius: 3px; }
.leasing .jac-lr input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; border: 2px solid var(--weiss); background: var(--akzent); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.leasing .jac-lr input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 2px solid var(--weiss); background: var(--akzent); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }

/* Laufzeit: Pillen wie die Filter der Modellübersicht */
.leasing .jac-lr__seg { gap: 4px; padding: 4px; border: 1px solid var(--linie); border-radius: var(--r-knopf); background: var(--flaeche); }
.leasing .jac-lr__seg button { border: 0 !important; border-radius: var(--r-knopf); background: transparent; color: var(--weiss); font-weight: 600; min-height: 40px; }
.leasing .jac-lr__seg button:hover { background: rgba(255, 255, 255, .08); }
.leasing .jac-lr__seg button[aria-checked="true"] { background: var(--weiss); color: var(--nacht); font-weight: 800; }

/* Ergebnis wie das Preisschild-Umfeld */
.leasing .jac-lr__result { border-radius: var(--r-karte); background: var(--flaeche); border: 1px solid rgba(255, 255, 255, .08); }
.leasing .jac-lr__rate-amount { font-weight: 900; letter-spacing: -.03em; }
.leasing .jac-lr__table th, .leasing .jac-lr__table td { border-color: var(--linie); font-variant-numeric: tabular-nums; }

/* Knöpfe wie auf der Website: gerundet, normale Schreibweise, Pfeil weg */
.leasing .jac-lr .jac-lr__btn { min-height: 44px; border-radius: var(--r-knopf) !important; background: var(--weiss) !important; color: var(--nacht) !important; font-size: .9375rem !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; }
.leasing .jac-lr .jac-lr__btn .fusion-button-text { color: var(--nacht) !important; font-size: inherit !important; letter-spacing: 0 !important; text-transform: none !important; }
.leasing .jac-lr .jac-lr__btn i, .leasing .jac-lr .jac-lr__btn .button-icon-right, .leasing .jac-lr .jac-lr__btn::after { display: none !important; }
.leasing .jac-lr .jac-lr__btn:hover { background: var(--hell) !important; filter: none; }
.leasing .jac-lr .jac-lr__btn--light { background: transparent !important; color: var(--weiss) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3) !important; }
.leasing .jac-lr .jac-lr__btn--light .fusion-button-text { color: var(--weiss) !important; }
.leasing .jac-lr .jac-lr__btn--light:hover { background: rgba(255, 255, 255, .1) !important; }

/* Rechenbeispiel lesbar wie die übrigen Rechtstexte */
.leasing .jac-lr__legal { font-size: .8125rem; line-height: 1.5; color: var(--leise); max-width: 90ch; }

/* ---------- Nächste Schritte: Bühne im Kleinen ---------- */
.schritte { position: relative; margin-top: clamp(72px, 10vw, 140px); padding-block: clamp(72px, 11vw, 160px) clamp(56px, 7vw, 104px); overflow: hidden; background: radial-gradient(ellipse 46% 70% at 26% 62%, rgba(0, 65, 155, .85) 0%, rgba(0, 65, 155, 0) 72%) var(--nacht); border-block: 1px solid var(--linie); }
.schritte__raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.schritte__buehne { position: relative; display: grid; grid-template-areas: "titel" "auto" "schild"; justify-items: start; }
.schritte__titel { grid-area: titel; position: relative; z-index: 2; font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.schritte__auto { grid-area: auto; width: min(680px, 100%); margin: clamp(-24px, -2vw, -8px) 0 0 clamp(24px, 6vw, 96px); pointer-events: none; }
.schritte__auto img { width: 100%; max-height: 340px; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); }
.schritte__schild { grid-area: schild; position: relative; z-index: 2; display: grid; gap: 4px; margin-top: clamp(-56px, -4vw, -24px); padding: 22px 72px 24px 28px; border-radius: 10px; background: var(--marke); color: var(--weiss); text-decoration: none; box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .75); transform: rotate(-3deg); transform-origin: left center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.schritte__schild:hover { color: var(--weiss); transform: rotate(-1.5deg) translateY(-4px); box-shadow: 0 32px 56px -18px rgba(0, 0, 0, .8); }
.schritte__schild-klein { font-size: .9375rem; font-weight: 800; color: var(--hell); }
.schritte__schild b { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.schritte__schild-text { font-size: .9375rem; color: var(--hell); }
.schritte__schild .pfeil { position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); transition: transform .35s var(--ease); }
.schritte__schild:hover .pfeil { transform: translate(6px, -50%); }
.schritte__wege { margin: 0; padding: 0; list-style: none; }
.schritte__wege li:last-child .weg { border-bottom: 0; }
.weg { position: relative; display: grid; gap: 4px; padding: clamp(24px, 3.2vw, 40px) 64px clamp(24px, 3.2vw, 40px) 0; border-bottom: 1px solid rgba(255, 255, 255, .2); color: var(--weiss); text-decoration: none; }
.weg b { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; transition: transform .3s var(--ease); }
.weg span { color: var(--leise); font-size: .9375rem; transition: transform .3s var(--ease); }
.weg .pfeil { position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; color: var(--hellblau); transform: translateY(-50%); transition: transform .3s var(--ease), color .3s var(--ease); }
.weg:hover { color: var(--weiss); }
.weg:hover b, .weg:hover span { transform: translateX(10px); }
.weg:hover .pfeil { color: var(--weiss); transform: translate(4px, -50%); }
.weg:focus-visible, .schritte__schild:focus-visible { outline-offset: 6px; }


/* Steht «Nächste Schritte» am Ende des Inhalts, schliesst der Newsletter direkt an. */
main:has(> .schritte:last-child) + .newsletter { margin-top: 0; }


/* ---------- Bedienungsanleitungen, Partner-Logos ---------- */
.anleitungen, .downloads { margin: 12px 0 40px; padding: 0; list-style: none; border-top: 1px solid rgba(10, 26, 51, .14); }
.anleitungen li, .downloads li { margin: 0; border-bottom: 1px solid rgba(10, 26, 51, .14); }
.anleitungen a, .downloads a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; color: var(--tinte); font-weight: 700; text-decoration: none; }
.anleitungen a::after { content: "↗"; color: var(--marke); font-weight: 400; transition: transform .25s var(--ease); }
.anleitungen a:hover, .downloads a:hover { color: var(--marke); }
.anleitungen a:hover::after { transform: translate(3px, -3px); }
.downloads a::after { content: "↓"; color: var(--marke); font-weight: 400; transition: transform .25s var(--ease); }
.downloads a:hover::after { transform: translateY(3px); }
.downloads__info { margin-left: auto; color: var(--tinte-leise); font-size: .875rem; font-weight: 500; white-space: nowrap; }
.logo-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-block: 8px 24px; }
.logo-raster .wp-block-image { display: grid; place-items: center; aspect-ratio: 3 / 2; margin: 0; padding: 28px; border: 1px solid rgba(10, 26, 51, .1); border-radius: var(--r-karte); background: var(--weiss); }
.logo-raster img { width: 100%; height: 100%; max-height: 110px; object-fit: contain; }


/* ---------- Preis auf der Modellseite: Preistafel ---------- */
.preis > h2 { margin-bottom: clamp(20px, 3vw, 32px); }
.preis-recht { display: grid; gap: 8px; max-width: 62ch; margin-top: clamp(20px, 3vw, 28px); color: var(--hell); }
.preis__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.preis h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.preis dl { margin: 0; }
.preis dt { font-size: .875rem; font-weight: 700; color: var(--hell); }
.preis dd { margin: 6px 0 0; font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.preis dd small { margin-right: .1em; font-size: .5em; font-weight: 800; letter-spacing: 0; }
.preis dd a { color: inherit; text-decoration: none; }
.preis dd a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.preis dd sup { position: relative; top: .25em; margin-left: .15em; font-size: .4em; font-weight: 800; vertical-align: top; }

.preis-a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-karte); background: radial-gradient(ellipse 60% 80% at 78% 55%, rgba(0, 65, 155, .55) 0%, rgba(0, 65, 155, 0) 70%) var(--flaeche); }
.preis-a__text { display: grid; gap: clamp(20px, 2.6vw, 28px); }
.preis-a__kopf { display: grid; gap: 6px; }
.preis-a__tafel { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--r-karte); background: rgba(255, 255, 255, .28); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7); }
.preis-a__tafel > div { padding: clamp(16px, 2vw, 24px); background: var(--marke); }
.preis-a__bild { position: relative; }
.preis-a__bild img { width: 100%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .45)); }
.preis-a__bild .etikett--gross { top: 0; }



/* ---------- Über JAC ---------- */
.ueber-bild img { width: 100%; height: auto; border-radius: var(--r-karte); }
.ueber-welt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.ueber-welt__text p { margin-top: 16px; color: var(--hell); max-width: 52ch; }
.ueber-welt .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }

/* Zeitreise: Jahresleiste zum Springen, darunter Stationen zum seitlichen Blättern. */
.zeitreise { margin-top: clamp(64px, 9vw, 120px); padding-block: clamp(56px, 8vw, 104px); background: radial-gradient(ellipse 60% 55% at 20% 0%, rgba(0, 65, 155, .55) 0%, rgba(0, 65, 155, 0) 70%) var(--fuss); border-block: 1px solid var(--linie); }
.zeitreise__kopf { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.zeitreise__knoepfe { display: flex; gap: 10px; }
.zeitreise__pfeil { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: var(--weiss); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease); }
.zeitreise__pfeil:hover { background: var(--marke); border-color: var(--marke); }
.zeitreise__pfeil:disabled { opacity: .3; cursor: default; background: transparent; border-color: rgba(255, 255, 255, .3); }
.zeitreise__jahre { display: flex; gap: 4px; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.zeitreise__jahre::-webkit-scrollbar { display: none; }
.zeitreise__jahre button { padding: 8px 10px; border: 0; border-radius: var(--r-etikett); background: transparent; color: var(--leise); font: inherit; font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: color .2s var(--ease), background-color .2s var(--ease); }
.zeitreise__jahre button:hover { color: var(--weiss); }
.zeitreise__jahre button[aria-current="true"] { background: var(--marke); color: var(--weiss); }
.zeitreise__fortschritt { height: 2px; margin-top: 12px; background: rgba(255, 255, 255, .14); }
.zeitreise__fortschritt span { display: block; width: 0; height: 100%; background: var(--akzent); transition: width .45s var(--ease); }
.zeitreise__spur { --einzug: max(var(--rand), calc((100% - 1296px) / 2 + var(--rand))); display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 480px); gap: clamp(16px, 2.4vw, 32px); margin: clamp(28px, 4vw, 44px) 0 0; padding: 0 var(--einzug) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--einzug); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.zeitreise__spur::-webkit-scrollbar { display: none; }
.zeitreise__spur.ziehen { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.zeitreise__spur:focus-visible { outline-offset: -4px; }
.station { scroll-snap-align: start; opacity: .4; transition: opacity .45s var(--ease); }
.station[data-aktiv] { opacity: 1; }
.station__bild { overflow: hidden; border-radius: var(--r-karte); background: var(--flaeche); }
.station__bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transform: scale(1.04); transition: transform .8s var(--ease); pointer-events: none; }
.station[data-aktiv] .station__bild img { transform: scale(1); }
.station__jahr { margin-top: 20px; font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.station__datum { margin-top: 6px; color: var(--hellblau); font-size: .9375rem; font-weight: 700; }
.station__text { margin-top: 12px; color: var(--hell); max-width: 46ch; }

.ueber-schweiz { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ueber-schweiz__text { display: grid; gap: 16px; }
.ueber-schweiz__text p { color: var(--hell); max-width: 56ch; }
.ueber-schweiz__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.ueber-schweiz__zahlen { display: grid; gap: 12px; margin: 0; }
.ueber-schweiz__zahlen > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-karte); background: var(--flaeche); }
.ueber-schweiz__zahlen > div:first-child { background: var(--marke); }
.ueber-schweiz__zahlen dt { color: var(--hell); }
.ueber-schweiz__zahlen dd { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 900; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.ueber-schweiz__zahlen dd small { margin-left: .1em; font-size: .6em; color: var(--hellblau); }

.ueber-vw { margin-top: clamp(64px, 9vw, 120px); padding-block: clamp(40px, 6vw, 72px); background: var(--weiss); color: var(--nacht); }
.ueber-vw__satz { max-width: 30ch; font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }

.ueber-e__spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.ueber-e__spalten p { color: var(--hell); }
.ueber-schluss { text-align: center; }
.ueber-schluss h2 { max-width: 20ch; margin-inline: auto; }
.ueber-schluss p { max-width: 60ch; margin: 18px auto 0; color: var(--hell); }
.ueber-schluss .ueber-schluss__leitsatz { margin-top: 24px; color: var(--hellblau); font-weight: 800; }


/* ---------- Häufige Fragen (Modellseiten) ---------- */
.faq__liste { max-width: 860px; border-top: 1px solid var(--linie); }
.faq__eintrag { border-bottom: 1px solid var(--linie); }
.faq__eintrag summary { position: relative; display: block; padding: clamp(18px, 2.2vw, 24px) 56px clamp(18px, 2.2vw, 24px) 0; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.3; cursor: pointer; list-style: none; transition: color .2s var(--ease); }
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__eintrag summary:hover { color: var(--hell); }
.faq__zeichen { position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; transform: translateY(-50%); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.faq__zeichen::before, .faq__zeichen::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease); }
.faq__zeichen::after { transform: rotate(90deg); }
.faq__eintrag[open] .faq__zeichen { background: var(--marke); border-color: var(--marke); }
.faq__eintrag[open] .faq__zeichen::after { transform: rotate(0deg); }
.faq__antwort { display: grid; gap: 12px; justify-items: start; padding: 0 56px clamp(20px, 2.4vw, 28px) 0; }
.faq__antwort p { color: var(--hell); max-width: 64ch; }
.hochzeichen { color: inherit; text-decoration: none; }
.hochzeichen:hover { text-decoration: underline; }

.partner-hinweis { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; padding: 24px 28px; border: 1px solid var(--linie); border-radius: var(--r-karte); color: var(--weiss); text-decoration: none; }
.partner-hinweis b { font-size: 1.25rem; }
.partner-hinweis span { grid-column: 1; color: var(--leise); }
.partner-hinweis .pfeil { grid-row: 1 / span 2; grid-column: 2; color: var(--hellblau); }
.partner-hinweis:hover { border-color: rgba(154, 178, 217, .5); color: var(--weiss); }

/* ---------- Markenbotschafter ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px); padding-block: clamp(16px, 3vw, 40px) clamp(48px, 8vw, 120px); margin: 0; padding: 0; list-style: none; }
.video h2 { margin-top: 20px; font-size: clamp(1.25rem, 1.8vw, 1.625rem); letter-spacing: -.01em; }
.video__rahmen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-karte); background: radial-gradient(ellipse 70% 70% at 50% 60%, var(--marke) 0%, var(--flaeche) 72%); }
.video__rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; border: 0; background: transparent; color: var(--weiss); cursor: pointer; text-align: center; }
.video__start span { font-weight: 700; }
.video__start small { max-width: 34ch; color: var(--hell); font-size: .75rem; line-height: 1.4; }
.video__start:hover svg { transform: scale(1.06); }
.video__start svg { transition: transform .2s var(--ease); }

/* ---------- Beiträge ---------- */
.beitragsraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px 24px; }
.beitrag { display: flex; flex-direction: column; gap: 10px; }
.beitrag__bild { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-karte); background: var(--flaeche); }
.beitrag__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.beitrag:hover .beitrag__bild img { transform: scale(1.03); }
.beitrag time { font-size: .875rem; color: var(--leise); }
.beitrag h3 a { color: var(--weiss); text-decoration: none; }
.beitrag__auszug { color: var(--leise); font-size: .9375rem; }
.nav-links { display: flex; gap: 8px; margin-top: 40px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--linie); border-radius: var(--r-knopf); color: var(--weiss); text-decoration: none; }
.nav-links .current { background: var(--weiss); color: var(--nacht); }

/* ---------- Händler ---------- */
.haendler__werkzeuge { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.haendler__werkzeuge .filter { margin-top: 0; }
.suchfeld { display: flex; align-items: center; gap: 10px; max-width: 420px; min-height: 48px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-knopf); background: var(--flaeche); color: var(--leise); }
.suchfeld:focus-within { border-color: var(--akzent); }
.suchfeld input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--weiss); font: inherit; }
.suchfeld input::placeholder { color: var(--leise); }
.haendler__nah { margin: -8px 0 16px; color: var(--hell); }
.haendler__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.haendlerliste { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.haendlerliste > li { padding: 18px 0; border-top: 1px solid var(--linie); }
.haendlerliste > li[hidden] { display: none; }
.haendlerliste h2, .haendlerliste h3 { font-size: 1.125rem; letter-spacing: 0; }
.haendlerliste h2 a, .haendlerliste h3 a { color: var(--weiss); text-decoration: none; }
.haendlerliste h2 a:hover, .haendlerliste h3 a:hover { color: var(--hellblau); }
.haendlerliste p { margin-top: 4px; color: var(--leise); font-size: .9375rem; }
.haendlerliste--einzeln { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; }
.haendlerliste__links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.haendlerliste__links a:not(.textlink) { color: var(--hell); text-decoration: none; }
.marken { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.marken li { padding: 3px 9px; border: 1px solid var(--linie); border-radius: var(--r-etikett); font-size: .8125rem; color: var(--hell); }
.karte-osm { position: sticky; top: calc(100px + var(--hinweis)); height: min(640px, calc(100vh - 140px - var(--hinweis))); border-radius: var(--r-karte); overflow: hidden; background: var(--flaeche); border: 1px solid var(--linie); }
.karte-osm__hinweis { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; height: 100%; padding: 32px; max-width: 46ch; color: var(--hell); }
.karte-osm__hinweis b { color: var(--weiss); font-size: 1.125rem; }
.karte-osm .leaflet-container { height: 100%; background: var(--flaeche-tief); font-family: inherit; }
.karte-osm .leaflet-popup-content a { color: var(--marke); font-weight: 700; }
.partner-text { display: flex; flex-direction: column; gap: 14px; color: var(--hell); max-width: 62ch; }
.partner-text .knopf { margin-top: 6px; }
.karte-osm--einzeln { position: relative; top: auto; height: 380px; }
.haendlerdaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.haendlerdaten h2 { margin-bottom: 12px; font-size: 1.125rem; letter-spacing: 0; color: var(--hellblau); }
.haendlerdaten p { line-height: 1.7; }
.haendlerdaten p + p { margin-top: 10px; }
.haendlerdaten a:not(.textlink) { color: var(--weiss); }

/* ---------- Kontakt ---------- */
.kontaktdaten h2 { color: var(--hellblau); }
.personen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.person { display: flex; flex-direction: column; gap: 4px; }
.person__bild { aspect-ratio: 4 / 5; margin-bottom: 10px; overflow: hidden; border-radius: var(--r-karte); background: var(--flaeche); }
.person__bild img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person h3 { font-size: 1.125rem; }
.person p { color: var(--leise); font-size: .9375rem; }
.person a { margin-top: 4px; color: var(--hellblau); font-size: .875rem; overflow-wrap: anywhere; }

/* ---------- Lesetexte auf hellem Grund ---------- */
.lesetext { background: var(--papier); color: var(--tinte); padding-block: clamp(40px, 6vw, 72px); }
.lesetext a { color: var(--marke); }
.lesetext a:hover { color: var(--tinte); }
.lesetext__bild { margin-bottom: 32px; border-radius: var(--r-karte); }

.inhalt { max-width: calc(860px + 2 * var(--rand)); }
.inhalt > * + * { margin-top: 1em; }
.inhalt h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.inhalt h3 { margin-top: 1.4em; }
.inhalt p, .inhalt li { max-width: 70ch; }
.inhalt ul, .inhalt ol { padding-left: 1.25em; }
.inhalt figure img, .inhalt .wp-block-image img { border-radius: var(--r-karte); }
.inhalt table { width: 100%; border-collapse: collapse; }
.inhalt th, .inhalt td { padding: 8px 10px; border-bottom: 1px solid rgba(10, 26, 51, .15); text-align: left; }
.inhalt .alignwide { max-width: 1200px; }
.lesetext .wp-element-button, .lesetext .wp-block-button__link { background: var(--nacht); color: var(--weiss); }

/* Galerien in Beiträgen: wie die Impressionen der Modellseiten, erstes Bild gross */
.lesetext .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px !important; margin-block: 1.6em; }
.lesetext .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; }
.lesetext .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-karte); cursor: zoom-in; }
.lesetext .wp-block-gallery.has-nested-images > figure:first-child { grid-column: span 2; grid-row: span 2; }
.lesetext .wp-block-gallery.has-nested-images > figure:only-child { grid-column: 1 / -1; grid-row: auto; }
.lesetext .wp-block-image img { cursor: zoom-in; border-radius: var(--r-karte); }

/* ---------- Rechtstexte und Fusszeile ---------- */
/* Kleingedrucktes zum Leasing: in der Fusszeile direkt nach der VW-Fussnote, über die volle Breite. */
.fuss__recht .recht { max-width: none; }
.rechtstexte .recht + .recht { margin-top: 10px; }
.rechtstexte .recht b { color: var(--hell); font-weight: 700; }

.newsletter { margin-top: 64px; background: var(--marke); }
.newsletter__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px 48px; align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.newsletter h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.newsletter__punkte { margin-top: 12px; color: var(--hell); font-size: 1.0625rem; }
.newsletter__formular { display: flex; gap: 8px; padding: 6px; border-radius: var(--r-knopf); background: var(--weiss); }
.newsletter__formular input[type="email"] { flex: 1; min-width: 0; padding: 12px 16px; border: 0; outline: 0; background: transparent; color: var(--nacht); font: inherit; font-size: 1rem; }
.newsletter__formular input[type="email"]::placeholder { color: var(--tinte-leise); }
.newsletter__formular .knopf { background: var(--nacht); color: var(--weiss); }
.newsletter__formular .knopf:hover { background: var(--flaeche); color: var(--weiss); }
.newsletter__formular:focus-within { box-shadow: 0 0 0 3px var(--hellblau); }
.newsletter__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter__hinweis { margin-top: 10px; font-size: .8125rem; color: var(--hell); }
.newsletter__hinweis a { color: var(--weiss); }
.newsletter__meldung { color: var(--weiss); }
.newsletter__meldung--fehler { margin-top: 10px; padding: 10px 14px; border-radius: 6px; background: var(--weiss); color: #8C1D18; }
.newsletter + .fuss { margin-top: 0; }
.fuss { margin-top: 64px; background: var(--fuss); padding-top: clamp(48px, 7vw, 80px); }
.fuss__kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; padding-bottom: 40px; border-bottom: 1px solid var(--linie); }
.fuss__logo img { width: 160px; height: auto; filter: brightness(0) invert(1); }
.fuss__leitsatz { margin-top: 16px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.01em; }
.fuss__sozial { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fuss__sozial a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--linie); border-radius: 50%; color: var(--weiss); transition: background-color .2s var(--ease), color .2s var(--ease); }
.fuss__sozial a:hover { background: var(--weiss); color: var(--fuss); }
.fuss__spalten { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px 56px; padding-block: 40px; }
.fuss__spalte h2 { margin-bottom: 16px; font-size: .875rem; font-weight: 700; letter-spacing: 0; color: var(--hellblau); }
.fuss__spalte ul { margin: 0; padding: 0; list-style: none; }
.fuss__spalte li + li { margin-top: 10px; }
.fuss__spalte a { color: var(--weiss); text-decoration: none; }
.fuss__spalte a:hover { color: var(--hellblau); }
.fuss__spalte p { line-height: 1.6; }
.fuss__spalte p + p { margin-top: 12px; }
.fuss__modelle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.fuss__modelle li + li { margin-top: 0; }
.fuss__leise { color: var(--hellblau); font-size: .875rem; }
.fuss__recht { display: flex; flex-direction: column; gap: 12px; padding-block: 28px 40px; border-top: 1px solid var(--linie); }
.fuss__schluss { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; font-size: .875rem; color: var(--leise); }
.fuss__schluss ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.fuss__schluss a { color: var(--leise); }
.fuss__schluss a:hover { color: var(--weiss); }

/* ---------- Seiten aus JAC-Blöcken (Editor) ---------- */
/* JAC-Blöcke bringen ihre eigenen Abschnitte mit; Kernblöcke dazwischen (Überschrift, Absatz, Bild …) stehen im Raster. */
.bloecke { --einzug: max(var(--rand), calc((100% - 1296px) / 2 + var(--rand))); }
.bloecke > :not(.jac-block) { margin-inline: var(--einzug); margin-block: 0; }
.bloecke > :not(.jac-block) + :not(.jac-block) { margin-top: 1em; }
.bloecke > .jac-block + :not(.jac-block) { margin-top: clamp(48px, 7vw, 88px); }
.bloecke > p, .bloecke > ul, .bloecke > ol { max-width: 70ch; color: var(--hell); }
.bloecke > h2, .bloecke > h3 { margin-top: clamp(48px, 7vw, 88px); }
.bloecke > h2 + *, .bloecke > h3 + * { margin-top: 20px; }
.bloecke > .wp-block-image img { width: 100%; height: auto; border-radius: var(--r-karte); }
.bloecke > .wp-block-image:first-child { margin-top: 8px; }
.bloecke > .wp-block-buttons { margin-top: 28px; }
.seitenkopf--bloecke .einleitung { max-width: 60ch; }
.textblock h2 { margin-bottom: 24px; }
.textblock__text { display: grid; gap: 1em; max-width: 70ch; }
.textblock__text p { color: var(--hell); }
.textblock--zwei .textblock__text { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em clamp(20px, 4vw, 56px); }
.textblock--mitte { text-align: center; }
.textblock--mitte h2 { max-width: 20ch; margin-inline: auto; }
.textblock--mitte .textblock__text { margin-inline: auto; max-width: 60ch; }
.textblock__leitsatz { margin-top: 24px; color: var(--hellblau); font-weight: 800; }
.video__titel { margin-top: 20px; font-size: clamp(1.25rem, 1.8vw, 1.625rem); letter-spacing: -.01em; }
.jac-block__leer { margin: 16px var(--rand); padding: 20px 24px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: var(--r-karte); color: var(--leise); }

/* ---------- Schmale Fenster ---------- */
@media (max-width: 1100px) {
	.sprungleiste { top: calc(77px + var(--hinweis)); }
	.kopf__zeile { gap: 10px; }
	.kopf__haendler { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--linie); border-radius: 50%; color: var(--weiss); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
	.kopf__haendler:hover { background: var(--marke); border-color: var(--marke); color: var(--weiss); }
	.kopf__schalter { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 0; padding: 0; border: 1px solid var(--linie); border-radius: 50%; background: transparent; color: var(--weiss); cursor: pointer; }
	.kopf__striche, .kopf__striche::before, .kopf__striche::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s var(--ease); }
	.kopf__striche { position: relative; }
	.kopf__striche::before, .kopf__striche::after { content: ""; position: absolute; left: 0; }
	.kopf__striche::before { top: -6px; }
	.kopf__striche::after { top: 6px; }
	.kopf__schalter[aria-expanded="true"] .kopf__striche { background: transparent; }
	.kopf__schalter[aria-expanded="true"] .kopf__striche::before { transform: translateY(6px) rotate(45deg); }
	.kopf__schalter[aria-expanded="true"] .kopf__striche::after { transform: translateY(-6px) rotate(-45deg); }
	.kopf__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--rand) 24px; background: var(--nacht); border-bottom: 1px solid var(--linie); max-height: calc(100vh - 110px - var(--hinweis)); overflow-y: auto; }
	.kopf__nav.ist-offen { display: flex; }
	.menue { flex-direction: column; align-items: stretch; }
	.menue__link, .menue a { width: 100%; justify-content: space-between; padding: 12px 8px; border-radius: 6px; }
	.kopf__aktionen { flex-direction: column; align-items: stretch; margin-left: 0; }
	.mega { position: static; box-shadow: none; max-height: none; }
	.untermenue { position: static; min-width: 0; margin: 0 0 8px; padding: 0 0 0 12px; background: transparent; border: 0; box-shadow: none; }
	.mega__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fuss__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.mobilleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 20, 42, .94); border-top: 1px solid var(--linie); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s var(--ease), visibility 0s linear 0s; }
	.mobilleiste .knopf { width: 100%; }
	.mobilleiste[data-weg] { transform: translateY(110%); visibility: hidden; transition: none; } /* sofort weg, nur das Wiederkommen ist animiert */
	body:has(.mobilleiste) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
	/* Handy: Modellwahl über der Bühne, damit sofort sichtbar ist, dass es mehrere Modelle gibt;
	   rechts ausgeblendet, wenn die Leiste weiterläuft. Unter dem Bild Punkte mit Zähler. */
	.buehne--karussell { display: flex; flex-direction: column; padding-top: 16px; }
	.buehne__steuerung { order: -1; justify-content: flex-start; margin: 0 0 12px; }
	.buehne__pfeile { display: none; }
	.buehne__wahl { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
	.buehne__wahl button { padding: 8px 14px 9px; font-size: .875rem; }
	.buehne__punkte { display: flex; }
	.ueber-welt, .ueber-schweiz, .ueber-e__spalten, .textblock--zwei .textblock__text { grid-template-columns: minmax(0, 1fr); }
	.zeitreise__kopf { align-items: center; }
	.zeitreise__pfeil { width: 44px; height: 44px; }
	.buehne { background: radial-gradient(ellipse 92% 36% at 50% 22%, rgba(0, 65, 155, .9) 0%, rgba(0, 65, 155, 0) 72%) var(--nacht); }
	.buehne__raster { grid-template-columns: minmax(0, 1fr); }
	.buehne__bild { order: -1; }
	.zweispalter { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.farbwahl, .energie { grid-template-columns: minmax(0, 1fr); }
	.sprungleiste__name { display: none; }
	.sprungleiste__knopf { display: none; }
	.galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.haendler__raster { grid-template-columns: minmax(0, 1fr); }
	.karte-osm { position: relative; top: auto; height: 420px; order: -1; }
	.preis-a { grid-template-columns: minmax(0, 1fr); }
	.preis-a__bild { order: -1; }
	.aktionsband { padding: 24px; }
	.newsletter__raster { grid-template-columns: minmax(0, 1fr); }
	.schritte__raster { grid-template-columns: minmax(0, 1fr); }
	.schritte { background: radial-gradient(ellipse 90% 40% at 50% 30%, rgba(0, 65, 155, .85) 0%, rgba(0, 65, 155, 0) 72%) var(--nacht); }
	.lesetext .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.mega__raster, .fuss__spalten, .fuss__modelle, .haken { grid-template-columns: minmax(0, 1fr); }
	.schritte__schild { padding-right: 56px; }
	.schritte__auto { margin-left: 0; }
	.preisschild--schraeg { padding: 12px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}
