/* ==========================================================================
   Autohaus Mustermann (Demo) – Fahrzeugankauf
   Schriften lokal eingebunden (DSGVO-konform, keine Google-Server)
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #c5972e;
  --gold-600: #a97f1f;
  --gold-100: #f6eedb;
  --gold-50: #fbf7ee;
  --ink: #17140f;
  --ink-2: #26221c;
  --stone: #645d5b;
  --muted: #857d78;
  --line: #e6e1d8;
  --bg: #faf8f4;
  --surface: #ffffff;
  --danger: #c0392b;
  --ok: #2f8f5b;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--font);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(23,20,15,.06), 0 12px 32px -8px rgba(23,20,15,.18);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.5);
  --gutter: clamp(16px, 4vw, 32px);
  --topbar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.gold { color: var(--gold); }
.muted { color: var(--muted); font-weight: 400; }
.center { text-align: center; }
.show-xs { display: none; }

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

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 1.5em;
  font: 700 1rem/1 var(--font); letter-spacing: -.005em;
  border: 1.5px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .2s, border-color .2s, color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --h: 42px; padding: 0 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px -8px rgba(197,151,46,.7); }
.btn--gold:hover { background: #d3a53a; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { background: var(--gold-50); color: var(--ink); border-color: var(--gold-100); }
.btn--ghost svg { fill: var(--gold-600); stroke: none; }
.btn--ghost:hover { border-color: var(--gold); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.3); }
.btn--outline-light:hover { border-color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(23,20,15,.07);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; height: var(--topbar-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; font: 800 1.2rem/1 var(--display); letter-spacing: -.02em; }
.brand__text small { font: 700 .66rem/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 4px; }

/* Demo-Hinweis */
.demo-bar { background: var(--gold-100); color: var(--ink-2); font-size: .82rem; font-weight: 600; text-align: center; padding: 8px var(--gutter); line-height: 1.4; }
.demo-bar strong { color: var(--gold-600); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; margin-right: 6px; }
.topbar__nav { display: flex; gap: 28px; margin-left: auto; }
.topbar__nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--stone); transition: color .2s; }
.topbar__nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 104px);
}
.hero::before { /* feines Raster */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -420px;
  background: radial-gradient(circle, rgba(197,151,46,.32), transparent 60%);
  filter: blur(10px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__copy { padding-top: clamp(0px, 3vw, 40px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: var(--gold-600); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.72); max-width: 34em; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; color: rgba(255,255,255,.92); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(197,151,46,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5972e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Formular-Karte ---------- */
.card { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.formcard { padding: clamp(20px, 3.4vw, 34px); scroll-margin-top: calc(var(--topbar-h) + 12px); }
.formcard__head h2 { font-size: 1.5rem; margin-bottom: 4px; }
.formcard__head > p { color: var(--muted); margin-bottom: 20px; font-size: .95rem; }

.progress { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: s; }
.progress li {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; color: var(--muted);
  padding-top: 12px; border-top: 3px solid var(--line); transition: color .3s, border-color .3s;
}
.progress li span {
  display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--line); color: var(--stone); font-size: .72rem; transition: background .3s, color .3s;
}
.progress li.is-active, .progress li.is-done { color: var(--ink); border-color: var(--gold); }
.progress li.is-active span { background: var(--ink); color: #fff; }
.progress li.is-done span { background: var(--gold); color: var(--ink); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 16px; min-width: 0; }
.field label, .field .label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
.field b, .consent b { color: var(--gold-600); font-weight: 700; }
.hint { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; line-height: 1.4; }

input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 500 16px/1.3 var(--font); color: var(--ink);  /* 16px verhindert iOS-Zoom */
  background: #fbfaf8; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: #aaa29c; }
input:hover, select:hover, textarea:hover { border-color: #d3ccc0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(197,151,46,.16); }
select {
  padding-right: 40px; cursor: pointer;
  background: #fbfaf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23645d5b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat;
}
input[type=date] { min-height: 50px; }
input[type=date]::-webkit-date-and-time-value { text-align: left; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace !important; letter-spacing: .06em; text-transform: uppercase; }
.mono::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--font); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.split select { padding-left: 12px; padding-right: 30px; background-position: right 8px center; background-size: 16px; }
.affix { position: relative; }
.affix input { padding-right: 48px; }
.affix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; font-size: .9rem; pointer-events: none; }

.is-invalid, .is-invalid:hover { border-color: var(--danger) !important; background: #fdf5f4 !important; }
.err { display: block; color: var(--danger); font-size: .8rem; font-weight: 600; margin-top: 6px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: #fbfaf8; transition: all .18s;
}
.chip:hover span { border-color: #cfc6b8; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Optionskarten */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option__body {
  display: block; height: 100%; padding: 14px 14px 14px 44px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: #fbfaf8; transition: all .18s; position: relative;
}
.option__body::before {
  content: ""; position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #cfc6b8; background: #fff; transition: all .18s;
}
.option__body strong { display: block; font-size: .95rem; }
.option__body small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.option input:checked + .option__body { border-color: var(--gold); background: var(--gold-50); }
.option input:checked + .option__body::before { border-color: var(--gold); border-width: 6px; }
.option input:focus-visible + .option__body { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Datei-Upload */
.drop {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 76px; padding: 14px; text-align: center;
  border: 1.5px dashed #d3ccc0; border-radius: var(--r); background: #fbfaf8;
  color: var(--stone); font-size: .9rem; cursor: pointer; transition: all .2s;
  font-weight: 500 !important;
}
.drop:hover, .drop.is-over { border-color: var(--gold); background: var(--gold-50); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold-600); stroke-width: 1.8; stroke-linejoin: round; }
.drop strong { color: var(--ink); }
.thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: rgba(23,20,15,.75); color: #fff; font-size: 15px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}

/* Einwilligung */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--stone); line-height: 1.5; margin: 6px 0 18px; cursor: pointer; }
.consent input {
  flex: none; width: 22px; height: 22px; margin: 0; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid #cfc6b8; background: #fff; cursor: pointer; -webkit-appearance: none; appearance: none; transition: all .15s;
}
.consent input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--ink); }
.consent input.is-invalid { border-color: var(--danger); }
.consent a { color: var(--ink); font-weight: 600; }

.actions { margin-top: 8px; }
.actions--split { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.req { text-align: center; font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.form-error { background: #fdf0ee; color: var(--danger); border-radius: var(--r-sm); padding: 12px 14px; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }

/* Senden-Zustand */
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(23,20,15,.25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn__label { opacity: .7; }
.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Erfolg */
.step--done { text-align: center; padding: 20px 4px 8px; outline: none; }
.step--done.is-active { display: block; }
.done__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold-100); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.done__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--gold-600); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.step--done h3 { font-size: 1.6rem; }
.step--done p { color: var(--stone); }
.step--done a { color: var(--ink); font-weight: 700; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Trust-Leiste ---------- */
.strip { background: var(--gold); color: var(--ink); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__grid div { padding: 22px 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.strip__grid div + div { border-left: 1px solid rgba(23,20,15,.14); }
.strip strong { font: 800 1.5rem/1.1 var(--display); letter-spacing: -.02em; }
.strip span { font-size: .85rem; font-weight: 600; opacity: .8; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: #f3efe7; }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head > p { color: var(--stone); font-size: 1.05rem; }

.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; position: relative; transition: transform .25s, box-shadow .25s; }
.steps__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.steps__num { display: inline-block; font: 800 .85rem/1 var(--display); color: var(--gold-600); background: var(--gold-50); border: 1px solid var(--gold-100); padding: 8px 12px; border-radius: 999px; margin-bottom: 18px; }
.steps__item p { color: var(--stone); margin: 0; font-size: .95rem; }
.minis { display: grid; gap: 10px; margin-top: 16px; }
.minis div { background: var(--bg); border-radius: var(--r-sm); padding: 12px 14px; font-size: .85rem; color: var(--stone); line-height: 1.45; }
.minis strong { display: block; color: var(--ink); font-size: .85rem; margin-bottom: 2px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--surface); border-radius: var(--r-lg); padding: 28px 24px; }
.feature svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--ink); fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature p { color: var(--stone); font-size: .93rem; margin: 0; }

.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.stars { color: var(--gold); letter-spacing: 4px; font-size: 1.2rem; margin-bottom: 18px; }
.quote blockquote { margin: 0; }
.quote p { font: 500 clamp(1.25rem, 2.6vw, 1.75rem)/1.45 var(--display); letter-spacing: -.015em; }
.quote figcaption { color: var(--muted); font-weight: 600; margin-top: 12px; }

.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 26px 24px; }
.info h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-family: var(--font); }
.info p { color: rgba(255,255,255,.82); margin: 0 0 12px; }
.link { color: var(--gold); font-weight: 700; text-decoration: none; font-size: .92rem; }
.link:hover { text-decoration: underline; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; color: rgba(255,255,255,.82); }
.hours dt { font-weight: 700; color: #fff; }
.hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

.footer { background: #0f0d0a; color: rgba(255,255,255,.55); font-size: .85rem; padding: 26px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 20px; }
.footer a { text-decoration: none; color: rgba(255,255,255,.75); }
.footer a:hover { color: #fff; }

.sticky-cta { display: none; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(40px, 7vw, 88px) 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--stone); }
.legal a { color: var(--ink); font-weight: 600; }
.legal .back { display: inline-block; margin-bottom: 28px; text-decoration: none; font-weight: 700; color: var(--gold-600); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .formcard { max-width: 640px; width: 100%; margin: 0 auto; }
  .hero__copy { text-align: center; padding-top: 0; }
  .hero__copy .lead { margin-left: auto; margin-right: auto; }
  .checks { grid-template-columns: 1fr 1fr; text-align: left; max-width: 620px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .contact { grid-template-columns: 1fr; }
  .topbar__nav { display: none; }
  .topbar .btn { margin-left: auto; }
}

@media (max-width: 640px) {
  :root { --topbar-h: 62px; }
  body { font-size: 15.5px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__text { font-size: 1.05rem; }
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .hero { padding-top: 32px; }
  .hero__copy { text-align: left; }
  .checks { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .formcard { border-radius: 18px; }
  .progress li { font-size: .74rem; gap: 6px; }
  .grid2, .options { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__grid div:nth-child(3) { border-left: 0; }
  .strip__grid div:nth-child(n+3) { border-top: 1px solid rgba(23,20,15,.14); }
  .features, .contact__cards { grid-template-columns: 1fr; }
  .contact__cta .btn { flex: 1 1 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  body { padding-bottom: 84px; }

  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .sticky-cta.is-visible { transform: none; }
}

@media (max-width: 360px) {
  .progress li { font-size: 0; gap: 0; justify-content: center; }
  .progress li span { font-size: .72rem; }
  .actions--split { grid-template-columns: 1fr; }
  .actions--split .btn--line { order: 2; }
}
