/* ==========================================================================
   Skyline Rental GmbH – Design-Grundlage (Redesign 2026-09)
   Nachtfahrt: tiefes Schwarz, Gold aus dem Logo als einziger Akzent,
   Saira als eine Schriftfamilie (breit für Überschriften, normal für Text).
   Alle Klassennamen der alten Version bleiben erhalten, der Admin-Bereich
   nutzt dieses Stylesheet mit.
   ========================================================================== */

@font-face {
  font-family: 'Saira';
  src: url('../fonts/saira.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --ink: #0c0c0e;
  --ink-soft: #121215;
  --paper: #17171b;
  --paper-hover: #1d1d22;
  --gold: #d4af37;
  --gold-dark: #b8912a;
  --cream: #ece7da;
  --graphite: #ece7da;
  --taupe: #b3ada1;
  --line: rgba(236, 231, 218, 0.11);
  --line-dark: rgba(236, 231, 218, 0.09);
  --field-border: #6b675e;
  --white: #f7f4ec;
  --danger: #e0725d;

  --font-head: 'Saira', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Saira', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
  --shadow-sm: 0 10px 24px -14px rgba(0, 0, 0, 0.7);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --header-h: 76px;
}

/* Weiche Seitenwechsel (Chrome, Edge, Safari) */
@view-transition { navigation: auto; }

/* --- Grundlagen ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
  scrollbar-color: #3a3833 var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--gold);
}

::selection { background: var(--gold); color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-stretch: 118%;
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--white);
  text-wrap: balance;
  overflow-wrap: break-word;
}
p { margin: 0 0 1em; text-wrap: pretty; }
main p, main li, main a { overflow-wrap: break-word; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
strong { font-weight: 650; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: 0;
  transform: translateY(-120%);
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 1000;
  transition: transform 0.24s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- Typografie ------------------------------------------------------------ */
h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); font-stretch: 122%; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-stretch: 112%; line-height: 1.15; }

/* Kleines Label: nur noch dort, wo es Information trägt */
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 0.9em;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--taupe); max-width: 58ch; line-height: 1.55; }
.muted { color: var(--taupe); }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  font-weight: 650;
  font-stretch: 108%;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform 0.16s var(--ease-out), background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-outline { background: transparent; border-color: rgba(236, 231, 218, 0.35); color: var(--white); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #e2bf4a; }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
}

/* --- Kopfzeile ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  color: var(--cream);
  border-bottom: 1px solid transparent;
}
@supports (animation-timeline: scroll()) {
  .site-header { animation: kopf-linie linear both; animation-timeline: scroll(); animation-range: 0 80px; }
  @keyframes kopf-linie { to { border-bottom-color: var(--line); } }
}
@supports not (animation-timeline: scroll()) {
  .site-header { border-bottom-color: var(--line); }
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-weight: 550;
  font-stretch: 108%;
  font-size: 0.98rem;
  color: var(--taupe);
  padding: 0.5em 0.95em;
  border-radius: 999px;
  transition: color 0.18s ease, background-color 0.24s ease;
}
.main-nav a[aria-current="page"] { color: var(--white); background: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--white); }
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.social-row { display: flex; align-items: center; gap: 2px; }
.social-row a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  opacity: 0.75;
  transition: opacity 0.18s ease, background-color 0.24s ease;
}
.social-row a img, .social-row a svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .social-row a:hover { opacity: 1; background: var(--paper); }
}
.header-actions .btn { padding: 0.75em 1.35em; font-size: 0.94rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  padding: 8px;
  width: 44px; height: 44px;
  flex-shrink: 0;
  margin-right: -8px;
}
.nav-toggle svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  /* Geschlossen ganz entfernt statt nur verschoben: kein seitliches Scrollen,
     keine unsichtbaren Links in der Tastatur-Reihenfolge */
  .main-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    height: calc(100dvh - var(--header-h));
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 24px clamp(16px, 4vw, 40px);
    gap: 0;
    overflow-y: auto;
  }
  .main-nav.is-open {
    display: flex;
    opacity: 1;
    transform: none;
    transition: opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out);
  }
  @starting-style {
    .main-nav.is-open { opacity: 0; transform: translateY(-8px); }
  }
  .main-nav a {
    font-size: 2rem;
    font-weight: 650;
    font-stretch: 118%;
    color: var(--white);
    padding: 0.4em 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    background: none;
  }
  .main-nav a[aria-current="page"] { color: var(--gold); background: none; }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 420px) {
  .brand img { height: 38px; }
  .header-actions { gap: 4px; }
  .social-row a { width: 32px; height: 32px; }
  .social-row a img { width: 14px; height: 14px; }
}

/* --- Titelbereich Startseite ----------------------------------------------- */
.hero {
  position: relative;
  min-height: min(calc(100dvh - var(--header-h)), 860px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(40px, 7vh, 88px);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bild { position: absolute; inset: 0; z-index: -2; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
/* Verlauf, damit der Text immer lesbar bleibt */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,12,14,0.88) 0%, rgba(12,12,14,0.55) 42%, rgba(12,12,14,0) 72%),
    linear-gradient(0deg, rgba(12,12,14,1) 0%, rgba(12,12,14,0) 38%);
}
.hero-content { position: relative; width: 100%; }
.hero-content > * { max-width: 720px; }
.hero-content h1 { margin-bottom: 0.35em; }
.hero-content p { color: rgba(247, 244, 236, 0.86); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.8em; }

/* Handy: Foto oben mit dem Auto im Blick, Text darunter statt darüber */
@media (max-width: 640px) {
  .hero { display: block; min-height: 0; padding: 0 0 48px; }
  .hero::after { display: none; }
  .hero-bild { position: relative; display: block; height: 62svh; min-height: 380px; z-index: 0; }
  .hero-bild img { object-position: 50% 72%; }
  .hero-bild::after {
    content: "";
    position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(0deg, var(--ink) 0%, rgba(12,12,14,0) 100%);
  }
  .hero-content { margin-top: -72px; z-index: 1; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* Der eine große Moment: Foto zieht leicht heran, Text steigt auf */
@media (prefers-reduced-motion: no-preference) {
  .hero-bild img { animation: heranfahren 1800ms var(--ease-out) both; }
  .hero-content > * { animation: aufsteigen 900ms var(--ease-out) both; }
  .hero-content > :nth-child(2) { animation-delay: 90ms; }
  .hero-content > :nth-child(3) { animation-delay: 180ms; }
}
@keyframes heranfahren { from { transform: scale(1.08); opacity: 0.4; } }
@keyframes aufsteigen { from { opacity: 0; transform: translateY(22px); } }

/* --- Unterseiten-Kopf ------------------------------------------------------ */
.page-hero {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; }
.page-hero .lead { color: var(--taupe); }
.page-hero + section { padding-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .page-hero h1, .page-hero .lead { animation: aufsteigen 900ms var(--ease-out) both; }
  .page-hero .lead { animation-delay: 90ms; }
}

/* --- Abschnitte ------------------------------------------------------------ */
section { padding: clamp(64px, 9vw, 120px) 0; }
.hero + section { padding-top: clamp(40px, 5vw, 64px); }
.section-cream { background: var(--ink); }
.section-ink { background: var(--ink-soft); color: var(--cream); }

/* Farbverlauf "Seide" hinter ausgewählten Flächen. Standbild als Grundlage, assets/js/verlauf.js bewegt es.
   Die Maske lässt den Verlauf zu allen Rändern weich ins Schwarz auslaufen. */
.verlauf-flaeche { position: relative; isolation: isolate; background-color: var(--ink); }
.verlauf-flaeche::before,
.verlauf-flaeche > .verlauf-canvas {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent), radial-gradient(ellipse 75% 90% at 55% 50%, #000 35%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent), radial-gradient(ellipse 75% 90% at 55% 50%, #000 35%, transparent);
  mask-composite: intersect;
}
.verlauf-flaeche::before { background: url(../img/opt/verlauf-seide.avif) center / cover; }
/* Einleitungstext auf dem Verlauf heller, damit er auf der hellsten Stelle mind. 4,5:1 erreicht */
.verlauf-flaeche .lead { color: var(--cream); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink .muted { color: var(--taupe); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }

/* Einblenden beim Scrollen: nur per CSS. Ohne Unterstützung ist alles sofort sichtbar. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: einblenden linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @keyframes einblenden { from { opacity: 0; transform: translateY(28px); } }
  }
}

/* --- Fuhrpark-Band (Startseite) -------------------------------------------- */
.fleet-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.fleet-strip-head h2 { margin: 0; }
.link-pfeil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-stretch: 108%;
  color: var(--gold);
}
.link-pfeil svg { width: 18px; height: 18px; transition: transform 0.24s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-pfeil:hover svg { transform: translateX(4px); }
}

.fleet-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 23%);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(16px, 4vw, 40px);
  padding: 4px clamp(16px, 4vw, 40px) 20px;
  margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
  scrollbar-width: thin;
  list-style: none;
}
.fleet-strip li { margin: 0; scroll-snap-align: start; display: flex; }
.fleet-strip a {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: background-color 0.24s ease;
}
.fleet-strip .bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-soft); }
.fleet-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.fleet-strip .text { padding: 16px 18px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fleet-strip h3 { margin: 0; font-size: 1.05rem; }
.fleet-strip .preis { color: var(--taupe); font-size: 0.88rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fleet-strip .preis strong { color: var(--gold); font-size: 1.02rem; }
@media (hover: hover) and (pointer: fine) {
  .fleet-strip a:hover { background: var(--paper-hover); }
  .fleet-strip a:hover img { transform: scale(1.04); }
}
@media (max-width: 640px) {
  .fleet-strip { grid-auto-columns: 78%; }
}

/* --- Kategorien als Bildkacheln (Startseite) -------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: clamp(520px, 56vw, 700px);
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
}
.category-card:first-child { grid-row: 1 / span 2; }
.category-card .img-wrap { position: absolute; inset: 0; z-index: -2; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.category-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(12,12,14,0.94) 0%, rgba(12,12,14,0.45) 50%, rgba(12,12,14,0) 78%);
}
.category-card .card-body { padding: clamp(20px, 3vw, 36px); max-width: 520px; }
.category-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-stretch: 120%; margin-bottom: 0.3em; }
.category-card p { color: rgba(247, 244, 236, 0.82); margin-bottom: 0.9em; }
.category-card .card-link { font-weight: 650; font-stretch: 108%; color: var(--gold); display: inline-flex; align-items: center; gap: 0.4em; }
/* Die ganze Kachel ist klickbar */
.category-card .card-link::after { content: ""; position: absolute; inset: 0; }
.category-card .card-link svg { width: 18px; height: 18px; transition: transform 0.24s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .category-card:hover img { transform: scale(1.04); }
  .category-card:hover .card-link svg { transform: translateX(4px); }
}
@media (max-width: 860px) {
  .category-grid { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .category-card:first-child { grid-row: auto; }
  .category-card { min-height: 340px; }
}

/* --- Vorteile ------------------------------------------------------------- */
.benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.benefit-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.benefit-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.benefit { padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); }
.benefit h3 { color: var(--white); margin-bottom: 0.4em; }
.benefit p { color: var(--taupe); margin: 0; max-width: 52ch; }
@media (max-width: 860px) {
  .benefit-layout { grid-template-columns: 1fr; }
  .benefit-layout .section-head { position: static; }
}

/* --- Bild + Text ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split .img-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.split .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .img-wrap { order: 2; }
.split ul { margin-top: 1.4em; border-top: 1px solid var(--line); }
.split ul li { padding: 0.75em 0 0.75em 1.8em; border-bottom: 1px solid var(--line); color: var(--cream); position: relative; }
.split ul li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 0.9em; height: 1.5px; background: var(--gold); }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .img-wrap { order: 0; }
}

/* --- Rund-um-die-Uhr-Band ----------------------------------------------------- */
.service-band { background: var(--ink-soft); color: var(--cream); padding: 44px 0; border-block: 1px solid var(--line); }
.service-band .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: space-between; }
.service-band .service-text { display: flex; align-items: center; gap: 20px; }
.service-band img, .service-band svg { width: 36px; height: 36px; flex-shrink: 0; }
.service-band h3 { color: var(--white); margin-bottom: 0.15em; }
.service-band p { margin: 0; color: var(--taupe); }

/* --- Google-Bewertungen ------------------------------------------------------ */
.review-block { padding-bottom: clamp(48px, 6vw, 80px); }
.review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px 40px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.review-head h2 { margin: 0; }
.review-score { display: flex; align-items: center; gap: 16px; margin: 0; color: var(--taupe); }
.review-score[hidden] { display: none; }
.review-score .stars { display: flex; gap: 3px; }
.review-score .stars img { width: 18px; height: 18px; }
.review-score strong {
  color: var(--white);
  font-stretch: 120%;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.review-score .score-text { display: grid; gap: 6px; font-size: 0.92rem; }
.review-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.review-grid[hidden] { display: none; }
.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px) 0 0;
}
.review-card + .review-card { padding-left: clamp(20px, 2.5vw, 32px); border-left: 1px solid var(--line); }
.review-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--cream); }
.review-card:first-child blockquote { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--white); }
.review-card figcaption { font-size: 0.9rem; color: var(--taupe); }
.review-card figcaption strong { color: var(--white); }
.review-mehr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 4vw, 40px);
  font-weight: 650;
  font-stretch: 108%;
  color: var(--gold);
}
.review-mehr svg { width: 18px; height: 18px; transition: transform 0.24s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .review-mehr:hover svg { transform: translateX(4px); }
}
@media (max-width: 900px) {
  .review-head { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card, .review-card + .review-card { padding: 24px 0; border-left: none; border-bottom: 1px solid var(--line); }
}

/* --- Fuhrpark-Seite: Fahrzeugkarten ----------------------------------------- */
.fleet-intro { margin-bottom: 8px; }
.fleet-category { padding-top: 24px; }
.fleet-category + .fleet-category { padding-top: clamp(48px, 6vw, 80px); }
.fleet-category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; flex-wrap: wrap; }
.fleet-category-head h2 { margin: 0; }
.fleet-category-head p { margin: 0; color: var(--taupe); max-width: 46ch; }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.fleet-grid.single { grid-template-columns: minmax(0, 420px); }

.vehicle-card {
  display: block;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background-color 0.24s ease;
}
.vehicle-card .img-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-soft); }
.verfuegbarkeit-badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(12, 12, 14, 0.82);
  color: var(--white);
  font-size: 0.78rem; font-weight: 600;
  padding: 5px 12px 5px 26px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.verfuegbarkeit-badge::before {
  content: ""; position: absolute; left: 11px; top: 50%;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--danger);
}
.vehicle-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.vehicle-card .card-body { padding: 18px 20px 22px; }
.vehicle-card .tag { display: block; font-size: 0.82rem; font-weight: 600; color: var(--taupe); margin-bottom: 0.3em; }
.vehicle-card h3 { margin-bottom: 0.3em; font-size: 1.2rem; }
.vehicle-card p { margin: 0; color: var(--taupe); font-size: 0.95rem; }
@media (hover: hover) and (pointer: fine) {
  .vehicle-card:hover { background: var(--paper-hover); }
  .vehicle-card:hover img { transform: scale(1.04); }
}
@media (max-width: 980px) { .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fleet-grid, .fleet-grid.single { grid-template-columns: 1fr; } }

/* --- Abschluss-Aufruf -------------------------------------------------------- */
.cta-band {
  background: var(--paper);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 80px);
}
section > .container > .cta-band:first-child { margin-top: 0; }
.cta-band h2 { color: var(--white); margin-bottom: 0.25em; }
.cta-band p { margin: 0; color: var(--taupe); max-width: 48ch; }

.kontakt-gross {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 64px;
  align-items: end;
}
.kontakt-gross h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); margin-bottom: 0.25em; }
.kontakt-gross .lead { margin: 0; }
.kontakt-wege { display: grid; gap: 12px; justify-items: start; }
.tel-gross {
  display: block;
  font-stretch: 118%;
  font-weight: 650;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-bottom: 8px;
}
.kontakt-wege .btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .kontakt-gross { grid-template-columns: 1fr; }
}

/* --- Kontakt --------------------------------------------------------------- */
.contact-layout { display: grid; gap: clamp(32px, 5vw, 56px); }

.contact-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}
.contact-strip .item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 16px 20px 0;
  min-width: 0;
}
.contact-strip .item + .item { padding-left: 16px; border-left: 1px solid var(--line); }
.contact-strip .item img { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.contact-strip h3 { font-size: 0.84rem; font-stretch: 108%; margin: 0 0 0.25em; color: var(--taupe); font-weight: 550; }
.contact-strip p, .contact-strip a { color: var(--white); margin: 0; font-size: 0.95rem; font-weight: 550; word-break: break-word; }
@media (hover: hover) and (pointer: fine) {
  .contact-strip a:hover { color: var(--gold); }
}

.form-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
  width: 100%;
}
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
#kontaktformular, #business-kontakt { scroll-margin-top: calc(var(--header-h) + 24px); }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
.form-row { margin-bottom: 20px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.45em; color: var(--cream); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
  color: var(--white);
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.24s var(--ease-out);
}
.form-row select { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23d4af37" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>'); background-repeat: no-repeat; background-position: right 1em center; background-size: 16px; padding-right: 2.6em; }
.form-row select option { background: var(--ink); color: var(--cream); }
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(236, 231, 218, 0.45); }
.form-row input:hover, .form-row textarea:hover, .form-row select:hover { border-color: var(--taupe); }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.feld-hinweis { margin: 0.5em 0 0; font-size: 0.86rem; color: var(--danger); }
.form-note { font-size: 0.86rem; color: var(--taupe); margin-top: 14px; }
.form-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 0.2em; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.form-status.success { background: rgba(120, 180, 110, 0.14); color: #a9dba2; }
.form-status.error { background: rgba(224, 114, 93, 0.14); color: #f2ad9e; }

@media (max-width: 1000px) {
  .contact-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-strip .item:nth-child(4) { padding-left: 0; border-left: none; }
  .contact-strip .item:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip .item, .contact-strip .item + .item { padding: 16px 0; border-left: none; }
  .contact-strip .item + .item { border-top: 1px solid var(--line); }
}

/* --- Fragen ---------------------------------------------------------------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  font-stretch: 110%;
  font-size: 1.1rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat;
  transition: transform 0.24s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item .faq-body { padding: 0 0 22px; color: var(--taupe); margin: 0; max-width: 64ch; }

/* --- Fußzeile --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--taupe); padding: 32px 0; border-top: 1px solid var(--line); }
.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 0.9rem;
}
.footer-info { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6em; }
.footer-info .sep { color: var(--line-dark); }
.footer-legal { display: flex; gap: 24px; }
.footer-simple a:hover { color: var(--gold); }
.footer-copy { font-size: 0.85rem; margin: 0; }
@media (max-width: 640px) {
  .footer-simple { flex-direction: column; align-items: flex-start; }
}

/* --- Fahrzeug-Detailseite ---------------------------------------------------- */
.breadcrumb { font-size: 0.88rem; color: var(--taupe); margin-bottom: 1.4em; }
.breadcrumb a { color: var(--taupe); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden] { margin: 0 0.5em; opacity: 0.5; }

.fahrzeug-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.fahrzeug-galerie { min-width: 0; }
.galerie-haupt {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.galerie-haupt img { width: 100%; height: 100%; object-fit: cover; }
.galerie-pfeil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(12, 12, 14, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(247, 244, 236, 0.18);
  color: var(--white);
  transition: background-color 0.24s ease, color 0.24s ease;
}
@media (hover: hover) and (pointer: fine) {
  .galerie-pfeil:hover { background: var(--gold); color: var(--ink); border-color: transparent; }
}
.galerie-pfeil svg { width: 18px; height: 18px; }
.galerie-zurueck { left: 14px; }
.galerie-weiter { right: 14px; }
.galerie-zaehler {
  position: absolute;
  right: 14px; bottom: 14px;
  background: rgba(12, 12, 14, 0.65);
  color: var(--white);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px;
  border-radius: 999px;
}
.galerie-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.galerie-thumb {
  flex: 0 0 auto;
  width: 84px; height: 63px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--paper);
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.galerie-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie-thumb:hover { opacity: 1; }
.galerie-thumb.is-active { opacity: 1; border-color: var(--gold); }

.fahrzeug-info {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.fahrzeug-info-head { margin-bottom: 1.2em; }
.fahrzeug-info-head .tag { display: block; font-size: 0.84rem; font-weight: 600; color: var(--taupe); margin-bottom: 0.4em; }
.fahrzeug-info-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.fahrzeug-ausstattung { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.fahrzeug-ausstattung li {
  font-size: 0.84rem;
  color: var(--cream);
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

.preis-gruppen { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.preis-gruppe h3 { font-size: 0.9rem; font-stretch: 108%; color: var(--taupe); font-weight: 550; margin: 0 0 0.6em; padding-bottom: 0.6em; border-bottom: 1px solid var(--line); }
.preis-zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.94rem; }
.preis-zeile strong { color: var(--white); font-size: 1.25rem; font-stretch: 112%; white-space: nowrap; font-variant-numeric: tabular-nums; }
.preis-freikm { margin: 0 0 0.9em; font-size: 0.82rem; color: var(--taupe); }
.preis-gruppe .preis-freikm:last-child { margin-bottom: 0; }

.zusatzinfo-box { border-top: 1px solid var(--line); padding: 16px 0 0; margin-bottom: 24px; }
.zusatzinfo-box h3 { font-size: 0.9rem; font-stretch: 108%; color: var(--taupe); font-weight: 550; margin: 0 0 0.5em; }
.zusatzinfo-box ul { margin: 0; padding: 0; color: var(--cream); font-size: 0.94rem; }
.zusatzinfo-box li + li { margin-top: 0.3em; }

@media (max-width: 900px) {
  .fahrzeug-layout { grid-template-columns: 1fr; }
  .fahrzeug-info { position: static; }
}
@media (max-width: 480px) {
  .preis-gruppen { grid-template-columns: 1fr; }
}
