/* Luxury Speed Rentals – Website-Vorlage */

:root {
  --ink: #0d0d0e;
  --ink-soft: #3a3b3f;
  --muted: #6b6e75;
  --line: #d4d6db;
  --silver-1: #e9f0f3;
  --silver-2: #c6cbd0;
  --silver-3: #a2a5ac;
  --paper: #f7f8f9;
  --white: #ffffff;
  --whatsapp: #1f8f4e;
  --radius: 4px;
  --wrap: 1120px;
  --head: "League Spartan", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
.eyebrow {
  font-family: var(--head); font-size: .85rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; }
#top h2 { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .005em; }
#top h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin: 18px 0 0 3px;
  background: currentColor; transform: skewX(-30deg);
}
#top h3 { text-transform: uppercase; letter-spacing: .02em; }

/* Platzhalter-Markierung: zeigt, welche Werte noch Beispiele sind */
.bsp {
  display: inline-block; font-family: var(--body); font-size: .7rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: middle;
  background: #fff3c4; color: #6b5300; border-radius: 6px; padding: 1px 6px; margin-left: 6px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--head); font-weight: 600; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 26px; border-radius: var(--radius); text-decoration: none; border: 2px solid var(--ink);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #26272b; }
.btn-light { background: transparent; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--white); }
.btn-wa { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--white); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(233, 240, 243, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .14em; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .btn { padding: 11px 18px; font-size: .82rem; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--silver-1) 0%, var(--silver-3) 100%);
  padding: 72px 0 0; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero p.lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { align-self: end; }
.hero .eyebrow { color: var(--ink-soft); letter-spacing: .26em; }
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem); font-style: italic; text-transform: uppercase;
  letter-spacing: .005em; line-height: 1.02; margin-bottom: 22px;
}
/* schräger Akzentstrich unter der Überschrift */
.hero h1 span { display: block; }
.hero-line { width: 72px; height: 5px; background: var(--ink); transform: skewX(-30deg); margin: 0 0 24px 4px; }
.hero .btn-wa { background: var(--ink); border-color: var(--ink); }
.hero .btn-wa:hover { background: #26272b; }
/* Foto mit schräger linker Kante */
.hero .photo { border-radius: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.badges {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px;
  background: var(--ink);
}
.badge { padding: 24px 22px; color: var(--silver-1); border-left: 1px solid #2a2b2f; }
.badge:first-child { border-left: 0; }
.badge strong {
  display: block; font-family: var(--head); font-size: 1.6rem; font-style: italic;
  text-transform: uppercase; letter-spacing: .01em;
}
.badge span { color: var(--silver-3); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.hero .badges { box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }

/* Bild-Platzhalter, bis echte Fotos da sind */
.photo {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 18% at 50% 88%, rgba(0,0,0,.35), transparent 70%),
    linear-gradient(160deg, #2b2c30 0%, #0d0d0e 100%);
  display: grid; place-items: center; overflow: hidden;
}
.photo svg { width: 78%; opacity: .9; }
.photo .photo-note {
  position: absolute; left: 14px; bottom: 12px; font-size: .75rem; color: #c9ccd2;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero .photo { border-radius: var(--radius) var(--radius) 0 0; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.has-photo > svg, .photo.has-photo > .photo-note { display: none; }
.hero .photo img { object-position: 50% 62%; }

/* Fotogalerie beim Fahrzeug */
.gallery { min-width: 0; }
.gallery .photo { aspect-ratio: 4 / 5; }
.slides {
  position: absolute; inset: 0; display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.photo .slides img {
  position: static; flex: 0 0 100%; scroll-snap-align: start; cursor: zoom-in;
}
.gal-btn, .gal-count, .thumbs { display: none; }
.gallery.multi .gal-btn, .gallery.multi .gal-count { display: grid; }
.gallery.multi .thumbs { display: flex; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.7rem; line-height: 1;
}
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-count {
  position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 99px;
  background: rgba(0,0,0,.55); color: #fff; font-size: .8rem;
}
.thumbs { gap: 6px; margin-top: 10px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
  flex: 1 0 48px; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 2px;
  overflow: hidden; cursor: pointer; background: var(--line); opacity: .5; transition: opacity .2s;
}
.thumbs button:hover, .thumbs button.active { opacity: 1; }
.thumbs button.active { box-shadow: 0 0 0 2px var(--ink); }
.thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .gallery.multi .gal-btn { display: none; } }

/* Vollbild */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0,0,0,.92);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff; font-size: 2rem; line-height: 1;
}
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* Flotte */
.car {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.06);
}
#fahrzeuge { display: grid; gap: 28px; margin-top: 36px; }
#fahrzeuge .car { margin-top: 0 !important; }
.car-name { font-size: 2.2rem; margin-bottom: 4px; font-weight: 800; font-style: italic; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 28px; }
.spec { background: var(--ink); color: var(--silver-1); border-radius: var(--radius); padding: 12px 14px; }
.spec small { display: block; color: var(--silver-3); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.spec b { font-family: var(--head); font-size: 1.2rem; font-style: italic; }
.car-terms {
  list-style: none; padding: 0; margin: -12px 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.car-terms li { border-left: 4px solid var(--ink); padding: 2px 0 2px 12px; }
.car-terms small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.car-terms b { font-family: var(--head); font-size: 1.15rem; font-style: italic; }
.prices { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.prices td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.prices td:last-child { text-align: right; font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1.3rem; white-space: nowrap; padding-left: 12px; }
.prices tr:last-child td { border-bottom: 0; }
.car-meta { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.car-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; margin-top: 36px; }
.step { border-top: 4px solid var(--ink); padding-top: 18px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--head); font-weight: 800; font-style: italic; font-size: 3rem; line-height: 1; color: var(--silver-3); display: block; margin-bottom: 10px;
}
.step p { color: var(--ink-soft); font-size: .97rem; }

/* Konditionen */
.dark { background: var(--ink); color: var(--white); }
#konditionen {
  clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
  padding: 136px 0; margin: -24px 0;
}
.dark .eyebrow { color: var(--silver-3); }
.dark .lead { color: var(--silver-2); }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #2a2b2f; margin-top: 36px; border-radius: var(--radius); overflow: hidden; }
.term { background: var(--ink); padding: 26px 24px; }
.term strong { display: block; font-family: var(--head); font-size: 1.7rem; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--silver-1); margin-bottom: 4px; }
.term span { color: var(--silver-2); font-size: .95rem; }
.terms-note { margin-top: 22px; color: var(--silver-3); font-size: .92rem; }
.terms-note a { color: var(--white); }

/* Angebot */
.offer {
  background: linear-gradient(180deg, var(--silver-1), var(--silver-3));
  border-radius: var(--radius); border-left: 8px solid var(--ink); padding: 48px; display: grid;
  grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
}
.offer-amount { font-family: var(--head); font-weight: 800; font-style: italic; font-size: 4.6rem; line-height: 1; }
.offer p { margin: 0; color: var(--ink-soft); }
.offer .offer-note { margin-top: 10px; font-size: .82rem; color: var(--ink-soft); opacity: .85; }

/* FAQ */
.faq { max-width: 780px; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 4px solid var(--ink); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative;
  font-family: var(--head); font-weight: 600; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-cta { background: var(--white); border-radius: var(--radius); border-top: 5px solid var(--ink); padding: 36px; box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.contact-cta .btn { width: 100%; margin-top: 10px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--silver-2); padding: 48px 0 28px; font-size: .92rem; border-top: 4px solid var(--silver-3); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer img { height: 70px; width: auto; margin-bottom: 14px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid #2a2b2f; color: var(--silver-3); font-size: .85rem; }

/* WhatsApp-Button unten links (Handy); rechts unten blendet Netlify seinen Hinweis ein */
.wa-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white); display: none; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; }

/* Rechtstexte (Impressum, AGB, Datenschutz) */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li { margin-bottom: .5em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--silver-1); }
.legal .firma { color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid, .car, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .terms { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .badge:nth-child(odd) { border-left: 0; }
  .badge:nth-child(n+3) { border-top: 1px solid #2a2b2f; }
  .offer { grid-template-columns: 1fr; text-align: left; padding: 36px; }
  .nav a:not(.btn) { display: none; }
}

/* Handy */
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 64px; }
  .logo img { height: 42px; }
  .hero { padding-top: 44px; }
  .hero-actions .btn, .car-actions .btn { width: 100%; }
  .badges { margin-top: 44px; }
  .badge { padding: 16px 14px; }
  .badge strong { font-size: 1.2rem; }
  .specs { gap: 8px; }
  .spec { padding: 10px; }
  .spec small { font-size: .68rem; }
  .spec b { font-size: 1.05rem; }
  .car { padding: 18px; }
  .steps, .terms { grid-template-columns: 1fr; }
  .offer { padding: 28px 22px; }
  .offer-amount { font-size: 3.2rem; }
  #konditionen { clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%); padding: 96px 0; margin: -14px 0; }
  .car-name { font-size: 1.9rem; }
  .contact-cta { padding: 24px; }
  .nav .btn { padding: 8px 14px; font-size: .88rem; }
  .wa-float { display: grid; }
}
