/* N&E Automobile – gemeinsames Stylesheet für alle Seiten */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/sourceserif4-latin.woff2") format("woff2");
  font-weight: 200 600;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f3f4f5;
  --surface-2: #e7e9eb;
  --ink: #16181b;
  --muted: #565b62;
  --black: #000000;
  --slate: #37424d;     /* Pylon */
  --slate-deep: #2a333c;
  --accent: #1f5bd8;    /* Leuchtschild bei Nacht */
  --accent-hover: #1847ab;
  --wa: #1fa855;
  --radius: 8px;

  --margin: clamp(16px, 3.6vw, 56px);
  --max: 1440px;
  --gap: clamp(88px, 9vw, 152px);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-small: 0.9375rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 1.4vw, 1.3125rem);
  --t-h3: 1.25rem;
  --t-h2: clamp(2rem, 3.6vw, 3.25rem);
  --t-display: clamp(2.5rem, 5.4vw, 5rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-stretch: 100%;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 1000; }
.skip:focus { left: 16px; top: 16px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); }

/* ── Typo ───────────────────────────── */
h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 650; line-height: 1.25; }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 34em; }
.note { font-size: var(--t-small); color: var(--muted); }
p + p { margin-top: 1em; }

/* ── Buttons (Pill) ─────────────────── */
.btn {
  font-stretch: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-size: 0.9375rem; font-weight: 650; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: #b9bec4; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-2); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link { font-weight: 600; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--accent); }

/* ── Header (schwarze Leiste) ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.9688rem; color: rgba(255,255,255,.82); padding: 6px 0; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.nav .btn { min-height: 42px; padding: 0 20px; }
.menu-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; padding: 13px; }
.menu-toggle span { display: block; height: 2px; background: #fff; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--black);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--margin) 32px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav a:not(.btn) { font-family: var(--serif); font-weight: 300; font-size: 2rem; color: #fff; padding: 12px 0; border-bottom: 0; }
  .nav .btn { margin-top: 24px; min-height: 54px; }
  body.menu-open { overflow: hidden; }
}

/* ── Öffnungsstatus (live) ──────────── */
.open-state { display: inline-flex; align-items: center; gap: 10px; font-weight: 550; font-size: var(--t-small); }
.open-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa1a8; flex: none; }
.open-state[data-open="true"]::before { background: #35d07a; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(53,208,122,.5); } 70% { box-shadow: 0 0 0 10px rgba(53,208,122,0); } 100% { box-shadow: 0 0 0 0 rgba(53,208,122,0); } }

/* ── Hero (dunkles Vollbild) ────────── */
.hero { position: relative; background: var(--black); color: #fff; min-height: min(86vh, 880px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; transform: scale(1.05); transition: transform 2.4s var(--ease); }
.hero.is-in .hero-media img { transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%), linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 45%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 88px); }
.hero h1 { font-size: var(--t-display); max-width: 11em; }
.hero .lead { margin-top: 24px; color: rgba(255,255,255,.9); max-width: 30em; }
.hero .actions { margin-top: 32px; }
.hero .open-state { margin-top: 24px; color: rgba(255,255,255,.9); }
@media (max-width: 700px) {
  .hero { min-height: 92svh; }
  .hero-media img { object-position: 30% 60%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%); }
}

/* ── Sections ───────────────────────── */
.section { padding-top: var(--gap); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); }
.section-head p { max-width: 32em; color: var(--muted); }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
.media { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ── Das Schild (Signatur) ──────────── */
.sign-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.pylon { background: var(--slate); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 14px); }
.pylon-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: clamp(14px, 2vw, 28px); }
.pylon-top img { height: clamp(34px, 3.4vw, 50px); width: auto; }
.pylon-top h2 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); text-align: right; }
.plate {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px;
  background: #fff; color: var(--slate-deep); text-decoration: none;
  padding: clamp(18px, 2vw, 28px) clamp(18px, 2.4vw, 32px);
  transition: background-color .2s, transform .25s var(--ease);
}
.plate:hover { background: #eef2fb; transform: translateX(6px); }
.plate-word { font-size: clamp(1.5rem, 3.3vw, 3rem); font-weight: 800; font-stretch: 122%; letter-spacing: 0.02em; line-height: 1; text-transform: uppercase; }
.plate-text { grid-column: 1; grid-row: 2; font-size: 1rem; line-height: 1.4; color: var(--muted); max-width: 34em; }
.plate-go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--slate); color: #fff; transition: background-color .2s; }
.plate:hover .plate-go { background: var(--accent); }
.plate-go svg { width: 20px; height: 20px; }
.sign-photo { position: relative; }
.sign-photo img { object-position: 20% 50%; }
.sign-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; color: #fff; font-size: var(--t-small); background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0)); }
@media (max-width: 900px) { .sign-grid { grid-template-columns: 1fr; } .sign-photo { aspect-ratio: 4 / 3; } }

/* Schild-Montage: einziger orchestrierter Moment */
.js .pylon .plate { opacity: 0; transform: translateY(18px); }
.js .pylon.is-in .plate { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .2s; }
.js .pylon.is-in .plate:nth-of-type(2) { transition-delay: .09s, .09s, 0s; }
.js .pylon.is-in .plate:nth-of-type(3) { transition-delay: .18s, .18s, 0s; }
.js .pylon.is-in .plate:hover { transform: translateX(6px); transition-delay: 0s; }

/* ── Bestand ────────────────────────── */
.stock-frame { background: var(--surface); border-radius: var(--radius); padding: clamp(8px, 1vw, 14px); }
.stock-frame iframe { width: 100%; height: min(86vh, 980px); border: 0; border-radius: 4px; background: #fff; }
.stock-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }

/* ── Text + Bild (Ankauf) ───────────── */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.split .lead { margin-top: 20px; color: var(--muted); }
.split-photo { aspect-ratio: 4 / 3; }
.split-photo img { object-position: 50% 62%; }
.steps { list-style: none; padding: 0; margin: clamp(28px, 3.4vw, 40px) 0; display: grid; gap: 8px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; align-items: baseline; background: var(--surface); border-radius: var(--radius); padding: 18px 20px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--slate); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9375rem; }
.steps strong { font-weight: 650; }
.steps span { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-photo { order: -1; } }

/* ── Finanzierung (graue Fläche) ────── */
.panel { background: var(--surface); border-radius: var(--radius); padding: clamp(32px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); }
.panel .lead { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks li { background: #fff; border-radius: var(--radius); padding: 16px 18px 16px 48px; position: relative; font-weight: 550; }
.checks li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: translateY(-70%) rotate(-45deg); }
@media (max-width: 800px) { .panel { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }

/* ── Über uns ───────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(16px, 2vw, 24px); align-items: end; }
.about .media { aspect-ratio: 3 / 4; }
.about-text h2 { margin-bottom: 20px; }
.about-text .lead { color: var(--muted); }
.figures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: clamp(32px, 4vw, 56px); }
.figure { background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 2.2vw, 28px); }
.figure b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 4.4vw, 4rem); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.figure span { display: block; margin-top: 8px; color: var(--muted); font-size: 1rem; }
.brands-line { margin-top: 20px; }
@media (max-width: 1000px) { .about { grid-template-columns: 1fr 1fr; } .about-text { grid-column: 1 / -1; } }

/* ── Kontakt ────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin: 32px 0; }
.facts h3 { font-size: 1rem; margin-bottom: 6px; }
.facts address { font-style: normal; }
.hours { border-collapse: collapse; }
.hours td { padding: 2px 0; }
.hours td:first-child { padding-right: 20px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px; }
.map { position: relative; aspect-ratio: 16 / 10; margin-top: 24px; border-radius: var(--radius); background: var(--surface); display: grid; place-items: center; text-align: center; padding: 24px; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map p { max-width: 26em; margin: 10px auto 18px; color: var(--muted); font-size: var(--t-small); }
.map .map-street { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.1; color: var(--ink) !important; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ── Formulare ──────────────────────── */
.form { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; align-content: start; }
.form h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .row, .row-3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .legend { font-size: 0.9375rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: #fff;
  border: 1.5px solid #c9ced3; border-radius: 6px; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316181b' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8e959c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,91,216,.18); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.hint { font-size: 0.875rem; color: var(--muted); }
fieldset { border: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label { padding: 10px 18px; background: #fff; border: 1.5px solid #c9ced3; border-radius: 999px; cursor: pointer; font-weight: 550; font-size: 0.9375rem; transition: background-color .15s, border-color .15s, color .15s; }
.choices label:hover { border-color: #8e959c; }
.choices input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.choices input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.form-status { font-weight: 600; padding: 14px 16px; border-radius: 6px; display: none; }
.form-status.is-ok { display: block; background: #e3f3e8; color: #0f5a2c; }
.form-status.is-error { display: block; background: #fbe7e5; color: #8c1d16; }
.hp { position: absolute; left: -9999px; }

/* ── Unterseiten ────────────────────── */
.page-hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.page-hero .hero-media img { object-position: 50% 60%; transform: none; }
.page-hero .hero-content { padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); max-width: 12em; }
.page-hero .lead { margin-top: 20px; color: rgba(255,255,255,.9); }
.callout { background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.callout p { color: var(--muted); margin-top: 10px; max-width: 34em; }
@media (max-width: 800px) { .callout { grid-template-columns: 1fr; } }

.ankauf-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.form-steps { display: grid; gap: 16px; }
.form-steps legend { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 16px; }
.ankauf-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.ankauf-aside .media { aspect-ratio: 4 / 5; }
.aside-box { background: var(--black); color: #fff; border-radius: var(--radius); padding: 24px; }
.aside-box h2 { font-size: 1.625rem; margin-bottom: 10px; }
.aside-box p { color: #d6dade; font-size: 1rem; }
.aside-box .btn { margin-top: 16px; width: 100%; }
@media (max-width: 960px) { .ankauf-layout { grid-template-columns: 1fr; } .ankauf-aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ankauf-aside { grid-template-columns: 1fr; } }

.legal { max-width: 48rem; padding-top: clamp(40px, 6vw, 88px); }
.legal h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 36px; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 44px 0 12px; }
.legal h3 { margin: 26px 0 8px; }
.legal p, .legal li { max-width: 42em; }
.legal ul { padding-left: 1.2em; margin-top: .6em; }
.legal li + li { margin-top: .4em; }
.legal address { font-style: normal; }

/* ── Footer (schwarz) ───────────────── */
.site-footer { background: var(--black); color: #fff; margin-top: var(--gap); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer-mark { width: min(100%, 760px); height: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
.footer-grid h2 { font-family: var(--sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; margin-bottom: 12px; }
.footer-grid p, .footer-grid li, .footer-grid address { color: #b8bec4; font-size: 1rem; font-style: normal; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: #fff; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom { margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #9aa1a8; font-size: 0.875rem; }
.footer-bottom a { color: inherit; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ── WhatsApp ───────────────────────── */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 22px rgba(0,0,0,.22); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ── Reveal (nur mit JS; ohne JS bleibt alles sichtbar) ── */
.js [data-reveal] > * { opacity: 0; transform: translateY(20px); }
.js [data-reveal].is-in > * { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal].is-in > *:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] > *, .js .pylon .plate { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* Legenden als normale Überschriften im Kasten statt auf dessen Rand */
.form > legend, .form fieldset > legend { float: left; width: 100%; padding: 0; }
.form > legend + *, .form fieldset > legend + * { clear: both; }

/* Sprungziele nicht unter der schwarzen Leiste verstecken */
[id] { scroll-margin-top: 92px; }

/* ── Team ───────────────────────────── */
.team { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.person { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; min-height: 260px; }
.person h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.01em; }
.person .role { color: var(--muted); margin-top: 8px; }
.person-contact { margin-top: auto; padding-top: 28px; display: grid; gap: 6px; font-size: 0.9375rem; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } .person { min-height: 0; } }


/* ── Häufige Fragen ─────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--surface); border-radius: var(--radius); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 650; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 22px 22px; color: var(--muted); max-width: 46em; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* ── Schnellbewertung im Hero ───────── */
.hero-content.has-quick { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-content.has-quick h1 { max-width: 12em; }
.quick { background: var(--slate); color: #fff; border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 14px; }
.quick h2 { font-size: clamp(1.625rem, 2.4vw, 2.125rem); }
.quick > p { color: #d6dade; font-size: 1rem; }
.quick .field label { color: #fff; }
.quick .field input { border-color: transparent; color: var(--ink); }
.quick .btn { width: 100%; }
.quick .row { gap: 12px; }
@media (max-width: 960px) { .hero-content.has-quick { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .quick .row { grid-template-columns: 1fr 1fr; } }

/* ── Ankauf: Zusatzangaben, Zusagen, Region ── */
.more { background: #fff; border-radius: 6px; }
.more > summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 650; position: relative; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.more[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.more > summary span { display: block; font-weight: 400; color: var(--muted); font-size: .9375rem; }
.more-body { display: grid; gap: 18px; padding: 4px 18px 22px; }
.promise { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-weight: 600; }
.promise li { list-style: none; display: flex; align-items: center; gap: 10px; }
.promise li::before { content: ""; width: 12px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-2px) rotate(-45deg); flex: none; }
.promise { padding: 0; }
.region { margin-top: 20px; color: var(--muted); max-width: 40em; }
.sell-hint { font-size: .9375rem; }
.sell-hint[hidden] { display: none; }

/* ── Online-Bewertung (auto-bewerten.html) ── */
.wiz-hero { background: var(--black); color: #fff; padding: calc(var(--gap) * .9) 0 clamp(36px, 5vw, 64px); }
.wiz-hero h1 { font-family: var(--serif); font-weight: 300; font-size: var(--t-display); line-height: 1.05; letter-spacing: -0.015em; }
.wiz-hero .lead { margin-top: 14px; color: rgba(255,255,255,.88); }
.wiz { max-width: 860px; padding-top: clamp(32px, 4vw, 56px); padding-bottom: var(--gap); scroll-margin-top: 90px; }
.wiz-progress { height: 4px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.wiz-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.wiz-count { margin: 10px 0 22px; font-size: var(--t-small); color: var(--muted); }
#wiz h2 { font-family: var(--serif); font-weight: 300; font-size: var(--t-h2); line-height: 1.1; margin-bottom: 22px; }
#wiz .field { margin-bottom: 18px; }
.wiz-tiles { display: grid; gap: 10px; margin: 6px 0 18px; }
.wiz-tiles.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wiz-tiles.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wiz-tiles.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wiz-tiles.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wiz-tile { min-height: 54px; padding: 12px 14px; border: 1px solid #c9ced3; border-radius: var(--radius); background: #fff; font: inherit; font-size: var(--t-small); font-weight: 600; color: var(--ink); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.wiz-tile:hover { border-color: var(--ink); }
.wiz-tile.is-on { border-color: var(--accent); background: rgba(31,91,216,.07); box-shadow: inset 0 0 0 1px var(--accent); }
.wiz-tile.check { text-align: left; font-weight: 500; }
.wiz-tile.check.is-on::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.wiz-tile.wide { width: 100%; margin-bottom: 18px; }
.wiz-skip { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.wiz-hint { color: var(--muted); margin-bottom: 14px; }
.wiz .legend { display: block; margin: 8px 0 8px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.wiz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.wiz-consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-small); }
.wiz-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.wiz-consent a { color: var(--accent); text-decoration: underline; }
.wiz-error { margin-top: 16px; padding: 12px 14px; border-radius: 6px; background: #fdecea; color: #8e2a20; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.wiz-nav[hidden], .wiz-nav [hidden], .wiz-count[hidden], .wiz-progress[hidden] { display: none; }
.wiz-nav #wiz-next { margin-left: auto; min-width: 180px; }
.wiz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wiz-wait { text-align: center; padding: 40px 0; }
.wiz-spin { display: inline-block; width: 36px; height: 36px; border: 3px solid var(--surface-2); border-top-color: var(--accent); border-radius: 50%; animation: wiz-spin .8s linear infinite; margin-bottom: 18px; }
@keyframes wiz-spin { to { transform: rotate(360deg); } }
.wiz-result { text-align: center; }
.wiz-result .eyebrow { font-size: var(--t-small); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.wiz-price { font-family: var(--serif); font-weight: 300; font-size: clamp(3.5rem, 11vw, 7.5rem); line-height: 1; letter-spacing: -0.02em; margin: 14px 0 22px; }
.wiz-result .lead { margin: 0 auto; color: var(--slate); }
.wiz-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; padding: 0; }
.wiz-steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 18px; font-size: var(--t-small); color: var(--muted); }
.wiz-steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); }
.wiz-steps strong { display: block; color: var(--ink); margin-bottom: 4px; }
.wiz-call { text-align: center; margin-top: 28px; }
.wiz-rueckruf { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line, #e3e4e6); }
.wiz-rueckruf h3 { margin: 0 0 16px; font-size: 1.15rem; }
.wiz-rueckruf .wiz-consent { margin-top: 12px; }
.wiz-rueckruf .btn { margin-top: 20px; width: 100%; }
@media (max-width: 640px) {
  .wiz-tiles.cols-4, .wiz-tiles.cols-5, .wiz-tiles.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wiz-tiles.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wiz-grid, .wiz-steps { grid-template-columns: 1fr; }
  .wiz-nav #wiz-next { min-width: 0; flex: 1; }
}

/* ════════════════════════════════════════════════════════════════
   Design 2026: ruhig, schwarz-weiß, schmale Grotesk (Archivo, Breite 85 %),
   zentrierter Kopf, Foto-Hero mit der Bewertung als erstem Element.
   Steht am Ende und überschreibt die ältere Gestaltung darüber.
   ════════════════════════════════════════════════════════════════ */
:root {
  --ink: #0e0f11;
  --muted: #5f646b;
  --surface: #f2f2f2;
  --surface-2: #e5e5e5;
  --accent: #0e0f11;
  --accent-hover: #3a3d42;
  --radius: 12px;
  --serif: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-h2: clamp(2rem, 3.4vw, 3rem);
  --t-display: clamp(2.6rem, 5.6vw, 4.6rem);
}
h1, h2 { font-weight: 400; font-stretch: 85%; letter-spacing: -0.01em; }
h3 { font-stretch: 92%; font-weight: 600; }
:focus-visible { outline-color: #0e0f11; }

/* Buttons: kantig mit kleinem Radius, schwarz / weiß / dunkles Glas */
.btn { border-radius: 4px; font-weight: 600; letter-spacing: .01em; transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-outline { border-color: #0e0f11; }
.btn-outline:hover { background: #0e0f11; color: #fff; }
.btn-ghost { background: rgba(14,15,17,.42); border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.link { text-decoration-thickness: 1px; }
.link:hover { color: var(--muted); }

/* Kopf: Logo mittig, Navigation darunter, weiß */
.site-header { background: rgba(255,255,255,.96); color: var(--ink); border-bottom: 1px solid var(--surface-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar { flex-wrap: wrap; justify-content: center; height: auto; padding-top: 14px; gap: 0; }
.brand { flex: 0 0 100%; display: flex; justify-content: center; padding-bottom: 12px; }
.brand img { height: 34px; }
.nav { flex: 0 0 100%; justify-content: center; border-top: 1px solid var(--surface-2); padding: 4px 0; }
.nav a:not(.btn) { color: var(--ink); font-size: .9375rem; font-weight: 450; padding: 12px 0; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav .btn { min-height: 38px; padding: 0 16px; background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.nav .btn:hover { background: var(--ink); color: #fff; }
.menu-toggle span { background: var(--ink); }
@media (max-width: 960px) {
  .bar { flex-wrap: nowrap; justify-content: space-between; height: 64px; padding-top: 0; }
  .brand { flex: none; padding: 0; }
  .brand img { height: 30px; }
  .nav { inset: 64px 0 0 0; background: #fff; border-top: 1px solid var(--surface-2); justify-content: flex-start; }
  .nav a:not(.btn) { font-family: var(--serif); font-stretch: 85%; font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--surface-2); }
}
html { scroll-padding-top: 130px; }

/* Hero: Foto über die volle Breite, Inhalt mittig */
.hero { min-height: min(92vh, 980px); align-items: center; }
.hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.7) 100%); }
.hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 14em; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.eyebrow { font-size: var(--t-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.page-hero .hero-content { text-align: center; align-items: center; }
.page-hero .promise { justify-content: center; }

/* Bewertung als Karte im Hero */
.wiz-card { width: min(100%, 780px); margin-top: clamp(28px, 3vw, 40px); background: #fff; color: var(--ink); text-align: left; border-radius: var(--radius); padding: clamp(20px, 3vw, 40px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.wiz-card .wiz-progress { margin-bottom: 0; }
.wiz-card #wiz h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-bottom: 18px; }
.hero-sub { margin-top: 22px; font-size: var(--t-small); color: rgba(255,255,255,.88); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.hero-sub .open-state { margin-top: 0; }
.ankauf-layout .wiz-card { box-shadow: none; border: 1px solid var(--surface-2); margin-top: 20px; }

/* Bewertung: monochrom */
#wiz h2 { font-family: var(--serif); font-weight: 400; font-stretch: 85%; }
.wiz-tile { border-color: #d3d5d8; border-radius: 6px; font-weight: 500; transition: border-color .15s, background .15s, transform .15s var(--ease); }
.wiz-tile:hover { border-color: var(--ink); transform: translateY(-1px); }
.wiz-tile.is-on { border-color: var(--ink); background: #f2f2f2; box-shadow: inset 0 0 0 1px var(--ink); }
.wiz-tile.check.is-on::before { color: var(--ink); }
.wiz-progress span { background: var(--ink); }
.wiz-skip, .wiz-consent a { color: var(--ink); }
.wiz-consent input { accent-color: var(--ink); }
.wiz-price { font-family: var(--serif); font-weight: 400; font-stretch: 85%; }
.wiz-steps li::before { font-family: var(--serif); color: var(--ink); }

/* Abschnitte: Überschrift mittig, viel Luft */
.section-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head p { margin: 0 auto; }
.media, .stock-frame, .pylon { border-radius: var(--radius); }
.media img { transition: transform .6s var(--ease); }
a:hover > .media img, .media:hover img { transform: scale(1.03); }
.field input, .field select, .field textarea { border-radius: 6px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,15,17,.12); }

/* Hero tritt beim Laden einmal ein */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .hero-content > * { animation: enter .8s var(--ease) both; }
  [data-enter] .hero-content > *:nth-child(2) { animation-delay: .08s; }
  [data-enter] .hero-content > *:nth-child(3) { animation-delay: .16s; }
  [data-enter] .hero-content > *:nth-child(4) { animation-delay: .26s; }
  [data-enter] .hero-content > *:nth-child(5) { animation-delay: .36s; }
}
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-content { padding-top: 40px; padding-bottom: 32px; }
  .wiz-card { padding: 18px; }
}

/* Suchbegriff-Zeile im H1 (klein, über der großen Frage) */
.hero h1 .eyebrow { display: block; font-size: var(--t-small); font-stretch: 100%; font-weight: 500; letter-spacing: .12em; line-height: 1.4; margin-bottom: 14px; color: rgba(255,255,255,.85); }

/* Fotostreifen über die volle Breite */
.photo-band { position: relative; margin-top: var(--gap); min-height: min(72vh, 680px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #000; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-band:hover > img { transform: scale(1.02); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 100%); }
.photo-band .wrap { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.photo-band h2 { max-width: 16em; }

/* Handy-Menü: Der Weichzeichner im Kopf würde das Vollbild-Menü auf Kopfhöhe einsperren (backdrop-filter
   macht den Kopf zum Bezugsrahmen für position: fixed). Auf kleinen Bildschirmen daher ein fester weißer Kopf. */
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { min-height: calc(100dvh - 64px); overflow-y: auto; padding: 8px var(--margin) 32px; }
  .nav a:not(.btn) { font-size: 1.6rem; padding: 14px 0; }
  .nav .btn { margin-top: 24px; min-height: 52px; font-size: 1rem; }
}

/* WhatsApp-Knopf verdeckt auf dem Handy keine Bewertungs-Kacheln */
@media (max-width: 960px) { body.wiz-im-bild .wa-float { opacity: 0; pointer-events: none; transform: scale(.8); } }
.wa-float { transition: transform .2s var(--ease), opacity .2s; }

/* Ergebnis: Termin per WhatsApp als Hauptaktion */
.wiz-call { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 640px) { .wiz-call .btn { width: 100%; } }

/* Hero: Verkaufen und Kaufen gleichwertig */
.hero-switch { display: inline-flex; gap: 4px; margin-top: 26px; padding: 4px; border-radius: 8px; background: rgba(14,15,17,.45); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-switch a { min-height: 46px; display: inline-flex; align-items: center; padding: 0 22px; border-radius: 5px; color: #fff; font-weight: 600; font-size: .9688rem; text-decoration: none; transition: background-color .2s, color .2s; }
.hero-switch a:hover { background: rgba(255,255,255,.14); }
.hero-switch a[aria-current="true"] { background: #fff; color: var(--ink); }
@media (max-width: 420px) { .hero-switch { display: flex; width: 100%; } .hero-switch a { flex: 1; justify-content: center; padding: 0 10px; } }

/* Ergebnis: WhatsApp-Termin als auffälliger Hauptbutton (WhatsApp-Grün, Logo) */
.wiz-call { flex-direction: column; align-items: center; gap: 10px; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 30px; border-radius: 8px; background: #128c4a; color: #fff; font-size: 1.0625rem; font-weight: 650; text-decoration: none; box-shadow: 0 10px 28px rgba(18,140,74,.35); transition: transform .15s var(--ease), box-shadow .2s, background-color .2s; }
.btn-wa svg { width: 26px; height: 26px; flex: none; }
.btn-wa:hover { background: #0f7a40; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(18,140,74,.45); }
.btn-wa:active { transform: translateY(0) scale(.98); }
.wiz-wa-note { font-size: var(--t-small); color: var(--muted); margin-bottom: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .btn-wa { animation: wa-hinweis 1.2s var(--ease) .9s 1 both; }
}
@keyframes wa-hinweis { 0%, 100% { transform: none; } 30% { transform: scale(1.05); } 55% { transform: scale(.98); } 75% { transform: scale(1.02); } }
@media (max-width: 640px) { .btn-wa { width: 100%; } }
.wiz-result + .wiz-call { margin-top: 26px; }

/* Ladeanzeige: Fortschrittsbalken über ca. 10 Sekunden */
.wiz-wait-bar { width: min(320px, 80%); height: 4px; margin: 18px auto 12px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.wiz-wait-bar span { display: block; height: 100%; width: 0; background: var(--ink); animation: wiz-laden 10s cubic-bezier(.2,.6,.3,1) forwards; }
@keyframes wiz-laden { to { width: 92%; } }
@media (prefers-reduced-motion: reduce) { .wiz-wait-bar span { animation: none; width: 60%; } }

/* ── Fahrzeugbestand (bestand.php) ──── */
.stock-filter { display: none; grid-template-columns: 2fr repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; background: var(--surface); border-radius: var(--radius); padding: 18px; }
.js .stock-filter { display: grid; }
.stock-filter .field select, .stock-filter .field input { min-height: 46px; }
.stock-count { margin: 20px 0 16px; color: var(--muted); font-weight: 600; }
.stock-empty { padding: 40px 0; font-size: var(--t-lead); }
.stock-empty button { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
@media (max-width: 1100px) { .stock-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filter-suche { grid-column: 1 / -1; } }
@media (max-width: 560px) { .stock-filter { grid-template-columns: 1fr 1fr; padding: 14px; } }

.car-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.car-card[hidden] { display: none; }
.car-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), background-color .2s; }
.car-card a:hover { transform: translateY(-3px); background: var(--surface-2); }
.car-card a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.car-card-img { aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; position: relative; }
.car-badge { position: absolute; left: 12px; top: 12px; background: var(--ink); color: #fff; font-size: 0.8125rem; font-weight: 650; padding: 5px 11px; border-radius: 999px; }
.car-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.car-card a:hover .car-card-img img { transform: scale(1.04); }
.car-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.car-card h3 { font-size: 1.125rem; line-height: 1.25; }
.car-card-zusatz { color: var(--muted); font-size: var(--t-small); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car-card-preis { margin-top: auto; padding-top: 6px; font-size: 1.375rem; font-weight: 750; letter-spacing: -0.01em; }
.car-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.car-chips li { font-size: 0.8125rem; font-weight: 600; background: var(--bg); border-radius: 999px; padding: 4px 10px; }

/* Detailseite */
.crumbs { padding-top: clamp(20px, 3vw, 36px); padding-bottom: 14px; font-size: var(--t-small); color: var(--muted); }
.crumbs a { color: inherit; }
.car { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.car-media { min-width: 0; }
.car-gallery { list-style: none; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); background: var(--surface-2); scrollbar-width: none; }
.car-gallery::-webkit-scrollbar { display: none; }
.car-gallery li { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; }
.car-gallery img { width: 100%; height: 100%; object-fit: cover; }
.car-gallery:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.car-gallery-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 12px 0; }
.gal-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--surface-2); background: var(--bg); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.gal-btn:hover { border-color: var(--ink); }
.gal-count { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 5ch; text-align: center; }
.car-thumbs { list-style: none; padding: 0; display: flex; gap: 8px; overflow-x: auto; position: relative; scrollbar-width: thin; }
.car-thumbs li { flex: none; }
.car-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; display: block; opacity: .7; transition: opacity .2s, border-color .2s; }
.car-thumbs button:hover, .car-thumbs button[aria-current] { opacity: 1; border-color: var(--ink); }
.car-thumbs img { width: 96px; height: 72px; object-fit: cover; }
.car-panel { position: sticky; top: 96px; background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 12px; }
.car-panel h1 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.1; }
.car-zusatz { color: var(--muted); }
.car-preis { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1; margin-top: 8px; }
.car-panel .car-chips { margin: 6px 0; }
.car-actions { display: grid; gap: 10px; margin: 8px 0; }
.car-actions .btn { width: 100%; }
.car-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.car-details h2 { margin-bottom: 20px; }
.car-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.car-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--surface-2); }
.car-facts dt { color: var(--muted); }
.car-facts dd { font-weight: 600; text-align: right; }
.equip-list { columns: 2; column-gap: 24px; padding-left: 1.1em; }
.equip-list li { break-inside: avoid; padding: 3px 0; }
.car-text { margin-top: 28px; }
@media (max-width: 960px) {
  .car { grid-template-columns: 1fr; }
  .car-panel { position: static; }
  .car-details { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .car-facts { grid-template-columns: 1fr; } .equip-list { columns: 1; } .car-thumbs img { width: 76px; height: 57px; } }

/* Marken- und Typseiten */
.theme-head { padding-top: clamp(8px, 1.5vw, 20px); }
main > .theme-head:first-child { padding-top: clamp(40px, 6vw, 88px); }
.theme-head h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); max-width: 16em; line-height: 1.05; }
.theme-head .lead { margin-top: 18px; color: var(--muted); max-width: 40em; }
.theme-text { margin-top: 14px; max-width: 46em; color: var(--muted); }
.theme-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.themen-gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px 40px; margin-top: 28px; }
.themen-gruppen h3 { font-size: 1rem; margin-bottom: 12px; }
.link-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-chips a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; transition: background-color .15s; }
.link-chips a:hover { background: var(--surface-2); }
.link-chips span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (min-width: 1100px) { .car-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Finanzierungsrechner */
.fin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.fin-form { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; }
.fin-form h2 { margin-bottom: 4px; }
.fin-preis { font-size: var(--t-lead); }
.fin-ergebnis { background: var(--black); color: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); position: sticky; top: 96px; }
.fin-label { color: #c9ced3; font-weight: 600; }
.fin-rate { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.05; margin: 4px 0 20px; font-variant-numeric: tabular-nums; }
.fin-fehler { background: #fbe7e5; color: #8c1d16; border-radius: 6px; padding: 12px 14px; font-weight: 600; margin-bottom: 16px; }
.fin.is-fehler .fin-daten { opacity: .35; }
.fin-daten { display: grid; margin-bottom: 24px; }
.fin-daten div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.fin-daten div[hidden] { display: none; }
.fin-daten dt { color: #c9ced3; }
.fin-daten dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fin-ergebnis .btn { width: 100%; }
.fin-recht { margin-top: 18px; max-width: 72em; line-height: 1.5; }
.fin-faq { display: grid; gap: 10px; max-width: 52rem; margin-top: 24px; }
@media (max-width: 860px) { .fin { grid-template-columns: 1fr; } .fin-ergebnis { position: static; } }
