/* ZMC Car Rental .de — Stylesheet
   Die Farben kommen aus zwei austauschbaren Variablensaetzen, A und B.
   Welcher gilt, entscheidet die Klasse am <html>-Element, die das
   Bau-Skript setzt. So laesst sich die ganze Seite in beiden Varianten
   ansehen, ohne irgendetwas anderes zu aendern. */

/* ---------- Variante A: woertlich getauscht ----------
   Schwarz wird Signalrot, die roten Akzente werden Schwarz. */
html.thema-a {
  --flaeche:      #C41017;  /* grosse dunkle Flaechen, vorher Schwarz */
  --flaeche2:     #A60D14;  /* abgesetzte Flaeche darin */
  --flaeche3:     #8E0B11;  /* Karten auf dunklem Grund */
  --auf-flaeche:  #FFFFFF;  /* Text auf der Flaeche */
  --auf-flaeche-leise: #F3C9CB;
  --linie-dunkel: #D9474C;

  --grund:        #FFFFFF;  /* heller Seitengrund */
  --grund2:       #F4F4F5;
  --auf-grund:    #111111;
  --auf-grund-leise: #5D5D62;
  --linie:        #E3E3E6;

  --akzent:       #111111;  /* Knoepfe, Preise, vorher Rot */
  --akzent-hell:  #2B2B2B;
  --auf-akzent:   #FFFFFF;

  /* Dieselbe Flaechenfarbe noch einmal als Zahlen, damit sie im
     Verlauf ueber dem Herobild durchsichtig werden kann. */
  --flaeche-rgb:  196, 16, 23;
}

/* ---------- Variante B: Bordeaux ----------
   Dunkle Flaechen in sehr dunklem Weinrot, Akzent in Schwarz. */
html.thema-b {
  --flaeche:      #1C0608;
  --flaeche2:     #2A0A0D;
  --flaeche3:     #371014;
  --auf-flaeche:  #F7F2F2;
  --auf-flaeche-leise: #B49A9C;
  --linie-dunkel: #43181D;

  --grund:        #FBF9F8;
  --grund2:       #F2EDEC;
  --auf-grund:    #140506;
  --auf-grund-leise: #6A5A5B;
  --linie:        #E3DAD9;

  --akzent:       #140506;
  --akzent-hell:  #35191B;
  --auf-akzent:   #FBF9F8;

  --flaeche-rgb:  28, 6, 8;
}

:root {
  --breite: 1240px;
  --rund: 14px;
  --rund-klein: 9px;
  --schatten: 0 18px 44px rgba(0,0,0,.14);
  --schrift-titel: 'Archivo', system-ui, sans-serif;
  --schrift: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.65;
  color: var(--auf-grund);
  background: var(--grund);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
}

h1 { font-size: clamp(34px, 5.4vw, 62px); }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
h3 { font-size: 19px; letter-spacing: -.01em; }

p { margin: 0 0 14px; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.huelle { width: min(100% - 40px, var(--breite)); margin-inline: auto; }

/* Nur fuer Screenreader sichtbar. */
.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Knoepfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .14s ease, background .14s ease, color .14s ease;
}
.knopf:hover { transform: translateY(-1px); }
.knopf-voll { background: var(--akzent); color: var(--auf-akzent); }
.knopf-voll:hover { background: var(--akzent-hell); }
.knopf-rand { background: transparent; color: var(--auf-grund); border-color: var(--linie); }
.knopf-rand:hover { border-color: var(--akzent); }
/* Auf dunkler Flaeche kehren sich die Kontraste um. */
.auf-dunkel .knopf-voll { background: var(--auf-flaeche); color: var(--flaeche); }
.auf-dunkel .knopf-voll:hover { background: var(--auf-flaeche-leise); }
/* Nicht --linie-dunkel nehmen: in Variante B ist das #43181D auf #1C0608, das
   sieht man praktisch nicht. Als stille Trennlinie reicht es, als Knopfrand
   nicht - der Besucher muss erkennen, dass das ein Knopf ist. */
.auf-dunkel .knopf-rand { color: var(--auf-flaeche); border-color: rgba(255, 255, 255, .5); }
.auf-dunkel .knopf-rand:hover { border-color: var(--auf-flaeche); }
.knopf-klein { padding: 10px 20px; font-size: 14px; }

/* ---------- Kopfleiste ---------- */
.kopf {
  position: sticky; top: 0; z-index: 60;
  background: var(--flaeche); color: var(--auf-flaeche);
  border-bottom: 1px solid var(--linie-dunkel);
}
.kopf-innen { display: flex; align-items: center; gap: 26px; height: 72px; }
.logo {
  display: flex; align-items: center; gap: 11px; text-decoration: none;
  font-family: var(--schrift-titel); font-weight: 800; font-size: 19px;
  letter-spacing: -.01em; color: var(--auf-flaeche); white-space: nowrap;
}
.logo-zeichen {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: var(--auf-flaeche); color: var(--flaeche);
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
}
/* Das echte Logo. Hoehe festgelegt, Breite laeuft mit - so bleibt der Kopf
   gleich hoch, egal wie breit die Datei spaeter ist. */
.logo-bild { height: 38px; width: auto; display: block; }
.fuss .logo-bild { height: 44px; }
.kopf-nav { display: flex; gap: 24px; margin-left: auto; }
.kopf-nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 500;
  color: var(--auf-flaeche-leise); white-space: nowrap;
}
.kopf-nav a:hover, .kopf-nav a[aria-current="page"] { color: var(--auf-flaeche); }
.kopf-rechts { display: flex; align-items: center; gap: 12px; }

.sprache { display: flex; border: 1px solid var(--linie-dunkel); border-radius: 999px; overflow: hidden; }
.sprache a {
  padding: 6px 13px; font-size: 12.5px; font-weight: 600; text-decoration: none;
  color: var(--auf-flaeche-leise); font-family: var(--schrift-titel);
}
.sprache a[aria-current="true"] { background: var(--auf-flaeche); color: var(--flaeche); }

.menue-knopf {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--auf-flaeche);
}
.menue-knopf span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; }

/* ---------- Kopfbereich der Startseite ---------- */
.hero {
  position: relative; background: var(--flaeche); color: var(--auf-flaeche);
  padding: 86px 0 96px; overflow: hidden;
}
/* Der Verlauf deckt die linke Haelfte voll ab und wird erst hinter der
   Schrift durchsichtig. Ohne das laeuft die Ueberschrift ins helle Bild
   und ist nicht mehr zu lesen. */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgb(var(--flaeche-rgb)) 0%,
    rgb(var(--flaeche-rgb)) 46%,
    rgba(var(--flaeche-rgb), .55) 64%,
    rgba(var(--flaeche-rgb), 0) 88%);
  pointer-events: none;
}
.hero-bild {
  position: absolute; inset: 0 0 0 38%;
  background-size: cover; background-position: center;
}
.hero-innen { position: relative; z-index: 2; max-width: 620px; }
.hero h1 { margin-bottom: 20px; }
.hero-unter { font-size: 18px; color: var(--auf-flaeche-leise); max-width: 50ch; margin-bottom: 30px; }
.hero-knoepfe { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-punkte { display: flex; gap: 10px 26px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.hero-punkte li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--auf-flaeche-leise);
}
.haken {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 10px; font-weight: 800;
  background: var(--auf-flaeche); color: var(--flaeche);
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 74px 0; }
.abschnitt-dunkel { background: var(--flaeche); color: var(--auf-flaeche); }
.abschnitt-grau { background: var(--grund2); }
.abschnitt-kopf { max-width: 640px; margin-bottom: 38px; }
.abschnitt-kopf p { color: var(--auf-grund-leise); font-size: 17px; margin: 11px 0 0; }
.auf-dunkel .abschnitt-kopf p, .abschnitt-dunkel .abschnitt-kopf p { color: var(--auf-flaeche-leise); }

/* ---------- Kategoriekacheln ---------- */
.kat-gitter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kat {
  position: relative; display: block; border-radius: var(--rund); overflow: hidden;
  aspect-ratio: 4/3; text-decoration: none; color: #fff; background: var(--flaeche2);
}
.kat img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.kat:hover img { transform: scale(1.06); }
.kat-text {
  position: absolute; inset: auto 0 0 0; padding: 18px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.76));
  font-family: var(--schrift-titel); font-weight: 700; font-size: 19px;
}
.kat-text small { display: block; font-weight: 400; font-size: 12.5px; opacity: .8; font-family: var(--schrift); }

/* ---------- Markenleiste ---------- */
.marken { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.marke {
  display: grid; grid-template-rows: 1fr auto; gap: 12px; justify-items: center;
  padding: 18px 10px 16px; text-align: center;
  background: var(--grund); border: 1px solid var(--linie); border-radius: var(--rund-klein);
  font-family: var(--schrift-titel); font-weight: 600; font-size: 14px;
  text-decoration: none; color: var(--auf-grund); transition: border-color .14s ease;
}
.marke:hover { border-color: var(--akzent); }
.marke small { display: block; font-family: var(--schrift); font-weight: 400; font-size: 12px; color: var(--auf-grund-leise); }

/* Logoflaeche. Feste Hoehe fuer alle Kacheln, damit die Namen darunter
   auf einer Linie stehen - egal ob das Logo hoch (Porsche) oder breit
   (Chevrolet) ist. object-fit:contain verzerrt dabei nichts. */
.marke-zeichen { display: grid; place-items: center; width: 100%; height: 56px; }
/* Die Hoehe in Pixeln, nicht in Prozent: ein Prozentwert bezieht sich auf
   die Hoehe des Kastens, die hier erst durch das Raster entsteht - das
   Bild wurde dadurch viel zu gross und lief in den Namen darunter. */
.marke-zeichen img { max-width: 86%; max-height: 56px; width: auto; height: auto; object-fit: contain;
  /* Die Logos haben einen weissen Hintergrund. In Variante B ist die Kachel
     aber nicht reinweiss - ohne das hier stuende um jedes Logo ein blasses
     Rechteck. "multiply" laesst Weiss verschwinden und das Logo stehen. */
  mix-blend-mode: multiply; }
/* Fehlt ein Logo, steht der Name gross an seiner Stelle - dann steht er
   nur einmal da, der Name unter der Kachel entfaellt in dem Fall. */
.marke-wort { font-size: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; }

/* ---------- Fahrzeugkacheln ---------- */
.auto-gitter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.auto-karte {
  display: flex; flex-direction: column; background: var(--grund);
  border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.auto-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: transparent; }
/* Muss sein: das display:flex oben schlaegt sonst das hidden-Attribut,
   mit dem der Filter die Karten ausblendet - die Zahl stimmte, die
   Karten blieben aber alle stehen. */
.auto-karte[hidden] { display: none; }
.auto-bild { position: relative; aspect-ratio: 16/10; background: var(--grund2); overflow: hidden; }
.auto-bild img { width: 100%; height: 100%; object-fit: cover; }
.auto-schild {
  position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px;
  background: var(--akzent); color: var(--auf-akzent);
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  font-family: var(--schrift-titel);
}
.auto-koerper { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.auto-name { font-family: var(--schrift-titel); font-weight: 700; font-size: 18px; line-height: 1.25; }
.auto-zeile { font-size: 13px; color: var(--auf-grund-leise); margin-top: 4px; }
.auto-daten {
  display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0 16px;
  font-size: 12.5px; color: var(--auf-grund-leise);
}
.auto-daten span { display: flex; align-items: center; gap: 5px; }
.auto-fuss {
  margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; padding-top: 14px; border-top: 1px solid var(--linie);
}
.preis { font-family: var(--schrift-titel); font-weight: 800; font-size: 23px; color: var(--akzent); line-height: 1.1; }
.preis small { display: block; font-family: var(--schrift); font-weight: 400; font-size: 12px; color: var(--auf-grund-leise); }
.preis-euro { font-size: 13px; color: var(--auf-grund-leise); font-weight: 500; }
/* "Preis auf Anfrage" steht an derselben Stelle wie sonst der Tagespreis.
   Es ist aber ein Satz und keine Zahl - in Preisgroesse gesetzt wirkt er
   geschrien und sprengt auf dem Handy die Zeile. */
.preis-anfrage { font-size: 17px; letter-spacing: -.01em; }

/* ---------- Filterleiste der Flottenseite ---------- */
.filterleiste {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 18px 0 26px;
}
.filter-knopf {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--linie);
  background: var(--grund); color: var(--auf-grund); cursor: pointer;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 14px;
}
.filter-knopf[aria-pressed="true"] { background: var(--akzent); color: var(--auf-akzent); border-color: var(--akzent); }
.filter-zahl { margin-left: auto; font-size: 13.5px; color: var(--auf-grund-leise); }
.sortier-feld {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--linie);
  background: var(--grund); color: var(--auf-grund); font-family: var(--schrift); font-size: 14px;
}

/* ---------- Ablauf in fuenf Schritten ---------- */
.schritte { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: schritt; }
.schritt { position: relative; padding-top: 52px; }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--akzent); color: var(--auf-akzent);
  font-family: var(--schrift-titel); font-weight: 800; font-size: 16px;
}
.abschnitt-dunkel .schritt::before { background: var(--auf-flaeche); color: var(--flaeche); }
.schritt p { font-size: 14.5px; color: var(--auf-grund-leise); margin: 8px 0 0; }
.abschnitt-dunkel .schritt p { color: var(--auf-flaeche-leise); }

/* ---------- Vorteilskacheln ---------- */
.vorteile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vorteil {
  padding: 26px 24px; border-radius: var(--rund);
  border: 1px solid var(--linie); background: var(--grund);
}
.abschnitt-dunkel .vorteil { background: var(--flaeche2); border-color: var(--linie-dunkel); }
.vorteil-zeichen {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--akzent); color: var(--auf-akzent); margin-bottom: 15px;
}
.abschnitt-dunkel .vorteil-zeichen { background: var(--auf-flaeche); color: var(--flaeche); }
.vorteil p { font-size: 14.5px; color: var(--auf-grund-leise); margin: 8px 0 0; }
.abschnitt-dunkel .vorteil p { color: var(--auf-flaeche-leise); }

/* ---------- Fragen und Antworten ---------- */
.fragen { display: grid; gap: 14px; max-width: 880px; }
.frage {
  border: 1px solid var(--linie); border-radius: var(--rund);
  background: var(--grund); padding: 22px 26px;
}
.abschnitt-dunkel .frage { background: var(--flaeche2); border-color: var(--linie-dunkel); }
.frage p { margin: 9px 0 0; color: var(--auf-grund-leise); font-size: 15px; }
.abschnitt-dunkel .frage p { color: var(--auf-flaeche-leise); }

/* ---------- Chauffeur-Abschnitt ---------- */
.chauffeur { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.chauffeur-liste { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 13px; }
.chauffeur-liste li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.chauffeur-bild { border-radius: var(--rund); overflow: hidden; aspect-ratio: 4/3; }
.chauffeur-bild img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Fahrzeug-Detailseite ---------- */
.detail { display: grid; grid-template-columns: 1.35fr 1fr; gap: 42px; padding: 38px 0 20px; align-items: start; }
.galerie-gross { border-radius: var(--rund); overflow: hidden; background: var(--grund2); aspect-ratio: 16/10; }
.galerie-gross img { width: 100%; height: 100%; object-fit: cover; }
.galerie-leiste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-top: 10px; }
.galerie-leiste button {
  padding: 0; border: 2px solid transparent; border-radius: var(--rund-klein);
  overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4/3;
}
.galerie-leiste button[aria-current="true"] { border-color: var(--akzent); }
.galerie-leiste img { width: 100%; height: 100%; object-fit: cover; }

/* Video in der Galerie. Es sitzt an derselben Stelle wie das grosse Foto,
   darum dieselbe Groesse. object-fit:contain statt cover: das Video ist
   16:9, der Kasten 16:10 - bei "cover" wuerde oben und unten etwas
   abgeschnitten, und zwar genau dort, wo das Auto steht. */
.galerie-gross video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
/* Das hidden-Attribut setzt der Browser mit "display:none" um. Bei einem
   Element mit eigener display-Angabe gewinnt aber die Angabe aus dieser
   Datei - ohne die naechste Zeile blieben Bild und Video gleichzeitig zu
   sehen. */
.galerie-gross video[hidden], .galerie-gross img[hidden] { display: none; }

/* Erste Kachel in der Leiste: das Standbild des Videos mit einem
   Abspielzeichen darauf, damit man es nicht fuer ein Foto haelt. */
.kachel-video { position: relative; }
.kachel-video .abspiel {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0, 0, 0, .34);
}
/* Das Dreieck ist kein Bild und keine Schrift, sondern ein Kasten ohne
   Inhalt, bei dem drei der vier Rahmenseiten durchsichtig sind - uebrig
   bleibt die linke als weisses Dreieck. Spart eine Datei. */
.kachel-video .abspiel::before {
  content: ""; width: 0; height: 0;
  border-style: solid; border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}

.detail-kopf { border-bottom: 1px solid var(--linie); padding-bottom: 20px; margin-bottom: 20px; }
.detail-preis { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 20px; }
.detail-preis .preis { font-size: 34px; }
/* Muss nach der Zeile darueber stehen: das Element traegt beide Klassen,
   und bei gleicher Spezifitaet gewinnt die spaetere Regel. */
.detail-preis .preis-anfrage { font-size: 24px; }
.detail-knoepfe { display: grid; gap: 10px; }
.datenliste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--rund-klein); overflow: hidden; margin-top: 22px; }
.datenliste div { background: var(--grund); padding: 13px 16px; }
.datenliste dt { font-size: 12px; color: var(--auf-grund-leise); text-transform: uppercase; letter-spacing: .06em; }
.datenliste dd { margin: 3px 0 0; font-weight: 600; font-size: 15px; }
.merkmalliste { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.merkmalliste li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; }
.inklusive { margin-top: 22px; padding: 20px 22px; border-radius: var(--rund); background: var(--grund2); }
.inklusive ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; }
.inklusive li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; }

/* ---------- Formular ---------- */
.formular { display: grid; gap: 16px; max-width: 620px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--rund-klein);
  border: 1px solid var(--linie); background: var(--grund); color: var(--auf-grund);
  font-family: var(--schrift); font-size: 15px;
}
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: 2px solid var(--akzent); outline-offset: 1px; border-color: transparent;
}
.feld-tipp { font-size: 12.5px; color: var(--auf-grund-leise); margin-top: 5px; }
.feld-haken { display: flex; gap: 10px; align-items: center; }
.feld-haken input { width: auto; }
.form-hinweis { font-size: 12.5px; color: var(--auf-grund-leise); }
.feld-fehler { font-size: 12.5px; font-weight: 600; color: #C41017; margin-top: 5px; }
.feld.fehlt input, .feld.fehlt select, .feld.fehlt textarea { border-color: #C41017; }
.form-danke {
  padding: 22px 24px; border-radius: var(--rund);
  background: var(--grund2); border: 1px solid var(--linie); font-size: 15.5px;
}

/* ---------- Kontaktkacheln ---------- */
.kontakt-gitter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kontakt-karte {
  padding: 22px 24px; border-radius: var(--rund);
  border: 1px solid var(--linie-dunkel); background: var(--flaeche2);
}
.kontakt-karte h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--auf-flaeche-leise); font-weight: 700; }
.kontakt-karte p { margin: 8px 0 0; font-size: 17px; font-weight: 600; }
.kontakt-karte a { text-decoration: none; }
.kontakt-karte a:hover { text-decoration: underline; }

/* Die Nummer selbst ist der WhatsApp-Knopf: gruen, mit Zeichen, ein Druck
   fuehrt in den Chat. #25D366 ist WhatsApps eigenes Gruen, #06331A darauf
   ergibt einen Kontrast von rund 7:1 - gut lesbar auch bei Sonne auf dem
   Handy, und sicher ueber der WCAG-Grenze von 4,5:1. */
.wa-zeile {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px;
  padding: 12px 18px; border-radius: 999px;
  background: #25D366; color: #06331A;
  font-family: var(--schrift-titel); font-weight: 700; font-size: 16.5px;
  text-decoration: none; transition: transform .15s ease;
}
.wa-zeile:hover { transform: translateY(-1px); text-decoration: none; }
.kontakt-anruf { margin-top: 10px !important; font-size: 14px !important; font-weight: 500 !important; }
.kontakt-anruf a { color: var(--auf-flaeche-leise); text-decoration: underline; }
.kontakt-anruf a:hover { color: var(--auf-flaeche); }

/* Koederfeld gegen Spam. Nicht display:none - manche Spam-Programme
   erkennen das und lassen das Feld dann leer. */
.koeder { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Kartenausschnitt ---------- */
/* Vor dem Klick steht hier nur eine eigene Flaeche - kein iframe, kein
   Bild von Google, kein Request nach aussen. Erst der Knopf setzt das
   iframe ein. */
.karte-feld {
  position: relative; border-radius: var(--rund); overflow: hidden;
  border: 1px solid var(--linie); background: var(--grund2);
  aspect-ratio: 16 / 7; min-height: 280px;
}
.karte-platzhalter {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 28px; text-align: center;
}
.karte-text { max-width: 52ch; font-size: 14.5px; line-height: 1.6; color: var(--auf-grund-leise); margin: 0; }
.karte-feld iframe { display: block; width: 100%; height: 100%; border: 0; }
.karte-fuss { margin-top: 14px; font-size: 14px; }

/* ---------- Fusszeile ---------- */
.fuss { background: var(--flaeche); color: var(--auf-flaeche-leise); padding: 58px 0 26px; font-size: 13.5px; }
.fuss-oben { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.fuss-marke p { margin-top: 15px; max-width: 34ch; line-height: 1.75; }
.fuss-spalte h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--auf-flaeche); margin-bottom: 14px;
}
.fuss-menue { list-style: none; margin: 0; padding: 0; }
.fuss-menue li { margin-bottom: 9px; line-height: 1.5; }
.fuss a { color: var(--auf-flaeche-leise); text-decoration: none; }
.fuss a:hover { color: var(--auf-flaeche); }
.fuss-unten {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--linie-dunkel); padding-top: 20px;
}
.fuss-gruppe { text-align: center; margin-top: 18px; font-size: 12.5px; }

/* ---------- WhatsApp-Knopf, schwebend ---------- */
/* Der Abstand nach unten ist kein Geschmack, sondern Notwendigkeit: Netlify
   setzt im kostenlosen Tarif unten rechts sein eigenes "Powered by Netlify"
   Abzeichen in die Ecke und legt es ueber die Seite. Bei bottom: 20px lag es
   genau auf dem WhatsApp-Knopf, am Handy wie am Rechner. Das Abzeichen ist
   mitsamt seinem Rand rund 50px hoch; 86px raeumen den Knopf sicher darueber.
   Wird die Seite einmal auf einen bezahlten Tarif umgestellt oder das
   Abzeichen entfernt, kann hier wieder 20px stehen. */
.wa-knopf {
  position: fixed; right: 20px; bottom: 86px; z-index: 70;
  display: flex; align-items: center; gap: 9px;
  padding: 13px 20px; border-radius: 999px; text-decoration: none;
  background: #25D366; color: #06331A; font-family: var(--schrift-titel);
  font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.wa-knopf:hover { transform: translateY(-2px); }

/* ---------- Cookie-Hinweis ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 90;
  max-width: 560px; padding: 22px 24px; border-radius: var(--rund);
  background: var(--flaeche); color: var(--auf-flaeche);
  box-shadow: var(--schatten); font-size: 13.5px;
}
.cookie[hidden] { display: none; }
.cookie p { color: var(--auf-flaeche-leise); margin-bottom: 15px; }
.cookie-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Rechtstextseiten ---------- */
.rechtstext { max-width: 760px; padding: 48px 0 70px; }
.rechtstext h2 { font-size: 21px; margin: 34px 0 10px; }
.rechtstext h3 { font-size: 16px; margin: 22px 0 7px; }
.rechtstext p, .rechtstext li { font-size: 15px; color: var(--auf-grund-leise); }
.rechtstext ul { padding-left: 20px; }
.offen-hinweis {
  display: inline-block; padding: 2px 9px; border-radius: 6px;
  background: #FFE8A3; color: #5A4300; font-weight: 700; font-size: 13px;
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1000px) {
  .kat-gitter { grid-template-columns: repeat(2, 1fr); }
  .marken { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .auto-gitter { grid-template-columns: repeat(2, 1fr); }
  .schritte { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .vorteile { grid-template-columns: repeat(2, 1fr); }
  .chauffeur { grid-template-columns: 1fr; gap: 28px; }
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .kontakt-gitter { grid-template-columns: 1fr; }
  .fuss-oben { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .fuss-marke { grid-column: 1 / -1; }
  /* Nicht erst bei 55 Prozent anfangen lassen: der Verlauf ist ab 46
     Prozent schon durchsichtig, dann sieht man die Kante, an der das Bild
     beginnt. Volle Breite, dafuer gedimmt - so gibt es keinen Absatz. */
  .hero-bild { inset: 0; opacity: .5; }
}

@media (max-width: 720px) {
  .kopf-nav { display: none; }
  .menue-knopf { display: block; }
  .kopf-innen { gap: 14px; }
  .kopf-rechts .knopf { display: none; }
  /* Das Logo ist breit (Verhaeltnis rund 4,8:1). Bei 38px Hoehe nimmt es auf
     einem 375px-Display schon die halbe Leiste - daneben wird es eng fuer
     DE/EN und das Menue. Darum hier etwas flacher. */
  .logo-bild { height: 30px; }
  .fuss .logo-bild { height: 38px; }
  /* Aufgeklapptes Menue auf dem Handy. */
  .kopf.offen .kopf-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--flaeche2); padding: 8px 20px 16px;
    border-bottom: 1px solid var(--linie-dunkel);
  }
  .kopf.offen .kopf-nav a { padding: 13px 0; border-bottom: 1px solid var(--linie-dunkel); font-size: 16px; }

  /* Auf dem Handy liegt das Bild hinter dem ganzen Kopfbereich und der
     Verlauf kippt auf senkrecht. Die meisten Besucher kommen ueber eine
     Anzeige auf dem Telefon - ein reines Farbfeld ohne Auto waere dort
     die schwaechste Fassung der Seite. */
  .hero { padding: 54px 0 62px; }
  /* Vorher .42 mit einem Verlauf bis .82 - damit verschwand das Auto fast
     vollstaendig im Rot. Das Fahrzeug ist aber das Produkt, und fast alle
     Besucher sehen zuerst diese Ansicht. Bild heller, Verlauf nur noch so
     dicht, wie die Schrift oben drueber es braucht. */
  .hero-bild { inset: 0; opacity: .58; }
  .hero::after {
    background: linear-gradient(176deg,
      rgba(var(--flaeche-rgb), .95) 0%,
      rgba(var(--flaeche-rgb), .78) 55%,
      rgba(var(--flaeche-rgb), .38) 100%);
  }
  .hero-knoepfe .knopf { flex: 1; }
  .abschnitt { padding: 52px 0; }
  .kat-gitter, .auto-gitter, .vorteile, .schritte { grid-template-columns: 1fr; }
  /* minmax(0,...) statt 1fr: sonst macht ein langes Wort wie "Cadillac"
     seine Spalte breiter als die beiden anderen und die Reihe steht schief.
     Damit das Wort dann auch hineinpasst, wird es am Handy kleiner. */
  .marken { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .marke-wort { font-size: 14px; letter-spacing: .02em; }
  .datenliste, .merkmalliste, .feld-paar { grid-template-columns: 1fr; }
  .galerie-leiste { grid-template-columns: repeat(4, 1fr); }
  .fuss-oben { grid-template-columns: 1fr; gap: 28px; }
  .fuss-unten { justify-content: center; text-align: center; }
  /* Das Netlify-Abzeichen sitzt am Handy in derselben Ecke und ist dort
     genauso hoch. Rechts darf der Knopf naeher an den Rand, oben nicht. */
  .wa-knopf { padding: 13px 16px; right: 14px; bottom: 80px; }
  .wa-knopf span { display: none; }
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; }
}

/* Wer Bewegung reduziert haben moechte, bekommt keine. */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
