/* ID. Cross – Gebr. Conrad. Static landing page, no external requests. */
@font-face { font-family: 'VW Head'; src: url('../fonts/VWHead-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'VW Head'; src: url('../fonts/VWHead-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'VW Head'; src: url('../fonts/VWHead-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'VW Text'; src: url('../fonts/VWText-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'VW Text'; src: url('../fonts/VWText-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'VW Text'; src: url('../fonts/VWText-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy: #001e50;
  --navy-2: #0a2d66;
  --text: #1a2b48;
  --muted: #56647c;
  --line: #dde3ea;
  --soft: #f3f5f8;
  --soft-2: #e9eef4;
  --white: #fff;
  --light: #00b0f0;
  --ok: #128a4a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 30, 80, .06), 0 8px 24px rgba(0, 30, 80, .08);
  --wrap: 1240px;
  --head: 'VW Head', 'Helvetica Neue', Arial, sans-serif;
  --body: 'VW Text', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
/* The filter hides cards via the hidden attribute; component display rules (e.g. .card flex) must not override it. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--white); }
img, video { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, label:focus-within { outline: 3px solid var(--light); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-weight: 300; font-size: clamp(2.2rem, 5.4vw, 4.2rem); letter-spacing: -.01em; }
h1 b, h2 b { font-weight: 700; }
h2 { font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.vw-mark { display: flex; margin-left: clamp(24px, 4vw, 56px); }
.vw-mark .vw { width: 40px; height: 40px; flex: none; }
.head-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.head-nav a { text-decoration: none; font-size: .95rem; color: var(--navy); }
.head-nav a:hover { text-decoration: underline; }
.head-nav .tel { font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) { .head-nav .opt { display: none; } .brand img { height: 24px; } .vw-mark { margin-left: 20px; } .vw-mark .vw { width: 32px; height: 32px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--soft); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--soft); }
.btn.outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn.outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn.small { min-height: 40px; padding: 8px 18px; font-size: .92rem; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0b1424; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .v-portrait { display: none; }
@media (max-aspect-ratio: 4/5) { .hero .v-landscape { display: none; } .hero .v-portrait { display: block; } }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 12, 32, .72) 0%, rgba(0, 12, 32, .45) 32%, rgba(0, 12, 32, 0) 60%),
              linear-gradient(180deg, rgba(0, 12, 32, .5) 0%, rgba(0, 12, 32, 0) 28%, rgba(0, 12, 32, 0) 50%, rgba(0, 12, 32, .78) 100%); }
@media (max-aspect-ratio: 4/5) { .hero::after { background: linear-gradient(180deg, rgba(0, 12, 32, .45) 0%, rgba(0, 12, 32, 0) 25%, rgba(0, 12, 32, .35) 50%, rgba(0, 12, 32, .9) 100%); } }
.hero .wrap { position: relative; z-index: 1; padding-block: 120px 34px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 34ch; margin-bottom: 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .count { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); margin-bottom: 18px; }
/* intro film (plays once per visit, then hands over to the loop on an identical frame) */
.hero video.intro { z-index: 1; transition: opacity .45s ease; }
.hero video.intro.done { opacity: 0; pointer-events: none; }
.hero::after { z-index: 1; transition: opacity .6s ease; }
.hero.is-intro::after { opacity: 0; }
.hero .wrap { transition: opacity .7s ease .15s, transform .7s ease .15s; }
.hero.is-intro .wrap { opacity: 0; transform: translateY(16px); pointer-events: none; }
.hero .wrap, .hero-controls, .intro-notes { z-index: 2; }
.hero-controls { position: absolute; right: 16px; top: 16px; display: flex; gap: 8px; align-items: center; }
.hc { height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .5); color: #fff; font: 700 .9rem var(--body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; backdrop-filter: blur(6px); }
.hc:hover { background: rgba(0, 0, 0, .7); }
.hc[hidden] { display: none; }
.hc svg { width: 18px; height: 18px; flex: none; }
.hc-round { padding: 0; width: 44px; }
.hc-sound .on { display: none; }
.hc-sound[aria-pressed="true"] .on { display: inline; }
.hc-sound[aria-pressed="true"] .off { display: none; }
.hc-sound[aria-pressed="false"] { background: var(--light); color: var(--navy); }
.intro-notes { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px max(16px, calc((100% - var(--wrap)) / 2)) 12px; font-size: .74rem; line-height: 1.45; color: rgba(255, 255, 255, .86);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55)); transition: opacity .5s ease; pointer-events: none; }
.intro-notes p { margin: 0; display: none; }
.intro-notes p.on { display: block; }
.hero:not(.is-intro) .intro-notes { opacity: 0; }
/* shown when the browser refuses to start with sound: one click restarts the film with sound */
.intro-prompt { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border: 0; border-radius: 999px; background: var(--light); color: var(--navy); font: 700 1.1rem var(--head); cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: prompt-pulse 2.2s ease-in-out infinite; white-space: nowrap; }
.intro-prompt svg { width: 24px; height: 24px; }
.intro-prompt:hover { background: #fff; }
.intro-prompt[hidden], .hero:not(.is-intro) .intro-prompt { display: none; }
@keyframes prompt-pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 0 rgba(0, 176, 240, .55); } 50% { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 14px rgba(0, 176, 240, 0); } }
@media (prefers-reduced-motion: reduce) { .intro-prompt { animation: none; } }
@media (max-aspect-ratio: 4/5) { .intro-prompt { bottom: auto; top: 42%; font-size: 1rem; padding: 14px 22px; } }
/* phones: the Pflicht band right below the hero carries the consumption line; only the footnotes of the current claim show */
@media (max-aspect-ratio: 4/5) { .intro-notes { font-size: .66rem; padding-top: 18px; } .intro-notes p.on[data-from="0"] { display: none; } }

/* neon box: a light runs around the border (single effect on the page, links to all vehicles) */
@property --neon-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.neon { position: relative; isolation: isolate; display: inline-block; padding: 2px; border-radius: 18px; text-decoration: none; color: #fff;
  background: conic-gradient(from var(--neon-a), rgba(0, 176, 240, .18) 0deg, rgba(0, 176, 240, .18) 230deg, #00b0f0 300deg, #fff 335deg, #00b0f0 350deg, rgba(0, 176, 240, .18) 360deg);
  animation: neon-run 3.4s linear infinite; }
.neon::before { content: ''; position: absolute; inset: -6px; border-radius: 24px; background: inherit; filter: blur(16px); opacity: .55; z-index: -1; transition: opacity .25s; }
.neon:hover::before, .neon:focus-visible::before { opacity: .95; }
.neon:hover { animation-duration: 1.6s; }
.neon-in { display: grid; gap: 4px; padding: 16px 24px 18px; border-radius: 16px; background: linear-gradient(160deg, #2c3236, #1b1f22); }
.neon-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fd9f6; }
.neon-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 1.35rem; }
.neon-title svg { width: 22px; height: 22px; transition: transform .2s; }
.neon:hover .neon-title svg { transform: translateX(4px); }
@keyframes neon-run { to { --neon-a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .neon { animation: none; background: #00b0f0; } }

/* model-level Pflichtangaben directly below the hero */
.pflicht-band { background: var(--navy); color: #dfe8f6; font-size: .86rem; line-height: 1.5; }
.pflicht-band .wrap { padding-block: 14px; display: grid; gap: 4px; }
.pflicht-band strong { color: #fff; font-weight: 700; }

/* ---------- sections ---------- */
section { padding-block: clamp(56px, 8vw, 96px); }
section.soft { background: var(--soft); }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.intro img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fact .big { font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); line-height: 1.1; }
.fact .big small { font-size: .55em; font-weight: 400; }
.fact .what { color: var(--muted); font-size: .92rem; margin-top: 6px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }

.trims { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.trim { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.trim .pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft-2); }
.trim .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trim .body { padding: 24px 26px 28px; }
.trim ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.trim li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.trim li::before { content: ''; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.trim li b { display: block; color: var(--navy); }
.trim li span { color: var(--muted); font-size: .94rem; }
.trim .stock { margin-top: 18px; font-weight: 700; }
@media (max-width: 900px) { .trims { grid-template-columns: 1fr; } }

/* ---------- inventory ---------- */
.inv-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.inv-lead { margin: 0; color: var(--muted); max-width: 46ch; }
/* Intro and vehicle list on anthracite; fact boxes, filter panel and cards stay white. */
section.anthrazit { background: #383e42; }
.anthrazit .eyebrow { color: #c4cacf; }
.anthrazit h2 { color: #fff; }
.anthrazit .inv-lead, .anthrazit .intro p:not(.eyebrow) { color: #dde2e6; }
.anthrazit .intro img { box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.anthrazit .fact { border-color: transparent; }
.anthrazit .card { border-color: transparent; }
.anthrazit .card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.anthrazit .empty { color: #dde2e6; border-color: rgba(255, 255, 255, .35); }
.anthrazit .empty .linkbtn { color: #fff; }
.filters { position: relative; z-index: 10; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 12px; box-shadow: var(--shadow); }
/* The panel is ~270 px tall: only keep it pinned while scrolling on tall screens, otherwise it covers the cards. */
@media (min-width: 761px) and (min-height: 1100px) { .filters { position: sticky; top: 68px; } }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.f-row .f-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); min-width: 92px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem; color: var(--navy); cursor: pointer; user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--navy); }
.chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .n { font-size: .78rem; opacity: .7; }
/* No vehicle left for this option with the other filters (set by app.js). */
.chip.off { opacity: .4; cursor: not-allowed; }
.chip.off:hover { border-color: var(--line); }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); flex: none; }
.f-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.f-tools select { min-height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 12px; font: inherit; font-size: .95rem; color: var(--navy); background: #fff; }
.f-tools .result { font-weight: 700; color: var(--navy); }
.linkbtn { background: none; border: 0; padding: 4px; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.filters details summary { display: none; }
@media (max-width: 760px) {
  .filters { position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .filters details { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: #fff; }
  .filters details summary { display: flex; justify-content: space-between; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
  .filters details summary::-webkit-details-marker { display: none; }
  .filters details[open] summary { margin-bottom: 12px; }
  .f-row .f-label { min-width: 100%; }
  /* On phones the result line and reset sit outside the white panel. */
  .anthrazit .f-tools .result, .anthrazit .f-tools .linkbtn { color: #fff; }
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
@media (max-width: 1060px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.card .pic { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--soft-2); }
.card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .badge { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--navy); font: 700 .78rem var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card .sub { color: var(--muted); font-size: .9rem; margin-top: -6px; }
.color { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; padding: 3px 9px; border-radius: 6px; background: var(--soft); color: var(--navy); }
.price { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.price .amount { font-family: var(--head); font-weight: 700; font-size: 1.45rem; color: var(--navy); line-height: 1.1; }
.price .note { font-size: .78rem; color: var(--muted); }
.price .delivery { text-align: right; font-size: .86rem; color: var(--navy); }
.price .delivery small { display: block; color: var(--muted); font-size: .76rem; }
.card .pflicht { font-size: .76rem; line-height: 1.45; color: var(--muted); background: var(--soft); border-radius: 8px; padding: 8px 10px; }
.card .order { font-size: .74rem; color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 22px; align-items: stretch; }
.contact .box { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
/* Portraits (sources in data/team, both cropped to the same head size). */
.contact .person img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; margin-bottom: 16px; background: var(--soft-2); }
@media (max-width: 900px) { .contact .person img { max-width: 280px; } }
.contact .box.dark { background: var(--navy); color: #dfe8f6; }
.contact .box.dark h2, .contact .box.dark h3 { color: #fff; }
.contact a.line { display: block; margin-top: 6px; text-decoration: none; }
.contact .box.dark a { color: #fff; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footnotes & footer ---------- */
.notes { font-size: .8rem; line-height: 1.55; color: var(--muted); }
.notes ol { padding-left: 1.4em; margin: 0 0 16px; }
.notes li { margin-bottom: 8px; }
.notes p { margin-bottom: 10px; }
.notes h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
sup.fn { font-size: .62em; line-height: 0; vertical-align: super; margin-left: 1px; }
sup.fn a { text-decoration: none; color: inherit; }
.site-foot { background: var(--navy); color: #c8d4e8; font-size: .9rem; }
.site-foot .wrap { padding-block: 34px; display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
.site-foot a { color: #fff; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- detail page ---------- */
.crumbs { padding-block: 18px 0; font-size: .92rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.d-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(22px, 4vw, 48px); align-items: start; padding-block: 18px 40px; }
@media (max-width: 960px) { .d-top { grid-template-columns: 1fr; } }
.d-title .trimline { font-family: var(--head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-size: .85rem; }
.d-title h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .2em; }
.d-title .spec { color: var(--muted); margin-bottom: 18px; }
.d-pic { border-radius: var(--radius); overflow: hidden; background: var(--soft-2); }
.d-pic img { width: 100%; height: auto; }
.d-pic-note { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.pflicht-box { margin-top: 16px; font-size: .86rem; line-height: 1.5; padding: 12px 14px; border-left: 4px solid var(--navy); background: var(--soft); border-radius: 0 10px 10px 0; }
.buybox { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; }
.buybox .amount { font-family: var(--head); font-weight: 700; font-size: 2.1rem; color: var(--navy); line-height: 1.05; }
.buybox .note { font-size: .84rem; color: var(--muted); }
.buybox dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .94rem; }
.buybox dt { color: var(--muted); }
.buybox dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; }
.buybox .ctas { display: grid; gap: 10px; }
.buybox .people { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.buybox .people a { color: var(--navy); }
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .buybox { position: static; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 20px rgba(0, 30, 80, .1); }
  .mobile-bar .amount { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
  .mobile-bar small { display: block; color: var(--muted); font-size: .72rem; }
  body.detail { padding-bottom: 84px; }
}
.d-sec { padding-block: 34px; border-top: 1px solid var(--line); }
.d-sec h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.kv div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.kv div span:first-child { color: var(--muted); }
.kv div span:last-child { color: var(--navy); font-weight: 700; text-align: right; }
@media (max-width: 700px) { .kv { grid-template-columns: 1fr; } }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sa { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.sa b { color: var(--navy); }
.sa ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .opts { grid-template-columns: 1fr; } }
.hl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hl div { background: var(--soft); border-radius: 12px; padding: 16px; }
.hl b { display: block; color: var(--navy); margin-bottom: 4px; }
.hl span { font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hl { grid-template-columns: 1fr; } }
details.more { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; }
details.more summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: '+'; font-size: 1.3rem; line-height: 1; }
details.more[open] summary::after { content: '–'; }
details.more .inner { padding: 0 18px 18px; columns: 2 320px; column-gap: 36px; }
details.more .cat { break-inside: avoid; margin-bottom: 16px; }
details.more .cat h3 { font-size: .95rem; margin-bottom: 6px; }
details.more .cat ul { margin: 0; padding-left: 1.1em; font-size: .9rem; color: var(--text); }

/* tyre labels */
.tyres { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.tyre { display: block; width: 200px; text-decoration: none; color: var(--navy); }
.tyre img { width: 200px; height: auto; border: 1px solid var(--line); background: #fff; transition: box-shadow .15s; }
.tyre:hover img { box-shadow: var(--shadow); }
.tyre span { display: block; font-size: .85rem; margin-top: 6px; }
.tyre span small { display: block; color: var(--muted); }

/* energy label (Pkw-EnVKV) */
/* energy label as on volkswagen.de: an A4-like sheet (794 px = A4 at 96 dpi) that keeps its proportions;
   wide screens put heading and PDF link beside it, phones stack everything (mobile order unchanged) */
.el-layout { display: grid; gap: 24px; }
.el-head .dl { margin-top: 4px; }
.elabel { width: 100%; max-width: 794px; justify-self: center; background: #fff; border: 1px solid var(--navy); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 30px rgba(0, 30, 80, .08); }
@media (min-width: 1180px) { .el-layout { grid-template-columns: minmax(260px, 1fr) 794px; align-items: start; gap: 48px; } .el-head { position: sticky; top: 96px; } .el-head h2 { font-size: 1.9rem; } }
.elabel .row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.elabel .row.one { grid-template-columns: 1fr; }
.elabel .row:last-child { border-bottom: 0; }
.elabel .cell { padding: 14px 18px; }
.elabel .cell + .cell { border-left: 1px solid var(--line); }
.elabel .pair { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; padding: 3px 0; }
.elabel .pair span:last-child { font-weight: 700; color: var(--navy); text-align: right; white-space: nowrap; }
.elabel h3 { font-size: .98rem; margin-bottom: 8px; }
.elabel .legal { font-size: .78rem; color: var(--muted); padding: 14px 18px; background: var(--soft); }
.elabel .legal p { margin-bottom: 8px; }
@media (max-width: 700px) {
  .elabel .row { grid-template-columns: 1fr; } .elabel .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .elabel .cell.more { order: -1; border-top: 0; border-bottom: 1px solid var(--line); } /* phones: further values before the CO2 scale */
  .elabel .pair span:first-child { min-width: 0; } /* labels wrap, values stay on one line */
}
.scale { display: grid; gap: 4px; margin-top: 8px; }
.scale .srow { display: flex; align-items: center; gap: 14px; }
.scale .bar { height: 26px; display: flex; align-items: center; padding-left: 8px; color: #fff; font: 700 .9rem var(--head); clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 0 100%); }
.scale .mark { height: 26px; width: 52px; flex: none; background: #000; color: #fff; display: grid; place-items: center; padding-left: 8px; font: 700 1rem var(--head); clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%); }
.dl { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 700; }
.dl svg { width: 20px; height: 20px; }

/* Pflichtangaben on the trim cards and under the intro photo */
.trim-pflicht { font-size: .8rem; line-height: 1.45; color: var(--muted); background: var(--soft); border-radius: 8px; padding: 8px 10px; margin: 2px 0 12px; }
.pic-pflicht { margin: 0; }
.pic-pflicht img { display: block; }
.pic-pflicht figcaption { margin-top: 10px; font-size: .78rem; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.pic-pflicht figcaption a { color: inherit; }

/* legal page (datenschutz.html) */
.legal-page { padding-block: 48px 80px; }
.legal-page .wrap { max-width: 860px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 300; }
.legal-page h2 { font-size: 1.3rem; font-weight: 700; margin-top: 34px; }
.legal-page .lead-s { font-size: 1.05rem; }
.legal-page ul { padding-left: 1.2em; }
.legal-page li { margin-bottom: 6px; }
.legal-page .stand { margin-top: 34px; color: var(--muted); font-size: .9rem; }

/* ---- Ergänzungen für Lagerfahrzeuge (Privat/Gewerbe, Leasing) ---- */
html[data-kunde="privat"] .only-gewerbe,html[data-kunde="gewerbe"] .only-privat{display:none!important}
.kunde{display:inline-flex;background:rgba(0,0,0,.08);border-radius:999px;padding:4px;gap:2px;margin:6px 0 4px}
.kunde button{border:0;background:transparent;font:700 .92rem var(--body);color:var(--navy);padding:9px 18px;border-radius:999px;cursor:pointer}
html[data-kunde="privat"] .kunde [data-set-kunde="privat"],html[data-kunde="gewerbe"] .kunde [data-set-kunde="gewerbe"]{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18)}
.hero .kunde{background:rgba(255,255,255,.16)}.hero .kunde button{color:#fff}
.hero .kunde [data-set-kunde]{}
html[data-kunde="privat"] .hero .kunde [data-set-kunde="privat"],html[data-kunde="gewerbe"] .hero .kunde [data-set-kunde="gewerbe"]{background:#fff;color:var(--navy)}
.card .delivery small{display:block;color:var(--muted);font-size:.76rem}.card .delivery b{font-family:var(--head);font-size:1.05rem;color:var(--navy)}
.card .note-l{font-size:.78rem;color:var(--muted);line-height:1.45}
.sa-p{display:block;color:var(--muted);font-size:.9rem;margin-top:4px}
.credit{margin:16px 0 0;color:var(--navy)}
.big{font-family:var(--head);font-size:1.35rem;color:var(--navy)}
.kv .sub span:first-child{padding-left:14px;font-size:.9rem}
.prices{width:100%;border-collapse:collapse;font-size:.94rem}.prices th{text-align:left;color:var(--muted);font-weight:400;padding:8px 0;border-bottom:1px solid var(--line)}
.prices td{padding:9px 0;border-bottom:1px solid var(--line)}.prices .r{text-align:right;white-space:nowrap}.prices tr.sum td{font-weight:700;color:var(--navy)}
.scroll{overflow-x:auto}.vartable{border-collapse:collapse;font-size:.94rem}.vartable th,.vartable td{padding:9px 16px;border:1px solid var(--line);text-align:center;white-space:nowrap}
.vartable td.cur{background:var(--soft-2);font-weight:700}
.np{font-size:.9rem;color:var(--muted);min-height:1.2em}.np s{text-decoration-thickness:1.5px}
.save{display:inline-block;margin-left:8px;padding:1px 9px;border-radius:999px;background:#e6f4ec;color:var(--ok);font-weight:700;font-size:.76rem;white-space:nowrap}
/* Hero-Slideshow */
.hero.hero-show{min-height:min(76vh,680px);background:#0b1424}
.slides{position:absolute;inset:0;overflow:hidden}
.slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.03);will-change:opacity,transform;animation:ken var(--cycle) linear infinite;animation-delay:calc(var(--i) * var(--step))}
@keyframes ken{0%{opacity:0;transform:scale(1.03)}3%{opacity:1}14%{opacity:1}17%{opacity:0;transform:scale(1.12)}100%{opacity:0;transform:scale(1.12)}}
@media (prefers-reduced-motion:reduce){.slides img{animation:none}.slides img:first-child{opacity:1;transform:none}}
/* Intro-Film vor der Slideshow: ganzes Bild sichtbar (contain), damit die Pflichtangaben nie abgeschnitten werden */
.hero.hero-show{transition:min-height .6s ease}
.hero.hero-show video.intro{object-fit:contain;background:#05070a}
.hero.hero-show.is-intro video.intro{transition:none}
.hero.hero-show.is-intro{min-height:min(56.25vw,calc(100vh - 110px));background:#05070a}
.hero.hero-show.is-intro .wrap{position:absolute;visibility:hidden}
.hero.hero-show.is-intro .slides{visibility:hidden}
.hero.hero-show .hero-controls{top:12px;right:auto;left:50%;transform:translateX(-50%);white-space:nowrap}
.hero.hero-show:not(.is-intro) .hero-controls{left:auto;right:16px;transform:none}
@media (max-aspect-ratio:4/5){.hero.hero-show.is-intro{min-height:min(125vw,calc(100vh - 110px))}
.hero.hero-show.is-intro .hero-controls{left:auto;right:8px;top:17%;transform:none;flex-direction:column}
.hero.hero-show.is-intro .hero-controls .hc{width:44px;padding:0}.hero.hero-show.is-intro .hero-controls .hc span{display:none}}
.hero .fchips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 18px}
.hero .fchips li{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(6px);font-weight:700;font-size:.92rem}
.hero .fchips li::before{content:"";width:16px;height:16px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23001e50' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat}
.hero-note{margin:18px 0 0;font-size:.85rem;color:rgba(255,255,255,.82)}.hero-note a{color:#fff}
.tag.tag-new{background:var(--navy);color:#fff}
.people2{border-top:1px solid var(--line);padding-top:12px}.people2 .pl{margin:0 0 6px;font-size:.84rem;color:var(--muted)}
.pers2{display:flex;gap:12px;align-items:center;margin-top:10px}
.pers2 img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:50% 15%;flex:none;background:var(--soft-2)}
.pers2 div{display:grid;font-size:.86rem;line-height:1.4;min-width:0}.pers2 strong{color:var(--navy)}.pers2 a{color:var(--navy);text-decoration:none;word-break:break-all}.pers2 a:hover{text-decoration:underline}
.elabel .sub{display:block;font-size:.85rem;color:var(--muted)}
.card .badge{max-width:70%}
.d-pic img{width:100%;height:100%;object-fit:cover}
