/* Fahrzeuge – seitenspezifische Bausteine */

/* Hero ohne Foto: Text auf dunklem Grund, Fahrzeugreihe (Freisteller, alle Front nach links) auf heller Flaeche darunter. */
.fz-hero { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 72px)); padding-bottom: 0; background: radial-gradient(ellipse 55% 70% at 88% 0%, rgba(201,168,106,.13), transparent 62%), var(--ink); }
.fz-hero__head { display: grid; gap: 24px; }
.fz-hero__intro { display: grid; gap: 24px; }
@media (min-width: 1021px) {
  .fz-hero__head { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
  .page-hero.fz-hero .h1 { font-size: clamp(44px, 5.4vw, 80px); max-width: 12ch; }
  .fz-hero .lead { font-size: clamp(16px, 1.2vw, 18px); }
}
.fz-lineup { position: relative; margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 3.5vw, 44px); background: radial-gradient(ellipse 70% 60% at 50% 35%, #fff, transparent 72%), var(--paper); color: var(--text-on-paper); overflow: hidden; }
.page-hero .fz-lineup .container { gap: 0; }
.fz-lineup__stage { display: flex; align-items: flex-end; justify-content: center; padding-inline: 2%; }
.fz-lineup__car { position: relative; flex: 0 0 auto; margin: 0; transform: translate3d(calc(var(--sx, 0) * var(--depth, 0) * -1px), 0, 0); }
.fz-lineup__car img { display: block; width: 100%; height: auto; }
.fz-lineup__car::after { content: ''; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -3%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(13,16,20,.26), transparent); }
.fz-lineup__car--e { width: 26%; z-index: 4; margin-right: -2.5%; margin-bottom: -.4%; }
.fz-lineup__car--vito { width: 25.5%; z-index: 3; margin-right: -2.5%; }
.fz-lineup__car--v { width: 25.5%; z-index: 2; margin-right: -2.5%; }
.fz-lineup__car--sprinter { width: 30%; z-index: 1; }
/* helle Flaeche geht ohne Doppelabstand in die Flotten-Sektion ueber */
.fz-hero + #flotte { padding-top: clamp(40px, 5vw, 72px); }
.fz-lineup__road { display: block; height: 2px; margin: 6px 2% 0; background: repeating-linear-gradient(90deg, var(--gold) 0 16px, transparent 16px 28px); background-position: calc(var(--sx, 0) * -.6px) 0; opacity: .55; transform-origin: right center; }
/* Hereinfahren: Startzustand nur, wenn das Seiten-Script laeuft (Klasse --ready); ohne JS / reduced-motion sofort sichtbar */
.fz-lineup--ready .fz-lineup__car img { opacity: 0; transform: translateX(70vw); }
.fz-lineup--ready .fz-lineup__road { transform: scaleX(0); }
.fz-lineup--ready.is-in .fz-lineup__car img { opacity: 1; transform: none; transition: transform 1.8s cubic-bezier(.16, 1, .3, 1) var(--delay, 0s), opacity .9s var(--ease) var(--delay, 0s); }
.fz-lineup--ready.is-in .fz-lineup__road { transform: none; transition: transform 1.6s var(--ease); }

/* Kurzfakten unter der Fahrzeugreihe */
.fz-hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px clamp(16px, 2.4vw, 32px); margin-top: clamp(24px, 3vw, 36px); }
.fz-hero-facts a { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--paper-line); color: inherit; text-decoration: none; transition: border-color .4s var(--ease); }
.fz-hero-facts a:hover, .fz-hero-facts a:focus-visible { border-color: var(--gold); }
.fz-hero-facts b { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1; color: var(--text-on-paper); }
.fz-hero-facts span { font-size: 13.5px; color: var(--muted-on-paper); }

/* Fahrzeugkarten */
.fz-fleet { align-items: stretch; }
.fz-vehicle { align-content: start; grid-template-rows: auto auto auto auto 1fr auto auto; }
.fz-list { gap: 8px; font-size: 15px; color: var(--muted-on-paper); }
.fz-vehicle .link-arrow { margin-top: 4px; }

/* Freisteller-Ansichten mit Umschaltung (gleiche Bildflaeche fuer alle Karten) */
.fz-views { position: relative; }
.fz-views .fz-view { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; box-sizing: border-box; padding: max(4%, 50px) 3% 2%; object-fit: contain; object-position: 50% 100%; opacity: 0; transform: scale(.97); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.fz-views .fz-view.is-active { opacity: 1; transform: none; }
.page-fahrzeuge .vehicle:hover .fz-views .fz-view { transform: scale(.97); }
.page-fahrzeuge .vehicle:hover .fz-views .fz-view.is-active { transform: translateX(8px) scale(1.03); }
.fz-views__btns { position: absolute; top: 0; left: 0; z-index: 2; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--paper-line); }
.fz-views__btns[hidden] { display: none; }
.fz-views__btns button { appearance: none; border: 0; margin: 0; background: transparent; font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--muted-on-paper); padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); }
.fz-views__btns button:hover { color: var(--text-on-paper); }
.fz-views__btns button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.fz-views__btns button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Flughafen- und Stundenpreis in der Karte */
.fz-price { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--paper-line); font-size: 14px; color: var(--muted-on-paper); }
.fz-price p { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.fz-price a { font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--text-on-paper); text-decoration: none; white-space: nowrap; }
.fz-price p + p a { font-size: 20px; }
.fz-price a:hover { color: var(--gold-ink); }

/* Fixpreis-Tabelle je Fahrzeug (Build-Platzhalter "grundpreise") */
.fz-prices { display: grid; gap: 18px; margin-top: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--header-h) + 16px); }
.fz-prices__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.fz-prices__col { display: grid; gap: 18px; scroll-margin-top: calc(var(--header-h) + 16px); }
.fz-prices__head { display: grid; gap: 10px; max-width: 760px; }
.fz-prices__head .h3, .fz-prices__head p { margin: 0; }
.fz-prices a, .fz-compare__note a { color: var(--gold-ink); }
.fz-prices__note { margin: 0; font-size: 14.5px; }
.page-fahrzeuge .pz-table th, .page-fahrzeuge .pz-table td { padding: 14px 12px; }
.page-fahrzeuge .pz-table th:not(:first-child), .page-fahrzeuge .pz-table td { text-align: right; }
.page-fahrzeuge .pz-table tbody th { text-align: left; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-on-paper); }
.page-fahrzeuge .pz-table tbody th b { font-size: 16px; }
.page-fahrzeuge .pz-table tbody th small { display: block; margin-top: 2px; color: var(--muted-on-paper); font-size: 13px; }
.page-fahrzeuge .pz-table .price { font-size: 22px; white-space: nowrap; }
.page-fahrzeuge .pz-table .price.todo { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted-on-paper); }
.page-fahrzeuge .pz-table tbody tr:last-child th, .page-fahrzeuge .pz-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .page-fahrzeuge .pz-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .page-fahrzeuge .pz-table tbody tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--paper-line); }
  .page-fahrzeuge .pz-table tbody tr:last-child { border-bottom: 0; }
  .page-fahrzeuge .pz-table tbody th, .page-fahrzeuge .pz-table tbody td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border: 0; text-align: left; }
  .page-fahrzeuge .pz-table tbody th { display: block; padding-bottom: 4px; }
  .page-fahrzeuge .pz-table td[data-label]::before { content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-on-paper); }
  .page-fahrzeuge .pz-table .price { font-size: 19px; }
}

/* Fahrzeugwahl: zwei Fragen, darunter die vier Fahrzeuge (passende hervorgehoben) */
.fz-pick { display: grid; gap: clamp(22px, 3vw, 32px); margin-bottom: clamp(40px, 5vw, 64px); }
.fz-pick[hidden] { display: none; }
.fz-pick__ask { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.fz-pick__q { display: grid; gap: 12px; }
.fz-pick__label { margin: 0; font-weight: 700; font-size: 15px; }
.fz-pick__seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--paper-line); }
.fz-pick__seg button { font: inherit; font-weight: 600; font-size: 15px; padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.fz-pick__seg button:hover { background: var(--paper-2); }
.fz-pick__seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.fz-pick__seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.fz-pick__lug { position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer; }
.fz-pick__lug input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fz-pick__switch { position: relative; flex: none; width: 50px; height: 28px; border-radius: 999px; background: var(--paper-line); transition: background .3s var(--ease); }
.fz-pick__switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.fz-pick__lug input:checked + .fz-pick__switch { background: var(--gold); }
.fz-pick__lug input:checked + .fz-pick__switch::after { transform: translateX(22px); }
.fz-pick__lug input:focus-visible + .fz-pick__switch { outline: 2px solid var(--gold); outline-offset: 3px; }
.fz-pick__lug b { display: block; font-size: 15px; }
.fz-pick__lug small { display: block; font-size: 13px; color: var(--muted-on-paper); }

.fz-pick__cars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.fz-pick__car { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 44px 14px 18px; font: inherit; color: var(--ink); text-align: center; background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); cursor: pointer;
  transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), filter .45s var(--ease); }
.fz-pick__car img { width: 100%; height: auto; aspect-ratio: 16 / 8.5; object-fit: contain; object-position: center bottom; margin-bottom: 10px; transition: transform .6s var(--ease); }
.fz-pick__car b { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.fz-pick__car small { font-size: 13.5px; color: var(--muted-on-paper); }
.fz-pick__price { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.fz-pick__badge { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--muted-on-paper); }
.fz-pick__car.is-fit:hover { border-color: var(--gold); }
.fz-pick__car.is-fit:hover img { transform: translateX(-4px); }
.fz-pick__car.is-chosen { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 18px 40px -22px rgba(13,16,20,.45); transform: translateY(-4px); }
.fz-pick__car.is-chosen .fz-pick__badge { background: var(--gold); color: var(--ink); }
.fz-pick__car.is-off { opacity: .42; filter: grayscale(1); cursor: not-allowed; }
.fz-pick__car.is-off .fz-pick__badge { background: transparent; border: 1px solid var(--paper-line); }
.fz-pick__car:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.fz-pick__result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--ink); color: var(--text-on-ink); }
.fz-pick__result p { margin: 0; display: grid; gap: 6px; max-width: 62ch; }
.fz-pick__kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.fz-pick__result b { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.fz-pick__result span:last-child { color: var(--muted-on-ink); font-size: 15.5px; }
.fz-pick__result .btn--dark { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); --fill: var(--gold-2); }
.fz-pick__result .btn--dark .arrow { color: var(--ink); }

@media (max-width: 860px) {
  .fz-pick__cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .fz-pick__q { width: 100%; }
  .fz-pick__seg { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 18px; width: 100%; }
  .fz-pick__seg button { border-radius: 12px; }
  .fz-pick__car { padding-top: 40px; }
  .fz-pick__badge { font-size: 10px; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) {
  .fz-pick__car, .fz-pick__car img { transition: none; }
}

/* Vergleichstabelle */
.fz-compare { display: grid; gap: 16px; }
.fz-compare__title { margin: 0; }
.fz-table { min-width: 560px; table-layout: fixed; }
.fz-table thead th:first-child { width: 15%; }
.fz-table th[scope=row] { font-size: 13px; letter-spacing: .04em; text-transform: none; color: var(--muted-on-paper); white-space: nowrap; }
.fz-table td:last-child, .fz-table th:last-child { text-align: left; }
.fz-table [data-col] { transition: background .5s var(--ease), color .5s var(--ease); }
.fz-table thead [data-col] { color: var(--text-on-paper); font-size: 13px; }
.fz-table [data-col].is-pick { background: #fffaf0; }
.fz-table thead [data-col].is-pick { color: var(--gold-ink); box-shadow: inset 0 3px 0 var(--gold); }
.fz-table__book td, .fz-table__book th { border-bottom: 0; }
/* Spaltenkoepfe mit Seitenansicht des Fahrzeugs */
.fz-table thead th { vertical-align: bottom; padding-top: 22px; }
.fz-table__car { display: grid; gap: 10px; justify-items: start; }
.fz-table__car img { width: 100%; max-width: 190px; height: auto; transition: transform .6s var(--ease); }
.fz-table thead [data-col].is-pick .fz-table__car img { transform: translateX(-6px); }
.fz-table__car span { font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.fz-table thead [data-col].is-pick .fz-table__car span { color: var(--gold-ink); }
.fz-compare__note { margin: 0; font-size: 15px; }

/* Gut zu wissen (dunkel, ohne Fotos) */
.fz-know { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.fz-know__item { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.fz-know__item::before { content: ''; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--gold); }
.fz-know__kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.fz-know__item .h4, .fz-know__item p { margin: 0; }
.fz-know__item p { font-size: 15px; color: var(--muted-on-ink); }
.fz-know__item a, .fz-know__link { color: var(--gold); }
.fz-know__note { margin: clamp(28px, 3vw, 40px) 0 0; padding-top: 20px; border-top: 1px solid var(--ink-line); font-size: 15px; color: var(--text-on-ink); }

@media (max-width: 1020px) {
  .fz-prices__grid { grid-template-columns: 1fr; }
  .fz-know { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fz-lineup__stage { padding-inline: 0; }
  .fz-lineup__car--e { width: 28%; margin-right: -4%; }
  .fz-lineup__car--vito { width: 27%; margin-right: -4%; }
  .fz-lineup__car--v { width: 27%; margin-right: -4%; }
  .fz-lineup__car--sprinter { width: 30%; }
  .fz-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .fz-know { grid-template-columns: 1fr; }
}

/* Vergleichstabelle mobil kompakt, damit alle vier Fahrzeuge ohne Wischen sichtbar sind */
@media (max-width: 640px) {
  .fz-compare .table-wrap { padding: 4px 6px; }
  .fz-table { min-width: 0; font-size: 12px; hyphens: auto; overflow-wrap: anywhere; }
  .fz-table th, .fz-table td { padding: 10px 3px; vertical-align: top; }
  .fz-table .link-arrow { font-size: 11.5px; gap: 2px; }
  .fz-table .link-arrow::after { display: none; }
  .fz-table th[scope=row] { white-space: normal; font-size: 11px; width: 20%; }
  .fz-table thead th:first-child { width: 20%; }
  .fz-table thead th { font-size: 11px; letter-spacing: .06em; padding-top: 14px; }
  .fz-table__car { gap: 6px; }
  .fz-table__car span { font-size: 15px; }
  .fz-table .todo { display: inline; }
}
@media (max-width: 640px) {
  /* Stundensatz: Fahrzeug und Preis in einer Zeile */
  .page-fahrzeuge .pz-table--stunden tbody tr { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .page-fahrzeuge .pz-table--stunden tbody th, .page-fahrzeuge .pz-table--stunden tbody td { padding: 4px 0; }
  .page-fahrzeuge .pz-table--stunden td[data-label]::before { content: none; }
}
