/* Auto verkaufen – Landingpage (Fahrzeugwelt Hartmann) */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Unterschrift"; src: url("fonts/unterschrift.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #12151a; --dark: #1b1f26; --dark-2: #252a33;
  --blue: #1a6fd1; --blue-dark: #1459a9; --cyan: #2bb3e6;
  --bg: #fff; --bg-soft: #f2f4f7; --line: #e1e5eb;
  --text: #1b1f26; --muted: #5b6474; --star: #f5b301;
  --cta: #f0b323; --cta-dark: #dc9c0c; --cta-ink: #1b1f26;
  --wa: #25d366; --ok: #1f9d55; --err: #c62828;
  --radius: 12px;
  --shadow-lg: 0 20px 50px rgba(18, 21, 26, .22);
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--muted); font-weight: 400; }
svg.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.i.fill { fill: currentColor; stroke: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-top: 1.5em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 99; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--head); font-weight: 700; font-size: 1rem;
  min-height: 52px; padding: .8em 1.4em; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 8px 20px rgba(240, 179, 35, .3); }
.btn-primary:hover { background: var(--cta-dark); }
.btn-primary[disabled] { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1fb457; }
.btn-block { width: 100%; }

/* Kopf */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b { font-family: var(--head); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-text b span { color: var(--blue); }
.brand-text small { font-size: .68rem; color: var(--muted); font-weight: 500; margin-top: 2px; white-space: nowrap; }
.top-tel { display: flex; align-items: center; gap: .5em; color: var(--dark); text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.1rem; line-height: 1.15; }
.top-tel svg { color: var(--blue); width: 1.5em; height: 1.5em; }
.top-tel small { display: block; font-family: var(--body); font-weight: 600; font-size: .72rem; color: var(--blue); }
@media (max-width: 599px) {
  .top-tel { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--cta); justify-content: center; }
  .top-tel svg { color: var(--dark); width: 1.3em; height: 1.3em; }
  .top-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Hero (hell, freundliches Bild) */
.hero { position: relative; color: var(--text); background: linear-gradient(180deg, #e4e9ed 0%, #dde4e9 55%, #d3dbe1 100%); overflow: hidden; }
/* Foto Schlüsselübergabe als Streifen unten, Ränder weich ausgeblendet */
.hero::before { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 760px); aspect-ratio: 1800 / 1170;
  background: url("img/schluesseluebergabe.webp") center/cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%); mask-composite: intersect; }
.hero-in { position: relative; display: grid; gap: 28px; padding-top: 28px; padding-bottom: calc(min(100vw, 760px) / 1.54 - 10px); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: .6em; }
.hero .eyebrow { color: var(--blue); }
.hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 800; color: var(--dark); }
.hero h1 span { color: #c27c00; }
.lead { font-size: 1.1rem; color: #333a46; max-width: 34em; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: .45em; }
.checks li { padding-left: 1.8em; position: relative; font-weight: 600; }
.checks li.garantie { color: #b06f00; font-family: var(--head); font-weight: 800; font-size: 1.08rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--dark); background: var(--cta); width: 1.3em; height: 1.3em; border-radius: 50%; display: grid; place-items: center; font-size: .8em; margin-top: .2em; }
.rating { display: inline-flex; align-items: center; gap: .7em; color: var(--text); text-decoration: none; background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(18,21,26,.08); padding: .55em .9em; border-radius: 12px; }
.rating .g { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: #4285f4; display: grid; place-items: center; font-weight: 800; font-family: var(--head); }
.rating b { font-size: 1.2rem; font-family: var(--head); }
.rating small { display: block; color: var(--muted); font-size: .8rem; }
.rating strong { display: block; color: #b06f00; font-family: var(--head); font-weight: 700; font-size: .95rem; margin-top: 3px; }
.stars { color: var(--star); letter-spacing: 2px; }
@media (min-width: 900px) {
}
/* Auf dem Handy: Formular zuerst, Text darunter knapp halten */
@media (max-width: 899px) {
  .hero-text .checks { margin: 14px 0 0; }
  .hero-text .checks li:not(.garantie) { display: none; }
  .hero-text .rating { margin-top: 16px; }
  .hero-text .lead { margin-bottom: 0; font-size: 1rem; }
}
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1fr 470px; align-items: center; padding-top: 48px; padding-bottom: 470px; gap: 48px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-text b { font-size: 1.4rem; }
  .brand-text small { font-size: .78rem; }
}

/* Formular-Karte */
.card { background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 20px 50px rgba(18, 21, 26, .16), 0 0 0 1px rgba(18,21,26,.04); padding: 22px 18px 14px; scroll-margin-top: 12px; }
@media (min-width: 480px) { .card { padding: 26px 26px 16px; } }
.progress { height: 6px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, #1a6fd1, #2bb3e6); transition: width .3s; }
.step-no { font-size: .8rem; color: var(--muted); font-weight: 600; margin: .6em 0 .2em; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.step { display: none; }
.step.is-active { display: block; animation: rein .25s ease; }
@keyframes rein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
legend { font-family: var(--head); font-weight: 800; font-size: 1.3rem; line-height: 1.25; padding: 0; margin-bottom: .7em; }
legend em { font-size: .9rem; }
.sub { color: var(--muted); font-size: .95rem; }
.small { font-size: .85rem; }
.center-t { text-align: center; margin: 8px 0 0; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.chip { min-height: 46px; padding: 0 2px; border: 2px solid var(--line); background: #fff; border-radius: 10px; font: 700 .85rem var(--head); color: var(--dark); cursor: pointer; }
.chip:hover { border-color: #b9c3d1; }
.chip[aria-checked="true"] { border-color: var(--blue); background: #eaf2fc; color: var(--blue-dark); }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--text); background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 52px; }
.field textarea { min-height: 0; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field .bad { border-color: var(--err); }
.row2 { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; }
.row2-eq { grid-template-columns: 1fr 1fr; }

.q { margin-bottom: 14px; }
.q p { font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg button { min-height: 50px; border: 2px solid var(--line); background: #fff; border-radius: 10px; font: 700 .92rem var(--head); color: var(--dark); cursor: pointer; padding: 4px 6px; line-height: 1.2; }
.seg button[aria-pressed="true"] { border-color: var(--blue); background: #eaf2fc; color: var(--blue-dark); }
.seg.bad button { border-color: #f1b3b3; }

.upload { display: flex; align-items: center; gap: 14px; border: 2px dashed #b9c3d1; border-radius: 12px; padding: 16px; cursor: pointer; color: var(--dark); font: 700 1.05rem var(--head); }
.upload:hover { border-color: var(--blue); background: #f6f9fe; }
.upload svg { width: 2em; height: 2em; color: var(--blue); }
.upload small { display: block; font: 400 .85rem var(--body); color: var(--muted); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 4px 0 12px; cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--blue); }
.consent.bad span { color: var(--err); }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.hint { background: #fff6e0; border: 1px solid #f3d58a; border-radius: 10px; padding: 12px 14px; font-size: .92rem; margin-bottom: 14px; }
.hint b { display: block; }
.err { color: var(--err); font-size: .9rem; font-weight: 600; min-height: 0; margin: 0 0 8px; }
.err:empty { display: none; }
.nav { display: flex; gap: 10px; margin-top: 6px; }
.nav .btn-primary { flex: 1; }
.card-foot { text-align: center; font-size: .78rem; color: var(--muted); margin: 12px 0 0; }
.done { text-align: center; padding: 8px 0 4px; }
.done.is-active { display: block; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 34px; display: grid; place-items: center; margin: 8px auto 14px; }
.done h2 { font-size: 1.4rem; }

/* Abschnitte */
.sec { padding: 56px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-title { font-size: clamp(1.5rem, 4.5vw, 2.1rem); text-align: center; margin-bottom: 1.2em; }
.steps3 { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps3 li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 74px; position: relative; }
.steps3 li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--cta); color: var(--dark); font: 800 1.2rem var(--head); display: grid; place-items: center; }
.steps3 b { display: block; font-family: var(--head); font-size: 1.1rem; }
.steps3 span { color: var(--muted); }
.grid { display: grid; gap: 12px; }
.feat { background: #fff; border-radius: var(--radius); padding: 18px 18px 18px 52px; position: relative; }
.feat::before { content: "✓"; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; display: grid; place-items: center; }
.feat b { display: block; font-family: var(--head); }
.feat span { color: var(--muted); font-size: .95rem; }
@media (min-width: 700px) { .steps3 { grid-template-columns: repeat(3, 1fr); } .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.reviews { display: grid; gap: 14px; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review blockquote { margin: .5em 0 1em; color: #333a46; }
.review figcaption { font-size: .88rem; color: var(--muted); }
.review figcaption b { color: var(--text); }
.join { text-align: center; margin-top: 32px; }
.join-title { font-family: var(--head); font-weight: 800; font-size: clamp(1.25rem, 4vw, 1.6rem); margin-bottom: 14px; }
.join p:last-child { margin: 14px 0 0; }

.about { display: grid; gap: 24px; align-items: center; }
.about img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; border: 4px solid rgba(255,255,255,.15); }
.about h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.about p { color: #d0d5dd; }
.about .sig { white-space: nowrap; font-family: "Unterschrift", "Brush Script MT", cursive; font-size: 2.2rem; line-height: 1.1; color: #fff; margin: .2em 0 .5em; }
@media (min-width: 760px) { .about { grid-template-columns: 220px 1fr; } .about img { width: 220px; height: 220px; } }

details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; font-family: var(--head); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

.foot { background: var(--ink); color: #aab1bd; padding: 28px 0 90px; font-size: .9rem; }
.foot a { color: #fff; }
.foot-in { display: grid; gap: 10px; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1fr auto; align-items: end; } .foot { padding-bottom: 28px; } }
.foot-orte { grid-column: 1 / -1; font-size: .85rem; line-height: 1.9; margin: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; order: 3; }
.foot-orte b { color: #fff; }
.foot-orte span { display: block; color: #fff; font-weight: 600; margin-top: 6px; }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 20; }
.wa-float svg { width: 30px; height: 30px; }

/* Rechtstexte */
.legal { padding: 40px 0 60px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.2em; }
