/* Raleway lokal gehostet (DSGVO: kein Google-Fonts-CDN), Variable Font 100-900 */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/raleway-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/raleway-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Das eingebaute [hidden] des Browsers verliert gegen jede Klasse, die display
   setzt (z. B. .form__row mit display:grid). Deshalb hier einmal verbindlich,
   sonst bleiben per JS versteckte Bloecke sichtbar. */
[hidden] { display: none !important; }

:root {
  --black:      #000000;
  --dark:       #0a0a0a;
  --dark2:      #111111;
  --dark3:      #151515;
  --dark4:      #1d1d1d;
  --card:       #1a1a1a;
  --border:     #2a2a2a;
  --border2:    #333333;
  --yellow:     #ffed00;
  --yellow-dim: rgba(255,237,0,0.85);
  --white:      #ffffff;
  --gray:       #5d5d5d;
  --gray-light: #999999;
  --gray-lighter: #cccccc;
  --beige:      #ebeae9;
  --check:      #ffed00;
  --radius:     2px;
  --radius-lg:  4px;
  --shadow:     0 4px 20px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn--primary:hover {
  background: #fff200;
  border-color: #fff200;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border2);
}
.btn--outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn--yellow-outline {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn--yellow-outline:hover {
  background: var(--yellow);
  color: var(--black);
}

.btn--lg { padding: 15px 34px; font-size: 13px; }
.btn--full { width: 100%; }

/* NAV */
.nav {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Platzhalter reserviert Nav-/Footer-Höhe bis partials.js injiziert -> kein Layout-Sprung beim Seitenwechsel */
#site-nav:empty { display: block; min-height: 89px; }
#site-footer:empty { display: block; min-height: 300px; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  /* leichter Einzug + Tiefstellung: sonst sitzt das Logo optisch zu weit
     links und zu hoch gegenueber der Navi-Schrift rechts daneben */
  padding-left: 10px;
  transform: translateY(3px);
}
.nav__logo img {
  /* Querformat-Logo: Hoehe kleiner, Wortmarke dadurch breiter und praesenter */
  height: 55px;
  width: auto;
}
.nav__logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1.2;
}
.nav__logo-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__logo-sub {
  font-size: 10px;
  color: var(--yellow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__right .btn { white-space: nowrap; }
.nav__phone {
  display: none; /* Telefon nur im Mobile-Menü + CTA, hält Desktop-Nav schlank */
  font-size: 14px;
  color: var(--gray-lighter);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.nav__phone:hover { color: var(--yellow); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-lighter);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav__link:hover { color: var(--yellow); }
.nav__link[aria-current="page"] {
  color: var(--yellow);
}

@media (max-width: 900px) {
  .nav__links { gap: 0; }
  .nav__link { padding: 8px 10px; font-size: 12px; }
}

/* HAMBURGER — hidden on desktop */
.nav__toggle {
  display: none;
}

/* MOBILE NAV DROPDOWN — hidden until .open */
.nav__mobile {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
/* Per-Seite eigenes Hero-Foto (echte Fahrzeugbilder) */
body[data-page="fahrzeuge"]  .hero__bg { background-image: url('assets/hero-fahrzeuge.jpg'); }
body[data-page="ankauf"]     .hero__bg { background-image: url('assets/hero-ankauf.jpg'); }
body[data-page="leistungen"] .hero__bg { background-image: url('assets/hero-leistungen.jpg'); }
body[data-page="ueber-uns"]  .hero__bg { background-image: url('assets/hero-ueber.jpg'); opacity: 0.11; }
body[data-page="kontakt"]    .hero__bg { background-image: url('assets/hero-kontakt.jpg'); }
body[data-page="karriere"]   .hero__bg { background-image: url('assets/hero-leistungen.jpg'); }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 80px 0 72px;
  min-height: 540px;
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--yellow);
  flex-shrink: 0;
}
.hero__title {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
  text-transform: uppercase;
}
.hero__title span { color: var(--yellow); }
.hero__sub {
  font-size: 16px;
  color: var(--gray-lighter);
  margin-bottom: 36px;
  line-height: 1.75;
  font-weight: 400;
  max-width: 480px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-lighter);
  font-weight: 500;
}
.check-item svg { color: var(--yellow); flex-shrink: 0; }

/* HERO — EDITORIAL (zentriert + Marken-Leiste, Startseite) */
/* Hoehe waechst mit der Viewport-Breite, damit das 16:9-Teamfoto auf breiten
   Monitoren nicht oben/unten weggeschnitten wird (sonst fallen die Koepfe raus). */
.hero--editorial {
  display: flex;
  align-items: center;
  min-height: min(38vw, 900px);
}
.hero--editorial .container {
  width: 100%;
  padding-top: 104px;
  padding-bottom: 0;
  text-align: center;
}
/* Schwarzweiss-Teamfoto darf man sehen: hohe Deckkraft, Vignette nur so stark wie noetig */
/* Ausschnitt oberhalb der Mitte: was wegfaellt, faellt unten weg (Pflaster). */
.hero--editorial .hero__bg { opacity: 0.72; background-position: center 16%; }
/* Am Handy schneidet der Querformat-Ausschnitt beide Personen an: Hochformat-Variante */
@media (max-width: 700px) {
  .hero--editorial .hero__bg {
    background-image: url('assets/hero-mobil.jpg');
    background-position: center 18%;
  }
}
.hero--editorial .hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.75)),
    radial-gradient(ellipse at 50% 38%, rgba(0,0,0,0.05), rgba(0,0,0,0.5) 80%);
}
.hero__eyebrow--center {
  justify-content: center;
  margin-bottom: 26px;
}
.hero__title--center {
  max-width: 16ch;
  margin: 0 auto 24px;
}
.hero__sub--center {
  max-width: 580px;
  margin: 0 auto 38px;
}
.hero__ctas--center {
  justify-content: center;
  margin-bottom: 84px;
}
.hero__trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 64px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hero__trust:hover { border-color: var(--yellow); background: rgba(255,237,0,0.05); }
.hero__trust-stars { display: flex; gap: 3px; }
.hero__trust-divider { width: 1px; height: 20px; background: var(--border); }
.hero__trust-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-lighter);
}
.hero__trust-text strong { color: var(--white); font-weight: 700; }

/* HERO INFO CARD (used on ankauf / fahrzeuge / kontakt) */
.hero__card {
  background: var(--dark4);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.hero__card-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.price-range {
  text-align: center;
  margin-bottom: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.price-range__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-light);
  margin-bottom: 8px;
  font-weight: 600;
}
.price-range__value {
  font-size: 30px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.01em;
}
.price-range__sub {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.hero__card-items {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
}
.hero__card-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-lighter);
  font-weight: 500;
}
.hero__card-item svg { color: var(--yellow); flex-shrink: 0; }
.hero__card-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-light);
  padding: 18px 0 24px;
  margin-bottom: 4px;
  border-top: 1px solid var(--border);
}

/* PORTRAIT (Über uns — Inhaber-Foto) */
.portrait {
  margin: 0;
  align-self: stretch;
}
.portrait__media {
  display: block;
  width: 100%;
  height: auto; /* schlaegt das height-Attribut, sonst greift aspect-ratio nicht */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: var(--dark4);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
}
.portrait__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
}
.portrait__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.portrait__role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* DANKE-SEITE */
.danke {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 96px 0 104px;
}
.danke__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.danke__check {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
}
.danke__title {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
}
.danke__sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-lighter);
  margin: 0 auto 32px;
  max-width: 520px;
}
.danke__contact {
  padding: 22px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.danke__contact-label {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 8px;
}
.danke__phone {
  font-size: 26px;
  font-weight: 800;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.danke__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* STEPS */
.steps {
  padding: 80px 0;
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--yellow);
  flex-shrink: 0;
}
.section-title span { color: var(--yellow); }
.section-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}
.section-sub {
  color: var(--gray-light);
  font-size: 15px;
  font-weight: 400;
}
.section-header { margin-bottom: 52px; }

.steps__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.step {
  flex: 1 1 calc(33.333% - 14px);
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.2s;
}
.step:hover { border-color: var(--border2); }
.step__num {
  font-size: 40px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.9;
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.step p { color: var(--gray-light); font-size: 14px; line-height: 1.7; }

/* BENEFITS */
.benefits {
  padding: 80px 0;
  background: var(--dark3);
  border-bottom: 1px solid var(--border);
}
.benefits__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.benefit-card {
  flex: 1 1 calc(33.333% - 14px);
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.benefit-card:hover { border-color: rgba(255,237,0,0.3); }
.benefit-card__icon {
  width: 32px;
  height: 32px;
  color: var(--yellow);
  margin-bottom: 18px;
}
.benefit-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.benefit-card p {
  color: var(--gray-light);
  font-size: 14px;
  line-height: 1.7;
}
.benefit-card p a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,237,0,0.35);
  transition: border-color 0.18s ease;
}
.benefit-card p a:hover { border-bottom-color: var(--yellow); }

/* FORM */
.form-section {
  padding: 80px 0;
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
}
.car-form { max-width: 780px; }
.form__block {
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 20px;
}
.form__block-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form__row:last-child { margin-bottom: 0; }
.form__group { display: flex; flex-direction: column; gap: 7px; }
.form__hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-light);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: -2px;
}
label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-lighter);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
input, select, textarea {
  background: var(--dark3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color 0.15s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
input::placeholder, textarea::placeholder { color: var(--gray); }
select option { background: var(--dark3); color: var(--white); }
textarea { resize: vertical; min-height: 80px; }

/* FORM NOTICE */
.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,237,0,0.06);
  border: 1px solid rgba(255,237,0,0.25);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 28px;
  max-width: 780px;
  font-size: 14px;
  color: var(--gray-lighter);
  line-height: 1.65;
}
.form-notice svg {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-notice strong { color: var(--white); }
.form-notice__sub {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--gray-light);
}

.damage-photo-notice {
  background: rgba(255,237,0,0.08);
  border: 1px solid rgba(255,237,0,0.3);
  border-radius: var(--radius-lg);
  color: var(--gray-lighter);
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0 26px;
  padding: 14px 16px;
}
.damage-photo-notice strong { color: var(--white); }

/* MULTI-STEP PROGRESS */
.form-progress {
  display: flex;
  align-items: center;
  max-width: 780px;
  margin-bottom: 32px;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.progress-step__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark4);
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-light);
  transition: all 0.2s;
}
.progress-step span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.2s;
}
.progress-step.active .progress-step__dot {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.progress-step.active span { color: var(--yellow); }
.progress-step.done .progress-step__dot {
  background: rgba(255,237,0,0.15);
  border-color: rgba(255,237,0,0.5);
  color: var(--yellow);
}
.progress-step.done span { color: var(--gray-lighter); }
.progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
  margin-bottom: 24px;
}

/* FORM NAV */
.form__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  max-width: 780px;
}

/* INPUT ERROR */
.input--error {
  border-color: #ef4444 !important;
}

/* LABEL OPTIONAL */
.label-optional {
  font-weight: 400;
  font-size: 11px;
  color: var(--gray-light);
  text-transform: none;
  letter-spacing: 0;
}

/* UPLOAD AREA */
.upload-area {
  border: 2px dashed var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.upload-area.drag-over {
  border-color: var(--yellow);
  background: rgba(255,237,0,0.04);
}
.upload-area__inner {
  padding: 40px 28px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}
.upload-area__inner:hover { background: rgba(255,255,255,0.03); }
.upload-area__inner svg { color: var(--gray-light); }
.upload-area__inner p {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-lighter);
  margin: 0;
}
.upload-area__inner span {
  font-size: 12px;
  color: var(--gray-light);
}
.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px 16px;
}
.preview-thumb {
  position: relative;
  width: 88px;
  height: 66px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border2);
}
.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-thumb button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.preview-thumb button:hover { background: #ef4444; }

/* Datei-Chip (Lebenslauf/Dokumente — Dateiname statt Bildvorschau) */
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 8px 8px 14px;
  background: var(--surface, #141414);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  font-size: 13px;
}
.file-chip__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}
.file-chip button {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.55);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.file-chip button:hover { background: #ef4444; }

.form__consent { margin-bottom: 20px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-light);
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--yellow);
}
.checkbox-label a { color: var(--yellow); text-decoration: none; }
.checkbox-label a:hover { text-decoration: underline; }

.form__success {
  background: rgba(255,237,0,0.06);
  border: 1px solid rgba(255,237,0,0.3);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 20px;
}
.success-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--black);
  font-weight: 700;
  margin: 0 auto 18px;
}
.form__success h3 { font-size: 20px; margin-bottom: 8px; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; }
.form__success p { color: var(--gray-light); font-size: 15px; }
.form__error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #fca5a5;
  font-size: 13px;
  margin-top: 14px;
}
.form__error a { color: var(--yellow); }

/* FAQ */
.faq {
  padding: 80px 0;
  background: var(--dark3);
  border-bottom: 1px solid var(--border);
}
.faq__list { max-width: 780px; }
.faq__item {
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item[open] { border-color: rgba(255,237,0,0.3); }
.faq__item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  text-transform: uppercase;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--yellow);
  flex-shrink: 0;
  font-weight: 300;
  line-height: 1;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p {
  padding: 14px 22px 20px;
  color: var(--gray-lighter);
  font-size: 14px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq__item p strong { color: var(--white); }
.faq__item p a { color: var(--yellow); text-decoration: none; }

/* CONTACT STRIP */
.contact-strip {
  background: var(--yellow);
  padding: 44px 0;
}
.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact-strip h3 {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 4px;
}
.contact-strip p {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  font-weight: 500;
}
.contact-strip__actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn--dark {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}
.btn--dark:hover {
  background: #111;
  border-color: #111;
}
.btn--dark-outline {
  background: transparent;
  color: var(--black);
  border-color: rgba(0,0,0,0.35);
}
.btn--dark-outline:hover {
  border-color: var(--black);
  background: rgba(0,0,0,0.08);
}

/* FOOTER */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 44px;
}
.footer__logo {
  height: 62px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}
.footer__col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer__col p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.85;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--gray-light);
  text-decoration: none;
  line-height: 2;
}
.footer__col a:hover { color: var(--yellow); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.03em;
}
.footer__bottom a { color: var(--gray); text-decoration: none; }
.footer__bottom a:hover { color: var(--yellow); }

/* ANIMATIONEN */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero__content { animation: fadeUp 0.7s ease both; }
.hero__card { animation: fadeUp 0.7s 0.15s ease both; }

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
/* Zoom-Mittelpunkt auf Kopfhoehe, damit der Ken-Burns die Gesichter nicht anschneidet */
.hero__bg--kenburns { animation: kenburns 16s ease-out infinite alternate; transform-origin: 50% 30%; }

.hero__reveal { animation: fadeUp 0.8s ease both; }
.hero__reveal--1 { animation-delay: 0.1s; }
.hero__reveal--2 { animation-delay: 0.2s; }
.hero__reveal--3 { animation-delay: 0.3s; }
.hero__reveal--4 { animation-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .hero__bg--kenburns { animation: none; }
  .hero__reveal { animation: none; }
}

.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* KONTAKT INFO GRID */
.kontakt-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px) {
  .kontakt-info-grid { grid-template-columns: 1fr; }
}

/* TESTIMONIAL CAROUSEL (Kundenstimmen) */
.testimonial-carousel { position: relative; }
.testimonial-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testimonial-scroll::-webkit-scrollbar { display: none; }
.testimonial-scroll .benefit-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.testimonial-carousel::before,
.testimonial-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 2;
}
.testimonial-carousel::before { left: 0; background: linear-gradient(to right, var(--dark3), transparent); }
.testimonial-carousel::after { right: 0; background: linear-gradient(to left, var(--dark3), transparent); }
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.testimonial-nav__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.testimonial-nav__btn:hover { border-color: var(--yellow); color: var(--yellow); }
.testimonial-nav__btn:disabled { opacity: 0.35; cursor: default; }
.testimonial-nav__btn:disabled:hover { border-color: var(--border); color: var(--white); }
@media (max-width: 600px) {
  .testimonial-scroll .benefit-card { flex-basis: 260px; }
  .testimonial-carousel::before, .testimonial-carousel::after { width: 24px; }
}
.stars5 {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-quote {
  color: var(--gray-lighter);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* JOB CARD (Karriere: Offene Stellen) */
.job-card {
  max-width: 760px;
  margin: 0 auto 32px;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.job-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.job-card__title {
  font-size: 20px;
  margin-bottom: 10px;
}
.job-card__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray-light);
}
.job-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.job-card__meta svg { color: var(--yellow); flex-shrink: 0; }
.job-card__body p {
  color: var(--gray-lighter);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.job-card__body p:last-child { margin-bottom: 0; }
.job-card__footnote {
  text-align: center;
  color: var(--gray-light);
  font-size: 14px;
}

/* PICKERL ROW */
.pickerl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* PA DIGITAL BACKLINK */
.footer__credit {
  border-top: 1px solid var(--border);
  padding: 12px 0;
  text-align: center;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.footer__credit a {
  color: var(--gray-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.footer__credit a:hover { color: var(--yellow); }

/* LEGAL PAGE */
.legal-page {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
}
.legal-page__inner {
  max-width: 860px;
  padding-top: 70px;
  padding-bottom: 80px;
}
.legal-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-section h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-section p {
  color: var(--gray-lighter);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-section a {
  color: var(--yellow);
  text-decoration: none;
}
.legal-section a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding: 60px 0; min-height: 0; }
  .hero__card { max-width: 100%; }
  .benefit-card, .step { flex-basis: calc(50% - 10px); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contact-strip__inner { flex-direction: column; text-align: center; }
  .contact-strip__actions { justify-content: center; }
}

@media (max-width: 1055px) {
  /* NAV — Hamburger übernimmt ab Tablet-Breite (verhindert überfüllte Leiste) */
  .nav { position: relative; }
  /* hide desktop phone + CTA from nav__right; they appear in mobile menu instead */
  .nav__phone { display: none; }
  .nav__right .btn { display: none; }
  /* hide inline nav links row — mobile menu replaces it */
  .nav__links { display: none; }
  .nav__inner { height: 70px; }
  #site-nav:empty { min-height: 71px; }
  .nav__logo img { height: 44px; }
  .nav__logo-text { font-size: 13px; letter-spacing: 0.1em; }
  .nav__logo-sub { font-size: 9px; }

  /* hamburger button */
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
  }
  .nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: background 0.15s;
  }
  .nav__toggle:hover span { background: var(--yellow); }

  /* mobile dropdown menu */
  .nav__mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav__mobile.open {
    /* Feste 400px haben den Fahrzeugankauf-Knopf unten abgeschnitten: das Menue
       braucht 432px. Statt einer neuen festen Zahl richtet sich die Hoehe nach
       dem Bildschirm, und bei wenig Platz (Handy quer) wird gescrollt. */
    max-height: 600px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav__mobile .nav__link {
    display: block;
    padding: 14px 20px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--gray-lighter);
  }
  .nav__mobile .nav__link:hover,
  .nav__mobile .nav__link[aria-current="page"] { color: var(--yellow); background: rgba(255,237,0,0.04); }
  .nav__mobile-phone {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-lighter);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.03em;
  }
  .nav__mobile-phone:hover { color: var(--yellow); }
  .nav__mobile-cta {
    margin: 14px 20px;
    text-align: center;
  }
}

@media (max-width: 680px) {
  /* HERO */
  .hero__inner { padding: 40px 0 40px; align-items: start; }
  .hero__content { padding-top: 40px; }
  .hero__title { font-size: 34px; }
  .hero__eyebrow { margin-bottom: 14px; font-size: 10px; letter-spacing: 0.14em; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; text-align: center; }
  /* Mehr Luft oben, damit die Koepfe im Teamfoto ueber der Headline stehen statt dahinter */
  .hero--editorial .container { padding-top: 200px; }
  .hero--editorial .hero__title { font-size: 30px; letter-spacing: -0.02em; }
  .hero--editorial .hero__eyebrow { flex-wrap: wrap; font-size: 9px; letter-spacing: 0.1em; }
  .hero--editorial .hero__eyebrow::before,
  .hero--editorial .hero__eyebrow::after { width: 18px; }
  .hero__ctas--center { margin-bottom: 32px; }
  .hero__trust { flex-direction: column; gap: 10px; margin-bottom: 44px; padding: 14px 20px; }
  .hero__trust-divider { display: none; }

  /* SECTIONS */
  .steps, .benefits, .form-section, .faq { padding: 52px 0; }
  .benefit-card, .step { flex-basis: 100%; }

  /* FORM */
  .form-progress { gap: 0; }
  .progress-step span { display: none; }
  .progress-line { margin: 0 6px; margin-bottom: 0; }
  .form__block { padding: 20px; }
  .form__row { grid-template-columns: 1fr; gap: 14px; }
  .form__nav { flex-direction: column-reverse; gap: 10px; }
  .form__nav .btn { width: 100%; justify-content: center; }

  /* UPLOAD */
  .upload-area__inner { padding: 28px 16px; }
  .preview-thumb { width: 72px; height: 54px; }

  /* FOOTER */
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* CONTACT STRIP */
  .contact-strip { padding: 32px 0; }
  .contact-strip__actions { flex-direction: column; width: 100%; }
  .contact-strip__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 30px; }
  .section-title { font-size: 24px; }
  .form__block { padding: 16px; }
}

/* ===== REFERENZEN ===== */
body[data-page="referenzen"] .hero__bg { background-image: url('assets/hero-referenzen.jpg'); opacity: 0.22; }
.ref-hero { position: relative; padding: 96px 0 80px; }
.ref-hero .hero__title { max-width: 18ch; }
.ref-hero .hero__sub { max-width: 620px; }
.ref-boersen { margin-top: 28px; display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center; }
.ref-boersen span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-lighter); font-weight: 600; }
.ref-boersen a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
  transition: color 0.15s;
}
.ref-boersen a:hover { color: var(--yellow); }

.ref-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.ref-chip {
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--gray-lighter); background: transparent; border: 1px solid var(--border);
  border-radius: 2px; padding: 9px 18px; cursor: pointer; transition: all 0.18s ease;
}
.ref-chip:hover { border-color: var(--yellow); color: var(--white); }
.ref-chip.is-active { background: var(--yellow); border-color: var(--yellow); color: #0a0a0a; }

.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ref-card {
  position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 2px;
  background: var(--dark2); cursor: pointer; text-align: left;
  padding: 0; font-family: inherit; color: inherit; width: 100%; display: block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ref-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.ref-card__imgwrap { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #111; }
.ref-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ref-card:hover .ref-card__img { transform: scale(1.06); }
.ref-card__count {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(10,10,10,0.72); backdrop-filter: blur(4px);
  color: #fff; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 2px;
}
.ref-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--yellow); color: #0a0a0a; font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px;
}
.ref-card__body { padding: 18px 20px 20px; }
.ref-card__brand { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.ref-card__model { font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 12px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(6,6,6,0.94); padding: 24px; }
.lb.is-open { display: flex; }
.lb__stage { position: relative; max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lb__img { max-width: 100%; max-height: 78vh; object-fit: contain; border: 1px solid var(--border); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }
.lb__caption { color: var(--white); font-size: 15px; font-weight: 600; }
.lb__caption span { color: var(--yellow); font-weight: 700; }
.lb__counter { color: var(--gray-light); font-size: 13px; }
.lb__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(10,10,10,0.7); color: #fff; cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center; transition: all 0.18s ease;
}
.lb__btn:hover { background: var(--yellow); color: #0a0a0a; border-color: var(--yellow); }
.lb__prev { left: -8px; }
.lb__next { right: -8px; }
.lb__close {
  position: absolute; top: -6px; right: -6px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(10,10,10,0.8); color: #fff; cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center; transition: all 0.18s ease;
}
.lb__close:hover { background: var(--yellow); color: #0a0a0a; border-color: var(--yellow); }
@media (max-width: 600px) {
  .lb__prev { left: 2px; } .lb__next { right: 2px; }
  .lb__btn { width: 42px; height: 42px; }
}

/* FOOTER SLOGAN */
.footer__slogan {
  font-size: 15px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* TEAM (Über uns) */
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.team-card {
  background: var(--dark4);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
}
.team-card__media {
  width: 100%;
  height: auto; /* schlaegt das height-Attribut, sonst greift aspect-ratio nicht */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.team-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--dark3), var(--dark2));
  border-bottom: 1px solid var(--border);
}
.team-card__initial {
  font-size: 72px;
  font-weight: 800;
  color: var(--yellow);
  opacity: 0.85;
}
.team-card__body { padding: 24px 20px 28px; }
.team-card__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.team-card__role {
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.team-card__text {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* EINBLICKE (Über uns — Fotogalerie aus dem Betrieb) */
.einblicke {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 48px auto 0;
}
.einblick {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  background: var(--dark4);
}
.einblick img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.einblick--tall { grid-row: span 2; }
.einblick--tall img { aspect-ratio: auto; height: 100%; min-height: 100%; object-position: center; }
.einblick:hover img { transform: scale(1.05); }

@media (max-width: 560px) {
  .einblicke { grid-template-columns: 1fr; }
  .einblick--tall { grid-row: auto; }
  .einblick--tall img { aspect-ratio: 3 / 4; height: auto; min-height: 0; }
}

/* AUTOSCOUT24 IFRAME */
.as24-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark3);
}
.as24-frame iframe { display: block; width: 100%; }

/* LEASINGRECHNER */
.leasing-calc {
  max-width: 980px;
  margin: 0 auto;
  background: var(--dark4);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}
.leasing-calc__inputs .form__row { margin-bottom: 0; }
.leasing-calc__result {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.leasing-calc__result-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.leasing-calc__result-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.leasing-calc__result-sub {
  font-size: 12px;
  color: var(--gray-light);
}
.leasing-calc input[type="range"] {
  width: 100%;
  height: 34px;
  padding: 0;
  background: transparent;
  border: none;
  accent-color: var(--yellow);
  cursor: pointer;
}
.leasing-calc__reset {
  margin-top: 8px;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: var(--yellow);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.leasing-calc__reset:hover { color: #fff200; }
.leasing-calc__bestand-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.5;
}
.leasing-calc__bestand-note:empty { display: none; }
.leasing-calc__hint {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--yellow);
}
.leasing-calc__hint:empty { display: none; }
.leasing-calc__breakdown {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.leasing-calc__breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 12.5px;
}
.leasing-calc__breakdown dt { color: var(--gray-light); }
.leasing-calc__breakdown dd { color: var(--white); font-weight: 700; white-space: nowrap; }
.leasing-calc__disclaimer {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.lc-modus {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.lc-modus__btn {
  flex: 1;
  padding: 11px 14px;
  background: none;
  border: none;
  border-radius: var(--radius);
  color: var(--gray-light);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lc-modus__btn:hover { color: var(--white); }
.lc-modus__btn.is-aktiv {
  background: var(--yellow);
  color: #0a0a0a;
}
.lc-fahrzeug__uebernommen {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.6;
}
.lc-fahrzeug__uebernommen span { color: var(--white); font-weight: 700; }
.lc-fahrzeug__uebernommen .leasing-calc__reset { display: block; margin-top: 4px; }
.lc-fahrzeug {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.lc-fahrzeug__bild {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--dark4);
}
.lc-fahrzeug__titel {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}
.lc-fahrzeug__version {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--gray-light);
  line-height: 1.5;
}
.lc-fahrzeug__version:empty { display: none; }
.lc-fahrzeug__specs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px 18px;
}
/* Label ueber dem Wert: nebeneinander kollidieren lange Angaben wie
   "SUV/Gelaendewagen/Pickup" in der schmalen Spalte mit dem Label. */
.lc-fahrzeug__specs > div {
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.lc-fahrzeug__specs dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.lc-fahrzeug__specs dd {
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.lc-fahrzeug__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--yellow);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lc-fahrzeug__link:hover { color: #fff200; }
@media (max-width: 860px) {
  .leasing-calc { grid-template-columns: 1fr; padding: 28px 20px; }
}
@media (max-width: 620px) {
  .lc-fahrzeug { grid-template-columns: 1fr; }
  .lc-fahrzeug__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Fehlercode klein unter der Meldung: fuer Besucher unauffaellig, fuer die
   Fehlersuche der Unterschied zwischen "geht nicht" und einer echten Ursache. */
.form__error-code {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.65;
}
.form__error-code:empty { display: none; }

/* Platzhalter fuer fremde Einbettungen (Karte, Fahrzeugliste). Erst nach Klick
   wird das iframe erzeugt, siehe embed-consent.js. */
.einbettung {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 40px 24px;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.einbettung.is-geladen {
  display: block;
  min-height: 0;
  padding: 0;
}
.einbettung__inhalt {
  max-width: 460px;
  text-align: center;
}
.einbettung__titel {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.einbettung__text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 20px;
}
.einbettung__hinweis {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-light);
}
