/* Modern Porsche SK — preview by Velocis (v2, 9.10.2026)
   Design language studied from the Porsche dealer site, brand guide and Porsche Design System v4:
   black & white UI, colour only from full-bleed photography, regular-weight semi-condensed type,
   12px controls / 24px tiles, frosted glass on imagery, the long "fade dark" gradient.
   Own typeface (Archivo) and own marks only: no Porsche wordmark, crest, font or Pace Pattern. */

:root {
  /* colour tokens (PDS v4 light scheme, flattened) */
  --canvas: #ffffff;
  --surface: #f1f1f4;
  --primary: #010205;
  --c-high: #535359;
  --c-medium: #6b6b70;
  --c-low: #8b8b92;
  --c-lower: #c9c9d0;
  --line: #e2e2e6;
  --frosted: rgba(170, 170, 182, .148);
  --frosted-soft: rgba(140, 142, 160, .06);
  --frosted-strong: rgba(100, 101, 114, .236);
  --focus: #1a44ea;

  /* dark scheme */
  --d-canvas: #010205;
  --d-surface: #19191a;
  --d-primary: #fbfcff;
  --d-high: rgba(246, 246, 248, .67);
  --d-medium: rgba(246, 246, 248, .56);
  --d-line: rgba(255, 255, 255, .14);
  --d-frosted: rgba(108, 108, 112, .228);
  --d-frosted-strong: rgba(156, 156, 160, .302);

  /* type */
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --t-2xs: .75rem;
  --t-xs: .875rem;
  --t-sm: 1rem;
  --t-md: clamp(1.13rem, .21vw + 1.08rem, 1.33rem);
  --t-lg: clamp(1.27rem, .51vw + 1.16rem, 1.78rem);
  --t-xl: clamp(1.42rem, .94vw + 1.23rem, 2.37rem);
  --t-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
  --t-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
  --t-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
  --t-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
  --leading: calc(6px + 2.125ex);

  /* spacing */
  --s-sm: clamp(8px, .5vw + 6px, 16px);
  --s-md: clamp(16px, 1.25vw + 12px, 36px);
  --s-lg: clamp(32px, 2.75vw + 23px, 76px);
  --s-xl: clamp(48px, 3vw + 38px, 96px);
  --s-2xl: clamp(80px, 7.5vw + 56px, 200px);

  /* radius, motion */
  --r-sm: 4px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-3xl: 24px;
  --dur-sm: .25s;
  --dur-md: .4s;
  --dur-lg: .6s;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-in: cubic-bezier(0, 0, .2, 1);

  --fade-dark: hsla(0,0%,0%,.8) 0%, hsla(0,0%,0%,.8) 8.1%, hsla(0,0%,0%,.8) 15.5%, hsla(0,0%,0%,.8) 22.5%, hsla(0,0%,0%,.78) 29%, hsla(0,0%,0%,.73) 35.3%, hsla(0,0%,0%,.67) 41.2%, hsla(0,0%,0%,.6) 47.1%, hsla(0,0%,0%,.52) 52.9%, hsla(0,0%,0%,.44) 58.8%, hsla(0,0%,0%,.33) 64.7%, hsla(0,0%,0%,.22) 71%, hsla(0,0%,0%,.12) 77.5%, hsla(0,0%,0%,.05) 84.5%, hsla(0,0%,0%,.011) 91.9%, hsla(0,0%,0%,0) 100%;

  --wrap: 1240px;
  --margin: clamp(16px, 5vw, 64px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-stretch: 92%;
  font-size: var(--t-sm);
  line-height: var(--leading);
  color: var(--primary);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }

h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.01em; line-height: 1.12; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-md); font-weight: 600; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.dark { background: var(--d-canvas); color: var(--d-primary); }
.surface { background: var(--surface); }

/* ---------- buttons (PDS p-button / p-link) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 13px 26px; border-radius: var(--r-xl); border: 0;
  font-size: var(--t-sm); font-weight: 400; line-height: 1.5; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: #2a2a30; }
.btn--secondary { background: var(--surface); color: var(--primary); }
.btn--secondary:hover { background: #e3e3e8; }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: #e9e9ee; }
.btn--frosted { background: var(--d-frosted); color: #fff; -webkit-backdrop-filter: blur(32px); backdrop-filter: blur(32px); }
.btn--frosted:hover { background: var(--d-frosted-strong); }
.btns { display: flex; flex-wrap: wrap; gap: var(--s-sm); }
.link-pure { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: var(--t-sm); }
.link-pure svg { width: 20px; height: 20px; transition: transform var(--dur-sm) var(--ease); }
.link-pure:hover svg { transform: translateX(3px); }
.link-pure:hover span { text-decoration: underline; text-underline-offset: 4px; }
.round {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--d-frosted); color: #fff; -webkit-backdrop-filter: blur(32px); backdrop-filter: blur(32px);
  transition: background-color var(--dur-sm) var(--ease); flex: none;
}
.round svg { width: 20px; height: 20px; }

/* ---------- header (dealer pattern: menu | brand | location) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); padding: 0 var(--margin); }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px 8px 4px; border: 0; background: none; cursor: pointer; font-size: var(--t-sm); border-radius: var(--r-lg); }
.menu-btn:hover { background: var(--frosted-soft); }
.menu-btn svg { width: 22px; height: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 35px; object-fit: contain; border-radius: 6px; background: #000; }
.brand span { font-size: 1.06rem; font-stretch: 100%; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.header-loc { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: var(--t-sm); padding: 8px 4px 8px 10px; border-radius: var(--r-lg); }
.header-loc:hover { background: var(--frosted-soft); }
.header-loc svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .menu-btn span, .header-loc span { display: none; }
  .brand span { font-size: .95rem; }
}

/* flyout (PDS p-flyout, from the left) */
.flyout-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(36, 36, 40, .5); opacity: 0; visibility: hidden; transition: opacity var(--dur-md) var(--ease), visibility var(--dur-md); }
.flyout {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 71; width: min(460px, 100vw);
  background: #fff; border-radius: 0 var(--r-3xl) var(--r-3xl) 0; padding: 16px var(--s-md) 32px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  transform: translateX(-102%); visibility: hidden; transition: transform var(--dur-lg) var(--ease), visibility var(--dur-lg);
}
.menu-open .flyout { transform: none; visibility: visible; }
.menu-open .flyout-backdrop { opacity: 1; visibility: visible; }
.flyout-close { align-self: flex-start; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); cursor: pointer; }
.flyout-close svg { width: 22px; height: 22px; }
.flyout nav { display: grid; }
.flyout nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: var(--t-xl); text-decoration: none; border-bottom: 1px solid var(--line); }
.flyout nav a svg { width: 24px; height: 24px; color: var(--c-low); transition: transform var(--dur-sm) var(--ease); }
.flyout nav a:hover svg { transform: translateX(4px); color: var(--primary); }
.flyout nav a[aria-current="page"] { font-weight: 600; }
.flyout-contact { display: grid; gap: 10px; color: var(--c-high); }
.flyout-contact a { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.flyout-contact svg { width: 20px; height: 20px; }

/* ---------- home stage: peek carousel (dealer pattern) ---------- */
.stage { position: relative; background: var(--d-canvas); }
.stage-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.stage-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 92%; height: min(84vh, 820px); min-height: 520px; scroll-snap-align: start; overflow: hidden; color: #fff; }
.slide:last-child { flex-basis: 100%; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--fade-dark)); opacity: .9; pointer-events: none; }
.slide-body { position: absolute; z-index: 2; left: var(--margin); right: var(--margin); bottom: clamp(64px, 9vh, 104px); max-width: 1000px; }
.slide-kicker { font-size: var(--t-md); margin: 0 0 6px; color: rgba(255,255,255,.86); }
.slide h1, .slide .slide-title { font-size: var(--t-5xl); line-height: 1; letter-spacing: -.025em; margin: 0; font-stretch: 86%; font-weight: 400; }
.slide .slide-title { font-size: var(--t-4xl); }
.slide-text { font-size: var(--t-md); line-height: 1.45; max-width: 46ch; margin: 16px 0 28px; color: rgba(255,255,255,.86); }
.dots { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); cursor: pointer; transition: width var(--dur-md) var(--ease), background-color var(--dur-md); }
.dots button[aria-current="true"] { width: 24px; background: #fff; }
@media (max-width: 760px) {
  .slide { flex-basis: 92%; height: 76vh; min-height: 560px; }
  .slide h1 { font-size: clamp(2.6rem, 12.5vw, 3.8rem); }
  .slide-body { left: 20px; right: 20px; }
}

/* quick-action bar (dealer pattern) */
.quick { background: #1b1b1d; color: #fff; }
.quick ul { list-style: none; margin: 0 auto; padding: 0 var(--margin); max-width: calc(var(--wrap) + 2 * var(--margin)); display: flex; justify-content: center; gap: clamp(8px, 3vw, 48px); overflow-x: auto; scrollbar-width: none; }
.quick ul::-webkit-scrollbar { display: none; }
.quick a { display: inline-flex; align-items: center; gap: 10px; padding: 24px 6px; white-space: nowrap; text-decoration: none; font-size: var(--t-xs); color: rgba(255,255,255,.92); }
.quick a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.quick svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 900px) { .quick ul { justify-content: flex-start; } .quick a { padding: 18px 4px; } }

/* ---------- sections ---------- */
.section { padding: var(--s-2xl) 0; }
.section--md { padding: var(--s-xl) 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: var(--s-lg); }
.head > div:first-child { display: grid; gap: 14px; max-width: 760px; }
.head p { color: var(--c-high); font-size: var(--t-md); line-height: 1.5; margin: 0; }
.dark .head p { color: var(--d-high); }
.arrows { display: flex; gap: 4px; flex: none; }
.arrows button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.arrows button:hover { background: var(--surface); }
.dark .arrows button:hover { background: var(--d-frosted); }
.arrows svg { width: 24px; height: 24px; }

/* ---------- teaser tiles (PDS link tile) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-md); }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r-3xl); aspect-ratio: 4 / 3; background: #000; color: #fff; text-decoration: none; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-lg) var(--ease); }
.tile:hover img { transform: scale(1.025); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--fade-dark)); opacity: .85; z-index: 1; }
.tile-top { position: absolute; z-index: 2; top: 20px; left: 20px; right: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.tile-body { position: absolute; z-index: 2; left: clamp(20px, 2vw, 32px); right: clamp(20px, 2vw, 32px); bottom: clamp(20px, 2vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile-title { font-size: var(--t-lg); line-height: 1.2; margin: 0; font-weight: 400; }
.tile-text { font-size: var(--t-xs); line-height: 1.45; color: rgba(255,255,255,.82); margin: 8px 0 0; max-width: 46ch; }
.tile:hover .round { background: var(--d-frosted-strong); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border-radius: var(--r-lg); font-size: var(--t-xs); background: var(--d-frosted); color: #fff; -webkit-backdrop-filter: blur(32px); backdrop-filter: blur(32px); }
@media (max-width: 1080px) { .tiles .tile { aspect-ratio: 1 / 1; } }
@media (max-width: 760px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tiles .tile { aspect-ratio: 4 / 4.4; } }

/* ---------- media + text split (landing template) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-xl); align-items: center; }
.split--rev > :first-child { order: 2; }
.split .text { display: grid; gap: 20px; align-content: center; max-width: 560px; }
.split .text p { color: var(--c-high); margin: 0; }
.dark .split .text p { color: var(--d-high); }
.split .text p strong { color: var(--primary); }
.dark .split .text p strong { color: #fff; }
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-3xl); background: #000; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.cap { margin: 12px 0 0; font-size: var(--t-xs); color: var(--c-medium); }
.dark .cap { color: var(--d-medium); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split--rev > :first-child { order: 0; } }

/* ---------- before / after ---------- */
.ba { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--r-3xl); background: #000; aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); pointer-events: none; }
.ba-knob svg { width: 22px; height: 22px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba input[type="range"]:focus-visible ~ .ba-knob { outline: 2px solid var(--focus); outline-offset: 3px; }
.ba .tag { position: absolute; top: 16px; z-index: 2; pointer-events: none; }
.ba .tag--pred { left: 16px; }
.ba .tag--po { right: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-3xl); aspect-ratio: 4 / 3; background: #000; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair .tag { position: absolute; top: 12px; left: 12px; }

/* points list */
.points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.dark .points li { border-color: var(--d-line); }
.points svg { width: 24px; height: 24px; margin-top: 1px; }
.points h3 { margin-bottom: 4px; font-size: var(--t-sm); }
.points p { font-size: var(--t-xs) !important; line-height: 1.55; }

/* ---------- rail (dealer card carousel) ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--s-md)) / 3); gap: var(--s-md); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail .tile { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .rail { grid-auto-columns: 46%; } }
@media (max-width: 600px) { .rail { grid-auto-columns: 84%; } }

/* card (dealer vehicle card) */
.card { display: grid; align-content: start; }
.card .media { aspect-ratio: 4 / 3; }
.card-body { display: grid; gap: 10px; padding: 24px 4px 0; }
.card-title { font-size: var(--t-lg); line-height: 1.2; margin: 0; font-weight: 400; }
.card-sub { font-size: var(--t-xs); color: var(--c-medium); margin: 0; }
.dark .card-sub { color: var(--d-medium); }
.card p { font-size: var(--t-xs); line-height: 1.55; color: var(--c-high); margin: 0; }
.dark .card p { color: var(--d-high); }
.card p strong { color: var(--primary); }
.dark .card p strong { color: #fff; }

/* specs (label / value) */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 8px 0 0; font-size: var(--t-xs); }
.specs div { display: grid; gap: 2px; }
.specs dt { color: var(--c-medium); }
.specs dd { margin: 0; }
.card .price { font-size: var(--t-3xl); line-height: 1; letter-spacing: -.02em; margin: 20px 0 4px; font-stretch: 86%; color: var(--primary); }
.card .price-note { font-size: var(--t-xs); color: var(--c-medium); margin: 0 0 20px; }

/* versions */
.versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-lg); }
.versions .card .media { aspect-ratio: 16 / 10; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; font-size: var(--t-xs); color: var(--c-high); }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.ticks svg { width: 18px; height: 18px; margin-top: 1px; }
.note { margin: var(--s-lg) 0 0; padding: 22px 26px; border-radius: var(--r-3xl); background: var(--surface); color: var(--c-high); max-width: 900px; }
.note strong { color: var(--primary); }
@media (max-width: 860px) { .versions { grid-template-columns: minmax(0, 1fr); } }

/* key facts (big light numbers) */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-md); }
.fact { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.fact b { font-weight: 400; font-size: var(--t-2xl); line-height: 1.05; letter-spacing: -.015em; font-stretch: 86%; }
.fact span { font-size: var(--t-xs); color: var(--c-medium); line-height: 1.45; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* page hero (contained 24px tile, text on fade) */
.page-hero { padding: 8px 0 var(--s-xl); }
.crumbs { font-size: var(--t-xs); color: var(--c-medium); margin: 12px 0 18px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.hero-tile { position: relative; overflow: hidden; border-radius: var(--r-3xl); background: #000; color: #fff; aspect-ratio: 21 / 9; min-height: 480px; isolation: isolate; }
.hero-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--fade-dark)); opacity: .92; }
.hero-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, transparent 70%), linear-gradient(to bottom, rgba(0,0,0,.45), transparent 35%); }
.hero-tile .body { position: absolute; z-index: 2; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); max-width: 820px; }
.hero-tile h1 { font-size: var(--t-4xl); line-height: 1.02; letter-spacing: -.025em; font-stretch: 86%; }
.hero-tile p { font-size: var(--t-sm); line-height: 1.55; color: rgba(255,255,255,.86); max-width: 62ch; margin: 16px 0 24px; }
.hero-tile p strong { color: #fff; }
.hero-tile .side-video { position: absolute; z-index: 2; right: clamp(20px, 4vw, 56px); top: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); aspect-ratio: 9 / 15; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.hero-tile .side-video video { width: 100%; height: 100%; object-fit: cover; }
.page-hero .facts { margin-top: var(--s-lg); }
.hero-tile.has-video .body { max-width: min(820px, calc(100% - 360px)); }
@media (max-width: 1180px) { .hero-tile.has-video .body { max-width: 820px; } }
@media (max-width: 1180px) { .hero-tile .side-video { display: none; } }
@media (max-width: 760px) { .hero-tile { aspect-ratio: auto; min-height: 620px; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-lg) var(--s-md); }
.feature { display: grid; gap: 8px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.feature svg { width: 28px; height: 28px; margin-bottom: 8px; }
.feature p { color: var(--c-high); font-size: var(--t-xs); line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* chips (dealer model buttons) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: var(--r-xl); background: var(--surface); text-decoration: none; font-size: var(--t-sm); transition: background-color var(--dur-sm) var(--ease); }
.chips a:hover { background: #e3e3e8; }
.dark .chips a, .dark .chips span { background: var(--d-frosted); color: #fff; }

/* table */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: var(--t-xs); font-weight: 400; color: var(--c-medium); padding-top: 0; }
.table tbody th { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table th, .table td { border: 0; padding: 2px 0; }
  .table td[data-l]::before { content: attr(data-l) ": "; color: var(--c-medium); }
}

/* coding items, numbers */
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.item { padding: 22px; border-radius: var(--r-3xl); background: var(--surface); display: grid; gap: 6px; align-content: start; }
.item h3 { font-size: var(--t-sm); }
.item p { font-size: var(--t-xs) !important; line-height: 1.55; }
@media (max-width: 560px) { .items { grid-template-columns: minmax(0, 1fr); } }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nums div { padding: 16px 18px; border-radius: var(--r-xl); background: var(--d-surface); }
.nums b { display: block; font-weight: 400; font-size: var(--t-xl); line-height: 1.1; font-stretch: 86%; }
.nums span { font-size: var(--t-2xs); color: var(--d-medium); }

/* FAQ (PDS accordion) */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); gap: var(--s-xl); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; cursor: pointer; font-size: var(--t-md); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 24px; height: 24px; flex: none; transition: transform var(--dur-md) var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .a { padding: 0 0 24px; color: var(--c-high); max-width: 70ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* CTA band with own "signal" pattern (2×2 light bars + pixel flag; not the Porsche Pace Pattern) */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cg fill='%23ffffff' fill-opacity='.075'%3E%3Crect x='8' y='20' width='18' height='4' rx='2'/%3E%3Crect x='30' y='20' width='18' height='4' rx='2'/%3E%3Crect x='8' y='30' width='18' height='4' rx='2'/%3E%3Crect x='30' y='30' width='18' height='4' rx='2'/%3E%3Crect x='64' y='18' width='6' height='6'/%3E%3Crect x='76' y='18' width='6' height='6'/%3E%3Crect x='70' y='24' width='6' height='6'/%3E%3Crect x='82' y='24' width='6' height='6'/%3E%3Crect x='64' y='30' width='6' height='6'/%3E%3Crect x='76' y='30' width='6' height='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 60px;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 70%); mask-image: linear-gradient(90deg, transparent 10%, #000 70%);
}
.cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: var(--s-lg); align-items: end; }
.cta h2 { font-size: var(--t-3xl); font-stretch: 86%; letter-spacing: -.02em; line-height: 1.04; }
.cta p { margin: 18px 0 0; color: var(--d-high); max-width: 56ch; font-size: var(--t-md); line-height: 1.5; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-md); }
.c-card { display: grid; gap: 4px; padding: 26px; border-radius: var(--r-3xl); background: var(--surface); text-decoration: none; transition: background-color var(--dur-sm) var(--ease); }
.c-card:hover { background: #e7e7ec; }
.c-card svg { width: 28px; height: 28px; margin-bottom: 14px; }
.c-card span { font-size: var(--t-xs); color: var(--c-medium); }
.c-card b { font-weight: 400; font-size: var(--t-lg); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: var(--t-xs); color: var(--c-high); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 54px; padding: 13px 16px; border-radius: var(--r-xl); border: 2px solid var(--c-lower);
  font: inherit; font-size: var(--t-sm); color: var(--primary); background: var(--canvas); transition: border-color var(--dur-sm) var(--ease);
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--c-low); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--primary); }
.form .hint { font-size: var(--t-xs); color: var(--c-medium); margin: 0; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--c-low); }

/* footer */
.site-footer { background: var(--d-canvas); color: var(--d-high); padding: var(--s-xl) 0 calc(32px + env(safe-area-inset-bottom)); font-size: var(--t-xs); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-lg); }
.foot-grid h4 { margin: 0 0 14px; font-size: var(--t-sm); font-weight: 400; color: #fff; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-brand .brand { color: #fff; }
.foot-brand p { margin-top: 18px; max-width: 42ch; }
.foot-legal { margin-top: var(--s-lg); padding-top: 22px; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--d-medium); }
.foot-legal p { max-width: 80ch; margin: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot-brand { grid-column: auto; } }

/* mobile call bar (frosted) */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 8px 32px rgba(0,0,0,.18); }
  .callbar .btn { min-height: 48px; padding: 0 12px; }
  body { padding-bottom: 88px; }
}

/* reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-lg) var(--ease-in), transform var(--dur-lg) var(--ease-in); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .tile img, .flyout, .flyout-backdrop { transition: none; }
}
