/* Orbitron + Poppins, self-hosted — generated by tools/fonts.mjs. Do not edit by hand.
   Latin + Latin-Extended only; the weights the design tokens actually use. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/poppins-300-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/poppins-300-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600-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;
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/orbitron-500-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;
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/orbitron-600-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;
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/orbitron-700-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;
}

/* Design tokens — Autohaus Harbrecht.
   Read from the live Elementor kit (post-8.css global colours + typography) and from
   computed styles on the live pages. No guessed values: every token below traces back
   to something measured on autohaus-harbrecht.de (see handoff/BUILD-BRIEF.md §3) —
   with one deliberate exception: the accent ramp (--c-primary*, --c-tint, --c-cta-blue)
   is anchored on the brand highlight #4DABFF supplied by the client, not on the kit blue.
   Note: #4DABFF sits at 2.45:1 on white, so it carries fills and highlights only —
   text and white-on-colour surfaces must use --c-primary-dark to stay AA. */
:root {
  /* Brand ---------------------------------------------------------------- */
  --c-primary:        #4DABFF;  /* Highlight (Kundenvorgabe) — Flächen, Akzente */
  --c-primary-dark:   #0062B8;  /* hover + text-taugliche Stufe, derived (6.11:1) */
  --c-primary-darker: #00417A;  /* pressed state, derived (10.31:1) */
  --c-primary-bright: #8FCBFF;  /* highlights, focus — heller als --c-primary */
  --c-ink:            #000000;  /* --e-global-color-text — headings */
  --c-text:           #333333;  /* body copy (computed) */
  --c-muted:          #5d6470;  /* secondary copy, derived for AA on white */

  /* Surfaces ------------------------------------------------------------- */
  --c-bg:             #ffffff;  /* --e-global-color-c696dce */
  --c-surface:        #F4F4F4;  /* --e-global-color-secondary — bands, footer, cards */
  --c-surface-soft:   #FAFAFA;  /* derived — lighter band */
  --c-tint:           #E5F3FF;  /* feature cards — Tint aus #4DABFF */
  --c-cta-blue:       #E5F3FF;  /* Tint aus #4DABFF — "Auto kaufen" card */
  --c-cta-pink:       #FFECEC;  /* derived from --c-red — "Auto verkaufen" card */
  --c-line:           #D9DCE1;  /* hairlines, derived */
  --c-steel:          #7C8A93;  /* --e-global-color-primary — muted UI, footer copy */

  /* Accents -------------------------------------------------------------- */
  --c-red:            #EA4746;  /* --e-global-color-492b5db */
  --c-green:          #2F7D67;  /* --e-global-color-e0dfe63 — check marks */
  --c-whatsapp:       #25D366;

  /* Type -----------------------------------------------------------------
     Two families, exactly as the kit sets them:
       Orbitron — headings, italic + uppercase (--e-global-typography-primary)
       Poppins  — body copy, weight 300      (--e-global-typography-text)
     Orbitron has no italic cut; the slant is the browser's synthetic oblique,
     which is precisely what renders on the live site. */
  --font-sans:    "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Orbitron", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Heading treatment lifted from the kit's primary/secondary typography */
  --display-style:     italic;
  --display-transform: uppercase;
  --display-weight:    600;

  --fs-body:   1rem;        /* 16px — --e-global-typography-text-font-size */
  --fs-small:  0.875rem;    /* 14px — mobile step of the same token */
  --fs-lead:   1.125rem;
  --fs-h3:     clamp(1.25rem, 1.05rem + 0.7vw,  1.5rem);
  --fs-h2:     clamp(1.25rem, 0.95rem + 1.5vw,  2.25rem);   /* 20 -> 36px, kit secondary */
  --fs-h1:     clamp(1.5625rem, 1.1rem + 2.3vw, 3.125rem);  /* 25 -> 50px, kit primary */
  --lh-body:   1.5;         /* --e-global-typography-text-line-height */
  --lh-tight:  1.1;         /* --e-global-typography-primary-line-height */

  /* Shape & rhythm ------------------------------------------------------- */
  --radius:       7px;      /* computed button/card radius */
  --radius-lg:    14px;
  --radius-pill:  999px;
  --container:    1152px;   /* measured Elementor container width */
  --gutter:       clamp(1rem, 0.6rem + 1.6vw, 1.5rem);
  --section-y:    clamp(3rem, 2rem + 4vw, 5.5rem);
  --gap:          clamp(1rem, 0.7rem + 1.2vw, 2rem);

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .12);

  --header-h: 76px;

  /* Buttons — Osmo Supply "Button 025" ------------------------------------
     Der Variablen-Vertrag der Resource, auf die Marken-Rampe gemappt. Diese
     :root-Werte sind zugleich die Primary-Variante; ghost/light/outline-light
     überschreiben sie pro Element (siehe .button-025[data-theme] in main.css). */
  --button-025-color:                  #fff;
  --button-025-color-background:       var(--c-primary);
  --button-025-hover-color:            var(--c-primary);
  --button-025-hover-color-background: #fff;
  --button-025-hover-border-radius:    var(--radius);   /* wie Basis-Radius, kein Pill */
  --button-025-hover-border:           2px solid var(--c-primary);
  --button-025-color-focus:            var(--c-primary-dark);
  --button-025-padding:                .85rem 1.75rem;
  --button-025-border:                 0;
  --button-025-border-radius:          var(--radius);   /* 7px statt Pill, wie im übrigen UI */
  --button-025-focus-inset:            -0.125em;
  --button-025-click-scale:            0.955 0.925;
  --button-025-ease-click:  cubic-bezier(0.4, 0, 0.2, 1);
  --button-025-ease-hover:  cubic-bezier(0.32, 0.72, 0, 1);
  --button-025-ease-focus:  cubic-bezier(0.32, 0.72, 0, 1);
}


/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* <picture> must not form a box of its own — the <img> is the real layout child. */
picture { display: contents; }
input, button, textarea, select { font: inherit; color: inherit; }
/* Headings run in Orbitron italic — measured off the live page's computed styles:
   h1/h2 are uppercase, h3 keeps its sentence case, all at weight 600. h4 stays in
   the body face; at 1rem the display cut stops being readable. */
h1, h2, h3 {
  font-family: var(--font-display);
  font-style: var(--display-style);
  font-weight: var(--display-weight);
  line-height: var(--lh-tight);
  color: var(--c-ink);
  text-wrap: balance;
}
h1, h2 { text-transform: var(--display-transform); letter-spacing: -.01em; }
h4 { font-weight: var(--fw-semibold); line-height: var(--lh-tight); color: var(--c-ink); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { text-wrap: pretty; }
a  { color: var(--c-primary); text-underline-offset: .18em; }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; translate: -50% -120%; z-index: 100;
  background: var(--c-primary); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius); text-decoration: none; transition: translate .15s;
}
.skip-link:focus { translate: -50% 0; color: #fff; }

/* ------------------------------------------------------ scroll reveal ---- */
/* Scoped to .js (set inline in <head>): without JS nothing would ever un-hide these. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, .84, .44, 1), transform .7s cubic-bezier(.16, .84, .44, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-group] > [data-reveal]:nth-child(2) { transition-delay: .1s; }
[data-reveal-group] > [data-reveal]:nth-child(3) { transition-delay: .2s; }
[data-reveal-group] > [data-reveal]:nth-child(4) { transition-delay: .3s; }

/* ------------------------------------------------------------- layout ---- */
.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--half { padding-top: calc(var(--section-y) * .5); padding-bottom: var(--section-y); }
@media (max-width: 640px) {
  .section--half { padding-top: calc(var(--section-y) * .2); }
}
.section--surface { background: var(--c-surface); }
.section--soft { background: var(--c-surface-soft); }
.section--tint { background: var(--c-tint); }
.stack > * + * { margin-top: 1rem; }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--wide { max-width: none; }
.section-head--split {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: baseline; justify-content: space-between; max-width: none;
}
@media (max-width: 640px) {
  .section-head__cta--desktop { display: none; }
}
.section-head p { margin-top: .75rem; color: var(--c-muted); }
.lead { font-size: var(--fs-lead); color: var(--c-muted); }
.eyebrow {
  font-size: var(--fs-small); font-weight: var(--fw-semibold); letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-primary); margin-bottom: .6rem;
}

/* ------------------------------------------------------------ buttons ----
   Osmo Supply "Button 025". Beim Hover fährt eine zweite, farblich abgesetzte
   Ebene von links ein, während das Ausgangs-Label nach rechts driftet und
   herunterskaliert. Reines CSS. Die verschachtelte Span-Struktur und der
   data-button-025-Hook gehören zur Resource und bleiben unangetastet; die
   Varianten der Seite laufen über gescopte Custom Properties, so wie die
   Resource es dokumentiert. Farb- und Maß-Defaults: src/styles/tokens.css. */
.button-025 {
  -webkit-user-select: none;
  user-select: none;
  background-color: #0000;
  outline-style: none;
  padding: 0;
  line-height: 1;
  text-decoration: none;
  display: inline-grid;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: scale 0.15s var(--button-025-ease-click);
}

.button-025::after {
  content: '';
  display: block;
  position: absolute;
  inset: var(--button-025-focus-inset);
  border-radius: var(--button-025-border-radius);
  transition: box-shadow 0.3s var(--button-025-ease-focus);
  pointer-events: none;
  z-index: 1;
}

.button-025:is(:focus-visible)::after {
  box-shadow: 0 0 0 0.125em var(--button-025-color-focus);
}

.button-025:active {
  scale: var(--button-025-click-scale);
}

.button-025__inner {
  pointer-events: none;
  border-radius: var(--button-025-border-radius);
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: grid;
  overflow: clip;
}

.button-025__default {
  width: 100%;
  height: 100%;
  color: var(--button-025-color);
  grid-area: 1 / 1;
  display: grid;
}

.button-025__default-bg {
  background-color: var(--button-025-color-background);
  border: var(--button-025-border);
  border-radius: var(--button-025-border-radius);
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  padding: 0;
}

.button-025__default-inner {
  grid-column-gap: .125em;
  grid-row-gap: .125em;
  width: 100%;
  height: 100%;
  padding: var(--button-025-padding);
  grid-area: 1 / 1;
  justify-content: center;
  align-items: center;
  display: flex;
  transition: translate 0.45s var(--button-025-ease-hover), scale 0.45s var(--button-025-ease-hover);
}

.button-025__hover {
  z-index: 1;
  width: 100%;
  height: 100%;
  color: var(--button-025-hover-color);
  grid-area: 1 / 1;
  display: grid;
  translate: calc((100% + 1px) * -1) 0 0;
  transition: translate 0.45s var(--button-025-ease-hover);
}

.button-025__hover-bg {
  background-color: var(--button-025-hover-color-background);
  border: var(--button-025-hover-border);
  border-radius: var(--button-025-hover-border-radius);
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  padding: 0;
}

.button-025__hover-inner {
  grid-column-gap: .125em;
  grid-row-gap: .125em;
  width: 100%;
  height: 100%;
  padding: var(--button-025-padding);
  grid-area: 1 / 1;
  justify-content: center;
  align-items: center;
  display: flex;
  translate: -1em 0 0;
  transition: translate 0.45s var(--button-025-ease-hover);
}

.button-025__icon {
  flex: none;
  width: .75em;
  height: .75em;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button-025:is(:hover, :focus-visible) .button-025__default-inner,
  [data-hover]:is(:hover, :focus-visible) .button-025 .button-025__default-inner {
    translate: 1em 0 0;
    scale: 0.85;
    transition: translate 0.95s var(--button-025-ease-hover), scale 0.95s var(--button-025-ease-hover);
  }

  .button-025:is(:hover, :focus-visible) .button-025__hover,
  [data-hover]:is(:hover, :focus-visible) .button-025 .button-025__hover {
    translate: 0 0 0;
    transition-delay: 0.05s;
  }

  .button-025:is(:hover, :focus-visible) .button-025__hover-inner,
  [data-hover]:is(:hover, :focus-visible) .button-025 .button-025__hover-inner {
    translate: 0 0 0;
    transition-delay: 0.065s;
  }
}

/* Projekt-Anpassungen ------------------------------------------------------
   Alles ab hier ist Integrationsschicht, nicht Teil der Resource.           */

/* Label-Typografie der Seite (Button 025 setzt nur line-height + padding). */
.button-025__default-inner,
.button-025__hover-inner {
  gap: .5rem;
  font-weight: var(--fw-medium);
  font-size: var(--fs-small);
  white-space: nowrap;
}

/* Icon-Rendering 1:1 aus dem bisherigen .btn-System übernommen — inklusive
   fill: currentColor, das die stroke-Icons in cta-duo gefüllt zeichnet. */
.button-025[data-theme="primary"] svg { width: 18px; height: 18px; fill: currentColor; }

/* <button> bringt — anders als <a> — einen nativen Rahmen mit. Der Rahmen der
   Varianten sitzt auf .button-025__default-bg, nicht auf dem Element selbst. */
button.button-025 { border: 0; }

/* Die globale :focus-visible-Outline würde den eigenen Fokusring der
   Resource doppeln — hier gilt ausschließlich der Ring aus ::after. */
.button-025:focus-visible { outline: none; }

/* Varianten — nur Custom Properties, keine Struktur. */
.button-025[data-theme="ghost"] {
  --button-025-color: var(--c-primary-dark);
  --button-025-color-background: transparent;
  --button-025-border: 2px solid var(--c-primary-dark);
  --button-025-hover-color: #fff;
  --button-025-hover-color-background: var(--c-primary-dark);
}
.button-025[data-theme="light"] {
  --button-025-color: var(--c-primary-dark);
  --button-025-color-background: #fff;
  --button-025-hover-color: #fff;
  --button-025-hover-color-background: var(--c-primary);
}
.button-025[data-theme="outline-light"] {
  --button-025-color: #fff;
  --button-025-color-background: transparent;
  --button-025-border: 2px solid rgba(255, 255, 255, .8);
  --button-025-hover-color: #fff;
  --button-025-hover-color-background: var(--c-primary);
  --button-025-color-focus: #fff;   /* schwarzer Ring wäre auf dem Foto unsichtbar */
}

/* Größe & Layout. */
.button-025--sm    { --button-025-padding: .55rem 1.1rem; }
.button-025--block { width: 100%; }

.button-025[disabled] { opacity: .55; cursor: not-allowed; scale: none; }
.button-025[disabled]:active { scale: none; }

/* ------------------------------------------------------------- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--c-line);
}
/* no backdrop-filter below 861px: it would make .site-header a containing block for the
   fixed-position full-screen .site-nav, trapping it inside the header's own box instead
   of the viewport. */
@media (min-width: 861px) { .site-header { backdrop-filter: blur(10px); } }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.site-header__logo { flex: 0 0 auto; }
.site-header__logo img { width: 132px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; gap: clamp(1rem, .4rem + 1.6vw, 2rem); list-style: none; padding: 0; }
.site-nav > ul a {
  font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--c-ink);
  text-decoration: none; padding-block: .35rem; border-bottom: 2px solid transparent;
}
.site-nav > ul a:hover { color: var(--c-primary); }
.site-nav > ul a[aria-current="page"] { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }
/* The live site publishes no WhatsApp channel — the phone number is the primary
   contact, so the quick-action button dials instead of opening a chat. */
.call-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--radius); background: var(--c-primary); color: #fff;
}
.call-btn svg { width: 22px; height: 22px; fill: currentColor; }
.site-nav__extra { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--radius); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-ink); margin-inline: auto; transition: translate .2s, rotate .2s, opacity .2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { translate: 0 8px; rotate: 45deg; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { translate: 0 -8px; rotate: -45deg; }

@media (max-width: 860px) {
  .header-actions .call-btn { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-md);
    display: none; padding: 1rem var(--gutter) 1.5rem; overflow-y: auto;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav > ul { flex-direction: column; gap: .25rem; }
  .site-nav > ul a { display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--c-line); }
  .site-nav > ul a[aria-current="page"] { border-bottom-color: var(--c-primary); }

  .site-nav__extra { display: block; }
  .site-nav__contact { margin-top: 1.25rem; margin-bottom: 1.75rem; }
  .site-nav__contact-label { display: block; font-size: var(--fs-small); color: var(--c-muted); margin-bottom: .15rem; }
  .site-nav__contact a, .site-nav__contact li span:not(.site-nav__contact-label) { font-weight: var(--fw-medium); color: var(--c-ink); }
}

/* --------------------------------------------------------------- hero ---- */
.hero { position: relative; isolation: isolate; min-height: 75vh; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__poster { position: absolute; inset: 0; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; }
/* The video is revealed only once it actually plays (see main.js): autoplay can
   be refused — iOS Low Power Mode, data saver, a reduced-motion visitor never
   gets a source — and an element that never paints a frame would otherwise sit
   over the hero as a dead black box. Hidden until playback means those cases
   degrade to the poster image. */
.hero__media--video video {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border: 0; pointer-events: none;
  /* visibility, not opacity: the gate has to be a discrete swap. An opacity
     transition is interpolated off the animation clock, and a tab that is not
     compositing (throttled, offscreen, background) freezes that clock at the
     start value — which would leave the video permanently invisible even while
     it plays. visibility flips instantly regardless of the clock. */
  visibility: hidden;
}
.hero.is-video-playing .hero__media--video video { visibility: visible; }
.hero__inner { padding-block: clamp(4rem, 2.5rem + 8vw, 8rem) clamp(5.5rem, 3rem + 9vw, 9rem); color: #fff; }
.hero__title { color: #fff; max-width: 20ch; font-size: var(--fs-h1); font-weight: var(--fw-semibold); line-height: var(--lh-tight); text-wrap: balance; }
.hero p { color: rgba(255, 255, 255, .92); max-width: 60ch; margin-top: 1rem; font-size: var(--fs-lead); }
.hero__search-title { color: var(--c-primary-dark); font-size: var(--fs-h3); font-weight: var(--fw-semibold); margin-bottom: clamp(.75rem, .55rem + .5vw, 1rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__actions--below { justify-content: flex-start; margin-top: clamp(1rem, .8rem + .5vw, 1.25rem); }

/* Static image hero: the copy sits on the photo, so it needs its own scrim. The
   gradient is on ::after of .hero__media (z-index -1) — above the image at -2,
   below .hero__inner — rather than on the image itself, which object-fit crops. */
.hero--scrim .hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Two stacked gradients: a left-to-right wash that carries the copy column (the photo
     is a near-white van, so a purely vertical scrim leaves the mid-page text unreadable)
     plus a lighter vertical one to seat the header and the section below. */
  background:
    linear-gradient(90deg, rgba(6,20,32,1) 0%, rgba(6,20,32,.92) 30%, rgba(6,20,32,.5) 55%, rgba(6,20,32,.18) 80%, rgba(6,20,32,.04) 100%),
    linear-gradient(180deg, rgba(6,20,32,.45) 0%, rgba(6,20,32,.15) 40%, rgba(6,20,32,.5) 100%);
}
@media (max-width: 860px) {
  /* Narrow viewports have no clear column to the left — go back to an even wash. */
  .hero--scrim .hero__media::after {
    background: linear-gradient(180deg, rgba(6,20,32,.7) 0%, rgba(6,20,32,.52) 45%, rgba(6,20,32,.72) 100%);
  }
}
.hero__usps { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: .6rem; }
.hero__usps li { display: flex; align-items: center; gap: .6rem; color: #fff; font-size: var(--fs-small); }
.hero__usps svg {
  flex: 0 0 auto; width: 22px; height: 22px; padding: 4px; box-sizing: border-box;
  border-radius: 6px; background: var(--c-tint); fill: currentColor; color: var(--c-primary-dark);
}

/* ------------------------------------------------------- class shortcuts -- */
.class-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  background: var(--c-primary); color: #fff; border-radius: var(--radius-lg);
  text-decoration: none; box-shadow: var(--shadow-md);
  transition: background-color .18s, transform .18s;
}
.class-card:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-2px); }
.class-card h3 { color: #fff; margin: 0; }
.class-card__go { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill); background: rgba(255,255,255,.18); }
.class-card__go svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------- marques -- */
.marques { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.marques img { width: 88px; height: auto; }

/* ---------------------------------------------------------- brands hero --- */
.brands-hero { padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.brands-hero__media {
  position: relative; isolation: isolate; overflow: hidden; width: 100%;
  aspect-ratio: 21 / 9; min-height: 320px; max-height: 560px;
}
.brands-hero__media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.brands-hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 65, 149, .35) 0%, rgba(0, 25, 60, .58) 100%);
}
.brands-hero__overlay {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding-inline: var(--gutter);
}
.brands-hero__overlay h2 { color: #fff; }
.brands-hero__overlay p { color: rgba(255, 255, 255, .92); margin-top: .75rem; max-width: 52ch; }
.brands-hero__overlay .button-025 { margin-top: 1.75rem; }
.brands-hero__card {
  position: relative; margin-top: clamp(-4.5rem, -3rem - 3vw, -2.5rem);
  background: var(--c-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1rem, .6rem + 1.5vw, 1.75rem) clamp(1.25rem, .8rem + 1.5vw, 2rem);
}
@media (max-width: 640px) {
  /* the "Alle Fahrzeuge ansehen" button sits low in the media on short mobile screens —
     the desktop overlap amount would cover it, so pull the card up much less here. */
  .brands-hero__card { margin-top: -1.5rem; }
}

/* Play/pause and sound: only offered once the video actually runs, since both
   would be dead controls over a poster image. */
.hero__controls { display: none; }
.hero.is-video-playing .hero__controls {
  position: absolute; right: clamp(1rem, 2vw, 2rem); top: clamp(1rem, 3vw, 2rem); z-index: 2;
  display: flex; gap: .5rem;
}
.hero__control {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 25, 60, .45); backdrop-filter: blur(6px); color: #fff; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.hero__control:hover { background: rgba(0, 25, 60, .65); transform: translateY(-1px); }
.hero__control-icon { width: 20px; height: 20px; }
/* each button carries both of its icons; .is-alt swaps which one shows */
.hero__control-icon--alt { display: none; }
.hero__control.is-alt .hero__control-icon { display: none; }
.hero__control.is-alt .hero__control-icon--alt { display: block; }

.page-hero { background: var(--c-primary-dark); color: #fff; padding-block: clamp(3rem, 2rem + 5vw, 5rem); }
.page-hero h1 {
  color: #fff;
  background-image: linear-gradient(100deg, #fff 40%, rgba(255, 255, 255, .45) 50%, #fff 60%);
  background-size: 220% 100%;
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3.5s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero h1 { animation: none; background-image: none; -webkit-text-fill-color: #fff; }
}
.page-hero p { color: rgba(255, 255, 255, .9); margin-top: 1rem; max-width: 65ch; font-size: var(--fs-lead); }
.hero-rating { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: var(--fs-small); font-weight: var(--fw-medium); }
.hero-rating__stars { display: inline-flex; gap: 1px; color: #f2b400; }
.hero-rating__stars svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------------------------------------------------------- vehicle UI --- */
/* Autegro mounts into these. It loads unconditionally (client decision) and renders
   into its own shadow root, so nothing here can leak into it. */
.autegro-slot { min-height: 220px; }

/* Pre-hydration height reservations. The widgets arrive well after first paint
   (deferred 570 KB script), so each mount point reserves the height its view renders
   at — measured per breakpoint against the live widget. Without this, everything
   below jumps when the widget pops in (the "filter nachladen" flicker / CLS).
   min-height, not height: if Autegro renders taller, the slot still grows. */
.autegro-slot [id$="-search"] { min-height: 296px; }           /* selects stacked */
.autegro-slot [id$="-slider"] { min-height: 500px; }           /* 503–550 across widths */
.autegro-slot [id$="-type-cards"] { min-height: 225px; }
.autegro-slot [id$="-purchase-inquiry"] { min-height: 860px; } /* wizard, fields stacked */
@media (min-width: 640px) {
  .autegro-slot [id$="-type-cards"] { min-height: 243px; }
  .autegro-slot [id$="-purchase-inquiry"] { min-height: 630px; }
}
@media (min-width: 760px) {
  .autegro-slot [id$="-search"] { min-height: 96px; }          /* selects in one row */
  .autegro-slot [id$="-type-cards"] { min-height: 258px; }
}
.autegro-slot--search [id$="-search"] { min-height: 0; } /* buttons now sit right under the widget — no reserved gap pushing them down */
.autegro-slot--search {
  min-height: 0; /* the search card is small — don't reserve the generic loading height, it just leaves a gap below */
  margin-top: 0;
  position: relative;
  z-index: 5;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem) clamp(1.5rem, 1rem + 2vw, 2.25rem) clamp(1rem, .8rem + .5vw, 1.25rem);
  box-shadow: 0 2px 4px rgba(16, 24, 40, .08), 0 12px 24px rgba(16, 24, 40, .16), 0 28px 48px rgba(16, 24, 40, .14);
  transform: translateY(-25%); /* pulls the card up over the section boundary above — a quarter of its own height, at any height */
}
.search-h1 { color: var(--c-primary-dark); font-size: var(--fs-h2); margin-bottom: 1rem; text-wrap: balance; }
.ankauf-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 380px); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.ankauf-form__media img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .ankauf-form { grid-template-columns: 1fr; }
  .ankauf-form__media { order: -1; max-width: 320px; margin-inline: auto; }
}

/* ---------------------------------------------------------------- grid --- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- cards --- */
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.card--tint { background: var(--c-tint); border-color: transparent; }
.card h3 { margin-bottom: .6rem; }
.card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: #fff; color: var(--c-primary); margin-bottom: 1rem; }
.card__icon svg { width: 22px; height: 22px; fill: currentColor; }

/* --------------------------------------------------------------- reviews --- */
.reviews__summary { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; color: var(--c-muted); margin-top: .75rem; }
.reviews__stars { display: inline-flex; gap: 1px; color: #f2b400; }
.reviews__stars svg { width: 16px; height: 16px; fill: currentColor; }

.reviews {
  /* the slider may run wider than the text container, but never wider than the
     cards actually need - otherwise the row hangs to the left of the centred
     heading with dead space (and stray arrows) on the right. */
  --review-card: 320px;
  --review-gap: 1.25rem;
  --review-nav: 44px;
  position: relative; display: flex; align-items: center; gap: .75rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  width: min(100% - var(--gutter) * 2,
             calc(5 * var(--review-card) + 4 * var(--review-gap) + 2 * (var(--review-nav) + .75rem)));
  margin-inline: auto;
}
.reviews__track {
  display: flex; gap: var(--review-gap); overflow-x: auto; scroll-snap-type: x proximity;
  /* centre the cards while they fit, fall back to start once they overflow so
     the first card stays reachable */
  justify-content: safe center;
  padding: .25rem 0 1rem; scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }

.review-card {
  scroll-snap-align: start; flex: 0 0 auto; width: min(85vw, var(--review-card));
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.review-card__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.review-card__avatar {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: var(--radius-pill); background: var(--c-tint); color: var(--c-primary-dark);
  font-weight: var(--fw-semibold); font-size: var(--fs-small);
}
.review-card__name { font-weight: var(--fw-medium); font-size: var(--fs-small); line-height: 1.3; }
.review-card__meta { font-size: .75rem; color: var(--c-muted); }
.review-card__stars { display: inline-flex; gap: 1px; color: #f2b400; margin-bottom: .6rem; }
.review-card__stars svg { width: 15px; height: 15px; fill: currentColor; }
.review-card__text {
  color: var(--c-text); font-size: var(--fs-small); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card__text.is-expanded { -webkit-line-clamp: unset; overflow: visible; }
.review-card__more {
  align-self: flex-start; margin-top: .5rem; padding: 0; border: 0; background: none;
  color: var(--c-primary); font-size: var(--fs-small); font-weight: var(--fw-medium);
  text-decoration: underline; cursor: pointer;
}
.review-card__more:hover { color: var(--c-primary-dark); }

.reviews__nav {
  flex: none; display: inline-flex; width: var(--review-nav); height: var(--review-nav); border-radius: var(--radius-pill);
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); cursor: pointer;
  align-items: center; justify-content: center; transition: background-color .15s, border-color .15s;
}
.reviews__nav svg { width: 20px; height: 20px; }
.reviews__nav:hover { background: var(--c-tint); border-color: var(--c-primary); color: var(--c-primary-dark); }
@media (max-width: 640px) {
  /* touch beats arrows here: dropping them gives the card back the ~9rem they
     were eating, and the next card peeking past the right edge is what actually
     tells a thumb to swipe. */
  .reviews { width: 100%; }
  .reviews__nav { display: none; }
  .reviews__track {
    justify-content: flex-start; gap: .75rem;
    padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    /* one card is on screen at a time, so a two-line review shouldn't be
       stretched to the height of the longest one */
    align-items: flex-start;
  }
  .review-card { width: min(82vw, var(--review-card)); }
  .review-card__text { -webkit-line-clamp: 6; }
}

/* split: image + copy ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.split__body h2 { margin-bottom: 1rem; }
.split__body p { color: var(--c-muted); }
.split__body .button-025 { margin-top: 1.75rem; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ----------------------------------------------------------------- about --- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media picture { display: block; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }

.about__body .eyebrow { display: block; }
.about__body h2 { margin-bottom: 1rem; }
.about__body .lead { margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); }

.about__features { display: flex; flex-direction: column; gap: 1.25rem; }
.about__feature { display: flex; gap: 1rem; padding: 1rem; border-radius: var(--radius-lg); }
.about__feature--highlight { background: var(--c-tint); box-shadow: var(--shadow-sm); }
.about__feature-icon {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--c-tint); color: var(--c-primary);
}
.about__feature--highlight .about__feature-icon { background: #fff; }
.about__feature-icon svg { width: 22px; height: 22px; }
.about__feature h3 { font-size: var(--fs-body); margin-bottom: .3rem; }
.about__feature p { color: var(--c-muted); font-size: var(--fs-small); }
.about__feature-link {
  display: inline-block; margin-top: .6rem; color: var(--c-primary-dark);
  font-size: var(--fs-small); font-weight: var(--fw-semibold); text-decoration: underline;
}
.about__feature-link:hover { color: var(--c-primary); }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; margin-bottom: 1rem; }
}

/* band: full-bleed image with copy over it --------------------------------- */
.band { position: relative; isolation: isolate; color: #fff; }
.band__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 25, 60, .72); }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .9); margin-top: 1rem; }

/* ------------------------------------------------------------- process --- */
.steps { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); position: relative; }
.step { display: flex; gap: clamp(1.25rem, .75rem + 2vw, 2rem); align-items: flex-start; }
.step__n {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: var(--radius-pill);
  background: var(--c-surface); color: var(--c-muted); border: 1px solid var(--c-line);
  font-weight: var(--fw-semibold); position: relative; z-index: 1;
  transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.step__body p { color: var(--c-muted); margin-top: .75rem; }
@media (max-width: 800px) {
  .step { gap: 1rem; }
  .step__n { width: 34px; height: 34px; }
}

/* Step timeline: scroll-progress line + per-step activation (see step-timeline.js) */
.step-timeline__line {
  pointer-events: none;
  background-color: var(--c-line);
  width: 2px;
  position: absolute;
  top: 0;
  left: 20px;
  bottom: 0;
}
.step-timeline__fill {
  transform-origin: 50% 0;
  background-color: var(--c-primary);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
@media (max-width: 800px) { .step-timeline__line { left: 16px; } }
[data-step-timeline-item] .step__body { transition: opacity .3s ease; }
[data-step-timeline-item] .step__body { opacity: .45; }
[data-step-timeline-item][data-status="active"] .step__body { opacity: .7; }
[data-step-timeline-item][data-current] .step__body { opacity: 1; }
[data-step-timeline-item][data-status="active"] .step__n {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
}
[data-step-timeline-item][data-current] .step__n {
  box-shadow: 0 0 0 .5em rgba(77, 171, 255, .30);
}

/* ------------------------------------------------------------------ faq -- */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 0 1.25rem;
  background: var(--c-bg); transition: background-color .2s ease, border-color .2s ease;
}
.faq details:hover { border-color: var(--c-primary); }
.faq details[open] { background: var(--c-tint); border-color: var(--c-tint); }
.faq summary {
  position: relative; padding: 1.15rem 2.25rem 1.15rem 0; cursor: pointer;
  font-weight: var(--fw-medium); color: var(--c-ink); list-style: none;
}
.faq details[open] summary { color: var(--c-primary-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; top: 50%; right: 0; background: var(--c-primary);
  border-radius: 1px; transition: transform .2s ease;
}
.faq summary::before { width: 14px; height: 2px; translate: 0 -50%; }
.faq summary::after { width: 2px; height: 14px; translate: -6px -50%; }
.faq details[open] summary::after { transform: scaleY(0); }
.faq__answer { padding: 0 0 1.35rem; color: var(--c-muted); max-width: 80ch; }
.faq__answer > * + * { margin-top: .75rem; }
.faq__answer ul { padding-left: 1.25rem; }

/* ------------------------------------------------------------ cta split -- */
.cta-split__head { max-width: 60rem; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3rem); text-align: center; }
.cta-split__head h2 { font-size: clamp(1.3rem, .95rem + 1.1vw, 1.7rem); }
.cta-split__row {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 340px) 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
}
.cta-split__card { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.cta-split__icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: var(--radius-pill); background: var(--c-tint); color: var(--c-primary); margin-bottom: 1.1rem;
}
.cta-split__icon svg { width: 26px; height: 26px; }
.cta-split__card h3 { margin-bottom: .6rem; }
.cta-split__card p { color: var(--c-muted); margin-bottom: 1.5rem; max-width: 40ch; }
.cta-split__card .button-025 svg { width: 18px; height: 18px; }
.cta-split__media picture { display: block; }
.cta-split__media img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .cta-split__row { grid-template-columns: 1fr; }
  .cta-split__media { order: -1; max-width: 280px; margin-inline: auto; }
}

/* --------------------------------------------------------------- forms --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--c-ink); }
.field .req { color: var(--c-red); }
.field input, .field textarea, .field select {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--c-line);
  border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(77, 171, 255, .35);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--c-red); }
.field__error { font-size: var(--fs-small); color: var(--c-red); min-height: 0; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-small); grid-column: 1 / -1; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; flex: 0 0 auto; accent-color: var(--c-primary); }
.form-note { font-size: var(--fs-small); color: var(--c-muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius); font-size: var(--fs-small); display: none; }
.form-status[data-state="ok"]    { display: block; background: #e7f6ef; color: #14603f; }
.form-status[data-state="error"] { display: block; background: #fdecec; color: #8a1f1f; }
.form-status[data-state="info"]  { display: block; background: var(--c-tint); color: var(--c-primary-dark); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- contact --- */
.contact-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; fill: var(--c-primary); flex: 0 0 auto; margin-top: .2rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* map facade --------------------------------------------------------------- */
.map-embed { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 2rem; background: var(--c-surface); }
.map-facade p { color: var(--c-muted); max-width: 46ch; font-size: var(--fs-small); }

/* compact map inside the contact card --------------------------------------- */
.map-embed--sm { aspect-ratio: 4 / 3; margin-top: 1.75rem; }
.map-facade--sm { padding: 1.25rem; gap: .6rem; }
.map-facade--sm p { max-width: 26ch; font-size: .78rem; }

/* contact card --------------------------------------------------------------- */
.contact-card {
  border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.contact-card h2 { font-size: var(--fs-h3); margin-bottom: 1.5rem; }
.contact-card__group + .contact-card__group { margin-top: 1.25rem; }
.contact-card__group h3 { font-size: var(--fs-small); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); margin-bottom: .4rem; }
.contact-card__group p { color: var(--c-ink); }
.contact-card__group a { color: var(--c-ink); text-decoration: none; }
.contact-card__group a:hover { color: var(--c-primary); text-decoration: underline; }

/* -------------------------------------------------------------- footer --- */
.site-footer {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary-darker) 100%);
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 1.5rem;
}
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.site-footer img { width: 160px; display: inline-block; background: #fff; padding: .6rem .9rem; border-radius: var(--radius); }
.site-footer h2 { color: #fff; font-size: var(--fs-body); font-weight: var(--fw-semibold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: var(--fs-small); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a[aria-current="page"] { color: #fff; }
.site-footer p { font-size: var(--fs-small); color: rgba(255, 255, 255, .7); margin-top: 1rem; }
.site-footer .contact-list svg { fill: #fff; }
.site-footer .contact-list { color: rgba(255, 255, 255, .85); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: var(--fs-small); color: rgba(255, 255, 255, .7);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Inception credit badge — agency-kit/footer-badge, retokenised for this site.
   Selectors carry .site-footer__bottom because the generic .site-footer a / img
   rules above are more specific than the kit's bare .inception classes.
   Tokens are the on-dark set: this footer is a dark gradient, not a light surface. */
.site-footer__bottom .inception {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .7rem; line-height: 1;
  color: rgba(255, 255, 255, .7); text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius);
  transition: color .2s ease, border-color .2s ease;
}
.site-footer__bottom .inception:hover,
.site-footer__bottom .inception:focus-visible { color: #fff; border-color: rgba(255, 255, 255, .55); text-decoration: none; }
/* .site-footer img sets width/background/padding for the big footer logo; all three have
   to be undone here, or border-box sizing lets the inherited padding eat the 18px height
   and collapse the wordmark to a zero-size white pill. The mark is monochrome, so it is
   inverted to white instead of shipping a separate light asset. */
.site-footer__bottom .inception__logo {
  width: auto; height: 18px; flex: none; display: block;
  padding: 0; background: none; filter: brightness(0) invert(1);
}
.site-footer__bottom .inception__preview {
  position: absolute; right: 0; bottom: calc(100% + .7rem); z-index: 20;
  width: min(340px, 100%); padding: 6px;
  background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease; pointer-events: none;
}
.site-footer__bottom .inception__preview img { display: block; width: 100%; height: auto; padding: 0; background: none; border-radius: calc(var(--radius) - 2px); }
.site-footer__bottom .inception:hover .inception__preview,
.site-footer__bottom .inception:focus-visible .inception__preview { opacity: 1; visibility: visible; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .site-footer__bottom .inception__preview { transition: opacity .2s ease; transform: none; }
}
/* the badge popup is absolutely positioned against the footer's bottom row. */
.site-footer__bottom { position: relative; }

/* ---------------------------------------------------------------- prose -- */
.prose { max-width: 78ch; }
/* Legal pages keep the body face for their section headings — matches the live site
   (bare kit h2/h3 default to Poppins) and stays readable across ~40 headings of
   Datenschutz copy, where uppercase Orbitron italic would not. */
.prose h2, .prose h3 {
  font-family: var(--font-sans); font-style: normal;
  text-transform: none; font-weight: var(--fw-medium); letter-spacing: 0;
}
.prose h1 { margin-bottom: 1.5rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.5rem; margin-bottom: .75rem; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.prose h4 { font-size: 1rem; margin-top: 1.25rem; margin-bottom: .4rem; font-weight: var(--fw-semibold); }
.prose p, .prose ul, .prose ol { margin-top: .85rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: .35rem; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: var(--fs-small); display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.prose a { overflow-wrap: anywhere; }

/* --------------------------------------------------------------- misc ---- */
/* ------------------------------------------------- page-level utilities -- */
.section--flush-top { padding-top: 0; }
.section--center { text-align: center; }
.lead--intro { max-width: 78ch; margin-bottom: 2rem; }
.lead--center { margin-inline: auto; max-width: 52ch; }
.center-cta { text-align: center; margin-top: 2.5rem; }
.btn-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* mobile.de trust badges + copy — Kastenwagen-CTA on the homepage, side by side. */
.cta-showcase { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.cta-showcase__body .section-head { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2rem); }
.cta-showcase__body .btn-row { justify-content: flex-start; }
.trust-badges {
  display: flex; align-items: flex-end;
  gap: clamp(1rem, .6rem + 1.5vw, 1.5rem); flex-wrap: wrap;
}
.trust-badges__card {
  width: min(38vw, 190px);
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.trust-badges__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust-badges__card img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .cta-showcase { grid-template-columns: 1fr; text-align: center; }
  .cta-showcase__body .section-head { margin-inline: auto; }
  .cta-showcase__body .btn-row { justify-content: center; }
  .trust-badges { justify-content: center; }
}
.step__title { font-size: var(--fs-h3); }
.contact-list--flush { margin-top: 0; }
.autegro-slot--tall { min-height: 520px; }
.autegro-slot--listing { min-height: 60vh; }
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-intro { margin-top: 1.25rem; color: var(--c-muted); }
