/* ==========================================================================
   Autovermietung Plaza – Website
   Mobile first · Farben: Schwarz / Rot / Weiß
   ========================================================================== */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Permanent Marker"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/permanent-marker-latin-400-normal.woff2") format("woff2"); }

:root {
  --red: #e1121b;
  --red-dark: #b90d15;
  --black: #0a0a0b;
  --ink: #141417;
  --ink-2: #1c1c21;
  --line-dark: #2b2b31;
  --bg: #f3f3f4;
  --card: #fff;
  --text: #141417;
  --muted: #5f5f68;
  --line: #e3e3e6;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 10, 11, .06), 0 0 0 1px rgba(10, 10, 11, .05);
  --shadow-hover: 0 10px 28px rgba(10, 10, 11, .12), 0 0 0 1px rgba(10, 10, 11, .06);
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Permanent Marker", "Comic Sans MS", cursive;
  --header-h: 60px;
  --bar-h: 66px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-car, .icon-bus, .icon-van, .icon-trailer { width: 2.6em; height: auto; aspect-ratio: 64 / 31; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: #fff; color: var(--black); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px;
  border: 0; border-radius: 12px; cursor: pointer;
  font: 700 15px/1.1 var(--font-display); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, transform .1s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn .icon { width: 20px; height: 20px; }
.btn-lg { min-height: 54px; font-size: 16px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(225, 18, 27, .28); }
.btn-red:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: #ececee; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #26262b; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.icon.wa { color: var(--wa); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* ---------- Hinweis-Leiste ---------- */

.notice-bar { background: var(--red); color: #fff; font-size: 14px; font-weight: 600; }
.notice-bar .container { display: flex; align-items: center; gap: 8px; padding-block: 9px; }
.notice-bar .icon { width: 18px; height: 18px; }
.notice-bar a { color: #fff; }
.notice-vacation { background: var(--black); border-bottom: 2px solid var(--red); }
.notice-vacation .icon { color: var(--red); }

.preview-bar { background: #fff4cc; color: #5c4a00; font-size: 14px; font-weight: 600; }
.preview-bar .container { display: flex; align-items: center; gap: 8px; padding-block: 9px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.logo {
  position: relative; display: inline-flex; flex-direction: column; align-items: center;
  padding-top: 9px; text-decoration: none; color: #fff; line-height: 1;
}
.logo-swoosh { position: absolute; top: 0; left: 50%; width: 116px; height: 15px; transform: translateX(-50%); color: #fff; }
.logo-top { font: 800 10.5px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.logo-main {
  display: flex; align-items: center; gap: 7px;
  font: 800 22px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--red);
  margin-top: 2px;
}
.logo-main::before, .logo-main::after { content: ""; width: 14px; height: 2.5px; background: var(--red); border-radius: 2px; }

.main-nav { display: none; }
.header-call {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; text-decoration: none;
  font: 700 15px var(--font-display);
}
.header-call span { display: none; }
.header-call .icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(225, 18, 27, .22), transparent 60%),
    var(--black);
  color: #fff;
  padding-top: 26px;
  border-bottom: 3px solid var(--red);
}
.hero-inner { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 12px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #cfcfd5;
}
.hero-kicker .icon { width: 15px; height: 15px; color: var(--red); }
.hero-title {
  margin: 12px 0 10px;
  font-size: clamp(34px, 10vw, 68px); font-weight: 800; letter-spacing: -.02em; line-height: 1.04;
}
.hero-title em, .vcard-title em, .detail-title em, .info-title em, .res-vcard em { font-style: normal; color: var(--red); }
.hero-text { max-width: 34em; color: #c8c8ce; font-size: 16px; }
.hero-cta { display: flex; gap: 10px; margin-top: 18px; }
.hero-cta .btn { flex: 1 1 auto; padding-inline: 14px; }
.hero-cta .btn-red { flex-grow: 1.4; }
.hero-note { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; color: #a8a8b0; }
.hero-note .icon { width: 16px; height: 16px; color: var(--wa); }

.hero-visual { position: relative; margin-top: 18px; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 2.5 / 1; object-fit: cover; object-position: 50% 45%; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--black) 0%, rgba(10, 10, 11, 0) 26%, rgba(10, 10, 11, 0) 62%, var(--black) 100%);
}

.cat-tiles {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  list-style: none; margin: -20px 0 0; padding: 0 0 18px;
}
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  height: 100%; padding: 12px 4px 10px;
  background: rgba(24, 24, 28, .94); border: 1px solid var(--line-dark); border-radius: 12px;
  color: #fff; text-decoration: none; text-align: center;
  transition: border-color .15s, background-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.cat-tile .icon { width: 42px; height: auto; }
.cat-tile strong { font: 700 11.5px/1.15 var(--font-display); letter-spacing: -.01em; }
@media (min-width: 390px) { .cat-tile strong { font-size: 12.5px; } }
.cat-tile small { display: none; font-size: 12px; line-height: 1.3; color: #9e9ea7; }
.cat-tile:hover { border-color: #55555d; }
.cat-tile.is-active { border-color: var(--red); background: #241315; }

/* ---------- Sektionen ---------- */

.section { padding: 34px 0; }
.section-head { margin-bottom: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px;
  font: 800 11.5px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.section-title { font-size: clamp(25px, 6.6vw, 38px); font-weight: 800; }
.section-title-sm { font-size: clamp(21px, 5.4vw, 28px); margin-bottom: 14px; }

/* ---------- Filter-Chips ---------- */

.chips {
  display: flex; gap: 8px; overflow-x: auto;
  margin: 0 -16px 16px; padding: 2px 16px 4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow);
  font: 700 14px/1 var(--font-display); color: var(--text); text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.chip-count {
  min-width: 22px; padding: 3px 6px; border-radius: 999px; text-align: center;
  background: #efeff1; font-size: 11.5px; color: var(--muted);
}
.chip.is-active { background: var(--black); color: #fff; box-shadow: none; }
.chip.is-active .chip-count { background: var(--red); color: #fff; }

/* ---------- Fahrzeugkarten ---------- */

.vgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vcard-link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); color: inherit; text-decoration: none;
  transition: box-shadow .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.vcard-link:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.vcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard-link:hover .vcard-media img { transform: scale(1.04); }
.vcard-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #4a4a52; }
.vcard-placeholder .icon { width: 50%; }
.vcard-cat, .vcard-badge {
  position: absolute; top: 8px;
  padding: 5px 7px; border-radius: 6px;
  font: 800 10px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.vcard-cat { left: 8px; background: rgba(10, 10, 11, .82); }
.vcard-badge { right: 8px; background: var(--red); }
.vcard-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 10px 12px 12px; }
.vcard-title {
  font-size: 15px; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vcard-specs {
  font-size: 12.5px; line-height: 1.35; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vcard-price { margin-top: auto; padding-top: 6px; font: 800 14px/1.2 var(--font-display); color: var(--red); }
.vcard-price.is-request { color: var(--text); font-weight: 700; }

.vempty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  color: var(--muted);
}
.vempty strong { color: var(--text); }

/* ---------- Ablauf & Vorteile ---------- */

.section-steps { background: #fff; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--black); color: #fff; font: 800 16px var(--font-display);
  box-shadow: inset 0 -3px 0 var(--red);
}
.steps strong { display: block; font: 700 16px/1.3 var(--font-display); }
.steps div span { display: block; font-size: 14.5px; color: var(--muted); }

.doc-link {
  display: flex; align-items: center; gap: 12px; max-width: 440px; margin-top: 20px; padding: 12px 14px;
  background: var(--bg); border-radius: 12px; box-shadow: var(--shadow); color: var(--text); text-decoration: none;
  transition: box-shadow .2s;
}
.doc-link:hover { box-shadow: var(--shadow-hover); }
.doc-link > .icon { width: 24px; height: 24px; color: var(--red); }
.doc-link > .icon:last-child { margin-left: auto; width: 20px; height: 20px; color: var(--muted); }
.doc-link strong { display: block; font: 700 15px/1.25 var(--font-display); }
.doc-link small { display: block; font-size: 13px; color: var(--muted); }
.detail-hint a { color: var(--red); font-weight: 700; }

.perks {
  list-style: none; margin: 24px 0 0; padding: 16px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px;
  background: var(--black); color: #fff; border-radius: var(--radius);
}
.perks li { display: flex; gap: 8px; align-items: flex-start; font: 700 13.5px/1.3 var(--font-display); }
.perks .icon { width: 20px; height: 20px; color: var(--red); stroke-width: 3; }

/* ---------- Kontakt ---------- */

.section-contact { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.section-contact::before {
  content: ""; position: absolute; right: -80px; top: -40px; width: 260px; height: 260px;
  background: radial-gradient(closest-side, rgba(225, 18, 27, .35), transparent);
}
.contact-grid { position: relative; display: grid; gap: 22px; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px;
  font: 800 clamp(28px, 8.5vw, 44px)/1.1 var(--font-display); color: #fff; text-decoration: none; letter-spacing: -.01em;
}
.contact-phone .icon { width: .8em; height: .8em; color: var(--red); }
.contact-alt { margin-top: 6px; font-size: 15px; color: #a8a8b0; }
.contact-alt a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.contact-btns .btn { flex: 1 1 auto; }
.contact-script {
  margin-top: 18px; font: 400 24px/1.1 var(--font-script); color: #fff;
  transform: rotate(-4deg); transform-origin: left center; display: inline-block;
}
.contact-script::after { content: ""; display: block; height: 4px; margin-top: 4px; border-radius: 4px; background: var(--red); width: 80%; }
.contact-cards { display: grid; gap: 12px; }
.info-card {
  display: flex; gap: 14px; padding: 16px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.info-card > .icon { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.info-card strong { display: block; font: 700 15px var(--font-display); margin-bottom: 4px; }
.info-card p { color: #c8c8ce; font-size: 15px; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font: 700 14.5px var(--font-display); color: #fff; text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.text-link .icon { width: 16px; height: 16px; }

/* ---------- Footer ---------- */

.site-footer { background: #000; color: #a1a1aa; font-size: 14px; padding: 26px 0 22px; }
.footer-inner { display: grid; gap: 16px; }
.footer-brand { display: grid; gap: 12px; justify-items: start; }
.footer-brand a { color: #d4d4d8; }
.logo-sm { transform: scale(.85); transform-origin: left top; margin-bottom: -6px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 13px; color: #6b6b74; }

/* ---------- Kontaktleiste unten (Handy) ---------- */

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, .95);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.action-bar .btn { flex: 1; min-height: 50px; box-shadow: none; }

/* ---------- Fahrzeug-Detailseite ---------- */

.detail { padding: 4px 0 30px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font: 700 14px var(--font-display); color: var(--muted); text-decoration: none;
}
.back-link .icon { width: 18px; height: 18px; }
.detail-grid { display: grid; gap: 18px; }
.detail-media { min-width: 0; }

.gallery { position: relative; margin-inline: -16px; background: var(--ink-2); }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-offset: -3px; }
.gallery-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3; scroll-snap-align: center; scroll-snap-stop: always; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { display: grid; place-items: center; color: #4a4a52; cursor: default; }
.gallery-empty .icon { width: 40%; }
.gallery-count {
  position: absolute; right: 10px; bottom: 10px;
  padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .66); color: #fff;
  font: 700 12.5px/1 var(--font-display); pointer-events: none;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: none; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--black); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-nav .icon { width: 22px; height: 22px; }
@media (hover: hover) { .gallery-nav { display: grid; } }

.gallery-thumbs { display: none; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; }
.thumb {
  flex: 0 0 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 9px;
  overflow: hidden; background: none; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--red); }

.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 7px;
  font: 800 11px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
}
.tag .icon { width: 26px; height: auto; }
.tag-dark { background: var(--black); color: #fff; }
.tag-red { background: var(--red); color: #fff; }
.detail-title { font-size: clamp(27px, 7.4vw, 40px); font-weight: 800; }
.detail-sub { margin-top: 6px; color: var(--muted); font-size: 16px; }
.detail-price { margin: 14px 0 14px; font: 800 24px/1.2 var(--font-display); color: var(--red); }
.detail-price.is-request { color: var(--text); font-size: 20px; }
.detail-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-hint {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 11px 13px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow); font-size: 13.5px; color: var(--muted);
}
.detail-hint .icon { width: 18px; height: 18px; color: var(--red); margin-top: 1px; }

.block-title { margin: 24px 0 10px; font-size: 18px; font-weight: 800; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.spec { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); min-width: 0; }
.spec > .icon { width: 20px; height: 20px; color: var(--red); }
.spec div { min-width: 0; }
.spec small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.spec strong { display: block; font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }

.features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.features li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600;
}
.features .icon { width: 15px; height: 15px; color: var(--red); stroke-width: 3; }

.prose { font-size: 15.5px; color: #2a2a30; }
.prose p, .prose ul { margin: 0 0 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 4px; }
.prose h2 { font-size: 17px; font-weight: 800; margin: 22px 0 6px; }
.prose a { color: var(--red); }
.clamp { position: relative; max-height: 9.6em; overflow: hidden; }
.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(rgba(243, 243, 244, 0), var(--bg)); }
.clamp.is-open { max-height: none; }
.clamp.is-open::after, .clamp.is-short::after { display: none; }
.clamp.is-short { max-height: none; }
.more-btn { margin-top: 2px; padding: 8px 0; border: 0; background: none; color: var(--red); font: 700 14.5px var(--font-display); cursor: pointer; }

.section-more { padding-top: 6px; }
.vgrid-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none;
  overflow-x: auto; scroll-snap-type: x proximity; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none;
  scroll-padding-inline: 16px;
}
.vgrid-scroll::-webkit-scrollbar { display: none; }
.vgrid-scroll > li { scroll-snap-align: start; }

/* ---------- Rechtstexte ---------- */

.legal .section-title { margin-bottom: 18px; }
.legal .prose { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.legal .prose h2:first-child { margin-top: 0; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(0, 0, 0, .96); color: #fff;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: 56px 8px; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-close {
  position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 10px; z-index: 2;
  display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
}
.lb-close .icon { width: 24px; height: 24px; }
.lb-count { position: absolute; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); font: 700 13px var(--font-display); color: #d4d4d8; }
html.lb-open { overflow: hidden; }

/* ==========================================================================
   Größere Bildschirme
   ========================================================================== */

@media (min-width: 640px) {
  .container { padding-inline: 24px; }
  .chips { margin-inline: -24px; padding-inline: 24px; }
  .cat-tile { padding: 16px 8px 14px; }
  .cat-tile .icon { width: 56px; }
  .cat-tile strong { font-size: 15px; }
  .cat-tile small { display: block; }
  .hero-cta { max-width: 520px; }
  .gallery { margin-inline: 0; border-radius: 16px; overflow: hidden; }
  .gallery-thumbs { display: flex; }
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vgrid-scroll { grid-auto-columns: 31%; margin-inline: -24px; padding-inline: 24px; }
  .perks { padding: 22px; gap: 18px; }
  .perks li { font-size: 15px; }
  .contact-btns .btn { flex: 0 0 auto; }
}

@media (min-width: 720px) {
  .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .vcard-title { font-size: 16.5px; }
  .vcard-specs { font-size: 13.5px; }
  .vcard-price { font-size: 15px; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  body { padding-bottom: 0; }
  .action-bar { display: none; }

  .logo-swoosh { width: 140px; height: 18px; }
  .logo-top { font-size: 12.5px; }
  .logo-main { font-size: 26px; }
  .logo-main::before, .logo-main::after { width: 18px; }

  .main-nav { display: flex; gap: 6px; margin-left: auto; }
  .main-nav a {
    padding: 10px 14px; border-radius: 10px; text-decoration: none;
    font: 700 15px var(--font-display); color: #e4e4e7;
  }
  .main-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .header-call { margin-left: 8px; width: auto; height: 46px; padding: 0 18px; border-radius: 12px; }
  .header-call span { display: inline; }
  .header-call:hover { background: var(--red-dark); }

  .hero { padding-top: 56px; }
  .hero-text { font-size: 18px; }
  .hero-note { font-size: 14px; }
  .hero-visual { margin-top: -10px; }
  .hero-visual img { aspect-ratio: 3.6 / 1; }
  .cat-tiles { gap: 14px; margin-top: -50px; padding-bottom: 32px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 20px; }

  .steps-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
  .steps { gap: 20px; }
  .perks { margin-top: 0; padding: 30px; grid-template-columns: 1fr; gap: 18px; }
  .perks li { font-size: 17px; align-items: center; }
  .perks .icon { width: 24px; height: 24px; }

  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
  .contact-script { font-size: 30px; }

  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-copy { grid-column: 1 / -1; }

  .detail { padding-bottom: 56px; }
  .detail-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .detail-media { position: sticky; top: calc(var(--header-h) + 16px); }
  .detail-cta { max-width: 460px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vgrid-scroll { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 0; }
  .legal .prose { padding: 32px 36px; }
}

@media (min-width: 1080px) {
  .vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (min-width: 1600px) {
  .hero-visual {
    max-width: 1680px; margin-inline: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
}

/* ==========================================================================
   Reservierungsanfrage und Mieter-Infos
   ========================================================================== */

.btn-block { display: flex; width: 100%; }
.btn-outline { box-shadow: inset 0 0 0 1.5px var(--line); }
.hero-actions { max-width: 520px; margin-top: 18px; }
.hero-main { display: flex; width: 100%; }
.hero-actions .hero-cta { margin-top: 10px; }
.hero-actions .hero-cta .btn-ghost { flex-grow: 1.4; }
.detail-info > .btn-block { margin-bottom: 10px; }
.action-bar { gap: 6px; padding-inline: 10px; }
.action-bar .btn { padding: 0 6px; gap: 6px; font-size: 14px; }
.action-bar .btn .icon { width: 18px; height: 18px; }

.res-container { max-width: 760px; }
.res .section-title { margin-bottom: 12px; }
.res-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px;
  border-radius: 12px; background: #fff7e0; color: #5c4500; font-size: 14.5px;
}
.res-note .icon { width: 20px; height: 20px; margin-top: 1px; color: #b98300; }
.res-note-ok { background: #e6f6ec; color: #0d5e2e; }
.res-note-ok .icon { color: #138a43; }
.res-errors { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: #fdeaea; color: #8f0b11; font-size: 14.5px; font-weight: 600; }
.res-errors p { display: flex; gap: 8px; align-items: flex-start; }
.res-errors p + p { margin-top: 6px; }
.res-errors .icon { width: 18px; height: 18px; margin-top: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.res-step { min-width: 0; margin: 0 0 14px; padding: 16px; border: 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.res-step legend { float: left; display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 12px; padding: 0; font: 800 17px var(--font-display); }
.res-step legend + * { clear: both; }
.res-step .step-num { width: 30px; height: 30px; font-size: 14px; }
.res-help { margin-bottom: 10px; font-size: 14px; color: var(--muted); }

.res-vehicles {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px;
  margin: 0 -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.res-vehicles::-webkit-scrollbar { display: none; }
.res-vehicle { position: relative; scroll-snap-align: start; cursor: pointer; }
.res-vehicle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.res-vcard {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 6px 6px 10px;
  border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .15s, background-color .15s;
}
.res-vthumb { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 6px; border-radius: 8px; overflow: hidden; background: var(--ink-2); color: #55555d; }
.res-vthumb img { width: 100%; height: 100%; object-fit: cover; }
.res-vthumb .icon { width: 60%; }
.res-vcard strong { padding: 0 4px; font: 700 14px/1.25 var(--font-display); }
.res-vcard small { padding: 0 4px; font-size: 12px; color: var(--muted); }
.res-vehicle input:checked + .res-vcard { background: #fff5f5; box-shadow: inset 0 0 0 3px var(--red); }
.res-vehicle input:focus-visible + .res-vcard { outline: 3px solid var(--red); outline-offset: 2px; }

.field { display: block; margin-bottom: 12px; }
.field > span { display: block; margin-bottom: 5px; font: 700 13.5px var(--font-display); }
.field > span small { font-family: var(--font-body); font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text); font: 16px/1.4 var(--font-body); -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 32px; background-repeat: no-repeat; background-size: 5px 5px;
  background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(10, 10, 11, .08); }
.res-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.res-dates .field { margin-bottom: 0; }
.res-status { margin-top: 12px; padding: 11px 13px; border-radius: 10px; background: #f4f4f5; font-size: 14.5px; font-weight: 600; }
.res-status:empty { display: none; }
.res-status.is-ok { background: #e6f6ec; color: #0d5e2e; }
.res-status.is-bad { background: #fdeaea; color: #8f0b11; }
.res-two { display: grid; gap: 0 12px; }
.res-info {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px;
  border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-size: 14px; color: var(--muted);
}
.res-info .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--red); }
.res-submit { margin-top: 4px; }
.res-small { margin-top: 10px; font-size: 13px; color: var(--muted); }
.res-small a { color: inherit; }
.btn-row-left { justify-content: flex-start; }
.res-thanks { margin-bottom: 18px; text-align: center; }
.res-thanks .section-title { margin: 12px 0 8px; }
.res-thanks p { color: var(--muted); }
.res-thanks-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e6f6ec; color: #138a43; }
.res-thanks-icon .icon { width: 34px; height: 34px; stroke-width: 3; }
.res-summary { margin-bottom: 16px; padding: 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.res-summary dl { display: grid; gap: 8px; margin: 12px 0 0; }
.res-summary dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: 15px; }
.res-summary dt { color: var(--muted); }
.res-summary dd { margin: 0; font-weight: 700; }
.res-status-badge { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #f1f1f3; font: 800 12px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.res-status-badge.is-pending { background: #fff1c2; color: #7a5800; }
.res-status-badge.is-ok { background: #e6f6ec; color: #0d5e2e; }
.res-status-badge.is-bad { background: #fdeaea; color: #8f0b11; }

.info-hero { padding: 18px 0; background: var(--black); color: #fff; border-bottom: 3px solid var(--red); }
.info-hero-inner { display: flex; align-items: center; gap: 14px; }
.info-thumb { flex: none; display: grid; place-items: center; width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--ink-2); color: #55555d; }
.info-thumb img { width: 100%; height: 100%; object-fit: cover; }
.info-hero .eyebrow { margin-bottom: 4px; }
.info-title { font-size: clamp(22px, 6vw, 34px); font-weight: 800; }
.info { padding-top: 18px; }
.info-emergency { padding: 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.info-emergency p { margin-bottom: 10px; font-size: 15px; }
.info-emergency-btns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.info-emergency-btns .btn { padding: 0 10px; font-size: 15px; }
.info-facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; }
.info-facts li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.info-facts .icon { width: 20px; height: 20px; color: var(--red); }
.info-facts small { display: block; font-size: 11.5px; color: var(--muted); }
.info-facts strong { display: block; font-size: 14.5px; overflow-wrap: anywhere; }
.faq { display: grid; gap: 8px; }
.faq-item { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; gap: 10px; padding: 14px; list-style: none; cursor: pointer; font: 700 15.5px/1.3 var(--font-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > .icon:first-child { width: 20px; height: 20px; color: var(--red); }
.faq-item summary span { flex: 1; }
.faq-chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.faq-item[open] .faq-chev { transform: rotate(90deg); }
.faq-answer { padding: 0 14px 14px 44px; font-size: 15px; }
.faq-answer p:last-child { margin-bottom: 0; }
.info-links { display: grid; gap: 10px; margin-top: 22px; }
.info-links .doc-link { max-width: none; margin-top: 0; background: #fff; }

@media (min-width: 640px) {
  .res-vehicles { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; }
  .res-dates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .res-two { grid-template-columns: 1fr 1fr; }
  .res-step { padding: 20px 22px; }
  .info-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info-links { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .res-vehicles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Preise und Sonderangebote */
.vcard-badge.is-offer { top: auto; right: auto; bottom: 8px; left: 8px; background: #ffcc00; color: var(--black); }
.price-table { display: grid; gap: 10px; }
.price-group { padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.price-group h3 { margin-bottom: 6px; font: 800 13px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.price-group ul { list-style: none; margin: 0; padding: 0; }
.price-group li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #efeff1; }
.price-group li:first-child { border-top: 0; padding-top: 2px; }
.price-group li span { min-width: 0; }
.price-group li strong { display: block; font-size: 15px; }
.price-group li small { display: block; font-size: 13px; color: var(--muted); }
.price-group li b { flex: none; font: 800 16px/1.2 var(--font-display); color: var(--text); white-space: nowrap; }
.price-extras { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.price-extras li { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #e6f6ec; color: #0d5e2e; font-size: 14px; font-weight: 600; }
.price-extras .icon { width: 18px; height: 18px; }
.price-notes { font-size: 13px; color: var(--muted); }

.offer-box {
  display: block; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #fff;
  box-shadow: inset 0 0 0 2px #ffcc00, var(--shadow); color: var(--text); text-decoration: none;
}
.offer-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: #ffcc00; color: var(--black);
  font: 800 11px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
}
.offer-tag .icon { width: 14px; height: 14px; }
.offer-title { display: block; margin-top: 8px; font: 800 17px/1.25 var(--font-display); }
.offer-price { margin-top: 4px; font: 800 22px/1.2 var(--font-display); color: var(--red); }
.offer-price s { margin-left: 6px; font-size: 16px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.offer-text { margin-top: 4px; font-size: 14.5px; color: #3f3f46; }
.offer-box small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.offer-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; margin: 0 -16px 16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.offer-strip::-webkit-scrollbar { display: none; }
.offer-strip .offer-box { margin-top: 0; scroll-snap-align: start; }
.offer-box-sm .offer-title { font-size: 15.5px; }
.offer-box-sm .offer-price { font-size: 19px; }
a.offer-box:hover { box-shadow: inset 0 0 0 2px #e6b800, var(--shadow-hover); }
.res-package { margin-top: 12px; margin-bottom: 0; }

@media (min-width: 640px) {
  .offer-strip { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0 0 18px; padding: 0; overflow: visible; }
  .price-table { grid-template-columns: 1fr 1fr; align-items: start; }
  .price-extras, .price-notes { grid-column: 1 / -1; }
}
.price-sub { margin: -2px 0 6px; font-size: 13px; color: var(--muted); }

/* Versicherung hervorheben */
.hero-trust { list-style: none; display: grid; gap: 6px; margin: 14px 0 0; padding: 0; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a8a8b0; }
.hero-trust .icon { width: 17px; height: 17px; color: var(--wa); }
.hero-trust li.is-insured { font: 700 15px/1.3 var(--font-display); color: #fff; }
.hero-trust li.is-insured .icon { width: 22px; height: 22px; color: var(--wa); }
.cat-from { display: block; font: 700 11.5px/1.2 var(--font-display); font-style: normal; color: #ff5a62; }
.vcard-insured { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: #0d5e2e; }
.vcard-insured .icon { width: 13px; height: 13px; }
.vcard-price { padding-top: 6px; }
.fleet-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--muted); }
.fleet-note .icon { width: 18px; height: 18px; color: #138a43; margin-top: 1px; }
.perks li.perk-insured { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid #2b2b31; font-size: 15px; }
.perks li.perk-insured .icon { color: var(--wa); stroke-width: 2; width: 22px; height: 22px; }
.perks li.perk-insured small { display: block; margin-top: 2px; font: 500 12px/1.35 var(--font-body); color: #a8a8b0; }
.price-insured {
  display: flex; align-items: flex-start; gap: 8px; margin: -6px 0 14px; padding: 9px 12px; border-radius: 10px;
  background: #e6f6ec; color: #0d5e2e; font: 700 14.5px/1.3 var(--font-display);
}
.price-insured .icon { width: 20px; height: 20px; flex: none; }
.price-insured small { display: block; margin-top: 2px; font: 500 12.5px/1.35 var(--font-body); color: #2f6b45; }
.price-insured-row { margin: 0; grid-column: 1 / -1; }
.info-insured { margin: 12px 0 0; }
.res-insured { background: #e6f6ec; color: #0d5e2e; box-shadow: none; }
.res-insured .icon { color: #138a43; }
.res-insured strong { display: block; font: 700 14.5px var(--font-display); }
.res-insured small { display: block; color: #2f6b45; }
.footer-note { font-size: 12.5px; color: #8a8a93; }
@media (min-width: 640px) {
  .hero-trust { grid-auto-flow: column; justify-content: start; gap: 18px; }
  .cat-from { font-size: 13px; }
}
