/* Serpentine + Poppins, self-hosted.
   Quelle: die vom Kunden in WordPress hochgeladenen Schnitte
   (/wp-content/uploads/2026/03/Serpentine-Bold.ttf, /wp-content/uploads/2025/04/Poppins-*.woff),
   mit fontTools nach woff2 konvertiert (tools: siehe handoff/BUILD-BRIEF.md §4).
   Serpentine ist eine Lizenzschrift — es liegt nur der Bold-Schnitt vor; das Kit setzt
   Überschriften kursiv, die Kursive wird vom Browser synthetisiert (wie live). */
@font-face {
  font-family: "Serpentine";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Serpentine-Bold.woff2") format("woff2");
}

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/Poppins-Light.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Poppins-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Poppins-Bold.woff2") format("woff2"); }

/* Design tokens — Automot (automot-heidenau.de).
   Read from the live Elementor kit (handoff/elementor-kit-post-7647.css: global colours +
   typography) and from the page CSS of the live site (post-9010.css etc.). No guessed
   values — every brand token below traces back to something measured on
   automot-heidenau.de (see handoff/BUILD-BRIEF.md §4); "derived" marks the few
   hover/pressed/tint steps computed from those measured values. */
:root {
  /* Brand ---------------------------------------------------------------- */
  --c-primary:        #003F83;  /* --e-global-color-accent — Buttons, Links, Akzente (10.6:1 auf Weiß) */
  --c-primary-dark:   #002B5C;  /* hover, derived */
  --c-primary-darker: #001A3A;  /* pressed / Footer-Verlauf, derived */
  --c-primary-bright: #288AD2;  /* --e-global-color-ef1023b — helle Akzentstufe (Icons, Fokus) */
  --c-ink:            #212121;  /* --e-global-color-primary — Headings */
  --c-text:           #000000;  /* --e-global-color-text — Fließtext (Poppins 300) */
  --c-muted:          #5d6470;  /* secondary copy, derived for AA on white */

  /* Surfaces ------------------------------------------------------------- */
  --c-bg:             #ffffff;  /* --e-global-color-c696dce */
  --c-surface:        #F8F9FA;  /* --e-global-color-secondary — Bänder, Karten */
  --c-surface-soft:   #FCFCFD;  /* derived — hellere Bank */
  --c-sky:            #B9DAF1;  /* --e-global-color-9166b26 — Highlight-Flächen */
  --c-tint:           #E9F2FA;  /* derived aus --c-sky — Feature-Karten, FAQ open */
  --c-cta-blue:       #E9F2FA;  /* Tint — "Auto kaufen"-Karte */
  --c-cta-pink:       #FDECEC;  /* derived aus --c-red — "Auto verkaufen"-Karte */
  --c-line:           #E5E7EB;  /* hairlines (Hero-Trennlinie der Live-Seite: #F3F4F6) */
  --c-steel:          #9CA3AF;  /* --e-global-color-679be00 — muted UI, Footer copy */

  /* Accents -------------------------------------------------------------- */
  --c-red:            #EA4746;  /* --e-global-color-492b5db */
  --c-green:          #2F7D67;  /* --e-global-color-e0dfe63 — Check marks */
  --c-amber:          #FFBC7D;  /* Kit: Ford-Partner-Badge-Fläche */
  --c-whatsapp:       #25D366;

  /* Type -----------------------------------------------------------------
     Two families, exactly as the kit sets them:
       Serpentine — headings (--e-global-typography-primary/secondary: italic).
                    Der Kunde hat nur den Schnitt Serpentine-Bold.ttf hochgeladen; das
                    Kit fordert Weight 300 + italic, gerendert wird daher Bold mit
                    synthetischer Kursive — genau das, was live zu sehen ist.
       Poppins    — body copy, weight 300 (--e-global-typography-text), Buttons 500
                    (--e-global-typography-accent). Beide selbst gehostet (fonts.css). */
  --font-sans:    "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Serpentine", "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: none;
  --display-weight:    700;

  --fs-body:   1rem;        /* 16px — --e-global-typography-text-font-size (14px mobile) */
  --fs-small:  0.875rem;    /* 14px */
  --fs-lead:   1.125rem;    /* 18px — Kit 1e21335 */
  --fs-h3:     clamp(1.25rem, 1.05rem + 0.7vw,  1.5625rem);  /* 20 -> 25px, Kit secondary (Mobile) */
  --fs-h2:     clamp(1.5625rem, 1.1rem + 1.6vw, 2.25rem);    /* 25 -> 36px, Kit secondary */
  --fs-h1:     clamp(2.1875rem, 1.6rem + 2.3vw, 3.125rem);   /* 35 -> 50px, Kit primary */
  --fs-hero:   clamp(3rem, 2rem + 4.5vw, 5.3125rem);         /* 48 -> 85px, Kit b2deeae ("Automot") */
  --lh-body:   1.5;         /* --e-global-typography-text-line-height */
  --lh-tight:  1.1;         /* --e-global-typography-primary-line-height */

  /* Shape & rhythm ------------------------------------------------------- */
  --radius:       7px;      /* Kit: border-radius 7px auf Buttons/Karten */
  --radius-lg:    14px;
  --radius-pill:  999px;
  --container:    1320px;   /* --content-width der Elementor-Container (post-9010.css) */
  --container-narrow: 840px;/* Text-/FAQ-Sektionen der Live-Seite */
  --gutter:       clamp(1rem, 0.6rem + 1.6vw, 1.5rem);
  --section-y:    clamp(2.5rem, 1.5rem + 3.5vw, 6rem);   /* 40px mobile -> 96px desktop (Live) */
  --gap:          clamp(1.25rem, 0.8rem + 1.6vw, 2.5rem); /* 20 -> 40px, Live-Container-Gaps */

  --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: 82px;

  /* 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);
  --button-025-hover-border:           2px solid var(--c-primary);
  --button-025-color-focus:            var(--c-primary-bright);
  --button-025-padding:                .85rem 1.75rem;
  --button-025-border:                 0;
  --button-025-border-radius:          var(--radius);   /* 7px wie im Kit */
  --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; }
/* …but then its <source>s would become empty flex/grid items and each add a gap (Bosch badge was indented 32px). */
picture > source { display: none; }
input, button, textarea, select { font: inherit; color: inherit; }
/* Headings run in Serpentine italic — the Elementor kit's primary/secondary typography.
   Only the Bold cut exists (client upload), the slant is the browser's synthetic oblique,
   exactly what renders on the live site. h4 stays in the body face. */
h1, h2, h3 {
  font-family: var(--font-display);
  font-style: var(--display-style);
  font-weight: var(--display-weight);
  text-transform: var(--display-transform);
  line-height: var(--lh-tight);
  color: var(--c-ink);
  letter-spacing: .01em;
  text-wrap: balance;
  /* German compounds ("Fahrzeuginspektion") are longer than a 390px column; without this the
     h1's min-content sets the grid track and the whole page scrolls sideways. */
  overflow-wrap: break-word;
  hyphens: auto;
  /* ...but only for real compounds: without a limit, text-wrap:balance happily breaks
     "kaufen" across lines to even out two short lines. */
  hyphenate-limit-chars: 12 5 4;
}
/* Card / list titles are Poppins semibold on the live site (kit 392b9e0) — h3 opts in via .t-sans */
.t-sans, .card h3, .service-card h3, .team-card h3, .person-card h3, .contact-card h2, .contact-card h3,
.job-card h3, .benefit h3, .value h3, .step h3, .process h3, .info-list h3, .faq summary, .partner h3, .notfall h3 {
  font-family: var(--font-sans); font-style: normal; font-weight: var(--fw-semibold); text-transform: none; letter-spacing: 0;
}
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); }
strong { font-weight: var(--fw-semibold); }
:focus-visible { outline: 3px solid var(--c-primary-bright); outline-offset: 2px; border-radius: 3px; }
/* ALTCHA widget works invisibly (auto="onload"); keep it out of layout without display:none */
.altcha { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.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 ---- */
/* Osmo "Elements Reveal on Scroll", driven by main.js (see the note there). Nothing is hidden
   unless <html class="reveal-on"> (head.html), so a failed script never leaves the page blank.
   [data-reveal] = hidden from the first paint until the engine takes over; the engine then puts
   each block through out -> in -> done. power4.inOut from the original = cubic-bezier(.77,0,.175,1). */
.reveal-on {
  /* Osmo's 2em, capped so an 85px hero headline doesn't travel 170px */
  --reveal-distance: min(2em, 2.5rem);
  --reveal-ease: cubic-bezier(.77, 0, .175, 1);
}
.reveal-on [data-reveal]:not([data-reveal-item]),
.reveal-on [data-reveal-item="out"] { opacity: 0; transform: translateY(var(--reveal-distance)); }
.reveal-on [data-reveal-item="in"] { transition: opacity .8s var(--reveal-ease), transform .8s var(--reveal-ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal], .reveal-on [data-reveal-item] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Track sizing: `1fr` has an automatic minimum of min-content, so one long word or a wide
   <select> option would stretch the track past the viewport. Every layout child opts out. */
.hero-split__grid > *, .split > *, .grid > *, .form-layout > *, .contact-layout > *,
.form-grid > *, .cta-band > *, .site-footer__grid > *, .job-card > * { min-width: 0; }
.field input, .field textarea, .field select { min-width: 0; }

/* ------------------------------------------------------------------ icons ---
   Ionicons 7.4.0 (MIT), inlined as partials on a 512 viewBox. Outline shapes carry their own
   fill="none" stroke="currentColor"; solid ones inherit fill="currentColor" from the <svg>.
   That is why no rule below may set `fill` — CSS beats presentation attributes, so a blanket
   `fill:` would flood the outline paths solid (which is exactly how the old set broke).
   Colour icons with `color:` instead; size stays per context. */
.ion { flex: none; }

/* ------------------------------------------------------------- layout ---- */
.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - (var(--gutter) * 2), var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .5); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--surface { background: var(--c-surface); }
/* Light and grey bands alternate site-wide (shared partials take the colour per usage via bg=);
   on a grey band, cards and review cards turn white so they still read as cards. */
.section--surface .card { background: #fff; }
.section--tint { background: var(--c-tint); }
.section--center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.section-head { max-width: 68ch; 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 p { margin-top: .75rem; }
.section-head .lead { margin-top: 1rem; }
.lead { font-size: var(--fs-lead); }
.muted { color: var(--c-muted); }
/* Eyebrow: kit typography 6558fb1 — Poppins 300, uppercase, letter-spacing 10px */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  flex-wrap: wrap;
  font-size: var(--fs-small); font-weight: var(--fw-regular); letter-spacing: .5em;
  text-transform: uppercase; color: var(--c-primary); margin-bottom: .75rem;
  /* .5em tracking also trails the last glyph — pull it back so the block stays optically flush */
  margin-right: -.5em;
}
@media (max-width: 640px) { .eyebrow { letter-spacing: .3em; } }
.eyebrow svg { width: 16px; height: 16px; }
.section-head--center .eyebrow { justify-content: center; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }
.center-cta { text-align: center; margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.center-cta .btn-row { justify-content: center; }
.panel {
  background: var(--c-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.panel--tight { padding: clamp(1.25rem, 1rem + 1vw, 2rem); }

/* ------------------------------------------------------------ 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. Farb- und Maß-Defaults: src/styles/tokens.css. */
.button-025, .header-cta {
  -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, .header-cta::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, .header-cta:is(:focus-visible)::after { box-shadow: 0 0 0 0.125em var(--button-025-color-focus); }
.button-025:active, .header-cta: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 {
  gap: .5rem; 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 { gap: .5rem; 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); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.button-025, .header-cta):is(:hover, :focus-visible) .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); }
  :is(.button-025, .header-cta):is(:hover, :focus-visible) .button-025__hover { translate: 0 0 0; transition-delay: 0.05s; }
  :is(.button-025, .header-cta):is(:hover, :focus-visible) .button-025__hover-inner { translate: 0 0 0; transition-delay: 0.065s; }
}
/* Label-Typografie der Seite: Kit accent typography = Poppins 500 */
.button-025__default-inner, .button-025__hover-inner { font-weight: var(--fw-medium); font-size: var(--fs-small); white-space: nowrap; }
/* Long labels ("Inspektionstermin vereinbaren") are wider than a phone; let them wrap there.
   Both layers get the same rule, so the hover layer keeps covering the default one exactly. */
@media (max-width: 640px) {
  .button-025__default-inner, .button-025__hover-inner { white-space: normal; text-align: center; }
}
.button-025 svg, .header-cta svg { width: 18px; height: 18px; flex: none; }
button.button-025 { border: 0; cursor: pointer; }
.button-025:focus-visible, .header-cta:focus-visible { outline: none; }
/* Varianten — nur Custom Properties, keine Struktur. Ghost = weißer Button mit dunklem
   Rahmen ("Werkstatt & Service" im Hero), wie live. */
.button-025[data-theme="ghost"] {
  --button-025-color: var(--c-ink); --button-025-color-background: #fff;
  --button-025-border: 2px solid var(--c-ink); --button-025-hover-color: #fff;
  --button-025-hover-color-background: var(--c-ink); --button-025-hover-border: 2px solid var(--c-ink);
}
.button-025[data-theme="light"] {
  --button-025-color: var(--c-primary); --button-025-color-background: #fff;
  --button-025-border: 2px solid var(--c-line); --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, .85); --button-025-hover-color: var(--c-primary);
  --button-025-hover-color-background: #fff; --button-025-hover-border: 2px solid #fff; --button-025-color-focus: #fff;
}
.button-025[data-theme="green"] { --button-025-color-background: var(--c-green); --button-025-hover-color: var(--c-green); --button-025-hover-border: 2px solid var(--c-green); }
.button-025[data-theme="red"] { --button-025-color-background: var(--c-red); --button-025-hover-color: var(--c-red); --button-025-hover-border: 2px solid var(--c-red); }
.button-025[data-theme="outline-primary"] {
  --button-025-color: var(--c-primary); --button-025-color-background: #fff;
  --button-025-border: 2px solid var(--c-primary); --button-025-hover-color: #fff;
  --button-025-hover-color-background: var(--c-primary);
}
.button-025--sm { --button-025-padding: .6rem 1.15rem; }
.button-025--lg { --button-025-padding: 1rem 2.25rem; }
.button-025--block { width: 100%; }
.button-025[disabled] { opacity: .55; cursor: not-allowed; scale: none; }

/* -------------------------------------------------------------- topbar --- */
.topbar { background: var(--c-bg); border-bottom: 1px solid var(--c-line); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar ul { list-style: none; padding: 0; display: flex; gap: 1.25rem; align-items: center; }
.topbar a { color: var(--c-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--c-primary); }
.topbar svg { width: 14px; height: 14px; }
.topbar__contact { margin-inline: auto; }
/* mobile: no topbar and no call button in the header; phone and WhatsApp stay in the burger menu */
@media (max-width: 720px) {
  .topbar, .header-actions .call-btn { display: none; }
}

/* ------------------------------------------------------------- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 1081px) { .site-header { backdrop-filter: blur(10px); } }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.site-header__logo { flex: 0 0 auto; display: flex; align-items: center; padding-block: .75rem; }
.site-header__logo img { width: 150px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; gap: clamp(.75rem, .2rem + 1.4vw, 1.75rem); list-style: none; padding: 0; align-items: center; }
.site-nav > ul > li { position: relative; display: flex; align-items: center; }
.site-nav > ul a {
  font-size: .9375rem; font-weight: var(--fw-medium); color: var(--c-ink);
  text-decoration: none; padding-block: .5rem; border-bottom: 2px solid transparent; white-space: nowrap;
}
.site-nav > ul a:hover { color: var(--c-primary); }
.site-nav > ul > li > a[aria-current="page"] { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.sub-toggle { border: 0; background: none; padding: .5rem; min-width: 34px; min-height: 34px; display: inline-grid; place-items: center; color: var(--c-ink); cursor: pointer; }
.sub-toggle svg { width: 16px; height: 16px; transition: rotate .2s; }
.has-sub.is-open .sub-toggle svg { rotate: 180deg; }
.sub-menu {
  list-style: none; padding: .5rem; margin: 0;
  position: absolute; top: calc(100% + 4px); left: -1rem; min-width: 300px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; z-index: 60;
}
.sub-menu a { display: block; padding: .55rem .85rem; border-radius: var(--radius); font-size: var(--fs-small); border: 0; white-space: normal; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--c-tint); color: var(--c-primary); }
/* Ford + Bosch are the two brand services; the hairline sets them apart from the job list below. */
.sub-menu__group-end { border-bottom: 1px solid var(--c-line); padding-bottom: .35rem; margin-bottom: .35rem; }
@media (min-width: 1081px) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { display: block; }
}
.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }
.header-cta { --button-025-padding: .7rem 1.25rem; }
.header-cta .button-025__default-inner, .header-cta .button-025__hover-inner { font-weight: var(--fw-medium); font-size: var(--fs-small); white-space: nowrap; }
.call-btn { display: none; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); background: var(--c-primary); color: #fff; }
.call-btn svg { width: 20px; height: 20px; }
.site-nav__extra { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--radius); cursor: pointer; }
.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: 1080px) {
  .header-cta { display: none; }
  .call-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 49;
    display: none; padding: 1rem var(--gutter) 2rem; overflow-y: auto;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; align-items: stretch; }
  .site-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
  .site-nav > ul > li > a { flex: 1; display: block; padding: .9rem .25rem; border-bottom: 0; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub-menu { position: static; display: none; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; }
  .has-sub.is-open .sub-menu { display: block; }
  .site-nav__extra { display: block; }
  .site-nav__contact { margin-top: 1.25rem; margin-bottom: 1.5rem; }
  .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 split ---- */
/* The live hero (home + every service page): copy on the left, rounded photo on the
   right, no full-bleed, hairline below (post-9010: border-bottom 1px #F3F4F6). */
.hero-split { border-bottom: 1px solid var(--c-line); }
.hero-split--surface { background: var(--c-surface); } /* Werkstatt pages (Bosch, Ford, the service subpages) */
.hero-split__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem);
}
.hero-split__media { position: relative; }
.hero-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
/* A logo instead of a photo (Ford page): keep the whole wide mark in the 4:3 frame rather than cropping it. */
.hero-split__media--logo img { object-fit: contain; background: #fff; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.hero-split__badge {
  position: absolute; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem);
  display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: var(--radius-lg);
  padding: .75rem 1.1rem; box-shadow: var(--shadow-lg);
}
.hero-split__badge-icon { width: 40px; height: 40px; border-radius: var(--radius); background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center; }
.hero-split__badge-icon svg { width: 22px; height: 22px; }
.hero-split__badge small { display: block; font-size: .8rem; color: var(--c-muted); }
.hero-split__badge strong { font-size: 1.05rem; }
.hero__title { font-size: var(--fs-hero); line-height: 1.05; }
/* Whole hero H1 at the kit's wordmark size (b2deeae, 85px): "Automot" and the claim read as one headline */
.hero__title .hero__brand { display: block; color: var(--c-primary); }
.hero__title .accent { color: var(--c-primary); }
.hero-split p { margin-top: 1rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__usps { list-style: none; padding: 0; margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: var(--fs-small); }
.hero__usps li { display: flex; align-items: center; gap: .5rem; }
/* The divider sits inside the next item, whose own .5rem gap follows it — .75rem + .5rem matches the
   1.25rem list gap on its left, so the line sits centred between the two claims. */
.hero__usps li + li::before { content: ""; width: 1px; height: 1em; background: var(--c-line); margin-right: .75rem; }
.hero__usps svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; }
.hero__hours { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-size: var(--fs-small); }
.hero__hours svg { width: 18px; height: 18px; color: var(--c-primary); }
/* /auto-verkaufen leads with the Ankauf form; give it slightly less room than the copy. */
.hero-split__grid--form { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
/* Home hero: at 85px the claim "Ihr Autohaus" needs ~660px; widen the copy column so it holds one line. */
@media (min-width: 861px) { .hero-split__grid:has(.hero__title) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
@media (max-width: 860px) {
  .hero-split__grid, .hero-split__grid--form { grid-template-columns: 1fr; gap: 2rem; }
  /* stacked, the pitch has to come before the form it asks people to fill in */
  .hero-split__grid--form > :first-child { order: 2; }
  .hero__usps li + li::before { display: none; }
}

/* ---------------------------------------------------------- hero cover ---- */
/* /ueber-uns and /karriere: full-bleed photo, centred white copy on an even dark tint (no white fade). */
.hero-cover { position: relative; isolation: isolate; color: #fff; text-align: center; }
.hero-cover__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-cover__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-cover::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 20, 45, .45) 0%, rgba(0, 20, 45, .35) 100%);
}
.hero-cover__inner { padding-block: clamp(4rem, 3rem + 6vw, 8rem); } /* even: the taller bottom only made room for the fade */
.hero-cover h1 { color: #fff; max-width: 26ch; margin-inline: auto; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.hero-cover p { color: #fff; max-width: 70ch; margin: 1.25rem auto 0; font-size: var(--fs-lead); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.hero-cover .btn-row { justify-content: center; margin-top: 2rem; }

/* ------------------------------------------------------------ page hero ---- */
/* /kfz-mechatroniker-heidenau: flat blue band. */
.page-hero { background: var(--c-primary); color: #fff; padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-hero h1 { color: #fff; margin-top: .75rem; }
.page-hero a { color: #fff; }
.page-hero__back { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-small); text-decoration: none; }
.page-hero__back svg { width: 16px; height: 16px; rotate: 180deg; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: var(--fs-small); margin-top: .75rem; }
.meta-row span { display: inline-flex; align-items: center; gap: .4rem; }
.meta-row svg { width: 16px; height: 16px; opacity: .85; }

/* -------------------------------------------------------------- partners -- */
.partners { border-bottom: 1px solid var(--c-line); }
.partners .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.partners__title { font-family: var(--font-sans); font-style: normal; font-weight: var(--fw-medium); font-size: var(--fs-small); text-transform: none; letter-spacing: 0; }
.partners__row { display: flex; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.partner { display: flex; align-items: center; gap: .85rem; }
.partner__logo img { width: 96px; height: auto; }
.partner h3 { font-size: var(--fs-small); }
.partner p { font-size: .8rem; color: var(--c-muted); }

/* ------------------------------------------------------------------ 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: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- cards -- */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.card--white { background: #fff; box-shadow: var(--shadow-sm); border-color: transparent; }
.card--tint { background: #fff; border-color: transparent; text-align: center; }
/* Hover lift, as on neugebauergruppe.de (.card--hover): the card rises a few px, gains depth and a
   brand-tinted edge. Used by the Vorteile cards and the Werkstatt service rail. */
/* Lift via `translate`, not `transform`: [data-reveal] owns transform on the same cards, and a
   hover transform would lose to (or fight) the reveal rule. */
/* Site-wide since 2026-09: every .card (all variants) and the team cards. Not on review cards (their
   scroll track would clip the lift), type-cards (own hover), form/funnel cards or the single contact boxes. */
.card, .team-card, .process > * { transition: translate .3s var(--button-025-ease-hover), box-shadow .3s var(--button-025-ease-hover), border-color .3s var(--button-025-ease-hover); }
.card:hover, .team-card:hover, .process > *:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); border-color: var(--c-sky); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover, .team-card, .team-card:hover, .process > *, .process > *:hover { transition: none; translate: none; } }
.vorteile .card__icon { margin-inline: auto; } /* the copy is centred, so the icon tile is too */
.card--outline { background: #fff; border-color: var(--c-sky); }
.card h3 { margin-bottom: .5rem; font-size: 1.125rem; }
.card p { font-size: var(--fs-small); }
.card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--c-tint); color: var(--c-primary); margin-bottom: 1rem; }
.card__icon--round { width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--c-tint); color: var(--c-primary); margin-inline: auto; }
.card__icon svg { width: 22px; height: 22px; }
.card--row { display: flex; gap: 1rem; align-items: flex-start; text-align: left; }
.card--row .card__icon { flex: none; margin-bottom: 0; }
.check-list { list-style: none; padding: 0; display: grid; gap: .5rem; margin-top: .9rem; font-size: var(--fs-small); }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; }
.check-list svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; margin-top: .1rem; }
.check-list--red svg { color: var(--c-red); }
.check-list--lg { font-size: var(--fs-body); gap: .7rem; }
.service-card { display: flex; flex-direction: column; }
.service-card .check-list { margin-bottom: 1.25rem; }
.service-card .button-025 { margin-top: auto; align-self: flex-start; }

/* ------------------------------------------------------------ split ---- */
.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: 4 / 3; object-fit: cover; }
.split__media--portrait img { aspect-ratio: 5 / 6; }
/* Side by side, a fixed 5:6 made the portrait far taller than the copy next to it. There the
   image now takes the row's height (set by the copy) and crops to it; stacked, 5:6 stays. */
@media (min-width: 861px) {
  .split:has(> .split__media--portrait) { align-items: stretch; }
  .split:has(> .split__media--portrait) > .split__body { align-self: center; }
  .split__media--portrait { position: relative; min-height: 16rem; } /* floor only against collapse; the copy sets the height */
  .split__media--portrait img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
.split__body h2 { margin-bottom: 1rem; }
.split__body .eyebrow { display: inline-flex; }
.split__body .btn-row { margin-top: 1.75rem; }
.split__body .check-list { margin-top: 1.25rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ------------------------------------------------------ service checklist -- */
.service-check { list-style: none; padding: 0; display: grid; gap: .5rem; margin-top: 1.25rem; }
.service-check li a, .service-check li span {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  color: var(--c-ink); text-decoration: none; font-size: var(--fs-small); transition: border-color .15s, background .15s;
}
.service-check li a:hover { border-color: var(--c-primary); background: var(--c-tint); }
.service-check svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; }

/* ------------------------------------------------------------ brand tiles -- */
.brand-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.brand-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; padding: 1rem;
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px; text-decoration: none; color: var(--c-ink);
  font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .01em; text-align: center; font-size: 1.05rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.brand-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-steel); color: var(--c-ink); }
.brand-tile svg { width: 64%; height: auto; }
.brand-tile small { display: block; font-size: .75rem; font-weight: var(--fw-regular); text-transform: none; color: var(--c-muted); margin-top: .35rem; }
@media (max-width: 900px) { .brand-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .brand-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.brand-links a {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: var(--radius-pill);
  background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-size: var(--fs-small); font-weight: var(--fw-medium);
}
.brand-links a:hover, .brand-links__all { background: var(--c-primary) !important; color: #fff !important; border-color: var(--c-primary) !important; }
.brand-links svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------- type cards ---- */
.type-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.type-card {
  display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.5rem 1rem;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); text-decoration: none;
  color: var(--c-ink); font-weight: var(--fw-medium); transition: border-color .15s, transform .15s;
}
.type-card:hover { border-color: var(--c-primary); transform: translateY(-3px); color: var(--c-primary); }
.type-card svg { width: 36px; height: 36px; color: var(--c-primary); }
@media (max-width: 640px) { .type-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------ Autegro slots ----- */
/* Autegro mounts into .autegro-slot once PUBLIC_AC24_WIDGET is set. Until then the
   placeholder partials render here (inventory_mode = autegro_later). */
.autegro-slot { min-height: 120px; }
.autegro-slot [id$="-search"] { min-height: 96px; }
.autegro-slot [id$="-slider"] { min-height: 500px; }
.autegro-slot [id$="-overview"] { min-height: 60vh; }
.autegro-placeholder { text-align: center; }
.autegro-placeholder p { max-width: 60ch; margin-inline: auto; }
.autegro-placeholder .btn-row { justify-content: center; margin-top: 1.5rem; }
.autegro-placeholder__label { font-weight: var(--fw-semibold); color: var(--c-ink); margin-bottom: .75rem; }
.autegro-placeholder--search { text-align: left; }
.autegro-placeholder--search p { margin-inline: 0; }
.autegro-placeholder__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.autegro-placeholder__cards--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.autegro-placeholder__cards span {
  display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 1px solid var(--c-line);
  background: linear-gradient(135deg, var(--c-surface) 0%, #fff 50%, var(--c-surface) 100%);
}
@media (max-width: 640px) { .autegro-placeholder__cards { grid-template-columns: 1fr 1fr; } .autegro-placeholder__cards span:nth-child(n+3) { display: none; } }

/* ----------------------------------------------------------------- tabs -- */
.tabs__list { display: flex; background: var(--c-surface); border-radius: var(--radius); padding: 4px; gap: 4px; }
.tabs__tab {
  flex: 1; border: 0; background: transparent; padding: .7rem 1rem; border-radius: calc(var(--radius) - 2px);
  font-weight: var(--fw-medium); font-size: var(--fs-small); color: var(--c-ink); cursor: pointer; transition: background .15s, color .15s;
}
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--c-primary); box-shadow: var(--shadow-sm); }
.tabs__panel { padding-top: 1.5rem; }
.tabs__panel[hidden] { display: none; }

/* --------------------------------------------------------------- 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, .field legend { 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(0, 63, 131, .18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--c-red); }
.field__error { font-size: var(--fs-small); color: var(--c-red); min-height: 0; }
.field--radios { border: 0; padding: 0; }
.field--radios .radios { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: .35rem; }
.field--radios .radios label { display: inline-flex; align-items: center; gap: .4rem; font-weight: var(--fw-light); font-size: var(--fs-small); }
.field--radios input { width: 20px; height: 20px; accent-color: var(--c-primary); padding: 0; }
.field--radios .radios label { padding-block: .35rem; cursor: pointer; }
.field--file input { padding: .55rem .9rem; font-size: var(--fs-small); }
.field__hint { font-size: .78rem; color: var(--c-muted); }
.form-section-title { grid-column: 1 / -1; font-weight: var(--fw-semibold); font-size: 1.05rem; color: var(--c-ink); margin-top: .5rem; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-small); grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; margin-top: .1rem; flex: 0 0 auto; accent-color: var(--c-primary); }
.form-note { font-size: var(--fs-small); color: var(--c-muted); margin-top: 1rem; }
.form-privacy {
  grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: .25rem;
  padding: .75rem 1rem; background: var(--c-surface); border-radius: var(--radius); font-size: var(--fs-small); color: var(--c-primary);
}
.form-privacy svg { width: 17px; height: 17px; flex: none; }
.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; } }
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-sm); }
.form-card > h2, .form-card > h3 { margin-bottom: .35rem; }
.form-card > .lead, .form-card > p.intro { margin-bottom: 1.5rem; font-size: var(--fs-small); }
.form-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: var(--gap); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.usp-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.usp-pills span { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; background: #EAF7F1; border-radius: var(--radius); font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--c-ink); }
.usp-pills svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; }
@media (max-width: 640px) { .usp-pills { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- notfall ---- */
.notfall { background: #FDECEC; border: 1px solid #F8CFCF; border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.notfall .eyebrow { color: var(--c-red); letter-spacing: .05em; text-transform: none; font-weight: var(--fw-semibold); font-size: 1.05rem; margin-bottom: .25rem; }
.notfall .eyebrow svg { color: var(--c-red); }
.notfall h3 { font-size: 1rem; font-weight: var(--fw-regular); color: var(--c-muted); margin-bottom: 1rem; }
.notfall p { font-size: var(--fs-small); }
.notfall .check-list { margin-bottom: 1.25rem; }
.notfall .check-list svg { color: var(--c-red); }
.notfall .button-025 { --button-025-color-background: var(--c-red); --button-025-hover-color: var(--c-red); --button-025-hover-border: 2px solid var(--c-red); }

/* ------------------------------------------------------------ CTA dark ---- */
.cta-dark { background: var(--c-primary); color: #fff; text-align: center; }
.cta-dark h2 { color: #fff; }
.cta-dark p { color: rgba(255, 255, 255, .85); max-width: 62ch; margin: 1rem auto 0; }
.cta-dark .btn-row { justify-content: center; margin-top: 1.75rem; align-items: center; }
.cta-dark__phone { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; font-weight: var(--fw-medium); }
.cta-dark__phone svg { width: 18px; height: 18px; }
.cta-dark__phone:hover { color: #fff; text-decoration: underline; }
.cta-dark--soft { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); }
.cta-dark--soft p { color: #fff; font-weight: var(--fw-medium); font-size: var(--fs-lead); margin-top: 0; }
.cta-dark--soft p + p { margin-top: .75rem; font-weight: var(--fw-light); font-size: var(--fs-small); color: rgba(255, 255, 255, .9); }

/* -------------------------------------------------------------- CTA band -- */
/* Closing CTA: a hairline mirrors the footer's border-top so the band reads as a distinct
   closer rather than more page content. Skipped after a grey band — there the colour change
   already separates and the line would double up on the boundary. */
.cta-band-wrap { border-top: 1px solid var(--c-line); }
.section--surface + .cta-band-wrap, .cta-band-wrap.section--surface { border-top: 0; }
.cta-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: center; }
.cta-band__actions { background: var(--c-surface); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); text-align: center; }
.cta-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cta-band__grid .button-025 { width: 100%; }
.cta-band__rule { border: 0; border-top: 1px solid var(--c-line); margin: 1.25rem 0 1rem; }
.cta-band__note { font-size: var(--fs-small); color: var(--c-muted); }
.cta-band__phone { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.25rem; font-weight: var(--fw-semibold); color: var(--c-ink); text-decoration: none; margin-top: .25rem; }
.cta-band__phone svg { width: 20px; height: 20px; color: var(--c-primary); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cta-band__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- reviews --- */
/* Google reviews via the Trustindex widget (partials/google-reviews.html), behind a click-to-load facade. */
.reviews-section { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
/* star row still used by the rating line under the stock slider (/auto-verkaufen) */
.reviews__stars { display: inline-flex; gap: 2px; color: #f6bb06; flex: none; }
.reviews__stars svg { width: 18px; height: 18px; }
.ti-embed { min-height: 12rem; }
.ti-facade { display: grid; justify-items: center; gap: .75rem; text-align: center; padding: clamp(2rem, 1.5rem + 2vw, 3rem) 1.5rem; background: var(--c-surface); border-radius: var(--radius-lg); }
.section--surface .ti-facade { background: #fff; }
.ti-facade__stars { display: inline-flex; gap: 2px; color: #f6bb06; }
.ti-facade__stars svg { width: 22px; height: 22px; }
.ti-facade__title { font-weight: var(--fw-semibold); color: var(--c-ink); font-size: 1.1rem; }
.ti-facade__note { color: var(--c-muted); font-size: var(--fs-small); max-width: 46ch; }

/* ------------------------------------------- section with background photo + parallax --- */
/* Pattern from autowelt-bodensee.de: <section class="section section--media" data-parallax>
   with a real <img> as the moving layer ({{img:…|class=parallax-layer}} -> picture.parallax-layer
   img), a still scrim for contrast and the content on top. main.js moves the layer via
   --parallax-y so the photo runs slower than the page; --parallax-speed is its apparent speed
   (1 = moves with the page, 0 = fixed) and --parallax-overflow the extra height that costs,
   kept inside the section by overflow: clip. */
.section--media { position: relative; isolation: isolate; overflow: clip; --parallax-speed: .45; }
/* Narrow viewports: the overflow stretches the box in HEIGHT while the browser picks the file by
   WIDTH, so a landscape photo in a tall phone box gets upscaled and soft. Off below 64em. */
@media (max-width: 63.99em) { [data-parallax] { --parallax-speed: 1; } }
.section--media .parallax-layer img {
  position: absolute; inset-inline: 0; width: 100%; object-fit: cover; z-index: -2;
  top: calc(var(--parallax-overflow, 0px) * -.5);
  height: calc(100% + var(--parallax-overflow, 0px));   /* explicit: height:auto on an <img> = intrinsic */
  transform: translate3d(0, var(--parallax-y, 0px), 0); will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .section--media .parallax-layer img { top: 0; height: 100%; transform: none; } }
.section--media > .section__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 26, 58, .8), rgba(0, 26, 58, .68)); /* --c-primary-darker */
}
.section--media h2 { color: #fff; }
.section--media .section-head p { color: rgba(255, 255, 255, .88); }
.section--media .eyebrow { color: var(--c-sky); }

/* Ankauf on /: copy and the Autegro funnel centred over the Raptor photo */
.ankauf-bg { background: var(--c-primary-darker); padding-block: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.ankauf-bg .parallax-layer img { object-position: 50% 45%; }
.ankauf-bg .section-head { max-width: 62ch; }
.ankauf-bg__form { max-width: 44rem; margin-inline: auto; }
/* Phones: the section carries the whole funnel (~1400px). Stretched over that, the landscape
   photo would be upscaled ~2x and go soft, so it only fills a top band and the scrim — which
   stays still — runs out into solid brand navy below it. */
@media (max-width: 47.99em) {
  .ankauf-bg .parallax-layer img { height: 28rem; bottom: auto; }
  .ankauf-bg > .section__scrim { background: linear-gradient(180deg, rgba(0, 26, 58, .72) 0, rgba(0, 26, 58, .82) 20rem, var(--c-primary-darker) 28rem); }
}

/* --------------------------------------------------------------- /auto-verkaufen --- */
/* Structure after auto-und-service.de/auto-verkaufen. Hero: full-bleed photo (static — reuses the
   .section--media layer without [data-parallax]) under a left-to-right navy scrim, copy left. */
.sell-hero { background: var(--c-primary-darker); color: #fff; }
/* neutral dark tint instead of the navy scrim; copy centred (both 2026-09) */
.sell-hero > .section__scrim { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .4) 100%); }
.sell-hero__inner { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.sell-hero__inner { text-align: center; }
.sell-hero__inner > * { max-width: 44rem; margin-inline: auto; }
.sell-hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.sell-hero p { color: rgba(255, 255, 255, .88); margin-top: 1rem; font-size: var(--fs-lead); }
.sell-hero .btn-row { margin-top: 1.75rem; justify-content: center; }
.sell-hero__usps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: var(--fs-small); }
.sell-hero__usps li { display: flex; align-items: center; gap: .55rem; }
.sell-hero__usps svg { width: 18px; height: 18px; color: var(--c-sky); flex: none; }
@media (max-width: 640px) { .sell-hero__usps { flex-direction: column; align-items: center; } }
/* Funnel section: copy + checklist left, the Autegro card right */
#bewertung { scroll-margin-top: calc(var(--header-h) + 1rem); }
.sell-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.sell-form > * { min-width: 0; }
.sell-form__copy h2 { margin-bottom: 1rem; }
.sell-form__copy .check-list { margin-top: 1.25rem; }
/* Side by side, the copy rides along under the header while the (much taller) Autegro form scrolls. */
@media (min-width: 861px) { .sell-form__copy { position: sticky; top: calc(var(--header-h) + 2rem); } }
@media (max-width: 860px) { .sell-form { grid-template-columns: 1fr; } }
.sell-buy .btn-row { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
/* "Already have an offer?": dark brand band, copy left, photo right */

/* ------------------------------------------------ Werkstatt service rail (Bosch page) --- */
/* Layout after neugebauergruppe.de/werkstatt: head left, CTA opposite, the cards in the overlapping
   slider below (round prev/next buttons keep the .rail__btn look). */
.leistungen { display: grid; gap: 0; }
.leistungen__head { max-width: 62ch; margin-bottom: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.leistungen__head p { margin-top: .75rem; }
.leistungen__cta { margin-bottom: 1rem; }
@media (min-width: 768px) {
  .leistungen { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kopf cta" "leiste leiste"; column-gap: var(--gap); align-items: start; }
  .leistungen__head { grid-area: kopf; }
  .leistungen__cta { grid-area: cta; justify-self: end; margin: 2.25rem 0 0; } /* level with the heading */
  .leistungen__rail { grid-area: leiste; }
}
.eyebrow--lined::before, .eyebrow--lined::after { content: ""; flex: none; width: 2.5rem; height: 1px; background: currentColor; opacity: .5; }
/* Osmo "Overlapping Slider", as ported on autowelt-bodensee.de / neudeck-odenwaelder.de: native
   horizontal scroll, three cards per row; the card leaving on the left narrows, tilts about its
   top-left corner, trails and fades while sliding under the next (main.js [data-oslider]). */
.oslider { position: relative; min-width: 0; container-type: inline-size; }
.oslider__viewport {
  width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  /* room for the fan and the hover lift/shadow; the negative margin pulls it back to the container edge */
  padding: 1rem 12px 2rem; margin-inline: -12px; scroll-padding-inline-start: 12px; cursor: grab;
}
.oslider__viewport::-webkit-scrollbar { display: none; }
.oslider__viewport:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 4px; }
.oslider__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.oslider__viewport.is-dragging a, .oslider__viewport.is-dragging .card { pointer-events: none; }
.oslider__track { display: flex; gap: 1.25rem; align-items: stretch; width: max-content; margin: 0; padding: 0; list-style: none; }
.oslider__item { position: relative; display: flex; flex: 0 0 100cqi; scroll-snap-align: start; transform-origin: left top; will-change: transform; }
.oslider__item > .card { width: 100%; }
@media (min-width: 40em) { .oslider__item { flex-basis: calc((100cqi - 1.25rem) / 2); } .oslider__viewport { scroll-snap-type: x proximity; } }
@media (min-width: 56.25em) { .oslider__item { flex-basis: calc((100cqi - 2 * 1.25rem) / 3); } .oslider__viewport { scroll-snap-type: x mandatory; } }
/* One card fills the lane on phones: no side peek, no fan (main.js skips it below 40em). */
@media (max-width: 39.99em) { .oslider__viewport { padding-inline: 0; margin-inline: 0; scroll-padding-inline-start: 0; } }
@media (prefers-reduced-motion: reduce) { .oslider__item { transform: none !important; opacity: 1 !important; } }
.oslider__controls { display: flex; gap: .75rem; margin-top: .25rem; }
.rail__btn {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--c-primary);
  border-radius: var(--radius-pill); background: transparent; color: var(--c-primary); font: inherit; font-size: 1.125rem; line-height: 1; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, translate .25s ease;
}
.rail__btn:hover, .rail__btn:focus-visible { background: var(--c-primary); color: #fff; translate: 0 -2px; }
.rail__btn[disabled] { opacity: .35; cursor: default; translate: none; background: transparent; color: var(--c-primary); }
.leistungen .service-card { background: #fff; height: 100%; }
/* card head (icon + title) and body (text, list, link) only matter for the mobile register below;
   everywhere else they dissolve, so the slider card keeps its flex column */
.service-card__head, .service-card__body { display: contents; }
.service-card__toggle { all: unset; }
/* Leistungen on narrow screens: register instead of the overlapping slider (neugebauergruppe.de/werkstatt) */
@media (max-width: 767px) {
  .leistungen .oslider__viewport { overflow: visible; scroll-snap-type: none; }
  .leistungen .oslider__track { flex-direction: column; width: auto; gap: 0; border-top: 1px solid var(--c-line); }
  .leistungen .oslider__item { flex: none; min-height: 0 !important; transform: none !important; opacity: 1 !important; }
  .leistungen .oslider__controls { display: none; }
  .leistungen .service-card, .leistungen .service-card:hover { height: auto; padding: 0; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; background: none; box-shadow: none; translate: none; }
  .leistungen .service-card__head { position: relative; display: flex; align-items: center; gap: .85rem; padding: 1rem 0; }
  .leistungen .service-card__head .card__icon { margin: 0; flex: none; }
  .leistungen .service-card h3 { margin: 0; font-size: 1.0625rem; }
  .leistungen .service-card__toggle { display: block; cursor: pointer; padding-right: 2.5rem; }
  .leistungen .service-card__toggle::before { content: ""; position: absolute; inset: 0; }
  .leistungen .service-card__toggle:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 4px; }
  /* blue plus that rotates 45° into a cross when open */
  .leistungen .service-card__toggle::after {
    content: ""; position: absolute; right: 0; top: 50%; width: .875rem; height: .875rem; transform: translateY(-50%);
    background: linear-gradient(var(--c-primary), var(--c-primary)) center / 100% 2px no-repeat, linear-gradient(var(--c-primary), var(--c-primary)) center / 2px 100% no-repeat;
    transition: transform .2s ease;
  }
  .leistungen .service-card.is-open .service-card__toggle::after { transform: translateY(-50%) rotate(45deg); }
  .leistungen .service-card__body { display: block; position: relative; z-index: 1; padding-bottom: 1.25rem; }
  .leistungen .is-enhanced .service-card:not(.is-open) .service-card__body { display: none; }
  .leistungen .service-card__body .button-025 { margin-top: .75rem; }
}

/* --------------------------------------------------------- werkstatt funnel --- */
/* Werkstatttermin click funnel, ported from ah-odenwaelder.de (.ohw-*), scoped to .ohw-book and
   re-pointed at Automot's tokens (primary instead of their red). Logic: main.js (#wtBook). */
/* --- Formular --- */
.ohw-book{
  --ohw-red: var(--c-primary);
  --ohw-red-dark: var(--c-primary-dark);
  --ohw-red-tint: var(--c-tint);
  --ohw-ink: var(--c-ink);
  --ohw-muted: var(--c-muted);
  --ohw-line: var(--c-line);
  --ohw-soft: var(--c-surface);
  --ohw-radius: var(--radius-lg);
  --ohw-strong: var(--c-steel);
  --ohw-danger: var(--c-red);
  --ohw-ring: rgba(0, 63, 131, .14);
  color: var(--ohw-ink);
  width: 100%; -webkit-font-smoothing: antialiased;
}
.ohw-book *,.ohw-book *::before,.ohw-book *::after{box-sizing:border-box;}

.ohw-card{
  background:#fff;border:1px solid var(--ohw-line);border-radius:var(--ohw-radius);
  box-shadow:0 1px 2px rgba(16,18,22,.04),0 12px 32px -18px rgba(16,18,22,.18);overflow:hidden;
}
.ohw-progress{height:4px;background:var(--ohw-soft);}
.ohw-progress-bar{height:100%;width:16%;background:var(--ohw-red);transition:width .35s cubic-bezier(.22,1,.36,1);}
.ohw-bar-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 32px;border-bottom:1px solid var(--ohw-line);}
.ohw-back{display:inline-flex;align-items:center;gap:7px;background:none;border:0;padding:6px 8px;margin-left:-8px;font:inherit;font-size:14px;font-weight:500;color:var(--ohw-muted);cursor:pointer;border-radius:8px;}
.ohw-back:hover{color:var(--ohw-red);background:var(--ohw-red-tint);}
.ohw-back[hidden]{display:none;}
.ohw-count{font-size:13px;font-weight:500;color:var(--ohw-muted);margin-left:auto;}
.ohw-body{padding:30px 32px 34px;}
@media (max-width:600px){.ohw-bar-row{padding:13px 18px;}.ohw-body{padding:22px 18px 26px;}}

.ohw-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
.ohw-tags:empty{display:none;}
.ohw-tag{display:inline-flex;align-items:center;gap:7px;background:var(--ohw-soft);color:var(--ohw-muted);border-radius:999px;padding:7px 14px;font-size:13.5px;font-weight:500;}
.ohw-tag svg{width:14px;height:14px;flex:none;opacity:.75;}

.ohw-q{font-size:23px;line-height:1.32;font-weight:600;margin:0 0 6px;letter-spacing:-.01em;}
.ohw-hint{margin:0 0 20px;color:var(--ohw-muted);font-size:15px;line-height:1.5;}
.ohw-q + .ohw-options,.ohw-q + .ohw-tiles,.ohw-q + .ohw-fields{margin-top:22px;}
.ohw-q + .ohw-hint{margin-top:8px;}
@media (max-width:600px){.ohw-q{font-size:20px;}}

.ohw-sublabel{display:block;font-size:14.5px;font-weight:600;margin:0 0 10px;}
.ohw-block + .ohw-block{margin-top:24px;padding-top:24px;border-top:1px solid var(--ohw-line);}

/* Auswahlflächen (Liste) */
.ohw-options{display:grid;gap:10px;}
.ohw-opt{
  position:relative;display:flex;align-items:center;gap:14px;min-height:62px;padding:16px 18px;
  border:1.5px solid var(--ohw-line);border-radius:12px;background:#fff;
  font-size:16px;font-weight:500;line-height:1.35;cursor:pointer;
  transition:border-color .15s ease,background .15s ease,transform .1s ease;
}
.ohw-opt input{position:absolute;width:1px;height:1px;opacity:0;margin:0;pointer-events:none;}
.ohw-opt:hover{border-color:var(--ohw-red);background:var(--ohw-red-tint);}
.ohw-opt:active{transform:scale(.995);}
.ohw-opt:focus-within{border-color:var(--ohw-red);box-shadow:0 0 0 3px var(--ohw-ring);}
.ohw-opt.is-selected{border-color:var(--ohw-red);background:var(--ohw-red-tint);}
.ohw-opt-sub{display:block;font-size:13px;font-weight:400;color:var(--ohw-muted);margin-top:2px;}
.ohw-dot{flex:none;width:23px;height:23px;border-radius:50%;border:1.5px solid var(--ohw-strong);background:#fff;display:grid;place-items:center;transition:.15s ease;}
.ohw-dot svg{width:13px;height:13px;stroke:#fff;opacity:0;transform:scale(.6);transition:.15s ease;}
.ohw-opt.is-selected .ohw-dot{background:var(--ohw-red);border-color:var(--ohw-red);}
.ohw-opt.is-selected .ohw-dot svg{opacity:1;transform:scale(1);}

/* Kacheln (Mehrfachauswahl) */
.ohw-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}
@media (max-width:560px){.ohw-tiles{grid-template-columns:1fr;}}
.ohw-tile{
  position:relative;display:flex;align-items:center;gap:13px;min-height:64px;padding:15px 44px 15px 16px;
  border:1.5px solid var(--ohw-line);border-radius:12px;background:#fff;
  font-size:15.5px;font-weight:500;line-height:1.3;cursor:pointer;
  transition:border-color .15s ease,background .15s ease,transform .1s ease;
}
.ohw-tile input{position:absolute;width:1px;height:1px;opacity:0;margin:0;pointer-events:none;}
.ohw-tile:hover{border-color:var(--ohw-red);background:var(--ohw-red-tint);}
.ohw-tile:active{transform:scale(.995);}
.ohw-tile:focus-within{border-color:var(--ohw-red);box-shadow:0 0 0 3px var(--ohw-ring);}
.ohw-tile.is-selected{border-color:var(--ohw-red);background:var(--ohw-red-tint);}
.ohw-tile-ic{flex:none;width:24px;height:24px;color:var(--ohw-red);}
.ohw-tile-ic svg{width:100%;height:100%;}
.ohw-box-sm{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:21px;height:21px;border:1.5px solid var(--ohw-strong);border-radius:6px;background:#fff;display:grid;place-items:center;transition:.15s ease;
}
.ohw-box-sm svg{width:12px;height:12px;stroke:#fff;opacity:0;transition:opacity .15s ease;}
.ohw-tile.is-selected .ohw-box-sm{background:var(--ohw-red);border-color:var(--ohw-red);}
.ohw-tile.is-selected .ohw-box-sm svg{opacity:1;}

/* Felder */
.ohw-fields{display:grid;gap:16px;}
.ohw-row2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media (max-width:560px){.ohw-row2{grid-template-columns:1fr;}}
.ohw-field label,.ohw-label{display:block;font-size:14.5px;font-weight:500;margin-bottom:7px;}
.ohw-field input,.ohw-field textarea,.ohw-field select{
  width:100%;padding:15px 16px;border:1.5px solid var(--ohw-line);border-radius:11px;
  font-family:inherit;font-size:16px;color:var(--ohw-ink);background:#fff;transition:border-color .15s ease,box-shadow .15s ease;
}
.ohw-field textarea{min-height:104px;resize:vertical;line-height:1.5;}
.ohw-field input::placeholder,.ohw-field textarea::placeholder{color:var(--ohw-muted);}
.ohw-field input:focus,.ohw-field textarea:focus{outline:none;border-color:var(--ohw-red);box-shadow:0 0 0 3px var(--ohw-ring);}
.ohw-field.has-error input,.ohw-field.has-error textarea{border-color:var(--ohw-danger);}
.ohw-error{display:none;color:var(--ohw-danger);font-size:13.5px;margin-top:6px;}
.ohw-field.has-error .ohw-error{display:block;}
.ohw-opt-note{font-size:13px;color:var(--ohw-muted);font-weight:400;}

/* Segment (Anrede, Wunschzeit) */
.ohw-seg{display:flex;flex-wrap:wrap;gap:9px;}
.ohw-chip{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  padding:12px 20px;border:1.5px solid var(--ohw-line);border-radius:999px;background:#fff;
  font-size:15px;font-weight:500;cursor:pointer;transition:.15s ease;
}
.ohw-chip input{position:absolute;width:1px;height:1px;opacity:0;}
.ohw-chip:hover{border-color:var(--ohw-red);background:var(--ohw-red-tint);}
.ohw-chip:focus-within{box-shadow:0 0 0 3px var(--ohw-ring);}
.ohw-chip.is-selected{border-color:var(--ohw-red);background:var(--ohw-red);color:#fff;}

/* Konkrete Uhrzeiten */
.ohw-slot-wrap[hidden]{display:none;}
.ohw-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin-top:14px;}
.ohw-slots:empty{display:none;}
.ohw-slot{
  position:relative;display:flex;align-items:center;justify-content:center;padding:11px 6px;
  border:1.5px solid var(--ohw-line);border-radius:10px;background:#fff;
  font-size:14.5px;font-weight:500;cursor:pointer;transition:.15s ease;
}
.ohw-slot input{position:absolute;width:1px;height:1px;opacity:0;}
.ohw-slot:hover{border-color:var(--ohw-red);background:var(--ohw-red-tint);}
.ohw-slot:focus-within{box-shadow:0 0 0 3px var(--ohw-ring);}
.ohw-slot.is-selected{border-color:var(--ohw-red);background:var(--ohw-red);color:#fff;}
.ohw-slot-wide{grid-column:1/-1;}
.ohw-slot-note{font-size:13.5px;color:var(--ohw-muted);margin:12px 0 0;line-height:1.5;}
.ohw-slot-note.is-error{color:var(--ohw-danger);}
.ohw-slot-note:empty{display:none;}

.ohw-sub{margin-top:16px;padding-top:18px;border-top:1px solid var(--ohw-line);}
.ohw-sub[hidden]{display:none;}

/* Grüner Hinweis */
.ohw-notice{
  display:flex;gap:11px;align-items:flex-start;margin-top:18px;
  padding:14px 16px;border:1px solid #C8E6D0;border-radius:12px;background:#F1F9F3;
  color:var(--c-green);font-size:14px;line-height:1.55;
}
.ohw-notice svg{width:19px;height:19px;flex:none;margin-top:1px;}

/* Zusammenfassung */
.ohw-sum{margin:22px 0 0;border:1px solid var(--ohw-line);border-radius:12px;overflow:hidden;}
.ohw-sum-row{display:flex;gap:14px;align-items:flex-start;padding:15px 18px;border-bottom:1px solid var(--ohw-line);font-size:15px;}
.ohw-sum-row:last-child{border-bottom:0;}
.ohw-sum-k{flex:0 0 34%;color:var(--ohw-muted);font-size:14px;}
.ohw-sum-v{flex:1;font-weight:500;line-height:1.45;}
.ohw-sum-edit{background:none;border:0;padding:2px 6px;font:inherit;font-size:13.5px;font-weight:500;color:var(--ohw-red);cursor:pointer;border-radius:6px;flex:none;}
.ohw-sum-edit:hover{background:var(--ohw-red-tint);}
@media (max-width:560px){.ohw-sum-row{flex-wrap:wrap;}.ohw-sum-k{flex:0 0 100%;margin-bottom:2px;}}

/* Datenschutz */
.ohw-consent{display:flex;gap:12px;align-items:flex-start;margin-top:24px;cursor:pointer;}
.ohw-consent input{position:absolute;width:1px;height:1px;opacity:0;}
.ohw-box{flex:none;width:22px;height:22px;margin-top:1px;border:1.5px solid var(--ohw-strong);border-radius:6px;background:#fff;display:grid;place-items:center;transition:.15s ease;}
.ohw-box svg{width:13px;height:13px;stroke:#fff;opacity:0;transition:opacity .15s ease;}
.ohw-consent input:checked + .ohw-box{background:var(--ohw-red);border-color:var(--ohw-red);}
.ohw-consent input:checked + .ohw-box svg{opacity:1;}
.ohw-consent input:focus-visible + .ohw-box{box-shadow:0 0 0 3px var(--ohw-ring);}
.ohw-consent-t{font-size:13.5px;line-height:1.55;color:var(--ohw-muted);}
.ohw-consent-t a{color:var(--ohw-red);text-decoration:underline;text-underline-offset:2px;}
.ohw-consent.has-error .ohw-box{border-color:var(--ohw-danger);}

/* Buttons */
.ohw-actions{margin-top:26px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
/* Ohne Zurueck-Knopf steht "Weiter" allein - dann soll er nicht nach rechts
   rutschen, sondern dort bleiben, wo er vorher stand. */
.ohw-actions > .ohw-btn{margin-left:auto;}
.ohw-actions > .ohw-back{margin-left:-8px;}
.ohw-actions > .ohw-btn-wide{width:100%;margin-left:0;}
/* Fehler- und Statuszeile stehen im selben Flex-Container wie die Knoepfe und
   sollen immer eine eigene Zeile darunter bekommen. */
.ohw-actions > .ohw-form-error,
.ohw-actions > .form-status{flex:1 0 100%;margin-left:0;}
.ohw-actions > .ohw-back ~ .ohw-btn-wide{width:auto;margin-left:auto;}
@media (max-width:600px){
  .ohw-actions{flex-direction:row-reverse;justify-content:space-between;}
  .ohw-actions > .ohw-btn{margin-left:0;}
}
.ohw-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--ohw-red);color:#fff;border:0;border-radius:9px;
  padding:16px 30px;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:background .15s ease,transform .1s ease;
}
.ohw-btn:hover{background:var(--ohw-red-dark);}
.ohw-btn:active{transform:translateY(1px);}
.ohw-btn:disabled{opacity:.55;cursor:default;transform:none;}
.ohw-btn[hidden]{display:none;}
.ohw-btn-wide{width:100%;}
@media (max-width:600px){.ohw-btn{width:100%;}}
.ohw-sub-note{text-align:center;font-size:13.5px;color:var(--ohw-muted);margin:12px auto 0;max-width:520px;line-height:1.55;}
.ohw-form-error{display:none;margin-top:14px;padding:13px 15px;border-radius:10px;background:#FBEEEC;color:var(--ohw-danger);font-size:14px;line-height:1.5;}
.ohw-form-error.is-visible{display:block;}

/* Schritte */
.ohw-step{display:none;}
.ohw-step.is-active{display:block;animation:ohw-in .3s cubic-bezier(.22,1,.36,1);}
@keyframes ohw-in{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){.ohw-step.is-active{animation:none;}.ohw-progress-bar{transition:none;}}

/* Danke */
.ohw-done{text-align:center;padding:16px 4px 8px;}
.ohw-done-ic{width:66px;height:66px;border-radius:50%;background:var(--ohw-red-tint);color:var(--ohw-red);display:grid;place-items:center;margin:0 auto 20px;}
.ohw-done-ic svg{width:32px;height:32px;}
.ohw-done h2{font-size:24px;font-weight:600;margin:0 0 10px;}
.ohw-done p{margin:0 auto;max-width:440px;color:var(--ohw-muted);font-size:16px;line-height:1.6;}

.ohw-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0;}

/* Questions use the display face like every heading, but at card scale, not h2 scale. */
.ohw-book .ohw-q { font-size: 1.35rem; line-height: 1.3; }
.ohw-book .ohw-done h2 { font-size: 1.5rem; }
.ohw-book .field__error { display: block; margin-top: .4rem; }
@media (max-width: 600px) { .ohw-book .ohw-q { font-size: 1.2rem; } }
.funnel-wrap { max-width: 50rem; margin-inline: auto; }
/* The funnel changes height per step; the Notfall card rides along beside it. */
@media (min-width: 901px) { .form-layout > .notfall { position: sticky; top: calc(var(--header-h) + 1.5rem); } } /* matches .form-layout going single-column at 900px */

/* ------------------------------------------------------------------ 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] { border-color: var(--c-sky); }
.faq summary { position: relative; padding: 1.15rem 2.5rem 1.15rem 0; cursor: pointer; font-weight: var(--fw-semibold); color: var(--c-ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
/* Toggle: ::before is the blue tile, ::after the two bars of a "+". Opening rotates the bars
   45° into an "×" — a real transition, where swapping the glyph "+" -> "−" could only jump. */
.faq summary::before { content: ""; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 6px; background: var(--c-primary); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; translate: 0 -50%;
  background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 100% no-repeat;
  transition: rotate .3s cubic-bezier(.4, 0, .2, 1);
}
.faq details[open] summary::after { rotate: 45deg; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq__answer { padding: 0 0 1.35rem; max-width: 80ch; }
.faq__answer > * + * { margin-top: .75rem; }
.faq__answer ul { padding-left: 1.25rem; }

/* --------------------------------------------------------- bewerbungs-funnel -- */
/* /kfz-mechatroniker-heidenau: ported from neugebauergruppe.de/karriere (p-karriere.css .funnel) with
   Automot tokens. Without JS (no .is-enhanced) all steps stack and the form works as one long page. */
.funnel__head { display: none; margin-bottom: 1.75rem; }
.funnel.is-enhanced .funnel__head { display: block; }
.funnel.is-enhanced .funnel__step { display: none; }
.funnel.is-enhanced .funnel__step.is-active { display: block; }
.funnel:not(.is-enhanced) .funnel__back, .funnel:not(.is-enhanced) .funnel__next { display: none; }
.funnel:not(.is-enhanced) .funnel__step + .funnel__step { margin-top: 2rem; }
.funnel__actions [hidden] { display: none !important; }
.funnel__count { margin: 0 0 .75rem; font-weight: var(--fw-medium); color: var(--c-ink); }
.funnel__progress { height: 3px; background: var(--c-line); border-radius: 3px; overflow: hidden; }
.funnel__bar { display: block; height: 100%; width: 14.2857%; background: var(--c-primary); border-radius: inherit; transition: width .35s var(--button-025-ease-hover); }
.funnel__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.funnel__q { width: 100%; padding: 0; margin: 0 0 1.25rem; font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight);
  text-transform: var(--display-transform); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: var(--lh-tight); color: var(--c-ink); }
.funnel__q:has(+ .funnel__hint) { margin-bottom: .5rem; }
.funnel__hint { margin: 0 0 1.25rem; font-size: var(--fs-small); color: var(--c-muted); }
.funnel__options { display: grid; gap: .75rem; }
.funnel__opt { position: relative; display: flex; align-items: center; gap: .85rem; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.funnel__opt:hover { border-color: var(--c-sky); }
.funnel__opt span { display: grid; gap: .15rem; font-weight: var(--fw-medium); color: var(--c-ink); }
.funnel__opt small { font-weight: var(--fw-light); font-size: var(--fs-small); color: var(--c-muted); }
.funnel__opt:has(input:checked) { border-color: var(--c-primary); background: var(--c-tint); }
/* own radio: the native input is only hidden, so keyboard and screen readers work unchanged */
.funnel__opt input { position: absolute; opacity: 0; pointer-events: none; }
.funnel__opt::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; border: 1px solid var(--c-line); border-radius: 50%; background: #fff; transition: border-color .2s, box-shadow .2s; }
.funnel__opt:has(input:checked)::before { border-color: var(--c-primary); box-shadow: inset 0 0 0 .3125rem var(--c-primary); }
.funnel__opt:has(input:focus-visible)::before { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.funnel__sub { margin-top: 1rem; }
.funnel:not(.is-enhanced) .funnel__sub { display: none; }
.funnel:not(.is-enhanced) .funnel__step:has([data-funnel-reveal]:checked) .funnel__sub { display: block; }
.funnel__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
/* direct children only: inside .funnel__row the two fields sit side by side and must stay level */
.funnel__step > .field + .field, .funnel__row + .field, .funnel__step > .field + .funnel__row { margin-top: 1rem; }
@media (max-width: 600px) { .funnel__row { grid-template-columns: minmax(0, 1fr); } }
.funnel .consent { margin-top: 1.25rem; }
.funnel__note { margin: .75rem 0 0; font-size: var(--fs-small); color: var(--c-muted); }
.funnel__error { margin: 1rem 0 0; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--c-red); }
.funnel__actions { display: flex; align-items: center; gap: .75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.funnel__actions .funnel__next, .funnel__actions .funnel__submit { margin-left: auto; }

/* ------------------------------------------------------------- contact --- */
.contact-list { list-style: none; padding: 0; display: grid; gap: .9rem; margin-top: 1.5rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; color: var(--c-primary); flex: 0 0 auto; margin-top: .15rem; }
.contact-list a { text-decoration: none; color: var(--c-ink); }
.contact-list a:hover { text-decoration: underline; color: var(--c-primary); }
.contact-list--flush { margin-top: 0; }
/* The facade needs a visible frame: on a .section--surface band its own --c-surface fill was
   identical to the band, so the placeholder read as a button floating in empty space. */
.map-embed { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-line); aspect-ratio: 16 / 9; }
.section--surface .map-embed, .section--surface .map-facade { background: var(--c-bg); }
.map-embed--wide { aspect-ratio: 3 / 1; }
.map-embed--sm { aspect-ratio: 4 / 3; }
.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); }
.map-embed--wide .map-facade { gap: .6rem; }
@media (max-width: 720px) { .map-embed--wide { aspect-ratio: 4 / 3; } }
.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); background: #fff; }
.contact-card h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.contact-card__group + .contact-card__group { margin-top: 1.1rem; }
.contact-card__group h3 { font-size: var(--fs-small); display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.contact-card__group h3 svg { width: 16px; height: 16px; color: var(--c-primary); }
.contact-card__group p { color: var(--c-text); padding-left: 1.5rem; font-size: var(--fs-small); }
.contact-card__group a { color: var(--c-ink); text-decoration: none; }
.contact-card__group a:hover { color: var(--c-primary); text-decoration: underline; }
.contact-card .button-025 { margin-top: 1.25rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
/* Home "Sprechen Sie uns an": the map + person-card column is far taller than the form, so the
   form rides along below the sticky header while that column scrolls past, instead of ending
   halfway down the section. (align-items:start above is what lets a grid item stick.) */
@media (min-width: 861px) {
  .contact-layout > .form-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
/* Where the map is a direct sibling of the location card (/kontakt "Besuchen Sie uns") the two
   read as one pair, so the map matches the card's height instead of leaving a gap under it.
   On / the map sits nested inside a column, so this deliberately does not apply there. */
@media (min-width: 861px) {
  .contact-layout:has(> .map-embed) { align-items: stretch; }
  .contact-layout > .map-embed { aspect-ratio: auto; min-height: 320px; }
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.person-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.person-card img { width: 64px; height: 64px; object-fit: cover; object-position: 50% 10%; border-radius: var(--radius); flex: none; } /* square crop of a 2:3 portrait: keep the head, not the middle */
.person-card h3 { font-size: 1.05rem; }
.person-card p { font-size: var(--fs-small); color: var(--c-primary); }
.person-card .contact-list { margin-top: .75rem; gap: .4rem; font-size: var(--fs-small); }
.person-card--stack { flex-direction: column; align-items: flex-start; }

/* ------------------------------------------------------------------ team --- */
.team-card { background: #fff; border-radius: var(--radius-lg); padding: .75rem .75rem 1.25rem; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.team-card h3 { font-size: 1.1rem; margin-top: .9rem; }
.team-card p { font-size: var(--fs-small); color: var(--c-muted); margin-top: .1rem; }
.team-card__links { display: flex; flex-direction: column; gap: .15rem; margin-top: .6rem; font-size: var(--fs-small); font-style: italic; }
.team-card__links a { text-decoration: none; }
.team-card__links a:hover { text-decoration: underline; }
.team-card--portrait img { aspect-ratio: 9 / 16; }
.team-card .btn-row { margin-top: .75rem; }
/* The two CTAs differ in label length, so free-flowing flex wrapped card by card.
   One column below the card grid's 2-up breakpoint keeps every card identical. */
@media (max-width: 900px) {
  .team-card .btn-row { display: grid; gap: .5rem; }
  .team-card .btn-row .button-025 { width: 100%; }
}

/* ----------------------------------------------------------------- stats --- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); text-align: center; margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.stat__n { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); color: var(--c-primary); line-height: 1.1; }
.stat__label { font-size: var(--fs-small); margin-top: .35rem; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ------------------------------------------------------------- process --- */
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); text-align: center; }
/* Ablauf steps (Inspektion, Reparatur, Diagnose): styled like the Vorteile cards, inverted for a white
   band — light-grey tiles on white instead of white on grey; square brand icon tile; hover lift above. */
.process > * { background: var(--c-surface); border: 1px solid transparent; border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.process .card__icon--round { width: 44px; height: 44px; border-radius: var(--radius); background: var(--c-tint); color: var(--c-primary); }
.process h3 { margin-top: 0; margin-bottom: .5rem; font-size: 1.125rem; }
.process p { font-size: var(--fs-small); max-width: 34ch; margin-inline: auto; }
@media (max-width: 720px) { .process { grid-template-columns: 1fr; } }
/* Ankauf process (auto-verkaufen): Osmo "Step-by-step Timeline", driven by scripts/step-timeline.js.
   The line fills with the scroll; a step turns active (marker filled) once the fill reaches it, and
   the current one carries a ring and full-strength copy. Ported from ah-odenwaelder.de, in Automot blue.
   Heading column sticks beside the steps on wide screens. */
.step-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.step-split__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.step-split__head h2 { margin-bottom: 1rem; }
.step-split__head .btn-row { margin-top: 1.75rem; }
@media (max-width: 900px) {
  /* minmax(0, …): the phone step row scrolls sideways; a bare 1fr track would grow to its width */
  .step-split { grid-template-columns: minmax(0, 1fr); }
  .step-split__head { position: static; }
}
.step-timeline__wrapper { position: relative; }
.step-timeline__list { display: flex; flex-direction: column; gap: clamp(3rem, 2rem + 3vw, 5.5rem); list-style: none; margin: 0; padding: 0; }
.step-timeline__item { display: flex; align-items: flex-start; gap: clamp(1.25rem, .75rem + 1.5vw, 2.5rem); position: relative; }
.step-timeline__line { pointer-events: none; position: absolute; top: 0; bottom: 0; left: calc(1.5rem - 1px); width: 2px; background: rgba(0, 63, 131, .14); }
.step-timeline__fill { position: absolute; inset: 0; background: var(--c-primary); transform-origin: 50% 0; }
.step-timeline__marker {
  position: relative; flex: none; display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--radius-pill); border: 1px solid var(--c-sky); background: #fff;
  color: var(--c-ink); font-size: 15px; font-weight: var(--fw-semibold); line-height: 1;
  transition: background .4s cubic-bezier(.645, .045, .355, 1), color .4s cubic-bezier(.645, .045, .355, 1),
    border-color .4s cubic-bezier(.645, .045, .355, 1), box-shadow .4s cubic-bezier(.645, .045, .355, 1);
}
[data-step-timeline-item][data-status="active"] [data-step-timeline-marker] { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
[data-step-timeline-item][data-current] [data-step-timeline-marker] { box-shadow: 0 0 0 .5em rgba(0, 63, 131, .14); }
.step-timeline__content { display: flex; flex-direction: column; gap: 12px; max-width: 38rem; min-width: 0; padding-top: 6px; transition: opacity .25s; }
/* Kontrast: .28 ergab auf dem hellen Grund nur 2,1:1. Ab .65 sind auch die noch nicht
   erreichten Schritte lesbar (5,4:1), der Fortschritt bleibt trotzdem sichtbar. */
[data-step-timeline-item] .step-timeline__content { opacity: .65; }
[data-step-timeline-item][data-status="active"] .step-timeline__content { opacity: .82; }
[data-step-timeline-item][data-current] .step-timeline__content { opacity: 1; }
.step-timeline__content-h { margin: 0; font-family: var(--font-sans); font-style: normal; text-transform: none; font-size: 20px; font-weight: var(--fw-semibold); letter-spacing: 0; line-height: 1.3; }
.step-timeline__p { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); }
.step-timeline__content img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); margin-top: .5rem; }
/* Phones: a swipeable row — number above heading and copy, no vertical progress line. Without scroll
   progress there is no "current" step, so every step reached stays at full strength. */
@media (max-width: 767px) {
  .step-timeline__line { display: none; }
  .step-timeline__list {
    flex-direction: row; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    padding-block: 12px 10px; /* room for the current marker's ring, which the scroller would clip */
  }
  .step-timeline__list::-webkit-scrollbar { display: none; }
  .step-timeline__item { flex: 0 0 calc(100vw - var(--gutter) * 2.5); flex-direction: column; gap: 16px; scroll-snap-align: start; }
  .step-timeline__content { max-width: none; padding-top: 0; }
  .step-timeline__content-h { font-size: 18px; }
  [data-step-timeline-item] .step-timeline__content { opacity: .7; }
  [data-step-timeline-item][data-current] .step-timeline__content,
  [data-step-timeline-item][data-status="active"] .step-timeline__content { opacity: 1; }
}

/* ---------------------------------------------------------- job / values --- */
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; }
.job-card h3 { font-size: 1.3rem; }
.job-card p { margin-top: 1rem; max-width: 60ch; font-size: var(--fs-small); }
.job-card h4 { margin-top: 1.25rem; font-size: var(--fs-small); }
@media (max-width: 640px) { .job-card { grid-template-columns: 1fr; } }
/* Offene Stellen als Linkkarten (/ueber-uns), Muster ah-odenwaelder.de .joblink; die ganze Karte ist klickbar. */
.joblist { display: grid; gap: 1rem; margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem); text-align: left; }
.jobcard__meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.jobcard__meta span { display: inline-flex; align-items: center; gap: .4rem; font-size: 13px; color: var(--c-muted); background: var(--c-surface); padding: 5px 12px; border-radius: var(--radius-pill); }
.jobcard__meta svg { width: 14px; height: 14px; flex: none; color: var(--c-primary); }
.joblink { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 20px 24px; color: var(--c-ink); text-decoration: none;
  transition: translate .3s var(--button-025-ease-hover), box-shadow .3s var(--button-025-ease-hover), border-color .3s var(--button-025-ease-hover); }
.joblink:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); border-color: var(--c-sky); text-decoration: none; }
.joblink__title { display: block; font-size: 17px; font-weight: var(--fw-semibold); margin-bottom: 10px; }
.joblink__arrow { flex: none; color: var(--c-primary); transition: transform .3s var(--button-025-ease-hover); }
.joblink:hover .joblink__arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .joblink, .joblink:hover { transition: none; translate: none; } }
.value { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); text-align: center; }
.value h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.value p { font-size: var(--fs-small); }
.benefit { display: flex; align-items: center; gap: 1rem; background: var(--c-surface); border-radius: var(--radius-lg); padding: 1rem 1.25rem; }
.benefit .card__icon { margin: 0; flex: none; width: 42px; height: 42px; border-radius: var(--radius-pill); background: var(--c-tint); color: var(--c-primary); }
.benefit h3 { font-size: var(--fs-small); font-weight: var(--fw-medium); }
.benefit--card { background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); }
.info-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .85rem; align-items: flex-start; }
.info-list h3 { font-size: 1rem; margin-bottom: .2rem; }
.info-list p { font-size: var(--fs-small); }
.info-list .card__icon { margin: 0; flex: none; width: 40px; height: 40px; }

/* ------------------------------------------------------------ bosch badge -- */
.bosch-badge { display: flex; gap: 1rem; align-items: center; margin-top: 1.25rem; }
.bosch-badge img { width: 64px; height: 64px; border-radius: 6px; flex: none; }
.bosch-badge p { margin: 0; font-size: var(--fs-small); }

/* ------------------------------------------------------------ links page --- */
.links-page { max-width: 480px; margin-inline: auto; text-align: center; }
.links-page__logo img { width: 200px; margin-inline: auto; }
.links-page h1 { margin-top: 1.5rem; }
.links-page .lead { margin-top: 1rem; }
.links-page__list { display: grid; gap: .75rem; margin-top: 2rem; }
.links-page__list .button-025 { width: 100%; }
/* Icon vor dem Label — nur hier, damit die ~120 Buttons der übrigen Seiten unberührt bleiben. */
.links-page__list .button-025__default-inner,
.links-page__list .button-025__hover-inner { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; }
.links-page__list .button-025 .ion { width: 1.15em; height: 1.15em; flex: none; }
/* WhatsApp und Telefon teilen sich eine Zeile — kurze Labels, passt bis 320 px. */
.links-page__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.links-page__row .button-025 { min-width: 0; }
.links-page__social { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.links-page__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill);
  border: 1px solid var(--c-line); color: var(--c-primary); transition: background-color .2s, color .2s, border-color .2s;
}
.links-page__social a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.links-page__social svg { width: 20px; height: 20px; }
.links-page__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin-top: 2rem; font-size: var(--fs-small); }

/* ----------------------------------------------------------------- danke --- */
.thanks { text-align: center; max-width: 720px; margin-inline: auto; }
.thanks__icon { width: 72px; height: 72px; border-radius: var(--radius-pill); background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center; margin: 0 auto 1.5rem; }
.thanks__icon svg { width: 36px; height: 36px; }
.thanks .grid { margin-top: 2rem; text-align: left; }

/* ----------------------------------------------------------------- prose -- */
.prose { max-width: 78ch; }
/* Legal pages keep the body face for their section headings — readable across ~40 headings
   of Datenschutz copy where Serpentine italic would not be. */
.prose h2, .prose h3 { font-family: var(--font-sans); font-style: normal; text-transform: none; font-weight: var(--fw-semibold); 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; }
.prose .toc { background: var(--c-surface); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem 1.25rem 2.5rem; }

/* -------------------------------------------------------------- footer --- */
/* The live footer is light: centred logo + claim + three buttons, four columns, thumbnail
   strip, bottom bar. */
.site-footer { background: var(--c-bg); border-top: 1px solid var(--c-line); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 1.5rem; font-size: var(--fs-small); }
/* The rule spans the container like .site-footer__bottom's does; only the copy keeps the
   560px measure, so the two footer dividers line up instead of one being half as wide. */
.site-footer__brand { text-align: center; padding-bottom: clamp(1.75rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--c-line); margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.5rem); }
.site-footer__brand img { width: 180px; margin-inline: auto; }
.site-footer__brand p { max-width: 560px; margin-inline: auto; margin-top: 1rem; }
.site-footer__actions { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.site-footer__actions .button-025[data-theme="outline-light"] { --button-025-color: var(--c-primary); --button-025-border: 2px solid var(--c-primary); --button-025-hover-color: #fff; --button-025-hover-color-background: var(--c-primary); --button-025-hover-border: 2px solid var(--c-primary); --button-025-color-focus: var(--c-primary-bright); }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr .8fr 1.4fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.site-footer h2 { font-family: var(--font-sans); font-style: normal; text-transform: none; letter-spacing: 0; font-size: var(--fs-body); font-weight: var(--fw-semibold); margin-bottom: .9rem; }
.site-footer__sub { margin-top: 1.5rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--c-text); text-decoration: none; }
.site-footer a:hover { color: var(--c-primary); text-decoration: underline; }
.site-footer a[aria-current="page"] { color: var(--c-primary); }
.site-footer__badge { display: inline-block; margin-left: .35rem; padding: .1rem .5rem; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-size: .7rem; font-weight: var(--fw-medium); vertical-align: middle; }
.site-footer__social { display: flex !important; gap: .75rem; }
.site-footer__social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius); border: 1px solid var(--c-line); color: var(--c-ink); }
.site-footer__social a:hover { background: var(--c-tint); border-color: var(--c-primary); color: var(--c-primary); }
.site-footer__social svg { width: 16px; height: 16px; }
.site-footer__bottom {
  position: relative; 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 var(--c-line); color: var(--c-muted);
}
@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, light variant. */
.site-footer__bottom .br-mobile { display: none; } /* line break only on mobile, see mobile refinements */
.site-footer__bottom .inception {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .7rem; line-height: 1;
  color: var(--c-muted); text-decoration: none; border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: color .2s ease, border-color .2s ease;
}
.site-footer__bottom .inception:hover, .site-footer__bottom .inception:focus-visible { color: var(--c-ink); border-color: var(--c-steel); text-decoration: none; }
.site-footer__bottom .inception__logo { width: auto; height: 18px; flex: none; display: block; }
.site-footer__bottom .inception__preview {
  position: absolute; left: 50%; bottom: calc(100% + .7rem); z-index: 20; translate: -50% 0;
  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; 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; } }

/* -------------------------------------------------------------- misc ---- */
.hidden-mobile { display: block; }
@media (max-width: 640px) { .hidden-mobile { display: none; } }
.error-page { text-align: center; max-width: 620px; margin-inline: auto; }
.error-page__code { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(5rem, 3rem + 8vw, 9rem); color: var(--c-primary); line-height: 1; }

/* ------------------------------------------------------ mobile refinements --- */
@media (max-width: 860px) {
  /* stacked portraits: square, centred crop */
  .split__media--portrait img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
}
@media (max-width: 720px) {
  /* home hero in exactly three lines ("Automot" / "Ihr Autohaus" / "in Heidenau"): the claim is ~7.75em
     wide, so the size follows the column */
  .hero__title { font-size: min(var(--fs-hero), calc((100vw - var(--gutter) * 2) / 8)); }
  .hero__title .hero__claim { white-space: nowrap; }
  .hero__title .accent { display: block; }
  /* every text button spans its container with a centred label (icon controls are no .button-025) */
  .button-025 { width: 100%; }
  .map-facade { justify-content: stretch; justify-items: stretch; }
  .ti-facade { justify-items: stretch; }
  .leistungen__cta { justify-self: stretch; }
  .funnel__actions > .button-025 { flex: 1 1 0; margin-left: 0; }
  .ohw-actions > .ohw-btn { flex: 1 1 auto; }
  /* footer: "Fahrzeug finden" on its own line, Verkaufen + Werkstatt side by side below */
  .site-footer__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__actions > :first-child { grid-column: 1 / -1; }
  /* below the footer rule: copyright and credit badge stacked and centred */
  .site-footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
  .site-footer__bottom .br-mobile { display: inline; } /* "…Transportmittel- u." / "Handelsges. mbH" */
  /* Autegro Ankaufsformular: the widget pads its card 16px inside its shadow DOM; pull the slot out by
     exactly that, so the card lines up with the other full-width elements */
  .ankauf-bg__form, .sell-form .autegro-slot { margin-inline: -1rem; max-width: none; }
  /* Autoankauf steps (/auto-verkaufen): heading and intro stay on top, the CTA follows the steps */
  .step-split { gap: 0; }
  .step-split__head { display: contents; }
  .step-split__head > p { margin-bottom: 2.25rem; }
  .step-split__head .btn-row { order: 1; margin-top: 2.25rem; }
  /* CTAs always after the content they belong to */
  .hero-split__grid:not(.hero-split__grid--form) { gap: 0; }
  .hero-split__grid:not(.hero-split__grid--form) > :first-child { display: contents; }
  .hero-split__grid:not(.hero-split__grid--form) .hero__actions { order: 1; margin-top: 1.75rem; }
  .hero-split__grid:not(.hero-split__grid--form) > .hero-split__media { margin-top: 2rem; }
  .split:has(> .split__body .btn-row) { gap: 0; }
  .split:has(> .split__body .btn-row) > .split__body { display: contents; }
  .split:has(> .split__body .btn-row) > .split__media:first-child { margin-bottom: 1.5rem; }
  .split:has(> .split__body .btn-row) > .split__media:not(:first-child) { margin-top: 1.5rem; }
  .split:has(> .split__body .btn-row) .split__body .btn-row { order: 1; }
  .sell-hero__inner { display: flex; flex-direction: column; }
  .sell-hero__inner > .btn-row { order: 1; align-self: stretch; margin-inline: 0; }
  .leistungen__cta { order: 1; margin: 1.5rem 0 0; }
  .container--narrow:has(> .joblist) { display: flex; flex-direction: column; }
  .container--narrow:has(> .joblist) > .btn-row { order: 1; margin-top: 1.75rem; }
  /* partner strip: title centred above the logos; each logo above its name, text flush with the logo's
     left edge; equal logo boxes keep both names on one line, wider gap between the partners */
  .partners .container { flex-direction: column; align-items: center; gap: 1rem; }
  .partners__row { justify-content: center; gap: 5rem; }
  .partner { flex-direction: column; align-items: flex-start; text-align: left; gap: .5rem; }
  .partner__logo { height: 2.25rem; display: flex; align-items: center; }
}


/* Datenschutz: cookie table */
.table-scroll { overflow-x: auto; margin-block: 1rem; }
.cookie-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-small); }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: .55rem .7rem; border-bottom: 1px solid var(--c-line); }
.cookie-table th { color: var(--c-ink); font-weight: var(--fw-semibold); background: var(--c-surface); }
