/* Layout concept: a quiet showroom. White and warm-grey surfaces, photography carries the page.
   Type: Barlow (designed after American highway signage) for text, Barlow Condensed for model names.
   Black is the action colour; KW red appears only as a small brand signal. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f3f1;
  --bg-3: #e9e7e3;
  --ink: #111214;
  --ink-2: #3f434a;
  --ink-3: #5f646b; /* v6.1 a11y: war #6c7179 (4,4:1 auf --bg-2), jetzt ≥ 4,8:1 auf --bg, --bg-2 und --bg-3 */
  --line: #e2dfda;
  --line-2: #cbc7c0;
  --night: #0f1012;
  --red: #c8102e;

  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --gx: max(16px, env(safe-area-inset-left, 0px));
  --gxr: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1480px;
  --hdr: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 64px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }

/* type */
.t-model { font-family: var(--cond); font-weight: 600; text-transform: uppercase; font-size: clamp(3rem, 1.4rem + 6.4vw, 7.6rem); line-height: .88; letter-spacing: .004em; }
.t-name { font-family: var(--cond); font-weight: 600; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1; letter-spacing: .01em; }
.t-h1 { font-size: clamp(2.05rem, 1.3rem + 2.6vw, 3.75rem); line-height: 1.04; letter-spacing: -.02em; }
.t-h2 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.75rem); line-height: 1.08; letter-spacing: -.015em; }
.t-h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); line-height: 1.18; letter-spacing: -.01em; }
.t-h4 { font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); line-height: 1.5; max-width: 60ch; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.xs { font-size: .8rem; line-height: 1.45; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.label { font-size: .875rem; color: var(--ink-3); }

/* layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: var(--gx); padding-right: var(--gxr); }
@media (min-width: 900px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }
.sec { padding-block: clamp(64px, 5vw + 32px, 128px); }
.sec-s { padding-block: clamp(40px, 3vw + 20px, 72px); }
.grey { background: var(--bg-2); }
.stack { display: grid; gap: 16px; align-content: start; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.split { display: grid; gap: clamp(28px, 4vw, 80px); }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.r { grid-template-columns: 5fr 7fr; } .split.l { grid-template-columns: 7fr 5fr; } }
.sechead { display: grid; gap: 14px; margin-bottom: clamp(28px, 3vw, 48px); }
@media (min-width: 960px) { .sechead.two { grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; } }
.sechead .acts { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
@media (min-width: 960px) { .sechead.two .acts { justify-content: flex-end; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 2px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-weight: 500; font-size: .98rem; letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2d31; border-color: #2b2d31; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: #e9e7e3; border-color: #e9e7e3; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:hover { background: transparent; color: var(--ink); }
.btn-dark[disabled]:hover { background: var(--ink); color: #fff; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; background: none; border: 0; padding: 4px 0; min-height: 44px; cursor: pointer; }
.tlink:hover { text-decoration-thickness: 2px; }
.arr { width: 14px; height: 10px; flex: none; }

/* header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--hdr); background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.hdr.over { background: transparent; color: #fff; border-bottom-color: transparent; }
.hdr.over::before { content: ""; position: absolute; inset: 0 0 -48px; background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); pointer-events: none; z-index: -1; }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand .mark { height: 22px; width: auto; }
.brand .word { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .3em; padding-left: 12px; border-left: 1px solid currentColor; opacity: .9; }
.nav { display: none; gap: 2px; }
.nav a, .nav button { background: none; border: 0; padding: 10px 12px; font-weight: 500; font-size: .98rem; text-decoration: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.nav a:hover, .nav button:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav [aria-current="page"], .nav .is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hdr-r { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.lang-btn { background: none; border: 0; height: 44px; padding: 0 10px; font-weight: 500; font-size: .92rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.burger { width: 44px; height: 44px; background: none; border: 0; display: grid; place-items: center; cursor: pointer; }
.burger span { width: 22px; height: 1.5px; background: currentColor; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; }
.hdr .btn { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.hdr .btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.hdr.over .btn-dark { background: #fff; border-color: #fff; color: var(--ink); }
@media (min-width: 1100px) { .nav { display: flex; } .burger { display: none; } }
@media (max-width: 520px) { .brand .word { display: none; } .hdr .btn { padding: 0 12px; font-size: .86rem; } }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); padding-block: 28px 36px; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr) 220px; gap: 20px; }
.mega-card { text-decoration: none; display: grid; gap: 8px; }
.mega-card .ph { background: var(--bg-2); aspect-ratio: 16/10; overflow: hidden; }
.mega-card img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.mega-card:hover img { transform: scale(1.04); }
.mega-links { border-left: 1px solid var(--line); padding-left: 24px; display: grid; align-content: start; gap: 2px; }
.mega-links a { text-decoration: none; padding: 7px 0; color: var(--ink-2); }
.mega-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.menu-image-note { margin: 0; color: var(--ink-3); font-size: .78rem; }
.mega-grid > .menu-image-note { grid-column: 1 / -1; }
.langpanel { position: absolute; right: var(--gxr); top: calc(100% + 6px); width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - var(--hdr) - 20px); overflow: auto; overscroll-behavior: contain; background: var(--bg); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); padding: 8px; display: grid; }
.langpanel [data-lang] { display: grid; grid-template-columns: 1fr auto; gap: 12px; text-align: left; text-decoration: none; background: none; border: 0; padding: 10px 12px; cursor: pointer; }
.langpanel [data-lang]:hover { background: var(--bg-2); }
.langpanel :is([aria-pressed="true"], [aria-current="true"]) { font-weight: 600; background: var(--bg-2); }
.drawer-languages { padding-block: 16px; }
.drawer-languages .lang-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; text-decoration: none; }
.drawer-languages [aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.langpanel small { color: var(--ink-3); font-size: .8rem; }
.langpanel .lp-h { padding: 8px 12px; font-size: .85rem; color: var(--ink-3); }
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); overflow-y: auto; }
.drawer-top { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); flex: none; }
.drawer-models { display: grid; gap: 4px; padding-block: 12px; }
.drawer-models a { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; text-decoration: none; padding: 6px 0; }
.drawer-models .ph { background: var(--bg-2); aspect-ratio: 16/10; }
.drawer-models img { display: block; width: 100%; height: 100%; object-fit: contain; }
.drawer .menu-image-note { padding-bottom: 12px; }
.drawer-links { display: grid; border-top: 1px solid var(--line); }
.drawer-links a { padding: 15px 0; text-decoration: none; font-size: 1.15rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 18px 24px; margin-top: auto; }

/* chips / tabs */
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { background: none; border: 0; padding: 12px 0; font-weight: 500; color: var(--ink-3); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.chip { height: 40px; padding: 0 16px; border: 1px solid var(--line-2); background: var(--bg); border-radius: 2px; font-weight: 500; font-size: .92rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* home: full-height stage with model tabs */
.hs { position: relative; isolation: isolate; margin-top: calc(var(--hdr) * -1); color: #fff; background: #1b1c1e; overflow: hidden; }
.hs-media { position: absolute; inset: 0; z-index: -2; }
.hs-pic { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hs-pic.on { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease); }
.hs-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 62%; transform: scale(1.015); transition: transform 9s linear; }
.hs-pic.on img { transform: scale(1); }
.hs::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 11, 13, .64) 0%, rgba(10, 11, 13, .38) 28%, rgba(10, 11, 13, 0) 54%), linear-gradient(0deg, rgba(10, 11, 13, .6) 0%, rgba(10, 11, 13, 0) 24%); }
.hs-in { position: relative; min-height: clamp(640px, min(100svh, 56.25vw + 24px), 1060px); display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--hdr) + 32px); }
.hs-copy { align-self: start; max-width: min(600px, 34vw); display: grid; gap: 22px; padding-block: clamp(24px, 15svh - 20px, 190px) 36px; }
.hs-h { font-family: var(--cond); font-weight: 600; text-transform: uppercase; font-size: clamp(2.5rem, 4.4vw, 5.6rem); line-height: .94; letter-spacing: .002em; text-wrap: balance; }
.hs-h span { display: block; }
.hs-p { font-size: clamp(1rem, .92rem + .28vw, 1.16rem); line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 44ch; }
.hs-ctx { display: grid; gap: 18px; margin-top: 4px; }
.hs-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hs .legal { max-width: 62ch; min-height: 3em; }
.hs-ctx > * { animation: hsfade .7s var(--ease) both; }
@keyframes hsfade { from { opacity: 0; transform: translateY(6px); } }
.hs-nav { display: flex; align-items: end; gap: 28px; padding-bottom: clamp(20px, 2.4vw, 34px); }
.hs-tabs { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; scrollbar-width: none; }
.hs-tabs::-webkit-scrollbar { display: none; }
.hs-tabs button { background: none; border: 0; padding: 0 0 2px; color: rgba(255, 255, 255, .64); text-align: left; cursor: pointer; display: grid; gap: 3px; font: inherit; transition: color .2s; }
.hs-tabs button:hover, .hs-tabs [aria-selected="true"] { color: #fff; }
.hs-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hs-tabs .bar { display: block; height: 2px; background: rgba(255, 255, 255, .28); margin-bottom: 12px; overflow: hidden; }
.hs-tabs .bar b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hs-tabs [aria-selected="true"] .bar b { animation: hsbar 7s linear forwards; }
.hs.paused .bar b, .hs.hold .bar b, .hs.off .bar b, .hs.bg .bar b { animation-play-state: paused !important; }
.hs.still [aria-selected="true"] .bar b { animation: none; transform: scaleX(1); }
@keyframes hsbar { to { transform: scaleX(1); } }
.hs-tabs .nm { font-family: var(--cond); font-weight: 600; font-size: 1.14rem; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-tabs .sg { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-play { flex: none; width: 44px; height: 44px; margin-bottom: 0; border: 1px solid rgba(255, 255, 255, .55); background: transparent; color: #fff; border-radius: 2px; display: grid; place-items: center; cursor: pointer; }
.hs-play:hover { background: #fff; color: var(--ink); }
.hs-cta .sh { display: none; }
@media (min-width: 700px) and (max-width: 1180px) and (orientation: landscape) { .hs-pic img { object-position: 30% 62%; } .hs-copy { max-width: 41vw; } }
@media (min-width: 700px) and (max-height: 760px) and (orientation: landscape) { .hs-copy { gap: 16px; } .hs-p { font-size: .98rem; } }
@media (max-width: 699px), (orientation: portrait) and (max-width: 1100px) {
  .hs { background: #101112; }
  .hs-media { inset: 0 0 auto; aspect-ratio: 4/3; }
  .hs::before { inset: 0 0 auto; aspect-ratio: 4/3; background: linear-gradient(0deg, #101112 0, rgba(16, 17, 18, 0) 24%); }
  .hs-pic img { object-position: 50% 50%; }
  .hs-in { min-height: 0; padding-top: 75vw; }
  .hs-copy { align-self: end; gap: 14px; padding-block: 0 20px; max-width: 640px; }
  .hs .legal { min-height: 3em; }
  .hs-p { max-width: 52ch; }
  .hs-h { font-size: clamp(2.3rem, 10.4vw, 3.6rem); }
  .hs-ctx { gap: 14px; }
  .hs-nav { gap: 14px; padding-bottom: 18px; }
  .hs-tabs { display: flex; gap: 18px; overflow-x: auto; margin-right: -4px; padding-right: 40px; scroll-snap-type: x mandatory; scroll-padding-inline: 0; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .hs-tabs button { flex: 0 0 auto; min-height: 44px; scroll-snap-align: start; }
  .hs-tabs .sg { display: none; }
  .hs-tabs .nm { font-size: 1rem; }
  .hs-tabs .bar { margin-bottom: 9px; }
}
@media (max-width: 699px) {
  .hs-p { display: none; }
  .hs-cta .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .hs-cta .lg { display: none; }
  .hs-cta .sh { display: inline; }
  .hs .legal { font-size: .8125rem; min-height: 4.5em; }
}

/* home: quick access */
.quick { background: var(--bg); border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-content: start; padding: 30px 28px 32px; text-decoration: none; border-left: 1px solid var(--line); }
.quick a:first-child { border-left: 0; padding-left: 0; }
.quick .qi { grid-row: span 2; width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.quick .qt { font-weight: 600; font-size: 1.04rem; display: flex; align-items: center; gap: 10px; }
.quick .qt > span { min-width: 0; overflow-wrap: anywhere; }
.quick .qt .arr { width: 14px; height: 10px; flex: none; transition: transform .2s var(--ease); }
.quick a:hover .qt { text-decoration: underline; text-underline-offset: 5px; }
.quick a:hover .arr { transform: translateX(3px); }
.quick .qp { color: var(--ink-3); font-size: .9rem; line-height: 1.45; }
@media (max-width: 999px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick a { grid-template-columns: minmax(0, 1fr); padding: 20px 0 22px 16px; row-gap: 6px; }
  .quick a:nth-child(odd) { border-left: 0; padding-left: 0; padding-right: 12px; }
  .quick a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .quick .qi { grid-row: auto; margin-bottom: 4px; }
  .quick .qt { font-size: .98rem; }
  .quick .qp { font-size: .85rem; }
}

/* home: model range */
.sec.range { padding-top: clamp(48px, 3vw + 28px, 88px); }
.range-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(24px, 3vw, 44px); }
.segs { display: flex; gap: 8px; flex-wrap: wrap; }
.segs .chip { display: inline-flex; align-items: center; gap: 8px; }
.segs .cnt { font-size: .78rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.segs .chip[aria-pressed="true"] .cnt { color: rgba(255, 255, 255, .66); }
.range-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
@media (max-width: 1099px) { .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rcard { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rcard .ph { display: block; background: var(--bg-2); aspect-ratio: 16/10; overflow: hidden; }
.rcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rcard:hover .ph img { transform: scale(1.035); }
.rc-h { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 8px; }
.rc-b { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-3); margin-bottom: 1px; }
.rc-h .t-name a { text-decoration: none; }
.rc-s { color: var(--ink-3); font-size: .92rem; margin-top: -8px; }
.rc-d { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); padding: 14px 0; margin: 4px 0 2px; }
.rc-d div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding-right: 10px; min-width: 0; }
.rc-d div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.rc-d dd { margin: 0; font-weight: 500; font-size: 1.1rem; line-height: 1.25; }
.rc-d dt { font-size: .79rem; color: var(--ink-3); line-height: 1.35; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.rcard .acts { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.rc-cmp { background: var(--night); color: #fff; padding: clamp(22px, 2.4vw, 32px); }
.rc-cmp p { color: rgba(255, 255, 255, .74); max-width: 40ch; }
.rc-cmp .tlink { color: #fff; }
.rc-cmp .acts { margin-top: auto; }
@media (max-width: 699px) {
  .range-head { margin-bottom: 20px; }
  .segs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gxr) * -1); padding-right: var(--gxr); }
  .segs::-webkit-scrollbar { display: none; }
  .segs .chip { flex: none; }
  .range-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gx) * -1) calc(var(--gxr) * -1); padding-inline: var(--gx) var(--gxr); scroll-padding-inline: var(--gx); }
  .range-grid::-webkit-scrollbar { display: none; }
  .range-grid > * { scroll-snap-align: start; }
  .rc-d dd { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .hs-ctx > * { animation: none; } .hs-pic img, .hs-pic.on img { transform: none; transition: none; } .hs-pic, .hs-pic.on { transition: none; } }

/* model rail cards */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .rail { grid-auto-columns: calc((100% - 40px) / 3); }
  .rail.two { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (min-width: 1300px) { .rail.five { grid-auto-columns: calc((100% - 80px) / 5); } .rail.four { grid-auto-columns: calc((100% - 60px) / 4); } }
.rail > * { scroll-snap-align: start; min-width: 0; }
.railnav { display: flex; gap: 8px; }
.railnav button { width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--bg); border-radius: 2px; cursor: pointer; display: grid; place-items: center; }
.railnav button:hover { border-color: var(--ink); }
.mcard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
#otherRail .mcard { padding: 18px; border: 1px solid var(--line); }
.mcard .ph { background: var(--bg-2); aspect-ratio: 16/10; overflow: hidden; }
.mcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mcard:hover .ph img { transform: scale(1.035); }
.model-colour-reference { background: var(--bg-2); }
.mcard .meta { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: .9rem; }
.mcard .acts { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }

/* legal consumption */
.legal { font-size: .8125rem; line-height: 1.5; color: var(--ink-3); }
.legal b { font-weight: 500; color: var(--ink-2); }
.on-img .legal, .on-img .legal b { color: rgba(255, 255, 255, .82); }
.legal .cls { white-space: nowrap; }
.co2 { display: inline-flex; gap: 1px; vertical-align: -2px; margin-left: 4px; }
.co2 i { width: 11px; height: 13px; font: 600 .58rem/13px var(--sans); font-style: normal; text-align: center; color: #fff; opacity: .3; }
.co2 i.on { opacity: 1; width: 16px; }
.co2 i:nth-child(1) { background: #0a8a3d; } .co2 i:nth-child(2) { background: #3ea33a; } .co2 i:nth-child(3) { background: #97bf2d; } .co2 i:nth-child(4) { background: #e6c51d; } .co2 i:nth-child(5) { background: #e8961b; } .co2 i:nth-child(6) { background: #dc5a1e; } .co2 i:nth-child(7) { background: #c8202a; }

/* image blocks */
.img { overflow: hidden; background: var(--bg-2); }
.img img { width: 100%; height: 100%; object-fit: cover; }
.r169 { aspect-ratio: 16/9; } .r32 { aspect-ratio: 3/2; } .r45 { aspect-ratio: 4/5; } .r2110 { aspect-ratio: 21/10; }
@media (max-width: 699px) { .r2110 { aspect-ratio: 4/3; } }
.feature { display: grid; gap: 24px; }
.feature figcaption { display: grid; gap: 14px; }
@media (min-width: 960px) { .feature figcaption { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
figure { margin: 0; }
.pair { display: grid; gap: 40px 24px; }
@media (min-width: 900px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair article { display: grid; gap: 14px; align-content: start; }
.dl3 { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 36px; padding-block: 14px; border-top: 1px solid var(--line); }
.dl3 div { display: grid; }
.dl3 strong { font-weight: 500; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.dl3 span { font-size: .85rem; color: var(--ink-3); }
.steps3 { display: grid; gap: 40px 24px; }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 a { text-decoration: none; display: grid; gap: 12px; align-content: start; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); }
.steps3 a:hover { border-color: var(--line-2); }

.bullets { list-style: none; margin: 0; padding: 0; display: grid; }
.bullets li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); position: relative; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 1.4em; width: 8px; height: 1px; background: var(--ink); }

/* forms */
.input, .select { height: 52px; width: 100%; min-width: 0; border: 1px solid var(--line-2); background: var(--bg); padding: 0 14px; border-radius: 2px; font-size: 1rem; }
.input:focus, .select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 1px var(--ink); }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 500; }
.panel { background: var(--bg); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.grey .panel { border-color: var(--bg); }
.vin-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.vin .input { font-variant-numeric: tabular-nums; letter-spacing: .06em; text-transform: uppercase; }
.out { padding: 14px 16px; border-left: 2px solid var(--ink-3); background: var(--bg-2); font-size: .95rem; }
.out.ok { border-left-color: #0a8a3d; }
.out.bad { border-left-color: var(--red); }
.out dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 10px 0 0; font-size: .9rem; }
.out dt { color: var(--ink-3); }
.out dd { margin: 0; }
.err { color: var(--red); font-size: .9rem; }
.check { display: grid; grid-template-columns: 22px 1fr; align-content: center; min-height: 44px; gap: 12px; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { padding: 0 0 22px; max-width: 68ch; color: var(--ink-2); }

/* map */
.map { position: relative; width: 100%; aspect-ratio: 27/36; max-height: min(680px, 80svh); }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.legendrow { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--ink-3); }
.legendrow i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.dot-ss { background: var(--red); } .dot-s { border: 1.5px solid var(--red); } .dot-sr { background: var(--ink); }
.citysearch { display: grid; grid-template-columns: 1fr auto; gap: 8px; max-width: 520px; }

/* model page */
.mhero { position: relative; isolation: isolate; margin-top: calc(var(--hdr) * -1); color: #fff; overflow: hidden; }
.mhero .bg { position: absolute; inset: 0; z-index: -2; }
.mhero .bg img { width: 100%; height: 100%; object-fit: cover; }
.mhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 13, .74) 0%, rgba(10, 11, 13, .25) 30%, rgba(10, 11, 13, 0) 52%), linear-gradient(180deg, rgba(10, 11, 13, .38) 0%, rgba(10, 11, 13, 0) 20%); }
.mhero-in { min-height: clamp(620px, min(92svh, 56.25vw), 1000px); display: grid; align-content: end; gap: 18px; padding-top: calc(var(--hdr) + 40px); padding-bottom: clamp(24px, 3vw, 40px); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; opacity: .85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.mhero .claim { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); max-width: 40ch; }
.mhero .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; }
.image-disclosure { margin: 0; padding: 4px 8px; background: var(--bg); color: var(--ink); font-size: .76rem; }
@media (max-width: 699px), (orientation: portrait) and (max-width: 1100px) {
  .mhero { color: var(--ink); margin-top: 0; }
  .mhero::after { display: none; }
  .mhero .bg { position: relative; aspect-ratio: 4/3; }
  .mhero-in { min-height: 0; padding-top: 22px; }
  .mhero .btn-light { background: var(--ink); border-color: var(--ink); color: #fff; }
  .mhero .btn-ghost { border-color: var(--ink); color: var(--ink); }
  .mhero .on-img .legal, .mhero .on-img .legal b { color: var(--ink-3); }
  .crumbs { color: var(--ink-3); }
  body.has-actionbar .hdr.over { background: var(--bg); color: var(--ink); border-bottom-color: var(--line); }
  body.has-actionbar .hdr.over::before { display: none; }
  body.has-actionbar .hdr.over .btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
}
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .keyfacts { grid-template-columns: repeat(4, 1fr); } }
.keyfacts > div { padding: 22px 16px 22px 0; display: grid; gap: 4px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .keyfacts > div { border-top: 0; padding: 30px 24px; border-left: 1px solid var(--line); } .keyfacts > div:first-child { border-left: 0; padding-left: 0; } }
.keyfacts strong { font-weight: 500; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.keyfacts strong small { font-size: .5em; margin-left: 4px; color: var(--ink-3); letter-spacing: 0; }
.keyfacts span { font-size: .9rem; color: var(--ink-3); }
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; align-items: center; gap: 10px; height: 56px; }
.subnav .t { font-family: var(--cond); font-weight: 600; text-transform: uppercase; font-size: 1.2rem; margin-right: 14px; white-space: nowrap; }
.subnav nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.subnav nav::-webkit-scrollbar { display: none; }
.subnav nav a { padding: 8px 10px; font-size: .95rem; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.subnav nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.subnav .acts { margin-left: auto; display: none; gap: 8px; }
@media (min-width: 900px) { .subnav .acts { display: flex; } }
@media (max-width: 899px) { .subnav .t { display: none; } }
.hl { display: grid; gap: clamp(56px, 7vw, 120px); }
.hl-item { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .hl-item { grid-template-columns: 7fr 5fr; gap: 64px; } .hl-item.flip { grid-template-columns: 5fr 7fr; } .hl-item.flip > .img { order: 2; } .hl-item.port { grid-template-columns: 5fr 7fr; } .hl-item.port.flip { grid-template-columns: 7fr 5fr; } }
.hl-item .txt { display: grid; gap: 16px; max-width: 520px; }
.hl-item .img { position: relative; }
.hl-item .image-disclosure { position: absolute; inset: auto 8px 8px auto; }

.trimcard { display: flex; flex-direction: column; gap: 12px; background: var(--bg); padding: 0 0 22px; }
.trim-photo { margin: 0; position: relative; }
.trim-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; background: var(--bg-2); }
.trim-photo figcaption { position: absolute; inset: auto auto 8px 8px; max-width: calc(100% - 16px); padding: 4px 8px; background: var(--bg); color: var(--ink); font-size: .75rem; }
.trimcard .body { padding: 6px 20px 0; display: grid; gap: 10px; }
.trimcard .spec { color: var(--ink-2); font-size: .95rem; }
.trimcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; color: var(--ink-2); }
.trimcard li { padding-left: 16px; position: relative; }
.trimcard li::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; height: 1px; background: var(--ink-2); }
.trimcard .acts { flex-wrap: wrap; row-gap: 6px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 6px 20px 0; margin-top: auto; }

.colours { display: grid; gap: 24px; }
@media (min-width: 960px) { .colours { grid-template-columns: 8fr 4fr; align-items: center; gap: 48px; } }
.colstage { background: var(--paint); aspect-ratio: 16/10; border: 1px solid var(--line); view-transition-name: colstage; }
.paint-preview { margin: 0; min-width: 0; }
.paint-preview img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; background: var(--bg-2); }
.paint-preview figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 9px 0; color: var(--ink-2); font-size: .87rem; }
.paint-preview-credit { font-weight: 600; }
.paint-panel { gap: 14px; }
.paint-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.paint-choices button { display: flex; align-items: center; text-align: start; gap: 7px; min-height: 36px; padding: 5px 7px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; font-size: .85rem; overflow-wrap: anywhere; }
.paint-choices [aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.paint-code { color: var(--ink-3); font-size: .78rem; font-weight: 500; }
.paint-versions { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.paint-versions li { padding: 3px 7px; border: 1px solid var(--line-2); font-size: .8rem; }
.paint-versions small { color: var(--ink-3); font-size: inherit; }
.image-note { margin-top: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.sw { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.sw[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ink); }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery button { padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in; overflow: hidden; aspect-ratio: 3/2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery > button:only-child { grid-column: 1 / -1; aspect-ratio: 2/1; }
.gallery button:hover img { transform: scale(1.03); }
.gallery-three button:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .gallery-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-three button:first-child { grid-column: auto; }
}
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 13, 15, .96); display: grid; grid-template-rows: auto 1fr auto; color: #fff; padding: env(safe-area-inset-top, 0px) var(--gxr) env(safe-area-inset-bottom, 0px) var(--gx); }
.lightbox .top { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.lightbox .stage { display: grid; place-items: center; min-height: 0; }
.lightbox .stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .ctl { display: flex; justify-content: center; gap: 10px; padding-block: 14px; }

.tablewrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .98rem; }
table.spec caption { text-align: left; padding: 28px 0 10px; font-weight: 600; font-size: 1.1rem; }
table.spec th, table.spec td { text-align: left; padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { font-weight: 500; color: var(--ink-3); font-size: .9rem; }
table.spec thead th:first-child { width: 32%; }
table.spec tbody th { font-weight: 400; color: var(--ink-2); }
table.spec td { font-variant-numeric: tabular-nums; }
/* Lange deutsche Wörter (Höchstgeschwindigkeit) silbengerecht trennen statt mitten im Wort umzubrechen */
table.spec th, table.spec td, .fi-dl dt, .sumlist dt, .quick .qt > span { hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 759px) {
  table.spec thead th:first-child { width: 48%; }
  table.spec[data-show="1"] [data-c="2"], table.spec[data-show="1"] [data-c="3"],
  table.spec[data-show="2"] [data-c="1"], table.spec[data-show="2"] [data-c="3"],
  table.spec[data-show="3"] [data-c="1"], table.spec[data-show="3"] [data-c="2"] { display: none; }
}
.varsel { display: none; }
@media (max-width: 759px) { .varsel { display: block; } }
.asof { font-size: .82rem; color: var(--ink-3); margin-top: 16px; }

.actionbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; background: var(--bg); border-top: 1px solid var(--line); padding: 10px var(--gxr) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gx); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; transform: translateY(110%); transition: transform .35s var(--ease); }
.actionbar.show { transform: none; }
.actionbar .btn { width: 100%; }
.actionbar-single { grid-template-columns: 1fr; }
@media (min-width: 900px) { .actionbar { display: none; } }

/* model page (2026 layout): stage with key facts, sticky sub-nav with scroll-spy, story, carousels on the phone, accordions */
.mh-acts { gap: 12px; }
.mh-credit { position: absolute; z-index: 1; top: calc(var(--hdr) + 14px); right: var(--gxr); }
.mh-facts { display: grid; gap: 12px; margin-top: 6px; }
.mhero .keyfacts { border-bottom: 0; }
.mhero .keyfacts > div { border-color: rgba(255, 255, 255, .3); padding-block: 16px 4px; }
.mhero .keyfacts strong small, .mhero .keyfacts span { color: rgba(255, 255, 255, .86); }
.mhero .keyfacts strong { font-size: clamp(1.5rem, 1.2rem + .9vw, 2.1rem); }
@media (min-width: 900px) { .mhero .keyfacts > div { padding: 18px 24px 2px; border-top: 1px solid rgba(255, 255, 255, .3); } .mhero .keyfacts > div:first-child { padding-left: 0; } }
@media (max-width: 699px), (orientation: portrait) and (max-width: 1100px) {
  .mh-credit { top: calc(75vw - 8px); right: 8px; transform: translateY(-100%); }
  .mhero .keyfacts > div { border-color: var(--line); padding: 14px 12px 14px 0; }
  .mhero .keyfacts strong small, .mhero .keyfacts span { color: var(--ink-3); }
  .mh-facts { margin-top: 0; gap: 14px; }
}
.subnav nav { position: relative; }
.subnav nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; }
.subnav nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.subnav nav.fl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px); mask-image: linear-gradient(90deg, transparent, #000 32px); }
.subnav nav.fr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.subnav nav.fl.fr { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
@media (max-width: 899px) {
  .subnav-in { height: 48px; padding-inline: 0; }
  .subnav nav { flex: 1; padding-inline: calc(var(--gx) - 12px) calc(var(--gxr) - 12px); }
  /* drei feste Ebenen sind zu viel: Probefahrt steht in der Aktionsleiste, also nicht zusätzlich im Kopf */
  body:has(#actionbar.show) .hdr-r > .btn-dark { display: none; }
}
@media (prefers-reduced-motion: reduce) { .subnav nav { scroll-behavior: auto; } }
.story-intro { margin-bottom: clamp(40px, 5vw, 96px); }
.story-intro h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 3.1rem); }
.story-intro .lead { align-self: end; }
@media (min-width: 960px) {
  .story .hl-item:not(.flip) > .img { margin-left: calc(-1 * (max(0px, (100vw - var(--maxw)) / 2) + max(48px, env(safe-area-inset-left, 0px)))); }
  .story .hl-item.flip > .img { margin-right: calc(-1 * (max(0px, (100vw - var(--maxw)) / 2) + max(48px, env(safe-area-inset-right, 0px)))); }
}
@media (max-width: 899px) { .story .hl { gap: 48px; } .story .hl-item { gap: 18px; } .story .hl-item > .img { margin-inline: calc(var(--gx) * -1) calc(var(--gxr) * -1); } }
.sechead-t { gap: 10px; }
.sechead-legal { gap: 8px; }
.trimcard { position: relative; } /* hält die .sr-Texte im Karussell, sonst entsteht seitlicher Überlauf */
.trimcard .body { gap: 6px; }
.trimcard .spec strong { font-weight: 600; color: var(--ink); }
.tc-legal { padding-top: 6px; }
.tc-legal .legal { font-size: .76rem; }
.trimcard .acts .tlink, .colours .tlink, .fi-acc .tlink, .sechead .acts .tlink { min-height: 44px; }
.rail-count { margin: 14px 0 0; font-size: .9rem; color: var(--ink-3); text-align: center; }
@media (max-width: 899px) {
  .trim-rail, .other-rail { grid-auto-columns: 85%; gap: 12px; margin-inline: calc(var(--gx) * -1) calc(var(--gxr) * -1); padding-inline: var(--gx) var(--gxr); scroll-padding-inline: var(--gx); }
  .other-rail { grid-auto-columns: 78%; }
  #s-trims .railnav { display: none; }
}
@media (min-width: 900px) { .rail-count { display: none; } }
.colours { grid-template-areas: "head" "stage" "rest"; }
.col-head { grid-area: head; gap: 16px; }
.col-stage { grid-area: stage; min-width: 0; }
.col-rest { grid-area: rest; gap: 14px; }
@media (min-width: 960px) { .colours { grid-template-columns: 8fr 4fr; grid-template-areas: "stage head" "stage rest"; grid-template-rows: auto 1fr; align-items: start; gap: 20px 48px; } .col-stage { align-self: center; } }
.paint-choices { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px 4px; }
.paint-choices button { flex-direction: column; align-items: center; justify-content: start; text-align: center; gap: 3px; min-height: 44px; padding: 6px 2px; border: 0; background: none; font-size: .8rem; line-height: 1.25; }
.paint-choices .pdot { width: 40px; height: 40px; margin-bottom: 4px; }
.paint-choices [aria-pressed="true"] { box-shadow: none; font-weight: 600; }
.paint-choices [aria-pressed="true"] .pdot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 3px var(--bg), 0 0 0 4.5px var(--ink); }
.paint-choices button:hover .pdot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 3px var(--bg), 0 0 0 4px var(--line-2); }
.pc-c { color: var(--ink-3); font-size: .72rem; font-weight: 500; }
.fi-tabs { gap: 2px; }
.fi-tabs button { min-height: 44px; padding: 0 12px; }
.acc > summary, .fg > summary, .spec-g > summary { list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; min-height: 56px; padding: 10px 40px 10px 0; }
.acc > summary::-webkit-details-marker, .fg > summary::-webkit-details-marker, .spec-g > summary::-webkit-details-marker, .pkg-more > summary::-webkit-details-marker { display: none; }
.acc > summary::after, .fg > summary::after, .spec-g > summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
.acc[open] > summary::after, .fg[open] > summary::after, .spec-g[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.acc > summary h4, .fg > summary h3, .spec-g > summary h3 { margin: 0; }
.fi-acc { border-top: 1px solid var(--line-2); }
.acc { border-bottom: 1px solid var(--line-2); }
.acc-b { display: grid; gap: 14px; padding: 4px 0 28px; }
.acc-b > .fi-dl, .acc-b > .fi-g, .acc-b > p { max-width: 820px; }
.fi-sub { font-size: 1rem; margin: 12px 0 0; }
.pkg-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; margin-top: 8px; }
.pkg-more[open] > summary { margin-bottom: 12px; }
.fgs { gap: 0; border-bottom: 1px solid var(--line-2); }
.fgs .fg { display: block; padding-block: 0; }
.fgs .fg-items { padding: 4px 0 24px; }
@media (min-width: 960px) {
  .fgs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-bottom: 0; align-items: start; }
  .fgs .fg { border: 1px solid var(--line); padding: 24px; }
  .fg > summary { cursor: default; min-height: 0; padding: 0 0 14px; }
  .fg > summary::after { display: none; }
  .fgs .fg-items { grid-template-columns: 1fr; gap: 16px; padding: 0; }
}
.gallery { list-style: none; margin: 0; padding: 0; grid-template-columns: none; }
.gallery li { position: relative; min-width: 0; }
.gallery button { display: block; width: 100%; }
.gallery img { display: block; }
.gallery .image-disclosure { position: absolute; inset: auto 8px 8px auto; pointer-events: none; }
.gallery.g1 button { aspect-ratio: 2/1; }
@media (min-width: 900px) { .gallery.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .gallery.g2, .gallery.g3 { grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gx) * -1) calc(var(--gxr) * -1); padding-inline: var(--gx) var(--gxr); scroll-padding-inline: var(--gx); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery li { scroll-snap-align: start; }
  .gallery.g1 button { aspect-ratio: 3/2; }
}
dialog.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(12, 13, 15, .96); }
.spec-g { border-bottom: 1px solid var(--line-2); }
.spec-g table.spec { margin-bottom: 20px; }
.varsel { max-width: 360px; margin-bottom: 8px; }
.steps4 { display: grid; gap: 12px; }
.steps4 a { text-decoration: none; display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.steps4 a:hover { border-color: var(--ink); }
.steps4 p { margin: 0; color: var(--ink-2); }
.steps4 .btn { justify-self: start; margin-top: 6px; }
@media (min-width: 640px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .steps4 a { grid-template-rows: auto 1fr auto; } }
@media (max-width: 639px) {
  .steps4 a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px; }
  .steps4 h3 { font-size: 1.2rem; }
  .steps4 p { grid-column: 1; font-size: .92rem; }
  .steps4 .btn { display: none; }
  .steps4 a::after { content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 9px; height: 9px; margin-right: 4px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
}
.model-next .mnotify { margin-top: 28px; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); background: var(--bg); }
.split-top { align-items: start; }
.ocard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.ocard .ph { position: relative; display: block; background: var(--bg-2); aspect-ratio: 16/10; overflow: hidden; margin-bottom: 8px; }
.ocard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ocard:hover .ph img { transform: scale(1.035); }
.ocard .t-name { font-size: 1.4rem; }
.ocard:hover .t-name { text-decoration: underline; text-underline-offset: 5px; }
.ocard .label { color: var(--ink-3); font-size: .9rem; }
.ocard .image-disclosure { position: absolute; inset: auto 8px 8px auto; }

/* configurator */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100svh - var(--hdr)); }
@media (min-width: 1020px) { .cfg { grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); } }
.cfg-stage { background: var(--bg-2); display: grid; grid-template-rows: auto 1fr auto; padding: 20px var(--gxr) 16px var(--gx); }
@media (min-width: 1020px) { .cfg-stage { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); padding: 32px 48px; } }
@media (max-width: 1019px) { .cfg-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 5; padding-block: 12px 8px; border-bottom: 1px solid var(--line); } .cfg-stage .stage-foot .legal { display: none; } }
.stage-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.stage-img { position: relative; min-height: 0; }
.stage-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; view-transition-name: carstage; }
@media (max-width: 1019px) { .stage-img { height: 28svh; min-height: 190px; } }
.stage-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: end; }
.cfg-panel { background: var(--bg); display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
@media (min-width: 1020px) { .cfg-panel { border-left: 1px solid var(--line); } }
.steps { display: flex; gap: 18px; padding: 16px var(--gxr) 0 var(--gx); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
@media (min-width: 1020px) { .steps { padding: 20px 32px 0; } }
.steps button { background: none; border: 0; padding: 0 0 12px; cursor: pointer; color: var(--ink-3); font-weight: 500; font-size: .92rem; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.steps button.done { color: var(--ink-2); }
.steps button[aria-current="step"] { color: var(--ink); border-bottom-color: var(--ink); }
.cfg-body { padding: 24px var(--gxr) 28px var(--gx); display: grid; gap: 14px; align-content: start; min-width: 0; overflow-x: hidden; }
.cfg-body > * { min-width: 0; }
@media (min-width: 1020px) { .cfg-body { padding: 28px 32px 32px; overflow-y: auto; } }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; width: 100%; text-align: left; background: var(--bg); border: 1px solid var(--line-2); border-radius: 2px; padding: 14px 16px; cursor: pointer; }
.opt:hover { border-color: var(--ink-3); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt .n { font-weight: 600; }
.opt .s { font-size: .88rem; color: var(--ink-3); }
.opt .v { font-size: .9rem; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.opt .th { width: 88px; aspect-ratio: 16/10; background: var(--bg-2); }
.opt .th img { width: 100%; height: 100%; object-fit: cover; }
.opt .box { width: 20px; height: 20px; border: 1.5px solid var(--ink-3); border-radius: 2px; display: grid; place-items: center; }
.opt[aria-checked="true"] .box { background: var(--ink); border-color: var(--ink); }
.opt[aria-checked="true"] .box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.opt .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
.opt[aria-pressed="true"] .dot { border: 6px solid var(--ink); }
.opt[disabled] { opacity: .45; cursor: not-allowed; }
.cfg-foot { display: flex; justify-content: space-between; gap: 10px; padding: 14px var(--gxr) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gx); border-top: 1px solid var(--line); background: var(--bg); position: sticky; bottom: 0; }
@media (min-width: 1020px) { .cfg-foot { padding: 16px 32px; } }
.sumlist { display: grid; border-top: 1px solid var(--line); margin: 0; }
.sumlist div { display: grid; grid-template-columns: minmax(84px, 38%) minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sumlist dt { color: var(--ink-3); }
.sumlist dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.code { font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; padding: 14px 16px; background: var(--bg-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; font-variant-numeric: tabular-nums; }
.envkv { border: 1px solid var(--line); padding: 16px; display: grid; gap: 10px; font-size: .9rem; }
.envkv .scale { display: grid; gap: 3px; }
.envkv .scale div { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .75rem; }
.envkv .scale i { height: 14px; display: block; }
.envkv .scale div.on b { outline: 1.5px solid var(--ink); outline-offset: 2px; padding: 0 4px; }
.note { font-size: .85rem; color: var(--ink-3); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 500; z-index: 95; max-width: calc(100vw - 32px); border-radius: 2px; pointer-events: none; }

/* dealers */
.dl { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1020px) { .dl { grid-template-columns: minmax(380px, 480px) minmax(0, 1fr); min-height: calc(100svh - var(--hdr)); } }
.dl-panel { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
@media (min-width: 1020px) { .dl-panel { border-right: 1px solid var(--line); } }
.dl-controls { padding: 28px var(--gxr) 18px var(--gx); display: grid; gap: 14px; border-bottom: 1px solid var(--line); }
@media (min-width: 1020px) { .dl-controls { padding: 36px 32px 20px max(48px, env(safe-area-inset-left, 0px)); } }
.dl-list { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1020px) { .dl-list { overflow-y: auto; max-height: calc(100svh - var(--hdr) - 320px); } }
.dl-list li { border-bottom: 1px solid var(--line); }
.dl-item { padding: 16px var(--gxr) 16px var(--gx); display: grid; gap: 8px; cursor: pointer; }
@media (min-width: 1020px) { .dl-item { padding: 16px 32px 16px max(48px, env(safe-area-inset-left, 0px)); } }
.dl-item:hover { background: var(--bg-2); }
.dl-item.on { background: var(--bg-2); box-shadow: inset 2px 0 0 var(--ink); }
.dl-item .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dl-item .n { font-weight: 600; line-height: 1.3; }
.dl-item .km { font-size: .9rem; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl-item .tags { font-size: .88rem; color: var(--ink-3); }
.dl-item .acts { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.dl-map { position: relative; background: var(--bg-2); min-height: 420px; }
@media (min-width: 1020px) { .dl-map { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); } }
.dl-map .map { position: absolute; inset: 24px; width: auto; aspect-ratio: auto; max-height: none; }
.dl-map .legendrow { position: absolute; left: 24px; bottom: 20px; }
@media (max-width: 1019px) { .dl-map { order: -1; height: 300px; min-height: 0; } .dl-map .map { inset: 10px; } .dl-map .legendrow { display: none; } }

/* flows */
.flow { max-width: 820px; }
.flow-steps { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.flow-steps div { padding-bottom: 12px; color: var(--ink-3); font-weight: 500; font-size: .95rem; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.flow-steps div.done { color: var(--ink-2); }
.flow-steps div.on { color: var(--ink); border-bottom-color: var(--ink); }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.datechips { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.datechips button { border: 1px solid var(--line-2); background: var(--bg); padding: 10px 6px; cursor: pointer; display: grid; gap: 2px; text-align: center; border-radius: 2px; }
.datechips button small { font-size: .78rem; color: var(--ink-3); }
.datechips button strong { font-weight: 500; font-size: 1.3rem; }
.datechips button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--line-2); border-radius: 2px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; padding: 10px 18px; font-weight: 500; cursor: pointer; color: var(--ink-2); border-radius: 1px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* compare */
.cmpgrid { overflow-x: auto; position: relative; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 680px; table-layout: fixed; }
table.cmp th, table.cmp td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cmp thead td { vertical-align: bottom; }
table.cmp tbody th { color: var(--ink-2); font-weight: 400; width: 22%; overflow-wrap: anywhere; }
table.cmp td { font-variant-numeric: tabular-nums; }
table.cmp td.best { font-weight: 600; }
.cmp .ph { background: var(--bg-2); aspect-ratio: 16/10; margin-bottom: 10px; }
.cmp .ph img { width: 100%; height: 100%; object-fit: cover; }
table.cmp tbody th, table.cmp thead td { position: sticky; left: 0; z-index: 1; background: var(--bg); }
@media (max-width: 699px) {
  /* Mobil: Beschriftung bleibt stehen, zwei Modellspalten passen nebeneinander, die dritte wird gewischt */
  table.cmp { width: auto; min-width: 0; }
  table.cmp thead td, table.cmp tbody th { width: 96px; min-width: 96px; padding-right: 10px; font-size: .875rem; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; box-shadow: 1px 0 0 var(--line); }
  table.cmp thead th, table.cmp tbody td { width: calc((100vw - var(--gx) - var(--gxr) - 96px) / 2); min-width: calc((100vw - var(--gx) - var(--gxr) - 96px) / 2); padding-left: 10px; padding-right: 8px; overflow-wrap: anywhere; }
  table.cmp .select { padding: 0 4px 0 8px; }
}

/* table on official page */
table.plain { width: 100%; border-collapse: collapse; }
table.plain th, table.plain td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain thead th { font-weight: 500; color: var(--ink-3); font-size: .9rem; }
table.plain tbody th { font-weight: 400; color: var(--ink-2); }

.svcgrid { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .svcgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svcgrid { grid-template-columns: repeat(3, 1fr); } }
.svcgrid > div { padding: 28px 28px 28px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--line); }

/* footer */
.ftr { background: var(--night); color: #d9d7d3; padding-top: clamp(48px, 5vw, 80px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.ftr-top { display: grid; gap: 40px; }
@media (min-width: 1000px) { .ftr-top { grid-template-columns: 300px 1fr; gap: 64px; } }
.ftr-logo { width: 150px; color: #fff; }
.ftr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
@media (min-width: 760px) { .ftr-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ftr-cols h3 { font-size: .95rem; font-weight: 600; color: #fff; margin: 0 0 10px; }
.ftr-cols a, .ftr-cols button { display: flex; align-items: center; min-height: 44px; text-decoration: none; padding: 4px 0; color: #b9b7b2; background: none; border: 0; text-align: left; cursor: pointer; font-size: .98rem; }
.ftr-cols a:hover, .ftr-cols button:hover { color: #fff; }
.ftr-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid #26282c; display: grid; gap: 14px; font-size: .85rem; color: #8e8c88; }
.ftr-legal a { text-decoration: none; }
.ftr-legal a:hover { color: #fff; }
.ftr-legal button { min-height: 44px; padding: 3px 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.ftr-legal button:hover { color: #fff; }
/* Cookie-Banner (Einwilligung für Microsoft Clarity, a4.js) */
.ck { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; max-width: 640px; max-height: calc(100svh - var(--hdr) - 32px); overflow-y: auto; margin-inline: auto; padding: 16px 20px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 12px 40px rgba(0, 0, 0, .18); display: grid; gap: 12px; font-size: .92rem; }
.ck p { margin: 0; color: var(--ink-2); }
.ck-full[hidden] { display: none; }
.ck a, .ck-more { color: var(--ink); }
.ck-more { position: relative; padding: 0; background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-more::before { content: ''; position: absolute; inset: -12px -4px; }
.ck-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-acts .btn { min-height: 44px; }
.langsug { position: fixed; top: calc(var(--hdr) + 12px); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 80; max-width: 360px; display: flex; align-items: center; gap: 4px 12px; padding: 8px 4px 8px 16px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 8px 28px rgba(0, 0, 0, .14); font-size: .92rem; }
.langsug p { margin: 0; flex: 1 1 auto; color: var(--ink-2); }
.langsug .btn { flex: none; min-height: 44px; }
.langsug-x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: none; border: 0; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.langsug-region { flex-wrap: wrap; max-width: 440px; padding-bottom: 12px; }
.langsug-region p { flex-basis: calc(100% - 60px); }
.langsug-langs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; padding-right: 12px; }
/* Mobil: unten andocken statt Überschrift und Bühne zu verdecken; erst nach der Cookie-Entscheidung zeigen, über der Aktionsleiste */
@media (max-width: 699px) {
  .langsug { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); max-width: none; }
  body:has(#ck) .langsug { display: none; }
  body:has(#actionbar.show) .langsug { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 900px) { .langsug { right: max(48px, env(safe-area-inset-right, 0px)); } }
@media (max-width: 699px) {
  .ck { left: 0; right: 0; bottom: 0; padding: 12px var(--gxr) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gx); gap: 10px; border-width: 1px 0 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .14); font-size: .875rem; line-height: 1.45; }
}


@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: 160ms ease-out both vtout; }
  ::view-transition-new(root) { animation: 240ms ease-out both vtin; }
}
@keyframes vtout { to { opacity: 0; } }
@keyframes vtin { from { opacity: 0; } }

/* ---------- brand logos ---------- */
.blg { display: inline-block; vertical-align: middle; color: currentColor; flex: none; }
svg.blg-ram { height: 1em; width: auto; aspect-ratio: 716 / 171; }
svg.blg-mark { height: 1em; width: auto; }
.blg-dodge { display: inline-flex; align-items: center; gap: .32em; height: 1em; }
.blg-dodge .blg-word { height: .32em; width: auto; aspect-ratio: 816 / 54; }
.blg-dodge .blg-fz { height: 1em; width: auto; aspect-ratio: 217 / 188; }
.blg-dodge:not(.full) .blg-word { height: .5em; }
.blg.mini { font-size: 15px; margin-bottom: 2px; }
.blg.mini.blg-dodge .blg-word { height: 9px; }
.blg.ftr { font-size: 20px; color: #fff; max-width: 100%; }
.blg.ftr.blg-dodge .blg-word { height: 8px; }
.rc-b { font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.rc-b .blg-dodge .blg-word { height: 9px; }
.hs-tabs .nm { display: flex; align-items: center; gap: 8px; }
.hs-tabs .nm .blg-mark { font-size: 15px; opacity: .9; }
.mh-brand { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 4px; }
.mh-brand .blg-dodge .blg-word { height: .36em; }
.chip .blg-mark { font-size: 14px; margin-right: 8px; }
.chip[aria-pressed="true"] .blg-mark { color: #fff; }

/* home: brands */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands-in { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .brands-in { grid-template-columns: 1fr 1fr; } .brand-p + .brand-p { border-left: 1px solid var(--line); padding-left: 48px; } }
.brand-p { display: grid; gap: 16px; align-content: start; padding-block: clamp(32px, 4vw, 56px); padding-right: 32px; }
@media (max-width: 899px) { .brand-p + .brand-p { border-top: 1px solid var(--line); } }
.brand-logo { font-size: clamp(40px, 4vw, 56px); color: var(--ink); }
.brand-logo .blg-dodge .blg-word { height: .34em; }
.brand-p p { color: var(--ink-2); max-width: 52ch; }
.brand-p nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.brand-p nav a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; padding: 4px 0; border-bottom: 1px solid var(--line-2); }
.brand-p nav a:hover { border-bottom-color: var(--ink); }
.brand-p nav .arr { width: 12px; height: 9px; }

/* model: equipment & packages */
.fi-tabs { margin-bottom: 28px; }
.fi-tabs button { font-size: 1rem; }
.fi-panel { display: grid; gap: clamp(28px, 3vw, 48px); }
.fi-top { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .fi-top.with-photo { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.fi-img { background: var(--bg-2); aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; }
.fi-img img { width: 100%; height: 100%; object-fit: cover; }
.fi-sum { display: grid; gap: 16px; align-content: start; }
.fi-eng { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
.fi-eng-n { font-weight: 600; }
.fi-stats { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.fi-stats div { display: grid; gap: 2px; }
.fi-stats strong { font-size: 1.35rem; font-weight: 500; }
.fi-stats span { font-size: .82rem; color: var(--ink-3); }
.fi-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.fi-chips li { font-size: .82rem; border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 2px; color: var(--ink-2); }
.fi-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .fi-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; } }
.fi-col { display: grid; gap: 14px; align-content: start; }
.fi-col h4 { margin-top: 18px; }
.fi-col h4:first-child { margin-top: 0; }
.fi-g { font-size: .8rem; font-weight: 600; color: var(--ink-3); margin-top: 8px; }
.fi-dl { display: grid; margin: 0; border-top: 1px solid var(--line); }
.fi-dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fi-dl dt { color: var(--ink-3); font-size: .9rem; }
.fi-dl dd { margin: 0; font-size: .95rem; }
.fi-std { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .fi-std { grid-template-columns: 1fr 1fr; } }
.fi-card { background: var(--bg); padding: 16px 18px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fi-card h5, .fi-opt h5, .pkg h5 { font-size: .98rem; font-weight: 600; margin: 0; }
.fi-card ul, .pkg ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .88rem; display: grid; gap: 3px; }
.fi-card p, .fi-opt p { margin: 0; color: var(--ink-2); font-size: .88rem; }
.fi-opts { display: grid; gap: 10px; }
.fi-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fi-opt .code, .pkg .badge { font-size: .74rem; font-weight: 600; letter-spacing: .02em; padding: 3px 7px; border: 1px solid var(--ink); border-radius: 2px; height: fit-content; white-space: nowrap; }
.fi-pkgs { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 18px; }
.fi-pkgs-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; }
.pkg-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pkg { border: 1px solid var(--line-2); padding: 18px; display: grid; gap: 10px; align-content: start; background: var(--bg); }
.pkg-h { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.pkg .badge { background: var(--ink); color: #fff; }
.pkg-code, .pkg-eng { font-size: .8rem; color: var(--ink-3); margin: 0; }
.pkg-int { font-size: .86rem; margin: 0; display: grid; gap: 2px; }
.pkg-int span { font-size: .76rem; color: var(--ink-3); }
.pkg-cols { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 4px; }
.pkg-n { font-size: .78rem; color: var(--ink-3); margin-left: 4px; }
.pdot { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); display: inline-block; flex: none; }
.fi-notes { margin-top: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: var(--bg-2); padding: 20px 24px; display: grid; gap: 10px; }
.fi-notes ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: .92rem; }

/* model: technology & equipment features */
.fgs { display: grid; }
.fg { display: grid; gap: 16px; padding-block: 26px; border-top: 1px solid var(--line-2); }
@media (min-width: 960px) { .fg { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; } }
.fg-items { display: grid; gap: 22px 40px; }
@media (min-width: 720px) { .fg-items { grid-template-columns: 1fr 1fr; } }
.fg-items h4 { font-size: 1.02rem; font-weight: 600; margin: 0 0 4px; }
.fg-items p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }

/* model: all paints */
.paints { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 10px; }
.paints summary { padding: 10px 0; cursor: pointer; }
.paints[open] > * + * { margin-top: 14px; }
.paints ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.paints li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.paints li small { color: var(--ink-3); margin-left: auto; font-size: .78rem; }

/* configurator (official iframe) */
.cfgx { padding-top: clamp(28px, 3vw, 48px); }
.cfgx-head { display: grid; gap: 22px; margin-bottom: 24px; }
@media (min-width: 960px) { .cfgx-head { grid-template-columns: 1fr auto; align-items: end; gap: 48px; } }
.cfgx-head .segs { flex-wrap: wrap; }
.cfgx-note { border: 1px solid var(--line-2); background: var(--bg-2); padding: 18px 22px; display: grid; gap: 14px; margin-bottom: 18px; }
.cfgx-frame { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.cfgx-frame iframe { display: block; width: 100%; height: max(900px, calc(100svh - var(--hdr))); border: 0; background: #fff; }
.cfgx-frame.dim iframe { opacity: .55; }
.cfgx-fallback { position: absolute; inset: 0; display: grid; align-content: start; justify-content: center; justify-items: center; gap: 16px; text-align: center; padding: clamp(48px, 12vh, 120px) 24px 24px; background: var(--bg-2); }
.cfgx-fallback[hidden] { display: none !important; }
.cfgx-skel { position: absolute; inset: 0; display: grid; align-content: start; gap: 16px; padding: 24px var(--gx, 20px); background: var(--bg); pointer-events: none; }
.cfgx-skel i { display: block; height: 18px; max-width: 520px; border-radius: 2px; background: var(--line); animation: cfgskel 1.4s ease-in-out infinite alternate; }
.cfgx-skel i:first-child { height: min(52vw, 420px); max-width: none; }
.cfgx-skel i:nth-child(3) { width: 70%; }
.cfgx-skel i:nth-child(4) { width: 40%; height: 48px; }
@keyframes cfgskel { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .cfgx-skel i { animation: none; } }
.cfgx-mbar { display: none; }
@media (max-width: 699px) {
  .cfgx-mbar { display: block; padding: 0 var(--gx, 20px) 16px; }
  .cfgx-mbar .btn { width: 100%; }
  .cfgx-frame iframe { height: max(640px, calc(100svh - var(--hdr))); }
}
.cfgx-foot { display: grid; gap: 16px; padding-block: 24px 64px; }

/* Model status and connectivity teaser */
.mh-status { font-size: .95rem; font-weight: 500; max-width: 46ch; padding-left: 12px; border-left: 2px solid currentColor; }
.mnotify { padding-bottom: clamp(48px, 4vw + 16px, 96px); }
.mnotify .wrap { display: grid; gap: 20px; }
.iduv { color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.iduv .tlink { font-size: .95rem; }

/* v6.1 accessibility */
/* WCAG 2.2 AA. Die Kontrastkorrektur der grauen Texte steckt im Token --ink-3 (oben in :root). */
:root { --ctl: #7d828a; } /* 1.4.11: Rahmen von Feldern, Chips und Auswahlflächen, ≥ 3:1 auf --bg und --bg-2 */
.input, .select, .chip, .opt, .seg, .railnav button { border-color: var(--ctl); }
.input::placeholder { color: var(--ink-3); opacity: 1; }
.sw { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45); }
.pdot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45); }
.opt .box, .opt .dot { border-color: var(--ink-3); }

/* 2.4.1: Sprunglink wird bei Fokus sichtbar */
body > a.sr:focus { position: fixed !important; left: 12px; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 100; width: auto; height: auto; clip: auto; overflow: visible; padding: 12px 18px; background: var(--ink); color: #fff; font-weight: 500; text-decoration: none; border-radius: 2px; outline: 2px solid #fff; outline-offset: -5px; }

/* 2.4.7 / 1.4.11: Fokusanzeige. Auf dunklen Flächen weiß, über Fotos weiß mit dunklem Hof (auf jedem Bildinhalt ≥ 3:1) */
.input:focus-visible, .select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ftr :focus-visible, .lightbox :focus-visible, .rc-cmp :focus-visible { outline-color: #fff; }
.on-img :focus-visible, .hdr.over :focus-visible, .hs-in > .hs-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px rgba(10, 11, 13, .7); }
.hs .hs-tabs button:focus-visible { outline-offset: -2px; box-shadow: none; }
@media (max-width: 699px), (orientation: portrait) and (max-width: 1100px) { .mhero .on-img :focus-visible { outline-color: var(--ink); box-shadow: none; } }
#main:focus, #main [data-ft]:focus { outline: none; box-shadow: none; } /* Sprungziele (Überschrift, Abschnitt), keine Bedienelemente */
/* In seitlich scrollenden Leisten würde ein außen liegender Ring abgeschnitten: Ring nach innen legen */
.subnav nav a:focus-visible, .tabs button:focus-visible, .segs .chip:focus-visible, .rail > a:focus-visible { outline-offset: -3px; }
.segs .chip[aria-pressed="true"]:focus-visible { outline-color: #fff; outline-offset: -5px; }

/* 4.1.2: gewählter Reiter der Versions-Tabs (aria-selected) */
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* 2.2.2: Pause-Schalter der Startbühne steht in der Tab-Reihenfolge vorn, bleibt optisch unten rechts */
.hs-in > .hs-play { position: absolute; right: var(--gxr); bottom: calc(clamp(20px, 2.4vw, 34px) + 4px); margin: 0; z-index: 1; }
@media (min-width: 900px) { .hs-in > .hs-play { right: max(48px, env(safe-area-inset-right, 0px)); } }
.hs-nav { padding-right: 68px; }
@media (max-width: 699px), (orientation: portrait) and (max-width: 1100px) { .hs-in > .hs-play { bottom: 22px; } .hs-nav { padding-right: 54px; } }

/* 1.4.3: Text über Fotos. Die Verläufe sind an die Textspalte gekoppelt (nicht an Prozent des Bildes) und per Pixelmessung
   auf allen Slides und Breakpoints geprüft (weißer Text ≥ 4,5:1, große Schrift ≥ 3:1). */
.hs-tabs button { color: rgba(255, 255, 255, .9); }
.hs-p { color: #fff; }
.on-img .legal, .on-img .legal b { color: rgba(255, 255, 255, .94); }
.crumbs, .brand .word { opacity: 1; }
.hdr.over::before { background: linear-gradient(to bottom, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .56) 52%, rgba(0, 0, 0, 0) 100%); }
.hs, .mhero { --tx0: max(48px, calc((100vw - var(--maxw)) / 2 + 48px)); --tx: calc(var(--tx0) + min(600px, 34vw)); }
@media (min-width: 700px) and (max-width: 1180px) and (orientation: landscape) { .hs { --tx: calc(var(--tx0) + 41vw); } }
@media (min-width: 700px) and (orientation: landscape), (min-width: 1101px) {
  .hs::before { background: linear-gradient(90deg, rgba(10, 11, 13, .74) 0, rgba(10, 11, 13, .62) var(--tx), rgba(10, 11, 13, .4) calc(var(--tx) + 8vw), rgba(10, 11, 13, .16) calc(var(--tx) + 17vw), rgba(10, 11, 13, 0) calc(var(--tx) + 26vw)), linear-gradient(0deg, rgba(10, 11, 13, .86) 0, rgba(10, 11, 13, .68) 120px, rgba(10, 11, 13, 0) 250px); }
}
@media (min-width: 700px) {
  .mhero::after { background: linear-gradient(90deg, rgba(10, 11, 13, .62) 0, rgba(10, 11, 13, .5) var(--tx), rgba(10, 11, 13, .32) calc(var(--tx) + 9vw), rgba(10, 11, 13, .13) calc(var(--tx) + 19vw), rgba(10, 11, 13, 0) calc(var(--tx) + 30vw)), linear-gradient(0deg, rgba(10, 11, 13, .8) 0, rgba(10, 11, 13, .58) 150px, rgba(10, 11, 13, 0) 330px), linear-gradient(180deg, rgba(10, 11, 13, .38) 0%, rgba(10, 11, 13, 0) 20%); }
}

/* 1.4.1: Showroom in Legende und Karte als Quadrat (nicht nur über die Farbe unterscheidbar) */
.legendrow .dot-sr { border-radius: 0; }

/* Händlerliste: Name ist die Schaltfläche (statt verschachtelter Bedienelemente) */
.dl-sel { background: none; border: 0; padding: 4px 0; margin: -4px 0; text-align: left; cursor: pointer; }
.dl-sel[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 4px; }

/* Downloads: „Noch nicht verfügbar“ als lesbarer Status statt deaktivierter Schaltfläche */
.doc .doc-na { flex: none; font-size: .92rem; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border: 1px dashed var(--ctl); border-radius: 2px; }

/* CO₂-Skala: Buchstabe der aktiven Klasse mit ≥ 4,5:1 */
.co2 i { color: var(--ink); }
.co2 i:nth-child(1), .co2 i:nth-child(7) { color: #fff; }
.co2 i:nth-child(1) { background: #087a36; }

/* 2.5.8: Zielgröße ≥ 24 px für kleine Textlinks */
.ftr-legal a, .crumbs a, .crumb a { display: inline-block; padding-block: 3px; }
.ftr-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.fc .fc-set .tlink { padding: 3px 0; min-height: 0; }
.brand { min-height: 44px; }
a[href^="tel:"], a[href^="mailto:"] { display: inline-block; padding-block: 3px; }

/* 1.4.10 Reflow bei 320 CSS-px, 1.4.4 Zoom 200 %, 1.4.12 Textabstände: nichts läuft seitlich aus dem Fenster, nichts wird abgeschnitten */
body { overflow-wrap: break-word; }
.split > *, .colours > *, .hl-item > *, .dl-controls > *, .stack > *, .cards3 > *, .conn > *, .sechead > *, .hs-in > *, .dl3 div > * { min-width: 0; }
.dl3 span { overflow-wrap: anywhere; }
.sumlist dt, .fi-dl dt { overflow-wrap: anywhere; }
.hs-tabs .nm, .hs-tabs .sg { white-space: normal; overflow: visible; text-overflow: clip; }
@media (max-width: 1099px) { .hs-tabs { display: flex; gap: 18px; overflow-x: auto; } .hs-tabs button { flex: 0 0 auto; } }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; padding-block: 8px; max-width: 100%; }
  .dl3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; }
  .dl3 div { min-width: 0; }
  .offtable, .fc-table { table-layout: fixed; }
  .offtable { font-size: .92rem; }
  .offtable th, .offtable td, .fc-table th { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; padding-right: 8px; }
  .fc .fc-table td { white-space: normal; }
}
@media (max-width: 380px) { .hdr-in { gap: 10px; } .hdr-r { gap: 2px; } .lang-btn { padding: 0 6px; } .hdr .btn { padding: 0 10px; } .burger { width: 44px; } }

/* Footer: Die Markenlogos tragen die Klasse .ftr und erbten dadurch Innenabstand und Hintergrund des Footers (RAM-Logo unsichtbar) */
.blg.ftr { padding: 0; background: none; }

/* Seite Barrierefreiheit: Prüfstand */
.a11y-status { max-width: 76ch; gap: 12px; }
.a11y-status .sumlist dd { text-align: left; font-weight: 400; }
.a11y-status .sumlist div { grid-template-columns: minmax(96px, 30%) minmax(0, 1fr); }
.a11y-status ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); font-size: .97rem; }
.a11y-status h3 { margin-top: 10px; }

/* Formulare: Fehlertext am Feld, Legende zum Stern */
.lf-ferr { margin: 0; }
.lf-legend { margin: 0; }
table.cmp thead th { vertical-align: bottom; font-weight: 400; }

/* Externe Links: Pfeil ist Dekoration, der Hinweis „öffnet in neuem Tab“ steht als Text für Screenreader im Link */
.xarr { display: inline-block; margin-inline-start: .3em; }
.btn > .xarr { margin-inline-start: -6px; }
.tlink > .xarr { margin-inline-start: -4px; }

/* 2.4.11: feste Aktionsleiste (mobil, Modellseiten) verdeckt weder Fokus noch Footer */
.actionbar:not(.show) { visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
@media (max-width: 899px) { body.has-actionbar footer.ftr { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); } html:has(body.has-actionbar) { scroll-padding-bottom: 88px; } }

/* 2.3.3 / 2.2.2: reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Touch: kleine Schaltflächen und Filter-Chips auf 44 px Trefferfläche, Brotkrumen ohne Layoutverschiebung vergrößert */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .chip { height: auto; min-height: 44px; }
  .crumbs a, .crumb a { padding-block: 11px; margin-block: -8px; }
}
