/* Selbst gehostete Schriften – keine Verbindung zu Google-Servern beim Seitenaufruf.
   Archivo und Inter stehen unter der SIL Open Font License 1.1. */

/* Archivo – latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(assets/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo – latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(assets/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter – latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter – latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   ABW – Automobilvertrieb Bremen West
   Design-System 2.0
   1  Tokens          6  Fahrzeugbestand      11 Footer
   2  Reset & Basis   7  Ankauf / Formular    12 Dialoge
   3  Typografie      8  Service              13 Schwebende Elemente
   4  Bausteine       9  Bewertungen          14 Bewegung
   5  Header & Hero  10  Kontakt              15 Responsive
   ========================================================================== */

/* ---------------------------------------------------------------- 1 Tokens */
:root {
  /* Neutrale Navy-Skala */
  --n-950: #070c16;
  --n-900: #0b1220;
  --n-850: #101a2c;
  --n-800: #16223a;
  --n-750: #1c2b47;
  --n-700: #223353;
  --n-600: #35496d;
  --n-500: #55688a;
  --n-400: #7d8daa;
  --n-300: #b1bdd0;
  --n-200: #d8e0ea;
  --n-150: #e5eaf1;
  --n-100: #eef2f7;
  --n-050: #f5f7fa;
  --white: #ffffff;

  /* Signalfarben */
  --accent: #2b6be4;
  --accent-hover: #1f57c4;
  --accent-soft: #e8f0fe;
  --accent-light: #8fb4f5;
  --brass: #a8811a;
  --brass-light: #e0b84b;
  --green: #1f9d55;
  --whatsapp: #25d366;
  --danger: #c0392f;

  /* Rollen */
  --page: #f2f5f9;
  --surface: #ffffff;
  --ink: var(--n-900);
  --ink-soft: var(--n-600);
  --ink-muted: var(--n-500);
  --line: var(--n-200);
  --line-soft: var(--n-150);

  /* Schrift */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Schatten */
  --shadow-xs: 0 1px 2px rgba(11, 18, 32, .06);
  --shadow-sm: 0 2px 6px rgba(11, 18, 32, .06), 0 1px 2px rgba(11, 18, 32, .04);
  --shadow-md: 0 12px 28px -12px rgba(11, 18, 32, .22), 0 3px 8px -4px rgba(11, 18, 32, .10);
  --shadow-lg: 0 30px 60px -24px rgba(11, 18, 32, .34), 0 8px 20px -12px rgba(11, 18, 32, .16);
  --shadow-xl: 0 48px 90px -32px rgba(7, 12, 22, .55);

  /* Layout */
  --shell: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(76px, 9vw, 140px);
  --header-h: 76px;

  /* Bewegung */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
  --t-slow: .6s var(--ease);
}

/* ------------------------------------------------------- 2 Reset & Basis */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.hero :focus-visible,
.sell-copy :focus-visible,
.reviews :focus-visible,
.site-footer :focus-visible,
.site-header :focus-visible { outline-color: var(--accent-light); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--n-900);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--t);
}
.skip-link:focus-visible { transform: translateY(0); }

.shell {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }

/* --------------------------------------------------------- 3 Typografie */
.display-1,
.display-2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}
.display-1 {
  font-size: clamp(2.75rem, 6.2vw, 5.25rem);
  font-variation-settings: "wdth" 108;
}
.display-1 span { display: block; }
.display-2 {
  font-size: clamp(2.125rem, 4.2vw, 3.5rem);
  font-variation-settings: "wdth" 105;
}
.accent { color: var(--accent); }
.hero .accent,
.reviews .accent,
.sell .accent { color: var(--accent-light); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--n-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--n-300); }
.eyebrow-rule {
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow.on-dark .eyebrow-rule { background: var(--accent-light); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head-center .section-lead { max-width: 46ch; margin-inline: auto; }
.section-head-side p { color: var(--ink-muted); font-size: 15px; max-width: 46ch; }
.reviews .section-head-side p { color: var(--n-300); }
.section-head-side .text-link { margin-top: 18px; }
.section-lead { margin-top: 20px; color: var(--ink-muted); font-size: 17px; max-width: 48ch; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding-bottom: 3px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  transition: color var(--t-fast), border-color var(--t-fast), gap var(--t-fast);
}
.text-link:hover { gap: 14px; border-color: var(--accent); }
.text-link.on-dark { color: var(--accent-light); border-color: color-mix(in srgb, var(--accent-light) 40%, transparent); }
.text-link.on-dark:hover { border-color: var(--accent-light); }
.text-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------- 4 Bausteine */
.button {
  --btn-bg: var(--n-900);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast); }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.button:hover svg { transform: translateX(3px); }
.button:active { transform: translateY(0); }
.button-lg { min-height: 54px; padding: 0 28px; font-size: 15px; }
.button-block { width: 100%; }

.button-accent { --btn-bg: var(--accent); }
.button-accent:hover { --btn-bg: var(--accent-hover); }
.button-dark { --btn-bg: var(--n-900); }
.button-dark:hover { --btn-bg: var(--n-800); }
.button-outline {
  --btn-bg: transparent;
  --btn-fg: var(--n-900);
  border-color: var(--n-300);
}
.button-outline:hover { --btn-bg: var(--n-900); --btn-fg: var(--white); border-color: var(--n-900); }
.button-outline-light {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
}
.button-outline-light:hover { --btn-bg: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); }
.button:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.ghost-button:hover { background: var(--n-100); color: var(--ink); }
.ghost-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .05);
  color: var(--white);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.icon-button:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .34); transform: translateY(-1px); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.watchlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.watchlist-button.is-active svg { fill: var(--accent); stroke: var(--accent); }

.chip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--t-fast);
}
.chip-toggle svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.chip-toggle:hover { border-color: var(--n-400); color: var(--ink); }
.chip-toggle[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.chip-toggle[aria-pressed="true"] svg { fill: currentColor; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* --------------------------------------------------- 5 Header & Hero */
.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  background: color-mix(in srgb, var(--n-950) 88%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--white);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--n-950) 96%, transparent);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .8);
}
.header-inner {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, var(--n-800), var(--n-950));
  border: 1px solid rgba(255, 255, 255, .12);
}
.brand-mark img { width: 26px; height: 20px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  letter-spacing: .1em;
}
.brand-copy small {
  margin-top: 5px;
  color: var(--n-400);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.desktop-nav a {
  position: relative;
  padding: 8px 2px;
  color: var(--n-300);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--t-fast);
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-light);
  transition: right var(--t);
}
.desktop-nav a:hover { color: var(--white); }
.desktop-nav a:hover::after,
.desktop-nav a.is-current::after { right: 0; }
.desktop-nav a.is-current { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { min-height: 42px; }

.scroll-progress { height: 2px; background: transparent; }
.scroll-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transition: width .12s linear; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--t), opacity var(--t-fast);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  z-index: 89;
  inset: var(--header-h) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 4vw, 40px) var(--gutter) calc(20px + env(safe-area-inset-bottom));
  background: var(--n-950);
  color: var(--white);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity var(--t), transform var(--t);
}
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-display);
  font-size: clamp(23px, 6.2vw, 32px);
  font-weight: 500;
  font-variation-settings: "wdth" 104;
  letter-spacing: -.03em;
}
.mobile-nav-links a span { color: var(--accent-light); font-family: var(--font-body); font-size: 12px; font-weight: 700; }
.mobile-nav-foot { display: grid; gap: 10px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(880px, calc(100svh - var(--header-h)));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(90px, 16vh, 190px);
  padding-bottom: clamp(28px, 5vh, 56px);
  background: var(--n-950);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  animation: hero-drift 26s var(--ease) forwards;
}
@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(96deg, rgba(6, 10, 19, .97) 0%, rgba(6, 10, 19, .94) 24%, rgba(6, 10, 19, .78) 42%, rgba(6, 10, 19, .4) 62%, rgba(6, 10, 19, .12) 88%),
    linear-gradient(to top, rgba(6, 10, 19, .95) 0%, rgba(6, 10, 19, .45) 26%, rgba(6, 10, 19, .1) 55%, transparent 75%),
    linear-gradient(rgba(6, 10, 19, .5), transparent 32%);
}

.hero-inner { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.hero-lead {
  max-width: 52ch;
  margin: 26px 0 34px;
  color: var(--n-300);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-trust-wrap { margin-top: clamp(40px, 7vh, 84px); }
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px) saturate(150%);
  overflow: hidden;
}
.hero-trust li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: rgba(7, 12, 22, .3);
}
.hero-trust strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  font-variation-settings: "wdth" 104;
  letter-spacing: -.03em;
  line-height: 1;
}
.hero-trust .unit { color: var(--n-400); font-size: 15px; font-weight: 400; }
.hero-trust span { color: var(--n-300); font-size: 12.5px; line-height: 1.4; }
.hero-trust-hours strong { font-size: 19px; }
.hero-trust-hours strong.is-open { color: #5fd08a; }
.hero-trust-hours strong.is-closed { color: var(--n-300); }

/* ------------------------------------------------- 6 Fahrzeugbestand */
.inventory { background: var(--page); }

/* Filterpanel */
.filter-toggle { display: none; }

.filter-panel {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.25fr);
  gap: 2px;
}
.field { position: relative; padding: 12px 18px; border-radius: var(--r-md); transition: background var(--t-fast); }
.filter-row > .field + .field { box-shadow: -1px 0 0 var(--line-soft); }
.field:hover { background: var(--n-050); }
.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search-wrap { position: relative; display: flex; align-items: center; }
.search-wrap svg {
  position: absolute;
  left: 0;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--n-400);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  padding: 3px 0 3px 26px;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: 0;
}
.search-wrap input::placeholder { color: var(--n-400); }
.search-wrap input::-webkit-search-cancel-button { cursor: pointer; }

.select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.select-trigger svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: var(--n-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast); }
.select-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.select-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.select-menu {
  position: absolute;
  z-index: 40;
  left: 10px;
  right: 10px;
  top: calc(100% - 4px);
  max-height: 300px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: pop-in .16s var(--ease);
}
.select-menu-right { left: auto; right: 0; min-width: 230px; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } }
.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-xs);
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
}
.select-option small { color: var(--n-400); font-size: 12px; font-variant-numeric: tabular-nums; }
.select-option:hover,
.select-option.is-focused { background: var(--n-100); color: var(--ink); }
.select-option[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.select-option[aria-selected="true"] small { color: var(--accent); }

/* Preis-Range */
.field-price-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price-readout {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dual-range { position: relative; height: 26px; margin-top: 2px; }
.range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--n-150);
}
.range-track i { position: absolute; top: 0; bottom: 0; border-radius: var(--r-pill); background: var(--accent); }
.dual-range input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 26px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}
.dual-range input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.dual-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 6px rgba(11, 18, 32, .3);
  cursor: grab;
  pointer-events: auto;
  transition: transform var(--t-fast);
}
.dual-range input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.dual-range input[type="range"]::-moz-range-track { height: 4px; background: transparent; }
.dual-range input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 6px rgba(11, 18, 32, .3);
  cursor: grab;
  pointer-events: auto;
}
.dual-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }

.filter-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  padding: 0 10px;
  transition: padding var(--t-fast);
}
.filter-foot:has(.filter-chip),
.filter-foot:has(.ghost-button:not([hidden])) { padding: 12px 10px 6px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 6px 0 13px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  animation: pop-in .2s var(--ease);
}
.filter-chip b { font-weight: 700; }
.filter-chip i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(43, 107, 228, .16);
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  transition: background var(--t-fast);
}
.filter-chip:hover i { background: var(--accent); color: var(--white); }

/* Toolbar */
.inventory-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 26px 4px 20px;
}
.result-count { color: var(--ink-muted); font-size: 14px; }
.result-count b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.field-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 14px 4px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.field-inline .field-label { margin: 0; white-space: nowrap; }
.field-inline .select-trigger { width: auto; min-width: 140px; font-size: 14px; font-weight: 600; }

/* Grid & Karten */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.vehicle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  animation: card-in .45s var(--ease) both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }
.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.vehicle-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--n-150);
  overflow: hidden;
}
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.vehicle-card:hover .vehicle-media img { transform: scale(1.05); }
.vehicle-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 12, 22, .32), transparent 45%);
  pointer-events: none;
}

.vehicle-source {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: rgba(7, 12, 22, .72);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.vehicle-source i { color: #101114; background: #ffea00; padding: 1px 4px; border-radius: 3px; font-style: normal; font-weight: 800; font-size: 10px; }

.watch-toggle {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  color: var(--n-600);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.watch-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.watch-toggle:hover { transform: scale(1.08); color: var(--accent); }
.watch-toggle[aria-pressed="true"] { color: var(--accent); }
.watch-toggle[aria-pressed="true"] svg { fill: var(--accent); }
.watch-toggle[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: watch-ping .5s var(--ease);
}
@keyframes watch-ping { from { opacity: .7; transform: scale(.8); } to { opacity: 0; transform: scale(1.15); } }

.vehicle-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.vehicle-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  font-variation-settings: "wdth" 102;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.vehicle-trim {
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 13.5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 6px;
  margin: 16px 0 20px;
}
.spec-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--r-xs);
  background: var(--n-050);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.spec-list svg { width: 14px; height: 14px; fill: none; stroke: var(--n-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vehicle-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.vehicle-price {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  font-variation-settings: "wdth" 102;
  letter-spacing: -.03em;
  line-height: 1;
}
.vehicle-price small { margin-top: 5px; color: var(--n-400); font-family: var(--font-body); font-size: 11.5px; font-weight: 500; letter-spacing: 0; }
.vehicle-detail-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}
.vehicle-detail-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform var(--t-fast); }
.vehicle-detail-button:hover { background: var(--n-900); border-color: var(--n-900); color: var(--white); }
.vehicle-detail-button:hover svg { transform: translateX(2px); }

/* Skeletons */
.skeleton-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.skeleton-card .sk-media { aspect-ratio: 4 / 3; }
.skeleton-card .sk-body { padding: 20px 22px 24px; display: grid; gap: 12px; }
.sk {
  border-radius: var(--r-xs);
  background: linear-gradient(90deg, var(--n-100) 25%, var(--n-150) 37%, var(--n-100) 63%);
  background-size: 400% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
}
.sk-media { border-radius: 0; }
@keyframes sk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Leerzustand */
.empty-state {
  padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px);
  border: 1px dashed var(--n-300);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: center;
  animation: pop-in .3s var(--ease);
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.empty-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.empty-state h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.empty-state p { max-width: 46ch; margin: 12px auto 26px; color: var(--ink-muted); font-size: 15px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.load-more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.load-more .button svg { transition: transform var(--t-fast); }
.load-more .button:hover svg { transform: translateY(3px) translateX(0); }
.inventory-note { margin-top: 26px; color: var(--n-500); font-size: 12.5px; text-align: center; }
.inventory-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------- 7 Ankauf / Formular */
.sell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--n-900);
  color: var(--white);
}
.sell-copy {
  display: flex;
  justify-content: flex-end;
  padding: var(--section-y) clamp(28px, 4vw, 64px) var(--section-y) var(--gutter);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(43, 107, 228, .16), transparent 60%),
    var(--n-900);
}
.sell-copy-inner { width: 100%; max-width: calc(var(--shell) / 2 - 32px); }
.sell-lead { max-width: 46ch; margin-top: 22px; color: var(--n-300); font-size: 16px; }

.steps { margin: 40px 0 0; max-width: 480px; }
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.step-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
}
.steps div { display: flex; flex-direction: column; gap: 4px; }
.steps strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.steps small { color: var(--n-400); font-size: 13px; }

.sell-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.sell-alt p { color: var(--n-400); font-size: 13px; }

.sell-form-wrap {
  display: flex;
  padding: var(--section-y) var(--gutter) var(--section-y) clamp(28px, 4vw, 64px);
  background: var(--page);
}
.valuation-card {
  width: 100%;
  max-width: calc(var(--shell) / 2 - 32px);
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.form-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.form-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.form-progress-label { flex: 0 0 auto; color: var(--n-400); font-size: 12px; font-weight: 600; white-space: nowrap; }
.form-progress-label b { color: var(--ink); }
.progress { height: 3px; margin: 22px 0 30px; border-radius: var(--r-pill); background: var(--n-150); overflow: hidden; }
.progress i { display: block; width: 50%; height: 100%; border-radius: var(--r-pill); background: var(--accent); transition: width var(--t); }

.form-step { animation: step-in .34s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { position: relative; display: flex; flex-direction: column; }
.form-field.wide { grid-column: 1 / -1; }
.form-field > label,
.form-field > .field-label {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.optional { color: var(--n-400); font-weight: 400; }
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--n-050);
  font-size: 15px;
  outline: 0;
  resize: vertical;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--n-400); }
.form-field input:hover,
.form-field textarea:hover { border-color: var(--n-300); }
.form-field input:focus,
.form-field textarea:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.form-field.has-error input,
.form-field.has-error textarea { border-color: var(--danger); background: #fdf3f2; }
.field-hint { margin-top: 6px; color: var(--n-400); font-size: 12px; }
.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 500;
  animation: pop-in .2s var(--ease);
}
.field-error::before { content: "!"; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--danger); color: var(--white); font-size: 10px; font-weight: 700; }

.suggestions {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  max-height: 232px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: pop-in .16s var(--ease);
}
.suggestion-item {
  padding: 10px 12px;
  border-radius: var(--r-xs);
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
}
.suggestion-item:hover,
.suggestion-item.is-focused { background: var(--n-100); color: var(--ink); }
.suggestion-item mark { background: transparent; color: var(--accent); font-weight: 700; }

.input-with-action { position: relative; }
.input-with-action input { padding-right: 52px; }
.input-with-action button {
  position: absolute;
  right: 6px;
  top: 6px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--r-xs);
  background: var(--accent-soft);
  color: var(--accent-hover);
  cursor: pointer;
  transition: background var(--t-fast);
}
.input-with-action button:hover { background: color-mix(in srgb, var(--accent) 22%, var(--white)); }
.input-with-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.month-picker {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: pop-in .16s var(--ease);
}
.month-picker-head { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; margin-bottom: 12px; }
.month-picker-head strong { text-align: center; font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.month-picker-head button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface);
  cursor: pointer;
  transition: background var(--t-fast);
}
.month-picker-head button:hover:not(:disabled) { background: var(--n-100); }
.month-picker-head button:disabled { opacity: .35; cursor: not-allowed; }
.month-picker-head svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.month-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.month-grid button {
  min-height: 36px;
  border: 0;
  border-radius: var(--r-xs);
  background: var(--n-050);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.month-grid button:hover:not(:disabled) { background: var(--accent-soft); color: var(--accent-hover); }
.month-grid button.is-selected { background: var(--accent); color: var(--white); }
.month-grid button:disabled { opacity: .38; cursor: not-allowed; }

/* Upload */
.upload-block { margin: 22px 0 26px; }
.dropzone { position: relative; }
.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 132px;
  padding: 22px;
  border: 1.5px dashed var(--n-300);
  border-radius: var(--r-md);
  background: var(--n-050);
  text-align: center;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.dropzone:hover .dropzone-inner,
.dropzone.is-dragging .dropzone-inner { border-color: var(--accent); background: var(--accent-soft); }
.dropzone.is-dragging .dropzone-inner { border-style: solid; }
.dropzone-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-xs); }
.dropzone-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dropzone-inner strong { font-size: 14.5px; font-weight: 600; }
.dropzone-inner small { color: var(--n-500); font-size: 12.5px; }

.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 14px; }
.photo-previews:empty { margin: 0; }
.photo-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--n-150);
  animation: pop-in .24s var(--ease);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview .file-fallback { display: grid; place-items: center; height: 100%; padding: 8px; color: var(--n-500); font-size: 11px; text-align: center; word-break: break-all; }
.photo-remove {
  position: absolute;
  right: 5px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 12, 22, .72);
  color: var(--white);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast);
}
.photo-remove:hover { background: var(--danger); }

.check { display: flex; align-items: flex-start; gap: 11px; margin: 22px 0 6px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.check input { width: 19px; height: 19px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-field.has-error + .field-error,
.check.has-error + .field-error { display: flex; }

.segmented { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--n-050); }
.segmented label { flex: 1; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.segmented label:hover span { background: var(--n-100); }
.segmented input:checked + span { background: var(--n-900); color: var(--white); font-weight: 600; }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.form-actions .button { flex: 1; }
.form-note { margin-top: 20px; color: var(--n-400); font-size: 12px; text-align: center; }

/* ---------------------------------------------------------- 8 Service */
.service { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  background: var(--n-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.service-num { position: absolute; right: 22px; top: 22px; color: var(--n-400); font-size: 12px; font-weight: 600; }
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--n-050);
  transition: background var(--t), border-color var(--t);
}
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.service-card:hover .service-icon svg { stroke: var(--accent-light); }
.service-card h3 { margin: 24px 0 10px; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.service-card p { flex: 1; color: var(--ink-muted); font-size: 14px; line-height: 1.6; transition: color var(--t); }
.service-card:hover p { color: var(--n-300); }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--accent); font-size: 13px; font-weight: 600; }
.service-card:hover .service-link { color: var(--accent-light); }
.service-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform var(--t-fast); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ------------------------------------------------------ 9 Bewertungen */
.reviews {
  padding-block: var(--section-y);
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(43, 107, 228, .14), transparent 60%),
    var(--n-950);
  color: var(--white);
}

.award-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  margin-bottom: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 38px) 0;
  border-block: 1px solid rgba(255, 255, 255, .1);
}
.award {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.award picture {
  display: block;
  padding: 7px;
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  transition: transform var(--t), box-shadow var(--t);
}
.award img { width: clamp(96px, 12vw, 140px); height: auto; }
.award:hover picture { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 28px 60px -20px rgba(0, 0, 0, .9); }
.award:nth-child(even) .award:hover picture { transform: translateY(-8px) rotate(1.2deg); }
.award-year {
  display: block;
  margin-top: 12px;
  color: var(--brass-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.review-portals { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.review-portal {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  transition: border-color var(--t), background var(--t);
}
.review-portal:hover { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .06); }
.portal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.google-wordmark { display: flex; font-family: Arial, sans-serif; font-size: 27px; font-weight: 700; letter-spacing: -1.6px; }
.google-wordmark i { font-style: normal; }
.google-wordmark i:nth-child(1), .google-wordmark i:nth-child(4) { color: #4285f4; }
.google-wordmark i:nth-child(2), .google-wordmark i:nth-child(6) { color: #ea4335; }
.google-wordmark i:nth-child(3) { color: #fbbc05; }
.google-wordmark i:nth-child(5) { color: #34a853; }
.autoscout-wordmark { font-family: Arial, sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -.5px; white-space: nowrap; }
.autoscout-wordmark i { display: inline-block; margin-right: 4px; padding: 2px 6px; background: #ffea00; color: #101114; font-style: normal; font-weight: 800; border-radius: 3px; transform: skewX(-6deg); }

.portal-score { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 10px; }
.portal-score strong { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.portal-score small { grid-column: 1 / -1; color: var(--n-400); font-size: 12px; }
.stars { position: relative; display: inline-block; width: 84px; height: 15px; }
.stars::before,
.stars i::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}
.stars::before { color: rgba(255, 255, 255, .2); }
.stars i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 100%); overflow: hidden; }
.stars i::before { color: var(--brass-light); }

.portal-quotes { flex: 1; display: grid; gap: 4px; padding: 6px 0; }
.portal-quotes blockquote { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.portal-quotes blockquote:last-child { border-bottom: 0; }
.portal-quotes p {
  color: #e9eef5;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.portal-quotes footer { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.portal-quotes footer strong { color: var(--n-300); font-size: 13px; font-weight: 600; }
.portal-quotes footer span { color: var(--n-500); font-size: 12px; }
.portal-quotes footer::before { content: ""; width: 18px; height: 1px; background: rgba(255, 255, 255, .25); }

.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--accent-light);
  font-size: 13.5px;
  font-weight: 600;
  transition: gap var(--t-fast);
}
.portal-link:hover { gap: 15px; }
.portal-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* -------------------------------------------------------- 10 Kontakt */
.contact { background: var(--surface); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 76px); align-items: center; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: all var(--t-fast);
}
.contact-card:hover { border-color: var(--n-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-card-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: var(--r-sm); background: var(--accent-soft); }
.contact-card-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-icon.whatsapp { background: color-mix(in srgb, var(--whatsapp) 16%, var(--white)); }
.contact-card-icon.whatsapp svg { fill: #128c40; stroke: none; }
.contact-card-text { display: flex; flex-direction: column; min-width: 0; }
.contact-card-text strong { font-size: 15px; font-weight: 600; white-space: nowrap; }
.contact-card-text small { color: var(--n-500); font-size: 12px; }

.hours-card { margin-top: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--n-050); }
.hours-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hours-head strong { font-size: 14.5px; font-weight: 600; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--n-400); flex: 0 0 auto; }
.status-dot.is-open { background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 22%, transparent); }
.status-dot.is-closed { background: var(--n-400); box-shadow: 0 0 0 4px rgba(125, 141, 170, .2); }
.hours-list { display: grid; gap: 2px; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; color: var(--ink-muted); font-size: 14px; }
.hours-list li + li { border-top: 1px solid var(--line-soft); }
.hours-list b { color: var(--ink-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-list li.is-today { color: var(--ink); }
.hours-list li.is-today span { font-weight: 600; }
.hours-list li.is-today b { color: var(--accent); }

.location-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-md); }
.map-frame { position: relative; aspect-ratio: 16 / 11; background: var(--n-100); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  background:
    radial-gradient(80% 60% at 50% 40%, rgba(43, 107, 228, .1), transparent 70%),
    repeating-linear-gradient(38deg, var(--n-100) 0 46px, var(--n-050) 46px 92px);
}
.map-consent-inner { max-width: 40ch; }
.map-consent .map-pin { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-md); }
.map-consent .map-pin svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linejoin: round; }
.map-consent strong { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.map-consent p { margin-bottom: 18px; color: var(--ink-muted); font-size: 13px; line-height: 1.55; }

.location-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-top: 1px solid var(--line); }
.location-info div { display: flex; flex-direction: column; gap: 4px; }
.location-info strong { font-size: 15px; font-weight: 600; }
.location-info span { color: var(--ink-muted); font-size: 13px; }
.location-info .button { min-height: 42px; font-size: 13px; }

/* --------------------------------------------------------- 11 Footer */
.site-footer { padding-top: clamp(52px, 7vw, 84px); background: var(--n-950); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr 1.1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 52px; }
.footer-brand p { margin: 20px 0 18px; color: var(--n-400); font-size: 14px; line-height: 1.65; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col strong { margin-bottom: 6px; color: var(--n-300); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a, .footer-col span { color: var(--n-400); font-size: 14px; }
.footer-col a { transition: color var(--t-fast); }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--n-500);
  font-size: 13px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--white); }
.to-top { display: inline-flex; align-items: center; gap: 8px; transition: color var(--t-fast); }
.to-top:hover { color: var(--white); }
.to-top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------- 12 Dialoge */
dialog { border: 0; padding: 0; color: var(--ink); background: transparent; }
dialog::backdrop { background: rgba(4, 8, 16, .72); backdrop-filter: blur(6px); animation: fade-in .22s var(--ease); }
@keyframes fade-in { from { opacity: 0; } }

.vehicle-dialog,
.legal-dialog {
  width: min(920px, calc(100% - 28px));
  max-height: min(920px, calc(100dvh - 40px));
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  overflow: auto;
  overscroll-behavior: contain;
}
.legal-dialog { width: min(760px, calc(100% - 28px)); }
.vehicle-dialog[open],
.legal-dialog[open] { animation: dialog-in .26s var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }

/* Fahrzeug-Detail */
/* width: 100% ist nötig – mit `auto` würde max-height über aspect-ratio auch die Breite kürzen. */
.vd-media { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 42dvh; background: var(--n-150); }
.vd-media img { width: 100%; height: 100%; object-fit: cover; }
.vd-close {
  position: absolute;
  z-index: 3;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 12, 22, .6);
  backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.vd-close:hover { background: rgba(7, 12, 22, .9); transform: rotate(90deg); }
.vd-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vd-source { position: absolute; z-index: 2; left: 18px; top: 18px; }

.vd-body { padding: clamp(24px, 3vw, 36px); }
.vd-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px; }
.vd-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.vd-head p { margin-top: 8px; color: var(--ink-muted); font-size: 15px; }
.vd-price { text-align: right; }
.vd-price strong { display: block; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.vd-price small { color: var(--n-400); font-size: 12px; }

.vd-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--line); overflow: hidden; }
.vd-specs div { display: flex; flex-direction: column; gap: 5px; padding: 15px 16px; background: var(--surface); }
.vd-specs dt, .vd-specs .k { color: var(--ink-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.vd-specs .v { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

.vd-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.vd-features li { height: 32px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border-radius: var(--r-pill); background: var(--n-050); color: var(--ink-soft); font-size: 13px; }
.vd-features li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.vd-calc { margin-bottom: 26px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.vd-calc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  background: var(--n-050);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.vd-calc > summary::-webkit-details-marker { display: none; }
.vd-calc > summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; line-height: 1; }
.vd-calc[open] > summary::after { content: "–"; }
.vd-calc-body { padding: 20px 18px; display: grid; gap: 16px; }
.vd-calc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.vd-calc-fields label { display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.vd-calc-fields input {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  outline: 0;
}
.vd-calc-fields input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.vd-calc-result { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--accent-soft); }
.vd-calc-result span { color: var(--accent-hover); font-size: 13px; font-weight: 600; }
.vd-calc-result strong { font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -.03em; color: var(--accent-hover); }
.vd-calc-note { color: var(--n-500); font-size: 11.5px; line-height: 1.5; }
.vd-calc-legal {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--n-050);
}
.vd-calc-legal.is-draft { border-color: #d9a441; background: #fffaf0; }
.vd-calc-legal > strong {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.vd-calc-legal dl { display: grid; gap: 1px; margin: 0; background: var(--line-soft); border-radius: var(--r-xs); overflow: hidden; }
.vd-calc-legal dl > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 12px;
  background: var(--surface);
}
.vd-calc-legal dt { color: var(--ink-muted); font-size: 12.5px; }
.vd-calc-legal dd { margin: 0; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.vd-calc-partners { margin-top: 10px; color: var(--ink-muted); font-size: 11.5px; line-height: 1.55; }
.vd-calc-draft-note { margin-top: 14px; color: #7a5b00; font-size: 11.5px; line-height: 1.55; }
.vd-calc-draft-note code { padding: 1px 5px; border-radius: 4px; background: #f3e3bd; font-size: 11px; }
.vd-calc-draft-note ul { margin: 8px 0 0; padding-left: 16px; list-style: disc; }
.vd-calc-draft-note li { margin-bottom: 5px; }

.vd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vd-actions .button { flex: 1 1 190px; }
.vd-note { margin-top: 18px; color: var(--n-500); font-size: 12px; }

/* Lightbox */
.lightbox {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-xl);
  overflow: visible;
}
.lightbox[open] { animation: dialog-in .24s var(--ease) both; }
.lightbox img { width: 100%; height: auto; max-height: calc(100dvh - 88px); object-fit: contain; }
.lightbox-close {
  position: absolute;
  right: -12px;
  top: -12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--n-900);
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-fast);
}
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Impressum */
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(22px, 3vw, 36px);
  background: var(--n-950);
  color: var(--white);
}
.legal-head p { color: var(--n-400); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.legal-head h2 { margin-top: 8px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 500; letter-spacing: -.03em; }
.legal-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.legal-close:hover { transform: rotate(90deg); border-color: var(--accent-light); }
.legal-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.legal-body { padding: clamp(24px, 3vw, 36px); }
.legal-company { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-company small,
.legal-facts strong,
.legal-dispute strong { display: block; margin-bottom: 9px; color: var(--n-500); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.legal-trade { margin-top: 8px; color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.legal-trade small { display: block; margin-top: 4px; color: var(--n-500); font-size: 12px; font-weight: 400; }
.legal-company h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.legal-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.legal-facts section { padding: 20px; background: var(--surface); }
.legal-facts section:last-child:nth-child(odd) { grid-column: 1 / -1; }
.legal-facts p, .legal-dispute p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.legal-facts a { color: var(--accent); font-weight: 600; }
.legal-dispute { margin-top: 26px; }
.legal-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--n-500); font-size: 12px; line-height: 1.6; }

/* Fließtext-Variante für die Datenschutzerklärung */
.legal-prose { max-width: 72ch; }
.legal-intro {
  padding: 16px 18px;
  margin-bottom: 26px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--accent-soft);
  color: var(--n-700);
  font-size: 14px;
  line-height: 1.65;
}
.legal-prose section { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.legal-prose section:last-of-type { border-bottom: 0; }
.legal-prose h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.legal-prose p { margin-bottom: 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.legal-prose p:last-child { margin-bottom: 0; }
.legal-prose ul { margin: 0 0 10px; padding-left: 18px; list-style: disc; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.legal-prose li { margin-bottom: 4px; }
.legal-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Sichtbare Markierung für noch fehlende Angaben */
.todo {
  padding: 2px 8px;
  border: 1px dashed #b8860b;
  border-radius: var(--r-xs);
  background: #fff8e1;
  color: #7a5b00;
  font-size: 13px;
  font-weight: 600;
}
.todo::before { content: "⚠ "; }

/* ------------------------------------------- 13 Schwebende Elemente */
.whatsapp-float {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 14px 32px -10px rgba(37, 211, 102, .6);
  transition: gap var(--t), padding var(--t), transform var(--t-fast), background var(--t-fast);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; flex: 0 0 auto; }
.float-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; transition: max-width var(--t); }
.whatsapp-float:hover { background: #1fbe5a; transform: translateY(-3px); gap: 10px; }
.whatsapp-float:hover .float-label { max-width: 120px; }

.mobile-bar { display: none; }

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(440px, calc(100% - 32px));
  padding: 14px 20px;
  border-radius: var(--r-pill);
  background: var(--n-900);
  color: var(--white);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 24px);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: var(--danger); }

/* -------------------------------------------------------- 14 Bewegung */
/* Nur wenn JavaScript läuft, wird eingeblendet – ohne JS bleibt alles sichtbar. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.service-card.reveal:nth-child(1) { transition-delay: 0s; }
.service-card.reveal:nth-child(2) { transition-delay: .08s; }
.service-card.reveal:nth-child(3) { transition-delay: .16s; }
.service-card.reveal:nth-child(4) { transition-delay: .24s; }

/* ------------------------------------------------------ 15 Responsive */
@media (max-width: 1180px) {
  .filter-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  .filter-row > .field:nth-child(4),
  .filter-row > .field:nth-child(5) { box-shadow: none; }
  .filter-row > .field:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
  .filter-row > .field:nth-child(4) { grid-column: span 1; }
  .filter-row > .field:nth-child(5) { grid-column: span 2; box-shadow: -1px 0 0 var(--line-soft); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .desktop-nav, .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: flex; }
  .sell { grid-template-columns: 1fr; }
  .sell-copy { padding-inline: var(--gutter); }
  .sell-copy-inner { max-width: 640px; margin-inline: auto; }
  .sell-form-wrap { padding: 0 var(--gutter) var(--section-y); }
  .valuation-card { max-width: 640px; margin-inline: auto; }
  .contact-inner { grid-template-columns: 1fr; }
  .location-card { order: -1; }
  .review-portals { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --section-y: clamp(60px, 12vw, 86px); }
  .header-inner { gap: 12px; }
  .header-phone { display: none; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .hero { min-height: min(760px, 100svh); padding-top: 76px; }
  .hero-media img { object-position: 56% 52%; }
  .hero-veil {
    background:
      linear-gradient(to top, rgba(6, 10, 19, .96) 4%, rgba(6, 10, 19, .74) 44%, rgba(6, 10, 19, .6) 100%),
      linear-gradient(rgba(6, 10, 19, .55), transparent 30%);
  }
  .hero-lead { font-size: 15.5px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-trust li { padding: 14px 16px; }
  .hero-trust strong { font-size: 22px; }
  .hero-trust span { font-size: 11.5px; }

  .filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin-bottom: 10px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
  }
  .filter-toggle svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
  .filter-toggle span { margin-right: auto; }
  .filter-toggle b {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
  }
  .filter-toggle[aria-expanded="true"] { border-color: var(--n-900); }
  .filter-panel { padding: 6px; }
  .filter-panel .filter-row { display: none; }
  .filter-panel.is-open .filter-row { display: grid; animation: pop-in .2s var(--ease); }
  .filter-panel:not(.is-open):not(:has(.filter-chip)) { display: none; }
  .filter-row { grid-template-columns: 1fr; }
  .filter-row > .field { box-shadow: none !important; grid-column: auto !important; }
  .filter-row > .field + .field { border-top: 1px solid var(--line-soft); }
  .inventory-toolbar { padding: 22px 2px 18px; }
  .toolbar-right { width: 100%; justify-content: space-between; }
  .field-inline { flex: 1; justify-content: space-between; }
  .field-inline .select-trigger { min-width: 0; }
  .vehicle-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .form-field.wide { grid-column: auto; }
  .form-head { flex-direction: column; gap: 12px; }
  .form-actions { flex-wrap: wrap; }
  .form-actions .ghost-button { order: 2; }
  .form-actions .button { flex: 1 1 100%; }

  .service-grid { grid-template-columns: 1fr; }
  .award-row { gap: 12px; }
  .portal-head { gap: 12px; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .vehicle-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .vd-media { aspect-ratio: 4 / 3; }
  .vd-head { flex-direction: column; gap: 10px; }
  .vd-price { text-align: left; }
  .vd-actions .button { flex: 1 1 100%; }

  .whatsapp-float { right: 16px; bottom: calc(74px + env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; }
  .whatsapp-float:hover { gap: 0; }
  .whatsapp-float .float-label { display: none; }
  .mobile-bar {
    position: fixed;
    z-index: 68;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--white) 92%, transparent);
    backdrop-filter: blur(14px) saturate(160%);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 4px 12px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 600;
  }
  .mobile-bar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bar a:active { color: var(--accent); }
  body { padding-bottom: 68px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .display-1 { font-size: 2.15rem; }
  .brand-copy small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 20px; }
}

@media (max-width: 420px) {
  .hero-trust { grid-template-columns: 1fr; }
  .hero-trust li { flex-direction: row; align-items: baseline; gap: 10px; }
  .hero-trust strong { font-size: 19px; }
}

/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
}

@media print {
  .site-header, .mobile-nav, .whatsapp-float, .mobile-bar, .filter-panel,
  .inventory-toolbar, .load-more, .toast, .skip-link { display: none !important; }
  body { background: #fff; }
  .hero { min-height: 0; }
}
