/* ==========================================================================
   Hupe Motors – Duderstadt | OnePager
   styles.css
   Aufbau:
     01 Root / Custom Properties
     02 Reset & Base
     03 Typografie
     04 Layout-Helfer
     05 Buttons & Links
     06 Header / Navigation
     07 Hero
     08 Vertrauensleiste
     09 Spezialisierung Wohnmobile & Transporter
     10 Leistungen / Fahrzeugkarten
     11 Brembo Expert Partner
     12 Warum Hupe Motors
     13 Terminanfrage / Formular
     14 Footer
     15 Icons & Hintergrunddekoration
     16 Animationen
     17 Responsive Breakpoints
   ========================================================================== */

/* 01 -------------------------------------------------------------------- Root */
:root {
  --color-dark: #101215;
  --color-dark-2: #181B1F;
  --color-dark-3: #24272B;

  --color-white: #FDFDFD;
  --color-offwhite: #F5F3EE;
  --color-light: #E9E6DE;

  --color-text: #141414;
  --color-text-muted: #686868;

  --color-gold: #967E44;
  --color-gold-light: #B49A5C;
  --color-gold-dark: #786333;

  --color-border: #D8D5CE;

  --color-brembo: #E1251B;

  --font-display: "Archivo", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, Helvetica, sans-serif;

  --container: 1320px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 10px;

  --shadow-card: 0 1px 2px rgba(16, 18, 21, .04), 0 6px 18px rgba(16, 18, 21, .05);
  --shadow-card-hover: 0 2px 4px rgba(16, 18, 21, .05), 0 12px 26px rgba(16, 18, 21, .08);

  --header-h: 84px;
  --header-h-scrolled: 68px;

  --section-pad: clamp(56px, 7vw, 104px);
}

/* 02 ------------------------------------------------------------ Reset & Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--color-offwhite);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
picture { display: block; max-width: 100%; }

img { height: auto; }

body.nav-open { overflow: hidden; }

/* Sichtbare Fokus-Zustaende (Tastaturbedienung) */
:focus-visible {
  outline: 2px solid var(--color-gold-dark);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--color-dark-2);
  color: var(--color-white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Nur fuer Screenreader sichtbare Ueberschriften */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 03 ---------------------------------------------------------------- Typografie */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  color: inherit;
}

h1 { font-size: clamp(2.05rem, 1.15rem + 3.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.05rem + 2vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, .95rem + .5vw, 1.3rem); font-weight: 700; line-height: 1.2; }

h1, h2, .section-head { text-wrap: balance; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}
.eyebrow--light { color: var(--color-gold-light); }
.eyebrow--brembo { color: var(--color-brembo); }

.lead {
  font-size: clamp(1rem, .95rem + .3vw, 1.12rem);
  color: var(--color-text-muted);
}

.section--dark .lead,
.section--dark p { color: #B9BDC4; }

/* 04 ------------------------------------------------------------ Layout-Helfer */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section { padding-block: var(--section-pad); }
.section--light { background: var(--color-offwhite); }
.section--white { background: var(--color-white); }
.section--dark { background: var(--color-dark); color: var(--color-white); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.hairline {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}
.section--dark .hairline { border-top-color: rgba(255, 255, 255, .1); }

/* 05 ---------------------------------------------------------- Buttons & Links */
.btn {
  --btn-border: rgba(255, 255, 255, .45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--color-dark-2);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease;
}
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn:hover,
.btn:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: rgba(16, 18, 21, .5);
  border-color: rgba(255, 255, 255, .62);
  color: var(--color-white);
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(8, 10, 12, .32);
}
.btn--ghost .icon { color: currentColor; }
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(16, 18, 21, .72);
  color: var(--color-gold-light);
  border-color: var(--color-gold);
}
.btn--ghost:hover .icon { color: currentColor; }

/* Hero: Hauptaktion gefuellt (Akzentfarbe), Sekundaeraktion als Randbutton.
   Nur so ist auf dem Foto eindeutig, welche der beiden Aktionen die erste ist. */
.hero-actions .btn:not(.btn--ghost) {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-dark);
}
.hero-actions .btn:not(.btn--ghost) .icon { color: var(--color-dark); }
.hero-actions .btn:not(.btn--ghost):hover,
.hero-actions .btn:not(.btn--ghost):focus-visible {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark);
}

.btn--onlight {
  --btn-border: #2A2E33;
  background: var(--color-dark-2);
  color: var(--color-white);
}

.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 16.5px; }

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .6;
  cursor: not-allowed;
}

/* Link mit Gold-Unterstrich */
.link-gold {
  color: var(--color-gold-dark);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.link-gold:hover { color: var(--color-gold); }

/* 06 --------------------------------------------------- Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .2s ease, border-color .2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
  transition: min-height .2s ease;
}
.site-header.is-scrolled .header-inner { min-height: var(--header-h-scrolled); }
.site-header.is-scrolled { background: #0C0E11; }

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}
.brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: height .2s ease;
}
.site-header.is-scrolled .brand img { height: 48px; }

.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  color: #DDDCD8;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--color-gold);
  transition: right .22s ease;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="true"] { color: var(--color-white); }
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="true"]::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #DDDCD8;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--color-gold); }
.header-phone:hover { color: var(--color-gold-light); }

/* Mobiles Menue */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  background: var(--color-dark-2);
  color: var(--color-white);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle:hover { border-color: var(--color-gold); color: var(--color-gold-light); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 07 ----------------------------------------------------------------- Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 860px);
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--color-dark);
  color: var(--color-white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center 46%;
  /* Hero etwas heller: leichte Anhebung von Helligkeit und Farbe,
     Textkontrast bleibt durch das Overlay erhalten. */
  filter: brightness(1.13) saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 13, 16, .8) 0%, rgba(11, 13, 16, .66) 30%, rgba(11, 13, 16, .46) 60%, rgba(11, 13, 16, .3) 100%),
    linear-gradient(to top, rgba(11, 13, 16, .78) 0%, rgba(11, 13, 16, 0) 48%),
    rgba(11, 13, 16, .06);
}

.hero-inner { max-width: 780px; }

.hero h1 { max-width: 19ch; }
.hero-sub {
  max-width: 56ch;
  margin-bottom: 30px;
  font-size: clamp(1rem, .95rem + .35vw, 1.15rem);
  color: #C7CBD1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #E4E5E8;
}
.hero-trust .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-gold-light);
}

/* 08 ------------------------------------------------------- Vertrauensleiste */
.trust-bar { padding-block: clamp(46px, 5.5vw, 76px); }

.trust-head {
  max-width: 74ch;
  margin: 0 0 clamp(26px, 3vw, 38px);
}
.trust-head h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.05rem);
}
.trust-lead {
  margin: 0;
  max-width: 68ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.1rem);
  color: var(--color-text-muted);
}

/* Gemeinsames Kaestchen-System ------------------------------------------
   Vertrauens-Kacheln ("Regional in Duderstadt") und Fahrzeugkarten
   ("Unsere Leistungen") haben dieselbe Flaeche, denselben Radius, denselben
   Rahmen, denselben Schatten, denselben Hover-Zustand und dieselbe
   Typografie - so wirkt keine Kachel wie ein Fremdkoerper. */
.trust-item,
.vehicle-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.trust-item:hover,
.vehicle-card:hover,
.vehicle-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(150, 126, 68, .35);
}

/* Kartenkopf: Schriftbild in beiden Kartentypen identisch. Ein Symbol steht nur
   noch in den Kacheln von "Regional in Duderstadt" - die Fahrzeugkarten zeigen
   bewusst nur Bild, Namen und Text. */
.trust-item__title,
.vehicle-card__title {
  margin-bottom: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}
.trust-item__title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item p,
.vehicle-card__body p {
  margin: 0;
  font-size: 14.6px;
  line-height: 1.6;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.trust-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.trust-item { padding: clamp(22px, 2.4vw, 30px); }

/* 09 ------------------------------------------ Spezialisierung Wohnmobile */
.special {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.special-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-light);
  box-shadow: var(--shadow-card);
}
.special-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
}

.special-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.special-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15.5px;
  font-weight: 500;
}
/* 10 ------------------------------------------- Leistungen / Fahrzeugkarten */
.vehicle-grid {
  display: grid;
  /* Desktop: alle sechs Fahrzeugarten nebeneinander in einer Reihe (1 x 6) */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.3vw, 20px);
}

/* Flaechen, Rahmen, Radius und Schatten kommen aus dem gemeinsamen
   Kaestchen-System (Abschnitt 08) - hier nur die Besonderheit Karte. */
.vehicle-card { overflow: hidden; }

.vehicle-card__media {
  background: #EDEBE6;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  overflow: hidden;
}
.vehicle-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}
.vehicle-card:hover .vehicle-card__media img { transform: scale(1.02); }

.vehicle-card__body { padding: 18px 18px 22px; }

/* Desktop: sechs Karten in einer Reihe sind schmaler -> etwas knappere
   Innenabstaende. Schriftgroessen bleiben ueberall identisch. */
@media (min-width: 1200px) {
  .vehicle-card__body { padding: 17px 16px 20px; }
}

/* Abschnittsueberschrift "Fuer jedes Fahrzeug die richtige Loesung":
   auf Desktop in einer Zeile - dafuer breiterer Kopfbereich. */
@media (min-width: 1100px) {
  .section-head--wide { max-width: 900px; }
  .section-head--wide .h2--oneline { white-space: nowrap; }
}

.services-note {
  margin-top: clamp(26px, 3vw, 38px);
  font-size: 14.5px;
  color: var(--color-text-muted);
}

/* 11 -------------------------------------------------- Brembo Expert Partner */
.brembo {
  position: relative;
  overflow: hidden;
  background: #0C0E11;
}
.brembo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.brembo-partner {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: 26px;
}
/* Offizielles Brembo-Logo: die SVG-Datei ist freigestellt (kein eigener
   Hintergrund) und liegt ohne weisse Platte direkt auf dem dunklen Bereich. */
.brembo-partner__logo {
  display: inline-flex;
  align-items: center;
}
.brembo-partner__logo img {
  display: block;
  width: clamp(148px, 16vw, 190px);
  height: auto;
}
.brembo-partner__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.45;
  text-transform: uppercase;
  color: #F0F1F3;
  border-left: 1px solid rgba(225, 37, 27, .55);
  padding-left: clamp(14px, 1.6vw, 20px);
}

.brembo-points {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.brembo-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15.5px;
  font-weight: 500;
  color: #E4E5E8;
}
.brembo-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.brembo-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.brembo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 17, .78), rgba(12, 14, 17, .12) 60%);
}
.brembo-media__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  font-size: 15.5px;
  line-height: 1.5;
  color: #EDEFF2;
}
.brembo-media__caption::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 10px;
  background: var(--color-brembo);
}

.brembo-strap {
  display: inline-block;
  margin-top: 26px;
  padding-left: 16px;
  border-left: 3px solid var(--color-brembo);
  font-size: 14.5px;
  color: #A9AEB5;
}

/* 12 ---------------------------------------------------- Warum Hupe Motors */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.about-grid li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  align-items: start;
  font-size: 15.5px;
  font-weight: 500;
}
/* 13 --------------------------------------------------- Terminanfrage */
.appointment {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.appointment-info { max-width: 460px; }

.appointment-points {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.appointment-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-muted);
}
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.field label {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}
.field .req { color: var(--color-gold-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease;
  appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23686868' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #BFBBB2; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-gold-dark);
  box-shadow: 0 0 0 3px rgba(120, 99, 51, .14);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--color-brembo); }

.field-error {
  margin: 6px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #B71C13;
}
.field-error:empty { display: none; }

.field-hint {
  margin: 7px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 44px;
  padding-block: 4px;
  font-size: 14.5px;
  color: var(--color-text-muted);
  cursor: pointer;
}
.checkbox input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 1px 0 0;
  accent-color: var(--color-gold-dark);
  appearance: auto;
  cursor: pointer;
}
.checkbox a { color: var(--color-gold-dark); }
.checkbox.is-invalid input { outline: 2px solid var(--color-brembo); outline-offset: 2px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 24px;
}
.form-actions .btn { min-width: 210px; }

.form-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-text-muted);
}
.form-note .req { color: var(--color-gold-dark); }

.form-status {
  margin: 18px 0 0;
  font-size: 14.5px;
  color: var(--color-text-muted);
}
.form-status:empty { display: none; }

.form-status[data-state="success"] {
  padding: 16px 18px;
  border: 1px solid rgba(120, 99, 51, .4);
  border-left: 3px solid var(--color-gold-dark);
  border-radius: var(--radius);
  background: #FAF7F0;
  color: var(--color-text);
}
.form-status[data-state="error"] {
  padding: 16px 18px;
  border: 1px solid rgba(225, 37, 27, .4);
  border-left: 3px solid var(--color-brembo);
  border-radius: var(--radius);
  background: #FDF3F2;
  color: #8E1A13;
}

/* 14 ---------------------------------------------------------------- Footer */
.site-footer {
  background: var(--color-dark);
  color: #B9BDC4;
  padding-block: clamp(44px, 5vw, 72px) 0;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(34px, 4vw, 52px);
}

.footer-brand img { height: 58px; width: auto; object-fit: contain; }
.footer-brand p {
  margin: 18px 0 0;
  max-width: 34ch;
  color: #C2C6CC;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-list a,
.footer-list span { color: #B9BDC4; text-decoration: none; }
.footer-list a:hover { color: var(--color-gold-light); }

.footer-contact li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
}
.footer-contact .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--color-gold);
}

.footer-company {
  margin: 0 0 12px;
  color: #FDFDFD;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.footer-contact a {
  text-decoration: none;
}
.footer-contact a:hover { color: var(--color-gold-light); }

.todo {
  color: #8A9098;
  font-style: normal;
}
.todo::after {
  content: " (Angabe folgt)";
  font-size: 12.5px;
  color: #7C8289;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: #8F959D;
}
.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal a { color: #B9BDC4; text-decoration: none; }
.footer-legal a:hover { color: var(--color-gold-light); }

/* 15 --------------------------------------------------- Icons & Dekoration */
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Einheitliches Symbol-System: alle Inhalts-Symbole der Seite haben
   dieselbe Groesse (22 px) und dieselbe Farbe. Nur die kleinen Symbole in
   der Kopfzeile, im Hero-Vertrauensband und im Footer-Kontakt bleiben
   eine Stufe kleiner (20 px). */
.special-list .icon,
.brembo-points .icon,
.about-grid .icon,
.appointment-points .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--color-gold-dark);
}
/* Direktkontakt im Terminabschnitt (Telefon, E-Mail, Anschrift) */
.appointment-contact { margin-top: 30px; }
.appointment-contact .eyebrow { margin-bottom: 14px; }
.appointment-points a {
  color: var(--color-gold-dark);
  font-weight: 600;
  text-decoration: none;
}
.appointment-points a:hover { text-decoration: underline; }
.trust-item__title .icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--color-gold-dark);
}
/* Auf dunklem Grund bleiben die Symbole gut erkennbar. */
.section--dark .brembo-points .icon { color: var(--color-gold-light); }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 16 ------------------------------------------------------------ Animationen */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 17 --------------------------------------------------- Responsive Breakpoints */
@media (max-width: 1180px) {
  .nav-list { gap: 20px; }
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--color-dark);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px clamp(18px, 4vw, 40px) 22px;
  }
  .nav-list li + li { border-top: 1px solid rgba(255, 255, 255, .07); }
  .nav-link { display: block; padding: 16px 0; font-size: 16px; }
  .nav-link::after { display: none; }

  .nav-toggle { display: inline-flex; }
  /* Telefonkontakt + Menue bilden eine Gruppe rechts (Logo bleibt links) */
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }

  .special,
  .about,
  .appointment,
  .brembo-grid { grid-template-columns: minmax(0, 1fr); }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Notebook: sechs Karten waeren zu schmal -> 3 x 2 */
@media (max-width: 1199px) {
  .vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 24px);
  }
}

/* Tablet: Fahrzeugkarten 2 x 3 */
@media (max-width: 900px) {
  .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }

  .hero { min-height: auto; }
  /* Mobil liegt der Text über der ganzen Fläche: gleichmäßiger, etwas
     weicherer Schleier und Bildausschnitt auf Rad und Mechaniker. */
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 13, 16, .48) 0%, rgba(11, 13, 16, .4) 44%, rgba(11, 13, 16, .54) 100%);
  }
  .hero-media img { object-position: 28% 50%; }
  .hero h1 { max-width: none; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 220px; }
  .hero-trust { gap: 12px 26px; }
  .hero-trust li { font-size: 15.5px; }
  .hero-trust .icon { width: 20px; height: 20px; }

  .trust-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .vehicle-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
  .footer-legal { justify-content: flex-start; }
  .header-phone { font-size: 14px; gap: 6px; }
  .header-phone .icon { width: 16px; height: 16px; }
  .header-inner { gap: 14px; }
  .header-actions { gap: 10px; }
}

@media (max-width: 420px) {
  .brand img { height: 38px; }
  .site-header.is-scrolled .brand img { height: 34px; }
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .vehicle-card:hover { transform: none; }
  .vehicle-card:hover .vehicle-card__media img { transform: none; }
}

/* Druck */
@media print {
  .site-header, .form-actions { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   18 WORDPRESS / BLANKPRESS
   Der Gutenberg-HTML-Block bleibt so breit wie das ursprüngliche Lab-Layout.
   ========================================================================== */

main,
.site-main,
.entry-content,
.wp-block-post-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.wp-block-html,
.entry-content > .wp-block-html,
.wp-block-post-content > .wp-block-html {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.entry-header,
.page-header {
  display: none;
}

.site-main {
  margin-top: 0;
  margin-bottom: 0;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

