/* Sparcar24 Weilburg – statische Landingpage. Keine externen Schriften, keine Cookies. */
:root {
  --bg: #fffdf6;
  --surface: #ffffff;
  --ink: #15171c;
  --muted: #555b66;
  --line: #ece7d6;
  --yellow: #ffd400;
  --yellow-soft: #fff4b8;
  --red: #e2001a;
  --red-dark: #b80015;
  --wa: #1fae54;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(21, 23, 28, .08);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: 76px; /* Platz für die mobile Anruf-Leiste */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 246, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; font-weight: 900; font-style: italic; line-height: .9; }
.logo b { font-size: 24px; letter-spacing: -.03em; }
.logo b span {
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
  font-size: 1.25em;
  margin-left: 1px;
}
.logo small { font-size: 14px; letter-spacing: .02em; padding-left: 26px; }
.nav { display: none; gap: 26px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--red); }
.top-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--ink);
  font-weight: 800; text-decoration: none; white-space: nowrap;
  padding: 10px 14px; border-radius: 999px; font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.top-call:hover { background: #ffdf3d; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 22px;
  border-radius: 14px; border: 2px solid transparent;
  font-weight: 800; font-size: 18px; text-decoration: none;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg, .top-call svg, .bar svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-mail { background: var(--surface); color: var(--ink); border-color: var(--ink); }

/* Hero */
.hero { padding: 22px 0 34px; }
.hero-grid { display: grid; gap: 22px; }
.badge24 {
  display: inline-flex; align-items: stretch; font-weight: 800; font-size: 14px;
  border-radius: 8px; overflow: hidden; margin-bottom: 14px;
}
.badge24 b { background: var(--red); color: #fff; padding: 5px 10px; }
.badge24 span { background: var(--yellow); color: var(--ink); padding: 5px 10px; font-style: italic; font-weight: 700; }
.hero h1 { font-size: clamp(34px, 9vw, 58px); font-weight: 900; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.hero .lead { margin-top: 12px; font-size: 19px; color: var(--muted); max-width: 34ch; }
.price {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 18px; padding: 10px 18px 10px 14px;
  background: var(--yellow); border-radius: 16px;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900; font-style: italic; text-transform: uppercase;
}
.price .t { font-size: 17px; line-height: 1.05; }
.price .n { font-size: 46px; line-height: 1; color: var(--red); letter-spacing: -.04em; }
.cta { display: grid; gap: 10px; margin-top: 24px; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #111; }
.hero-img img { width: 100%; aspect-ratio: 1536 / 752; object-fit: cover; }

/* Karo-Streifen wie auf den Fahrzeugen */
.checker {
  height: 16px;
  background:
    conic-gradient(var(--ink) 25%, var(--yellow) 0 50%, var(--ink) 0 75%, var(--yellow) 0) 0 0 / 16px 16px;
}

/* Vorteile */
.facts { background: var(--ink); color: #fff; }
.facts ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.facts li { font-weight: 700; font-size: 16px; line-height: 1.25; display: flex; flex-direction: column; }
.facts li b { color: var(--yellow); font-size: 22px; font-weight: 900; font-style: italic; }

/* Abschnitte */
section { padding: 52px 0; }
.kicker { color: var(--red); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
h2 { font-size: clamp(28px, 6.5vw, 40px); font-weight: 900; }
.sub { color: var(--muted); margin-top: 10px; max-width: 56ch; }

.cards { display: grid; gap: 12px; margin-top: 26px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start;
}
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--yellow);
  display: grid; place-items: center;
}
.card .ico svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { color: var(--muted); font-size: 16px; margin-top: 4px; }

/* Preis-Band */
.deal { background: var(--yellow); padding: 0; }
.deal .wrap { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 18px; }
.deal h2 { font-style: italic; text-transform: uppercase; }
.deal h2 span { color: var(--red); font-size: 1.5em; white-space: nowrap; margin-left: .22em; }
.deal p { font-weight: 600; max-width: 46ch; }
.deal .btn { justify-self: start; }

/* Gebiet */
.area { background: var(--surface); border-block: 1px solid var(--line); }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--yellow-soft); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
.chips li.main { background: var(--ink); color: #fff; }

/* Fragen */
.faq { margin-top: 22px; display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 700; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* Kontakt */
.contact { background: var(--ink); color: #fff; }
.contact .kicker { color: var(--yellow); }
.contact .sub { color: #c9ccd3; }
.contact .cta { max-width: 520px; }
.contact .btn-mail { border-color: #fff; }
.contact address { font-style: normal; margin-top: 26px; color: #c9ccd3; }
.contact address strong { color: #fff; }

/* Fußzeile */
footer { background: #0c0d10; color: #aeb2bb; font-size: 15px; padding: 26px 0; }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: #fff; }

/* Mobile Anruf-Leiste */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 246, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; border-radius: 12px; font-weight: 800; text-decoration: none; color: #fff;
}
.bar .c { background: var(--red); }
.bar .w { background: var(--wa); }

/* Rechtstexte */
.legal { padding: 34px 0 60px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 7vw, 42px); font-weight: 900; margin-bottom: 18px; }
.legal h2 { font-size: 22px; margin: 30px 0 8px; }
.legal h3 { font-size: 18px; margin: 20px 0 6px; }
.legal p, .legal ul { margin: 0 0 12px; overflow-wrap: anywhere; }
.legal a { color: var(--red-dark); }

/* Offene Punkte im Entwurf – vor dem Livegang entfernen */
.todo { background: #ffe1e4; outline: 2px dashed var(--red); outline-offset: 2px; border-radius: 4px; padding: 0 4px; color: var(--ink); }

@media (min-width: 560px) {
  .cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta .btn-mail { grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .facts ul { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; font-size: 18px; }
  .bar { display: none; }
  .nav { display: flex; }
  .top .wrap { min-height: 72px; }
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 44px; }
  .hero-img { order: 2; }
  .hero .cta { grid-template-columns: auto auto; justify-content: start; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  section { padding: 76px 0; }
  .deal .wrap { grid-template-columns: 1fr auto; align-items: center; padding-top: 52px; padding-bottom: 52px; }
  .deal .btn { justify-self: end; }
  .deal p { grid-column: 1; }
  .deal .btn { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Sehr schmale Handys */
@media (max-width: 359px) {
  .top .wrap { gap: 8px; padding: 0 12px; }
  .logo b { font-size: 20px; }
  .logo small { font-size: 12px; padding-left: 20px; }
  .top-call { font-size: 14px; padding: 9px 11px; gap: 5px; }
  .top-call svg { width: 18px; height: 18px; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .btn { font-size: 16px; padding: 14px 12px; gap: 8px; }
}

/* Icons vor Telefonnummer und E-Mail-Adresse im Fließtext */
.ic { display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; font-weight: 700; text-decoration: none; vertical-align: bottom; }
.ic:hover { text-decoration: underline; }
.ic svg { width: 1.05em; height: 1.05em; flex: none; fill: currentColor; }
.faq .ic { color: var(--red-dark); }
footer .fc { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Animationen: nur transform und opacity, damit sie flüssig laufen ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes zoom { from { transform: scale(1.08); } }
  @keyframes pop {
    0% { opacity: 0; transform: rotate(-12deg) scale(.4); }
    70% { opacity: 1; transform: rotate(1deg) scale(1.08); }
    100% { transform: rotate(-2deg) scale(1); }
  }
  @keyframes wiggle {
    0%, 88%, 100% { transform: rotate(-2deg) scale(1); }
    91% { transform: rotate(-5deg) scale(1.04); }
    94% { transform: rotate(1deg) scale(1.04); }
    97% { transform: rotate(-3deg) scale(1.02); }
  }
  @keyframes ring {
    0%, 86%, 100% { transform: rotate(0); }
    88%, 92%, 96% { transform: rotate(-14deg); }
    90%, 94%, 98% { transform: rotate(14deg); }
  }
  @keyframes pulse { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(1.12, 1.45); } }
  @keyframes roll { to { transform: translateX(-32px); } }

  /* Hero baut sich beim Laden auf */
  .hero-img { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-img img { animation: zoom 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .door { animation: rise .6s cubic-bezier(.2, .7, .2, 1) .45s both; }
  .hero h1, .hero .lead, .hero .cta { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 { animation-delay: .18s; }
  .hero .lead { animation-delay: .26s; }
  .hero .cta { animation-delay: .5s; }
  .price { animation: pop .6s cubic-bezier(.3, 1.4, .5, 1) .4s both, wiggle 7s ease-in-out 2.5s infinite; }

  /* Anruf-Button pulsiert dezent, Hörer klingelt */
  .hero .btn-call { position: relative; }
  .hero .btn-call::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: var(--red); z-index: -1; animation: pulse 2.2s ease-out 1.4s infinite;
  }
  .hero .cta { position: relative; z-index: 0; }
  .top-call svg, .bar .c svg { animation: ring 6s ease-in-out 2s infinite; transform-origin: 50% 50%; }

  /* Karo-Streifen läuft langsam durch */
  .checker { background: none; overflow: hidden; }
  .checker::before {
    content: ""; display: block; height: 100%; width: calc(100% + 32px);
    background: conic-gradient(var(--ink) 25%, var(--yellow) 0 50%, var(--ink) 0 75%, var(--yellow) 0) 0 0 / 16px 16px;
    animation: roll 1.6s linear infinite; will-change: transform;
  }

  /* Einblenden beim Scrollen */
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .card.rv:nth-child(2), .js .facts li.rv:nth-child(2) { transition-delay: .07s; }
  .js .card.rv:nth-child(3), .js .facts li.rv:nth-child(3) { transition-delay: .14s; }
  .js .card.rv:nth-child(4), .js .facts li.rv:nth-child(4) { transition-delay: .07s; }
  .js .card.rv:nth-child(5) { transition-delay: .14s; }
  .js .card.rv:nth-child(6) { transition-delay: .21s; }

  /* Karten und Orte reagieren auf Berührung */
  .card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .card.in:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--red); }
  .card .ico { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
  .card:hover .ico { transform: rotate(4deg) scale(1.08); }
  .btn:active, .bar a:active, .top-call:active { transform: scale(.97); }
  .chips li { transition: transform .15s ease; }
  .chips li:hover { transform: translateY(-2px); }
}

/* ---------- Aufkleber-Look: dunkle Kontur und harter Schatten wie beim 4-€-Sticker ---------- */
.card { border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--yellow); grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 18px 18px 20px; }
.card .ico {
  width: 58px; height: 58px; border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink); transform: rotate(-4deg);
}
.card .ico svg { width: 34px; height: 34px; fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.card .ico .a { fill: var(--red); }
.card .ico .n { fill: none; }
.card .ico .w { fill: none; stroke: #fff; stroke-width: 1.8; }
.faq details { border: 2px solid var(--ink); }
.faq details[open] { box-shadow: 5px 5px 0 var(--yellow); }
h2::after { content: ""; display: block; width: 64px; height: 8px; margin-top: 12px; background: conic-gradient(var(--ink) 25%, var(--yellow) 0 50%, var(--ink) 0 75%, var(--yellow) 0) 0 0 / 8px 8px; }
.deal h2::after { display: none; }
.contact h2::after { background: conic-gradient(var(--yellow) 25%, transparent 0 50%, var(--yellow) 0 75%, transparent 0) 0 0 / 8px 8px; }

/* Hero-Foto mit Beschriftung wie auf der Fahrzeugtür */
.hero-img { position: relative; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
.hero-img img { aspect-ratio: 1400 / 790; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 11, 14, .82), rgba(10, 11, 14, 0) 52%); pointer-events: none; }
.door { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; color: #fff; }
.door-logo { display: flex; flex-direction: column; font-weight: 900; font-style: italic; line-height: .88; text-shadow: 0 2px 0 #000; }
.door-logo b { font-size: clamp(30px, 9vw, 44px); letter-spacing: -.03em; }
.door-logo b span { color: var(--yellow); font-size: 1.3em; margin-left: 2px; }
.door-logo small { font-size: clamp(19px, 5.5vw, 27px); padding-left: 1.5em; }
.door-24 { display: grid; grid-template-columns: auto auto; font-size: 13px; font-weight: 800; line-height: 1.2; margin-bottom: 4px; }
.door-24 b { grid-column: 1; background: var(--red); padding: 3px 9px; border-radius: 6px 6px 0 0; justify-self: start; }
.door-24 span { grid-column: 1; background: var(--yellow); color: var(--ink); font-style: italic; padding: 3px 9px; border-radius: 0 0 0 6px; }
.door-24 i { grid-column: 2; grid-row: 2; width: 48px; background: conic-gradient(var(--ink) 25%, var(--yellow) 0 50%, var(--ink) 0 75%, var(--yellow) 0) 0 0 / 11px 11px; border-radius: 0 6px 6px 0; }
.price { margin-top: 20px; }

/* Fahrzeuge: auf dem Handy seitlich wischen */
.fleet { background: var(--surface); border-block: 1px solid var(--line); }
.fleet-row {
  display: flex; gap: 14px; margin-top: 26px; padding: 4px 16px 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.fleet-row::-webkit-scrollbar { display: none; }
.fleet figure { margin: 0; flex: 0 0 80%; max-width: 420px; scroll-snap-align: center; position: relative; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 5px 5px 0 var(--yellow); background: #ddd; }
.fleet img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fleet figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 10px; padding: 3px 12px; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 15px; transform: rotate(-2deg); }
@media (min-width: 900px) {
  .fleet-row { max-width: var(--wrap); margin-inline: auto; overflow: visible; gap: 20px; }
  .fleet figure { flex: 1 1 0; max-width: none; }
  .door { left: 20px; bottom: 16px; }
}

.card h3 { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 359px) { .card { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; padding: 16px 14px; } .card .ico { width: 50px; height: 50px; } .card .ico svg { width: 30px; height: 30px; } .card h3 { font-size: 17px; } }

/* ---------- Kundenlogo: dunkle Kopfzeile und dunkler Hero wie auf den Fahrzeugen ---------- */
.top { background: rgba(21, 23, 28, .96); border-bottom-color: #000; color: #fff; }
.logo { display: block; flex: none; }
.logo img { display: block; height: 44px; width: auto; }
.nav a:hover { color: var(--yellow); }
.hero { background: var(--ink) radial-gradient(120% 90% at 85% 0%, rgba(255, 212, 0, .16), rgba(255, 212, 0, 0) 60%); color: #fff; }
.hero h1 em { background: none; color: var(--yellow); }
.hero .lead { color: #c9ccd3; }
.price { display: block; background: none; box-shadow: none; padding: 0; border-radius: 0; width: min(100%, 320px); }
.price img { display: block; width: 100%; height: auto; }
.hero-img { border-color: #000; background: #000; }
.hero-img::after { display: none; }
.hero-img .door-banner { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 262; animation: none; }
.contact .num { display: block; grid-column: 1 / -1; max-width: 440px; transition: transform .15s ease; }
.contact .num img { display: block; width: 100%; height: auto; }
.contact .num:hover { transform: translateY(-2px); }
@media (min-width: 900px) { .logo img { height: 52px; } .price { width: 380px; } }
@media (max-width: 359px) { .logo img { height: 36px; } }
