/* ═══════════════════════════════════════════════════
   LEMAR AUTOMOBILE – Stylesheet
   ═══════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────
   Manrope, vom eigenen Server

   Keine Verbindung zu Google, kein Einwilligungsbanner,
   nichts in der Datenschutzerklärung. Die Dateien liegen
   in /fonts/ und werden vom selben Server ausgeliefert
   wie die Seite.

   Lizenz: SIL Open Font License 1.1 (fonts/OFL.txt) —
   Selbst-Hosten ist ausdrücklich erlaubt.

   Manrope ist eine variable Schrift: eine Datei trägt
   jedes Gewicht von 200 bis 800, daher "font-weight:
   200 800" statt eines festen Werts. Der zweite Block
   greift nur, wenn osteuropäische Buchstaben oder
   Sonderzeichen auf der Seite vorkommen — sonst lädt
   der Browser ihn gar nicht erst.

   Zusammen rund 40 KB.
   ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/Manrope-Regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/Manrope-LatinExt.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-primary:    #2A9B2A;
  --color-primary-dk: #1E7B1E;
  --color-dark:       #111418;
  --color-dark-2:     #1C2128;
  --color-mid:        #3A4150;
  --color-muted:      #6B7280;
  --color-border:     #E5E7EB;
  --color-bg:         #FFFFFF;
  --color-bg-alt:     #F8F9FA;
  --color-text:       #1F2937;

  --font:    'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius:  10px;
  --shadow:  0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --transition: 200ms ease;

  --container: 1120px;
  --nav-h: 68px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ─── Accessibility: Skip-Link + globaler Fokus-Ring ─── */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-200%);
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 3px 0;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: -6px;
}
/* Globaler Fokus-Ring für alle interaktiven Elemente ohne eigene Regel */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Reduced-Motion respektieren: bei Nutzern die weniger Animation wollen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a:not(.btn),
/* Links erben standardmäßig die Textfarbe und sind nicht unterstrichen.
   Wichtig: bewusst niedrige Spezifität (0,0,1,1). Vorher stand hier
   a:not(.btn):link, :visited, :hover usw. Durch die Pseudoklassen war die
   Regel spezifischer als jede Komponenten-Regel und hat alle bewusst
   eingefärbten Links (Kontaktdaten, FAQ, Impressum, Breadcrumb) grau
   überschrieben. Jetzt gewinnen spätere Regeln wie .contact-item a. */
a:not(.btn) {
  color: inherit;
  text-decoration: none !important;
  text-decoration-line: none !important;
}
a.btn { text-decoration: none !important; }
.contact-item a:hover { text-decoration: underline !important; text-decoration-line: underline !important; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
/* Animierter Unterstrich — läuft von links ein bei Hover */
.btn::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: .55rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}
.btn-primary::after  { background: #fff; }
.btn-outline::after  { background: var(--color-primary); }
.btn:hover::after    { transform: scaleX(1); }
.btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(42,155,42,.35);
}
.btn-primary:hover { background: var(--color-primary-dk); box-shadow: 0 4px 14px rgba(42,155,42,.4); }
.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-nav {
  background: var(--color-primary);
  color: #fff !important;
  padding: .7rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(42,155,42,.35);
}
.btn-nav:hover {
  background: var(--color-primary-dk);
  box-shadow: 0 4px 14px rgba(42,155,42,.4);
}
.btn-nav svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-whatsapp {
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border-radius: 50% !important;
  justify-content: center;
}
.btn-whatsapp:hover { transform: none; }
.contact-form .btn-primary:hover { transform: none; }
/* Kontakt-Sektion + Google-Maps-Consent: Buttons ebenfalls kantig (3px) */
.contact-form .btn,
.map-consent .btn { border-radius: 3px; }
/* Submit-Button im Kontaktformular = btn-action-Style (wie Anrufen / Kontaktformular im Akkordeon) */
.btn-action-full {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  justify-content: center;
}
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.btn-whatsapp:hover svg {
  transform: rotate(360deg);
}
.btn-full { width: 100%; justify-content: center; }

/* ─── Typography helpers ─── */
.section-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .8rem;
}
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
em { font-style: normal; color: var(--color-primary); }

/* ─── Sections ─── */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--color-bg-alt); }
.section-header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 3rem; }
.section-intro { margin-top: .75rem; color: var(--color-muted); font-size: 1.05rem; }

/* ─── NAV ─── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: .5rem;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--color-dark);
}
.logo-text strong { font-weight: 800; color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  position: relative;
  padding: .45rem .15rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-mid);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: .15rem;
  right: .15rem;
  bottom: .15rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--color-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.btn-nav { text-decoration: none; }
.nav-links a.btn-nav::after { display: none; }
.nav-links li { margin: 0 .35rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
/* Auto-Icon neben dem Burger, nur mobil sichtbar */
.nav-cars-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  color: var(--color-primary);
  background: rgba(42,155,42,.08);
  transition: background 0.15s, color 0.15s;
  margin-left: auto;
}
.nav-cars-mobile:hover {
  background: var(--color-primary);
  color: #fff;
}
.nav-cars-mobile svg { width: 22px; height: 22px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding-block: 3rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 60%, #2a1a18 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(42,155,42,.18) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-content > * { max-width: 720px; }
/* Bewusst ohne Rahmen und ohne Hintergrund: die umrandete Pille wirkt
   nach Baukasten. Nur der Text, das reicht als Einstieg. */
.hero-badge {
  display: inline-block;
  color: #6ee86e;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-content h1 { color: #fff; margin-bottom: 1rem; }
.hero-sub { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 540px; margin-bottom: 2rem; }
/* Hero-H1: kompaktere Schrift, em-Teil etwas kleiner aber weiterhin fett */
.hero h1 { font-size: clamp(1.5rem, 3.8vw, 2.4rem); line-height: 1.15; }
.hero h1 em { font-size: .82em; font-style: normal; font-weight: 800; color: var(--color-primary); display: inline-block; margin-top: .35rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 3rem; }
.hero-cta .btn { border-radius: 3px; flex: 0 0 200px; justify-content: center; }
@media (max-width: 480px) {
  .hero-cta .btn { flex: 1 1 100%; }
}
.hero-cta .btn-outline {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}

/* Hero-Buttons: kein translateY/Background-Wechsel, Farben bleiben wie im Hero */
.hero-cta .btn:hover { transform: none; box-shadow: 0 2px 8px rgba(42,155,42,.35); }
.hero-cta .btn-primary:hover { background: var(--color-primary); }
.hero-cta .btn-outline:hover { background: #fff; border-color: #fff; color: var(--color-primary); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { color: #fff; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat span { font-size: .8rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] {
  border-color: rgba(42,155,42,.3);
  box-shadow: 0 2px 12px rgba(42,155,42,.08);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-primary); }
.faq-answer {
  padding: 0 1.4rem 1.2rem;
  color: var(--color-text);
  line-height: 1.65;
  font-size: .95rem;
}
.faq-answer a { color: var(--color-primary); font-weight: 500; }
.faq-answer a:hover { text-decoration: underline !important; text-decoration-line: underline !important; }

/* ─── LEGAL PAGES (Impressum / Datenschutz) ─── */
.legal-container { max-width: 760px; }
.legal-header { margin-bottom: 2.5rem; }
.legal-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: .5rem;
}
.legal-meta { color: var(--color-muted); font-size: .9rem; }
.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 2rem;
  margin-bottom: .6rem;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--color-text); margin-bottom: 1rem; line-height: 1.7; }
.legal-content ul { margin: 0 0 1rem 1.25rem; }
.legal-content ul li { color: var(--color-text); margin-bottom: .35rem; line-height: 1.65; list-style: disc; }
.legal-content a { color: var(--color-primary); font-weight: 500; }
.legal-content a:hover { text-decoration: underline !important; text-decoration-line: underline !important; }
.legal-content em { color: var(--color-muted); font-style: italic; }
.legal-source {
  margin-top: 2rem;
  font-size: .8rem;
  color: var(--color-muted);
}
.legal-source a { color: var(--color-muted); }
.legal-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.legal-back a { font-weight: 500; color: var(--color-primary); }

/* ─── COOKIE BANNER ─── */
/* ─── Cookie-Banner (kompakte Karte unten rechts) ─── */
.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  width: 380px;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }

.cookie-banner-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cookie-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  background: rgba(42,155,42,.1);
  color: var(--color-primary);
  flex-shrink: 0;
}
.cookie-banner-icon svg { width: 20px; height: 20px; }
.cookie-banner-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: #0f1115;
  line-height: 1.3;
}
.cookie-banner-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.cookie-banner-close:hover { background: #f3f4f6; color: #111827; }
.cookie-banner-close svg { width: 16px; height: 16px; }

.cookie-banner-message {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}
.cookie-banner-message a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.cookie-btn-primary {
  padding: 0.6rem 0.9rem;
  border: none;
  border-radius: 3px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.cookie-btn-primary:hover { background: var(--color-primary-dk); }
.cookie-btn-secondary {
  padding: 0.6rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  background: #fff;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.cookie-btn-secondary:hover { background: #f9fafb; }

.cookie-banner-customize {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: center;
  padding: 0.35rem 0.6rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}
.cookie-banner-customize:hover { color: var(--color-primary); }
.cookie-banner-customize svg { width: 12px; height: 12px; transition: transform 0.2s; }
.cookie-banner-customize[aria-expanded="true"] svg { transform: rotate(180deg); }

.cookie-prefs {
  border-top: 1px solid #e5e7eb;
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cookie-prefs[hidden] { display: none !important; }
.cookie-pref {
  display: flex;
  gap: 0.6rem;
  padding: 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  align-items: flex-start;
}
.cookie-pref-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: transparent;
  margin-top: 0.1rem;
  transition: all 0.15s;
}
.cookie-pref-check:hover:not(.locked) { border-color: var(--color-primary); }
.cookie-pref-check.locked {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
}
.cookie-pref-check[aria-checked="true"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.cookie-pref-check svg { width: 12px; height: 12px; }
.cookie-pref-info { flex: 1; min-width: 0; }
.cookie-pref-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.cookie-pref-tag {
  font-size: 0.65rem;
  color: #6b7280;
  font-weight: 500;
  background: #f3f4f6;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cookie-pref-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #6b7280;
  margin: 0;
}
.cookie-prefs-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.cookie-prefs-actions button {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
}

@media (max-width: 480px) {
  .cookie-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-width: none;
  }
  .cookie-banner-card { padding: 1rem; }
}

/* ─── SCROLL-TO-TOP BUTTON ─── */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 91;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), background var(--transition),
              color var(--transition), opacity var(--transition),
              box-shadow var(--transition);
  opacity: 0;
  pointer-events: none;
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 22px rgba(42,155,42,.35);
}
.scroll-top:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}
.scroll-top svg { display: block; }
@media (max-width: 600px) {
  .scroll-top {
    right: 12px;
    bottom: 80px;
    width: 36px;
    height: 36px;
  }
}

/* ─── KEKS-KNOPF (floating, unten links) ─── */
/* Dauerhaft sichtbar, anders als der Nach-oben-Knopf: er ist der einzige
   Weg, die Einwilligung nachträglich zu ändern, ohne bis in den Fuß zu
   scrollen. Sitzt links, rechts liegen schon Badge und Scroll-Knopf. */
.cookie-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 91;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), opacity var(--transition);
}
.cookie-fab svg { width: 24px; height: 24px; display: block; }
.cookie-fab:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 22px rgba(42,155,42,.35);
}
.cookie-fab:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
/* Solange der Hinweis offen ist, wäre der Knopf doppelt gemoppelt */
.cookie-fab.is-hidden { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .cookie-fab { left: 12px; bottom: 12px; width: 40px; height: 40px; }
  .cookie-fab svg { width: 21px; height: 21px; }
}

/* ─── GOOGLE REVIEWS BADGE (floating) ─── */
.google-badge {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem 1rem .7rem .8rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  text-decoration: none !important;
  transition: transform var(--transition), box-shadow var(--transition);
}
.google-badge:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.google-badge-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.google-badge-logo svg { width: 30px; height: 30px; display: block; }
.google-badge-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  line-height: 1.15;
}
.google-badge-rating {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
}
.google-badge-stars {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.google-badge-stars .stars-base,
.google-badge-stars .stars-fill {
  display: flex;
  gap: 1px;
}
.google-badge-stars .stars-fill {
  position: absolute;
  inset: 0;
  width: var(--rating, 100%);
  overflow: hidden;
}
.google-badge-stars svg { width: 12px; height: 12px; flex-shrink: 0; }
.google-badge-count {
  font-size: .72rem;
  color: var(--color-muted);
  margin-top: .1rem;
}
@media (max-width: 600px) {
  .google-badge {
    right: 12px;
    bottom: 12px;
    padding: .55rem .8rem .55rem .65rem;
    gap: .65rem;
  }
  .google-badge-logo svg { width: 26px; height: 26px; }
  .google-badge-rating { font-size: 1rem; }
}

/* ─── MARKEN-MARQUEE (innerhalb Fahrzeuge-Sektion) ─── */
.brands {
  margin-top: 1.5rem;
  padding-block: 1.25rem;
}
.brands-title {
  text-align: center;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
  opacity: .8;
}
.brands-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.brands-track {
  display: flex;
  width: max-content;
  gap: 2.75rem;
  align-items: center;
  animation: marquee 45s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.brands:hover .brands-track { animation-play-state: paused; }
.brand-name {
  flex-shrink: 0;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--color-mid);
  opacity: .55;
  transition: opacity var(--transition), color var(--transition);
  white-space: nowrap;
}
.brand-name:hover { opacity: 1; color: var(--color-primary); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─── ÜBER UNS ─── */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.section-text h2 { margin-bottom: 1rem; }
.section-text p { color: var(--color-muted); margin-bottom: .75rem; }
.section-text p:last-of-type { margin-bottom: 1.25rem; }

.check-list { display: flex; flex-direction: column; gap: .5rem; }
.check-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--color-mid);
  font-size: .95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.image-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--color-muted);
  font-size: .9rem;
}
.image-placeholder svg { width: 80px; height: 60px; }
.section-image-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow);
  display: block;
}

/* ─── CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.card {
  --hue: 120;            /* grüner Spotlight-Hue passend zur Marke */
  --spotlight: 280px;

  position: relative;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(
      var(--spotlight) var(--spotlight) at
      calc(var(--x, 0) * 1px)
      calc(var(--y, 0) * 1px),
      hsla(var(--hue), 60%, 50%, .025),
      transparent 70%
    ),
    var(--color-bg);
  background-attachment: fixed, scroll;
  background-size: 100% 100%, 100% 100%;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow var(--transition);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    calc(var(--spotlight) * .6) calc(var(--spotlight) * .6) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsla(var(--hue), 80%, 40%, .9),
    transparent 70%
  );
  background-attachment: fixed;
  background-size: 100% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: brightness(1.15);
  pointer-events: none;
  z-index: 1;
}
.card > * { position: relative; z-index: 2; }
.card:hover { box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(42,155,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-primary);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  color: var(--color-primary);
  margin-bottom: .5rem;
  font-size: 1.15rem;
}
.card p { color: var(--color-muted); font-size: .9rem; margin: 0; }

/* ─── MOBILE.DE BANNER ─── */
.mobilede-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem;
}
.mobilede-banner:hover {
  border-color: #FF6600;
  box-shadow: 0 6px 24px rgba(255,102,0,.15);
}
.mobilede-banner-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.mobilede-logo svg { width: 120px; height: 32px; }
.mobilede-logo-img { width: auto; height: 52px; object-fit: contain; display: block; }
.mobilede-banner-text { display: flex; flex-direction: column; gap: .2rem; }
.mobilede-banner-text strong { font-size: 1rem; font-weight: 700; color: var(--color-dark); }
.mobilede-banner-text span { font-size: .875rem; color: var(--color-muted); }
.mobilede-banner-right {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.mobilede-badge {
  display: inline-block;
  padding: .55rem 1.25rem;
  border-radius: 99px;
  background: #FF6600;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}
.mobilede-arrow {
  width: 20px;
  height: 20px;
  color: #FF6600;
  transition: transform var(--transition);
}
.mobilede-banner:hover .mobilede-arrow { transform: translateX(4px); }

.mobilede-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.mobilede-feature {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-mid);
}
.mobilede-feature svg { width: 16px; height: 16px; color: #FF6600; flex-shrink: 0; }

@media (max-width: 600px) {
  .mobilede-features {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding: 1.25rem 1.5rem;
  }
  .mobilede-banner { flex-direction: column; align-items: flex-start; }
  .mobilede-banner-left { flex-wrap: wrap; }
  .mobilede-banner-right { width: 100%; justify-content: flex-start; }
}

/* ─── TESTIMONIALS ─── */
.testimonials-slider {
  position: relative;
  padding-inline: 3.5rem;
}
.testimonials-slider-viewport {
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}
.testimonials-track > .testimonial {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
  margin: 0;
}
@media (max-width: 900px) {
  .testimonials-track > .testimonial { flex: 0 0 calc((100% - 1.25rem) / 2); }
}
@media (max-width: 600px) {
  .testimonials-track > .testimonial { flex: 0 0 100%; }
  .testimonials-slider { padding-inline: 2.5rem; }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.slider-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.slider-btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.slider-btn svg { width: 20px; height: 20px; }
.slider-prev { left: 0; }
.slider-next { right: 0; }
.testimonial {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 1.75rem;
  position: relative;
}
.testimonial::before { content: none; }
.testimonial p { color: var(--color-mid); font-size: .95rem; margin: 0; font-style: italic; }

/* Kopfzeile der Karte: farbige Initiale, Name, Ort */
.testimonial-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-meta { display: flex; flex-direction: column; min-width: 0; }
.testimonial cite {
  font-size: .9rem;
  color: var(--color-dark);
  font-weight: 700;
  font-style: normal;
  line-height: 1.3;
}
.testimonial-place { font-size: .78rem; color: var(--color-muted); }

.testimonial-stars {
  display: flex;
  gap: .1rem;
  margin-bottom: .9rem;
}
.testimonial-stars svg { width: 16px; height: 16px; fill: #FBBC05; }

/* Quellenangabe unter dem Slider */
.testimonials-source {
  margin-top: 1.75rem;
  text-align: center;
  font-size: .85rem;
  color: var(--color-muted);
}
.testimonials-source a { color: var(--color-primary); font-weight: 600; }
.testimonials-source a:hover { text-decoration: underline !important; }
/* Auf dem Handy passt beides nicht nebeneinander, der Link bekommt eine
   eigene Zeile statt eines unschoenen Umbruchs mitten im Satz. */
@media (max-width: 640px) {
  .testimonials-source a { display: block; margin-top: .4rem; }
}

/* ─── WHATSAPP CTA ─── */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 3.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,.3);
  transition: transform var(--transition), box-shadow var(--transition);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.whatsapp-cta:hover {
  box-shadow: 0 8px 26px rgba(37,211,102,.4);
}
.whatsapp-cta-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.whatsapp-cta-icon svg { width: 30px; height: 30px; }
.whatsapp-cta-text { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.whatsapp-cta-text strong { font-size: 1.1rem; font-weight: 700; color: #fff; }
.whatsapp-cta-text span { font-size: .9rem; color: rgba(255,255,255,.9); }
.whatsapp-cta-badge {
  flex-shrink: 0;
  padding: .65rem 1.4rem;
  border-radius: 99px;
  background: #fff;
  color: #128C7E;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .whatsapp-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .whatsapp-cta-badge { align-self: stretch; text-align: center; }
}

/* ─── KONTAKT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}
/* Linke Spalte als weiße Karte, analog zur Fahrzeug-Detailseite */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 2rem;
}
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: rgba(42,155,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-top: .1rem;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin-bottom: .3rem; }
.contact-item address { line-height: 1.6; }
.contact-item a { color: var(--color-primary); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours-table td { padding: .15rem 0; }
.hours-table td:first-child { color: var(--color-mid); width: 60px; }
.hours-table td:last-child { color: var(--color-text); font-weight: 500; }

/* Contact Form */
.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 2rem;
}
.contact-form h3 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--color-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .65rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font: inherit;
  font-size: .9rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42,155,42,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.form-check input[type="checkbox"] { margin-top: .2rem; accent-color: var(--color-primary); flex-shrink: 0; }
.form-check label { font-size: .82rem; font-weight: 400; color: var(--color-muted); }
.form-check a { color: var(--color-primary); }

/* Kontaktformular, Erfolgsmeldung */
/* Fehlermeldung ueber dem Formular, nur im Notfall sichtbar (ohne JavaScript) */
.form-error {
  background: rgba(220, 38, 38, .08);
  border: 1px solid rgba(220, 38, 38, .35);
  border-radius: 3px;
  color: #b91c1c;
  font-size: .9rem;
  padding: .75rem 1rem;
  margin-bottom: 1.25rem;
}

.contact-success {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  text-align: center;
  animation: contact-success-in .4s ease;
}
.contact-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(42,155,42,.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-success-icon svg { width: 32px; height: 32px; }
.contact-success h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: .6rem;
}
.contact-success p {
  color: var(--color-muted);
  font-size: .95rem;
  margin-bottom: 1.5rem;
  max-width: 360px;
  margin-inline: auto;
}
@keyframes contact-success-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Map */
.map-wrap {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  min-height: 300px;
  display: flex;
}
.map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; }
.map-consent {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: .75rem;
}
.map-consent svg { width: 36px; height: 36px; color: var(--color-primary); }
.map-consent h3 { font-size: 1.05rem; color: var(--color-dark); }
.map-consent p { color: var(--color-muted); font-size: .875rem; max-width: 420px; }
.map-consent .btn { margin-top: .25rem; }
.map-consent .map-fallback-link { font-size: .8rem; margin-top: .5rem; }
.map-consent .map-fallback-link a { color: var(--color-primary); font-weight: 500; }

/* Karte innerhalb der Kontakt-Karte: kompakter als die freistehende Variante */
.contact-info .map-wrap { min-height: 220px; }
.contact-info .map-wrap iframe { height: 220px; }
.contact-info .map-consent { padding: 1.25rem 1rem; gap: .5rem; }
.contact-info .map-consent svg { width: 28px; height: 28px; }
.contact-info .map-consent h3 { font-size: .95rem; }
.contact-info .map-consent p { font-size: .8rem; }

/* ─── FOOTER ─── */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.65);
  padding-top: 4rem;
  margin-top: 4rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  padding-bottom: 2.5rem;
}

/* Linke Markenspalte */
.footer-brand-col { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-brand .logo-text { font-size: 1rem; }
.footer-description {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  max-width: 340px;
}

/* Social-Icons */
.footer-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: .25rem;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--color-primary);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-socials a:hover {
  background: var(--color-primary);
  color: #fff;
}
.footer-socials svg { width: 18px; height: 18px; display: block; }

/* Rechte Link-Spalten */
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.7fr;
  gap: 2rem;
}
.footer-col:last-child a,
.footer-col:last-child address { white-space: nowrap; }
.footer-col h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  list-style: none;
}
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-primary); }

/* Kontakt-Spalte: Items mit Icon */
.footer-contact-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  line-height: 1.5;
}
.footer-contact-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: .15rem;
}
.footer-contact-list address,
.footer-contact-list a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  font-style: normal;
  line-height: 1.5;
  transition: color var(--transition);
}
.footer-contact-list a:hover { color: var(--color-primary); }

/* Unterer Streifen */
.footer-bottom {
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); margin: 0; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .section-grid { grid-template-columns: 1fr; gap: 2rem; }
  .reverse-mobile .section-image { order: -1; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-info { padding: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; margin-left: 0.4rem; }
  .nav-cars-mobile { display: inline-flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: .25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; }
  .hero-stats { gap: 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ─── Animations ─── */
@media (prefers-reduced-motion: no-preference) {
  .card, .testimonial { transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition); }
}

/* ═══════════════════════════════════════════════════════════════════════
   FAHRZEUGE-TEASER (Slider auf der Startseite zwischen Hero und Über uns)
   ═══════════════════════════════════════════════════════════════════════ */
.vehicles-teaser {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.vehicles-teaser-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.vehicles-teaser-headline {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--color-dark);
  margin: 0;
}
.vehicles-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition);
  white-space: nowrap;
}
.vehicles-teaser-cta:hover { gap: .85rem; color: var(--color-primary-dk); }

/* Stage: enthält Wrap + Pfeile als Geschwister */
.vehicles-teaser-stage {
  position: relative;
}
/* Wrap: hier wird abgeschnitten (overflow:hidden) für Marquee-Effekt */
.vehicles-teaser-slider-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.vehicles-teaser-slider {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: .5rem 0 1rem;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
/* Sanfter Übergang nur bei Pfeil-Klick (per JS aktiviert) */
.vehicles-teaser-slider.arrow-step {
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}

/* Einzelne Teaser-Karte (kompakt, damit ~6 hineinpassen) */
.teaser-card {
  flex: 0 0 165px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
/* Slider-Karten reagieren bewusst nicht auf Hover */

.teaser-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.teaser-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.teaser-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
}
.teaser-photo-placeholder svg { width: 60px; height: 60px; }
.teaser-badge {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: rgba(0,0,0,.78);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  padding: .2rem .45rem;
  border-radius: 99px;
  letter-spacing: .02em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.teaser-info {
  padding: .65rem .75rem .8rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
}
.teaser-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.teaser-meta {
  font-size: .7rem;
  color: var(--color-muted);
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.teaser-price {
  margin-top: auto;
  padding-top: .35rem;
  font-size: .95rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -.01em;
}

/* Pfeil-Buttons mit SVG-Icons (perfekt zentriert) */
.teaser-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.10);
  z-index: 5;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.teaser-arrow svg {
  width: 13px;
  height: 13px;
  display: block;
}
.teaser-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.teaser-arrow-prev { left: 12px; }
.teaser-arrow-next { right: 12px; }

@media (max-width: 700px) {
  .vehicles-teaser-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .teaser-card { flex-basis: 145px; }
  /* Pfeile bleiben sichtbar, etwas kleiner und näher am Rand */
  .teaser-arrow { width: 28px; height: 28px; }
  .teaser-arrow svg { width: 11px; height: 11px; }
  .teaser-arrow-prev { left: 6px; }
  .teaser-arrow-next { right: 6px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FAHRZEUGE-SEITE (fahrzeuge.php)
   ═══════════════════════════════════════════════════════════════════════ */

/* Aktiver Nav-Link */
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--color-primary);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.vehicles-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.vehicles-hero .section-label { margin-bottom: .75rem; }
.vehicles-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin-bottom: .85rem;
}
.vehicles-hero h1 em { font-style: normal; color: var(--color-primary); }
.vehicles-hero-sub {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── 404-Seite ──────────────────────────────────────────────────────── */
/* Nutzt den Hero der Fahrzeugseiten, braucht unten aber mehr Luft, weil
   danach direkt der Footer kommt und kein Inhalt mehr folgt. */
.error-hero {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 0;
}
/* "FEHLER 404" ist hier die eigentliche Ansage und darf gross sein.
   Waechst mit der Fensterbreite mit, bleibt auf dem Handy aber lesbar. */
.error-hero .section-label {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: .06em;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ── Filter ─────────────────────────────────────────────────────────── */
.vehicles-filter-section {
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.vehicles-filter { width: 100%; }
.filter-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.4fr 1fr 1.2fr auto;
  gap: .85rem 1rem;
  align-items: end;
}
.filter-group { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.filter-group label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.filter-group select,
.filter-group input[type="number"] {
  padding: .55rem .75rem;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font: inherit;
  font-size: .9rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-width: 0;
  width: 100%;
}
.filter-group select:focus,
.filter-group input[type="number"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42,155,42,.12);
}
.filter-range { display: flex; gap: .35rem; }
.filter-range input { width: 50%; }
.filter-actions {
  display: flex;
  gap: .85rem;
  align-items: center;
}
.filter-actions .btn { padding: .6rem 1.2rem; border-radius: 3px; }
.filter-actions .btn-primary:hover { transform: none; }
.filter-reset {
  font-size: .82rem;
  color: var(--color-muted);
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,.18);
  text-underline-offset: 2px;
  white-space: nowrap;
}
.filter-reset:hover { color: var(--color-primary); text-decoration-color: var(--color-primary); }

.filter-result-count {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--color-text);
}
.filter-result-count strong { color: var(--color-primary); font-weight: 700; }
.filter-result-count .muted { color: var(--color-muted); margin-left: .3rem; }

/* ── Fahrzeug-Grid ──────────────────────────────────────────────────── */
.vehicles-grid-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

/* Einzelne Karte (erbt vom bestehenden .card-Stil) */
.vehicle-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  text-align: left;
  border-radius: 3px;
}
.vehicle-card::before { display: none; } /* Spotlight ist hier zu viel */
/* Die Karte selbst reagiert bewusst gar nicht auf Hover: kein Schatten,
   kein Rahmenwechsel, kein Zoom. Das einzige Signal ist der Pfeil, der
   links neben "Details ansehen" eingeblendet wird.
   Die Zeile hier hebt das .card:hover weiter oben auf, sonst wuerde von
   dort der grosse Schatten kommen (gleiche Spezifitaet, spaeter im File). */
.vehicle-card:hover { box-shadow: var(--shadow); }

.vehicle-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.vehicle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vehicle-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
}
.vehicle-photo-placeholder svg { width: 80px; height: 80px; }
.vehicle-badge {
  position: absolute;
  top: .8rem;
  right: .8rem;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 99px;
  letter-spacing: .02em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.vehicle-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem 1.25rem;
}
.vehicle-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: .25rem;
  line-height: 1.25;
}
.vehicle-desc {
  font-size: .82rem;
  color: var(--color-muted);
  margin-bottom: 1.4rem !important;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vehicle-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 0;
  margin: 1.25rem 0 1.1rem !important;
  font-size: .9rem;
  color: var(--color-mid);
}
.vehicle-desc + .vehicle-meta {
  margin-top: 0 !important;
}
.vehicle-meta li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .6rem;
  line-height: 1.3;
}
.vehicle-meta li svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  flex-shrink: 0;
  color: var(--color-primary);
  display: block;
}
.vehicle-meta li span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vehicle-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--color-border);
}
.vehicle-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -.01em;
}
/* "Details ansehen" steht normal allein. Der Pfeil sitzt links daneben,
   belegt seinen Platz dauerhaft und wird nur ein-/ausgeblendet. Dadurch
   springt der Text beim Hover nicht, es bewegt sich nichts. */
.vehicle-cta {
  font-size: .78rem;
  color: #FF6600;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.vehicle-cta-arrow {
  opacity: 0;
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1;
  transition: opacity var(--transition);
}
.vehicle-card:hover .vehicle-cta-arrow { opacity: 1; }

/* ── Leer-/Fehler-Zustände ──────────────────────────────────────────── */
.vehicles-empty,
.vehicles-error {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  max-width: 640px;
  margin: 0 auto;
}
.vehicles-empty h2,
.vehicles-error h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--color-dark);
}
.vehicles-empty p,
.vehicles-error p {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}
.vehicles-empty a:not(.btn), .vehicles-error a:not(.btn) { color: var(--color-primary); font-weight: 500; }
.vehicles-empty a.btn-primary, .vehicles-error a.btn-primary { color: #fff !important; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .filter-grid { grid-template-columns: 1fr 1fr 1fr; }
  .filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 680px) {
  .filter-grid { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .filter-actions { grid-column: 1 / -1; justify-content: stretch; flex-direction: column-reverse; align-items: stretch; }
  .filter-actions .btn { width: 100%; }
  .filter-actions .filter-reset { text-align: center; }
  .vehicles-filter-section {
    position: static;
    backdrop-filter: none;
  }
}
@media (max-width: 480px) {
  .filter-grid { grid-template-columns: 1fr; }
  .filter-range input { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAHRZEUG-DETAILSEITE (fahrzeug.php)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Mobile-Sicherheitsnetz: kein horizontaler Overflow + lange Wörter brechen */
.detail-hero, .detail-section, .detail-breadcrumb { overflow-x: hidden; }
.detail-title, .detail-subtitle, .detail-description, .spec-row dd, .feature-group li {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.detail-features img,
.detail-section img { max-width: 100%; height: auto; }

/* Breadcrumb */
.detail-breadcrumb {
  background: #f7f8f9;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.9rem 0;
  font-size: 0.9rem;
}
.detail-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #6b7280;
}
.detail-breadcrumb li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: #b6bcc4;
}
.detail-breadcrumb a { color: #6b7280; text-decoration: none; }
.detail-breadcrumb a:hover { color: var(--color-primary); text-decoration: underline; }
.detail-breadcrumb [aria-current="page"] { color: #111827; font-weight: 600; }
.detail-breadcrumb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}
.detail-back-link:hover { text-decoration: underline; }
.detail-back-link svg { width: 16px; height: 16px; }

/* Back-CTA unten */
.detail-back-cta {
  padding: 2rem 0 2.5rem;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}
.detail-back-cta .btn { display: inline-flex; align-items: center; }

@media (max-width: 640px) {
  .detail-breadcrumb-inner { flex-direction: column-reverse; align-items: flex-start; gap: 0.5rem; }
  .detail-back-link { font-size: 0.85rem; }
}

/* Hero-Grid */
.detail-hero { padding: 2.5rem 0 1.5rem; }
.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

/* Galerie — klassischer 4:3 Padding-Bottom-Hack */
.detail-gallery-main {
  position: relative;
  background: #0f1115;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  width: 100%;
  height: 0;
  padding-bottom: 75%;
}
.detail-gallery-main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: #111827;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.gallery-nav:hover { background: #fff; color: var(--color-primary); }
.gallery-nav svg { width: 22px; height: 22px; display: block; }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-zoom {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery-zoom:hover { background: rgba(0,0,0,0.85); color: var(--color-primary); }
.gallery-zoom svg { width: 18px; height: 18px; }

/* ─── Lightbox / Vollbild-Ansicht ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  animation: lightboxIn 0.18s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lightboxIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav svg { width: 26px; height: 26px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.5);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  .lightbox { padding: 50px 12px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav svg { width: 20px; height: 20px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
}

/* ─── Share-Popover ─── */
.share-wrap { position: relative; }
.share-wrap .btn-action { width: 100%; }
.share-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 0.4rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  animation: sharePopIn 0.15s ease-out;
}
.share-popover[hidden] { display: none; }
@keyframes sharePopIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.share-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  border: none;
  background: transparent;
  color: #374151;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  border-radius: 3px;
  font-family: inherit;
  width: 100%;
  transition: background 0.15s;
}
.share-option:hover { background: #f3f4f6; color: var(--color-primary); }
.share-option svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── Print-Header (nur sichtbar beim Drucken) ─── */
.print-only { display: none; }
.print-header img { display: block; }

/* ─── Print-Stylesheet (Exposé) ─── */
@media print {
  /* Alles ausblenden, was nicht auf Papier soll */
  #header,
  .detail-breadcrumb,
  .detail-actions,
  .detail-contact-actions,
  .gallery-nav,
  .gallery-zoom,
  .gallery-counter,
  .detail-gallery-thumbs,
  .detail-back-cta,
  .footer,
  .footer-bottom,
  .map-wrap,
  .detail-contact-form,
  .lightbox,
  .detail-contact-hint,
  #anfrage .detail-section-title,
  .google-badge,
  .cookie-banner {
    display: none !important;
  }

  /* Reset Body + Container */
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.4;
  }
  .container { max-width: none !important; padding: 0 !important; }
  main { padding: 0 !important; }

  /* Print-Header sichtbar machen */
  .print-only { display: block !important; }
  .print-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #2A9B2A;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    page-break-after: avoid;
  }
  .print-header img { max-height: 50px; width: auto; }
  .print-header-info {
    text-align: right;
    font-size: 9pt;
    color: #333;
    line-height: 1.4;
  }

  /* Hero: Galerie links, Sidebar rechts kompakter */
  .detail-hero { padding: 0 !important; }
  .detail-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    page-break-inside: avoid;
  }
  .detail-gallery-main {
    aspect-ratio: 4 / 3;
    box-shadow: none !important;
    border-radius: 6px !important;
    background: #f0f0f0 !important;
  }
  .detail-gallery-main img { object-fit: cover !important; }
  .detail-sidebar {
    position: static !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    padding: 1rem !important;
  }
  .detail-title { font-size: 16pt !important; color: #000 !important; }
  .detail-subtitle { font-size: 10pt !important; color: #555 !important; }
  .detail-price { font-size: 18pt !important; color: #2A9B2A !important; }
  .detail-price-box { border-bottom-color: #ccc !important; }
  .detail-key-data li { font-size: 10pt !important; }
  .detail-key-data svg { color: #2A9B2A !important; }

  /* Section-Abstände kleiner */
  .detail-section { padding: 1rem 0 !important; border-top: 1px solid #ddd !important; }
  .detail-section-alt { background: transparent !important; }
  .detail-section-title { font-size: 13pt !important; margin-bottom: 0.7rem !important; color: #000 !important; }

  /* Eigenschaften 2-spaltig, kompakt */
  .detail-specs { grid-template-columns: 1fr 1fr !important; gap: 0 1.5rem !important; }
  .spec-row { padding: 0.25rem 0 !important; font-size: 10pt; }
  .spec-row dt { color: #555 !important; }
  .spec-row dd { color: #000 !important; }

  /* Ausstattung 3-spaltig kompakt */
  .detail-features {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  .feature-group { page-break-inside: avoid; }
  .feature-group h3 {
    font-size: 10pt !important;
    color: #2A9B2A !important;
    border-bottom-color: #2A9B2A !important;
    padding-bottom: 0.2rem !important;
    margin-bottom: 0.3rem !important;
  }
  .feature-group li { font-size: 9pt !important; gap: 0.3rem !important; }

  /* Beschreibung */
  .detail-description { font-size: 10pt !important; line-height: 1.5 !important; color: #000 !important; }

  /* Kontaktbox unten — nur Adressblock zeigen */
  #anfrage { padding: 0.8rem 0 !important; border-top: 1px solid #ddd !important; }
  .detail-contact-grid { display: block !important; }
  .detail-contact-info {
    border: 1px solid #2A9B2A !important;
    border-radius: 6px !important;
    padding: 0.8rem !important;
    background: #f7fcf7 !important;
    text-align: center !important;
  }
  .detail-contact-info::before {
    content: "Interesse? Sprechen Sie uns an:";
    display: block;
    font-weight: 700;
    color: #2A9B2A;
    margin-bottom: 0.4rem;
    font-size: 11pt;
  }
  .detail-contact-info a { color: #2A9B2A !important; }
  /* Telefon- und Mail-Zeile mittig, passend zur zentrierten Kontaktbox */
  .detail-contact-links { align-items: center !important; gap: 0.15rem !important; }
  .detail-contact-links li { justify-content: center !important; }

  /* Links nicht mit URL ergänzen */
  a[href]::after { content: none !important; }
  a { text-decoration: none !important; color: inherit !important; }

  /* Seitenumbrüche */
  h1, h2, h3 { page-break-after: avoid; }
  .detail-gallery, .detail-sidebar, .feature-group, .spec-row { page-break-inside: avoid; }
  /* Ausstattung-Sektion immer auf neuer Seite (Überschrift soll nicht am unteren Rand von Seite 1 stehen) */
  .detail-section-features { page-break-before: always; }

  /* QR-Code in der Kontakt-Box */
  .print-qr {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px dashed #b6bcc4;
  }
  .print-qr img {
    display: block;
    width: 110px;
    height: 110px;
  }
  .print-qr span {
    font-size: 9pt;
    color: #2A9B2A;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
  }
  .print-qr small {
    color: #555;
    font-weight: 400;
    font-size: 8pt;
  }

  /* Letzte Seite: alle Fahrzeug-Bilder im Raster */
  .print-all-images {
    display: block !important;
    page-break-before: always;
    padding-top: 0.5rem;
  }
  .print-images-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #2A9B2A;
    padding-bottom: 0.4rem;
    margin-bottom: 0.7rem;
    page-break-after: avoid;
  }
  .print-images-header h2 {
    font-size: 13pt !important;
    margin: 0 !important;
    color: #000 !important;
  }
  .print-images-header span {
    font-size: 9pt;
    color: #555;
  }
  .print-images-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4mm;
  }
  .print-images-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 2px;
    page-break-inside: avoid;
  }
}
.detail-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.detail-gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}
.detail-gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}
.detail-gallery-thumbs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.detail-gallery-thumbs::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.gallery-thumb {
  flex: 0 0 90px;
  height: 68px;
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 0;
  background: #f0f1f3;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: #b6bcc4; }
.gallery-thumb.is-active { border-color: var(--color-primary); }
.detail-gallery-empty {
  aspect-ratio: 4 / 3;
  background: #f0f1f3;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  gap: 0.5rem;
}
.detail-gallery-empty svg { width: 56px; height: 56px; }

/* Sidebar */
.detail-sidebar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  position: sticky;
  top: 88px;
}
.detail-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: #0f1115;
  line-height: 1.2;
}
.detail-subtitle {
  font-size: 0.92rem;
  color: #6b7280;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}
.detail-price-box {
  padding: 0.5rem 0 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.detail-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f1115;
  letter-spacing: -0.4px;
}
.detail-price-info { font-size: 0.78rem; color: #9ca3af; }
.detail-key-data {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.detail-key-data li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #374151;
  font-size: 0.85rem;
}
.detail-key-data svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--color-primary); }
.detail-key-data span { display: flex; flex-direction: column; line-height: 1.2; }
.detail-key-data strong {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}

/* Aktions-Buttons (Teilen + Drucken) */
.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 3px;
  color: #374151;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-action svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-action:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #f3fbf3;
}
.btn-action:disabled { opacity: 0.55; cursor: not-allowed; }

/* Direkter Kontakt */
.detail-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.detail-contact-actions .btn,
.detail-contact-actions .btn-action { width: 100%; justify-content: center; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.75rem 1rem;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-secondary:hover { background: #f3fbf3; }
.btn-secondary svg { width: 18px; height: 18px; }
.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-whatsapp-cta:hover { background: #1ebd5b; }
.btn-whatsapp-cta svg { width: 18px; height: 18px; }

/* Sektionen */
.detail-section { padding: 2.5rem 0; border-top: 1px solid #e5e7eb; }
.detail-section-alt { background: #f7f8f9; }
.detail-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: #0f1115;
  letter-spacing: -0.3px;
}
.detail-section-title-center {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

/* Eigenschaften-Tabelle */
.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2.5rem;
  margin: 0;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid #e5e7eb;
  gap: 1rem;
}
.spec-row dt { color: #6b7280; font-size: 0.92rem; font-weight: 500; }
.spec-row dd {
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  text-align: right;
}

/* Ausstattung */
.detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-group h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-primary);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-primary);
}
.feature-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.feature-group li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  font-size: 0.92rem;
}
.feature-group li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Beschreibung */
.detail-description {
  color: #374151;
  line-height: 1.7;
  font-size: 0.98rem;
  white-space: pre-line;
}

/* Anfrage-Formular */
.detail-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: start;
}
.detail-contact-info {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 1.5rem;
}
.detail-dealer-name { font-size: 1.15rem; margin: 0 0 0.75rem; color: #0f1115; }
.detail-contact-info address {
  font-style: normal;
  color: #374151;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.detail-contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.detail-contact-info a:hover { text-decoration: underline; }

/* Telefon und E-Mail mit vorangestelltem Symbol */
.detail-contact-links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.detail-contact-links li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.detail-contact-links svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.detail-contact-hint {
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}
.detail-contact-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.detail-contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.detail-contact-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
}
.detail-contact-form input[type="text"],
.detail-contact-form input[type="email"],
.detail-contact-form input[type="tel"],
.detail-contact-form textarea {
  border: 1.5px solid #d1d5db;
  border-radius: 3px;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
}
.detail-contact-form input:focus,
.detail-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-row-checkbox {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.6rem !important;
}
.form-row-checkbox input { margin-top: 0.2rem; }
.form-row-checkbox label {
  font-weight: 400;
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Karte in der linken Spalte des Anfrage-Bereichs */
.detail-contact-info .detail-map {
  margin-top: 1.25rem;
  border-radius: 3px;
  overflow: hidden;
}
.detail-contact-info .map-consent { padding: 1.5rem 1rem; }
.detail-contact-info .map-consent h3 { font-size: 1rem; }
.detail-contact-info .map-consent p { font-size: 0.85rem; }

/* Tablet */
@media (max-width: 980px) {
  .detail-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-sidebar { position: static; }
  .detail-contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
  /* Kein seitliches Scrollen — clip statt hidden, damit position: sticky
     im Header nicht bricht (hidden würde einen Scroll-Container erzeugen) */
  html, body { overflow-x: clip; max-width: 100vw; }

  .detail-hero { padding: 1.5rem 0 1rem; }
  .detail-title { font-size: 1.65rem; }
  .detail-subtitle { font-size: 1rem; }
  .detail-price { font-size: 1.85rem; }
  .detail-price-info { font-size: 0.88rem; }
  .detail-sidebar { padding: 1.25rem; border-radius: 3px; }
  .detail-section { padding: 2rem 0; }
  .detail-section-title { font-size: 1.35rem; }

  /* Key-Daten (Erstzulassung, KM, Leistung...) — auf Mobil deutlich größer */
  .detail-key-data { gap: 0.9rem; }
  .detail-key-data li { font-size: 1rem; gap: 0.8rem; }
  .detail-key-data svg { width: 22px; height: 22px; }
  .detail-key-data strong { font-size: 0.75rem; }

  /* Buttons + Aktionen */
  .detail-actions { grid-template-columns: 1fr; gap: 0.5rem; }
  .btn-action { font-size: 1rem; padding: 0.85rem 1rem; }
  .btn-action svg { width: 20px; height: 20px; }
  .detail-contact-actions .btn,
  .detail-contact-actions .btn-action,
  .btn-whatsapp-cta { font-size: 1rem; padding: 0.85rem 1rem; }

  /* Eigenschaften-Tabelle einspaltig + lesbarer */
  .detail-specs { grid-template-columns: 1fr; }
  .spec-row { padding: 0.85rem 0; }
  .spec-row dt { font-size: 0.95rem; }
  .spec-row dd { font-size: 1rem; }

  /* Ausstattung */
  .feature-group h3 { font-size: 1.1rem; }
  .feature-group li { font-size: 1rem; }
  .feature-group li svg { width: 16px; height: 16px; }

  /* Beschreibung */
  .detail-description { font-size: 1rem; }

  /* Galerie */
  .gallery-nav { width: 36px; height: 36px; }
  .gallery-nav svg { width: 18px; height: 18px; }
  .gallery-thumb { flex-basis: 70px; height: 54px; }

  /* Breadcrumb etwas größer */
  .detail-breadcrumb { font-size: 0.95rem; }
  .detail-back-link { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEISTUNGEN-AKKORDEON (index.php) — vertikale Liste, klassisch
   ═══════════════════════════════════════════════════════════════════════════ */

.services-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.service-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-item.is-open {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(42,155,42,0.12);
}

/* Header-Zeile mit Icon + Titel + Chevron */
.service-header {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  font-family: inherit;
  transition: background 0.15s;
}
.service-header:hover { background: #f9fafb; }
.service-header:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}
.service-item.is-open .service-header { background: linear-gradient(180deg, #f3fbf3 0%, #fff 100%); }

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 3px;
  background: rgba(42,155,42,0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.service-icon svg { width: 22px; height: 22px; }
.service-item.is-open .service-icon {
  background: var(--color-primary);
  color: #fff;
}

.service-title {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
  line-height: 1.3;
}
.service-item.is-open .service-title { color: var(--color-primary); }

.service-chevron {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  background: transparent;
  color: var(--color-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.15s, color 0.15s;
}
.service-chevron svg { width: 16px; height: 16px; }
.service-item.is-open .service-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* Ausklappbarer Inhalt */
.service-body {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}
.service-body[hidden] { display: none !important; }
.service-body-inner {
  padding: 0.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
}
.service-item.is-open .service-body-inner { padding-top: 1rem; }

.service-claim {
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
}
/* Bewusst aufrecht: der gruene, halbfette Einstiegssatz hebt sich schon
   genug ab, kursiv wirkt darueber hinaus unruhig. */
.service-claim em { font-style: normal; }

.service-body-inner > p {
  color: var(--color-dark);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.service-body-inner h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin: 1.75rem 0 0.7rem;
  padding: 0;
  border: none;
}

.service-list, .service-steps {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.service-list li, .service-steps li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.service-steps { counter-reset: step-counter; }
.service-steps li {
  counter-increment: step-counter;
  padding-left: 2.25rem;
}
.service-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-highlight {
  background: #f3fbf3;
  border-left: 3px solid var(--color-primary);
  padding: 0.85rem 1.1rem;
  margin: 1rem 0;
  border-radius: 3px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-dark);
}
.service-hint {
  color: var(--color-mid);
  font-size: 0.82rem;
  margin: 0.75rem 0 0;
}

/* CTA am Ende jedes Akkordeon-Body — Buttons im fahrzeug.php-Style */
.service-body-cta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.service-body-cta > p {
  margin: 0 0 0.85rem;
  color: var(--color-dark);
  font-size: 0.92rem;
}
.service-body-cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}
.service-body-cta-buttons .btn-action,
.service-body-cta-buttons .btn-whatsapp-cta {
  width: 100%;
  justify-content: center;
}
/* WhatsApp-Link explizit weiß halten (Global-a-Rule würde sonst greifen) */
.service-body-cta-buttons a.btn-whatsapp-cta,
.service-body-cta-buttons a.btn-whatsapp-cta:hover,
.service-body-cta-buttons a.btn-whatsapp-cta:visited {
  color: #fff;
}

/* Einklapp-Link unter den CTA-Buttons */
.service-collapse-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 0.35rem 0.7rem;
  background: transparent;
  border: none;
  color: var(--color-mid);
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s;
}
.service-collapse-link:hover { color: var(--color-primary); }
.service-collapse-link svg { width: 12px; height: 12px; }

@media (max-width: 640px) {
  .service-header { padding: 0.9rem 1rem; gap: 0.75rem; }
  .service-icon { width: 36px; height: 36px; }
  .service-icon svg { width: 18px; height: 18px; }
  .service-title { font-size: 0.98rem; }
  .service-body-inner { padding: 0.5rem 1rem 1.25rem; }
  .service-body-cta-buttons { grid-template-columns: 1fr; }
}
