/* EV Inspector — evinspector.de — Startseite (Marketing-Homepage V2, freigegeben 2026-09-20)
   Nur für index.html. Die Rechtsseiten und 404 nutzen weiterhin site.css.
   Tokens nach docs/DESIGN.md (Electric Blue als einzige Aktionsfarbe, weiß-dominant).
   Bewusste Marketing-Abweichungen (docs/DECISIONS.md 2026-09-20): Display-Typografie
   bis 72 px / Weight 600, weicher Schatten nur unter den Telefon-Rahmen.
   Kein JavaScript, keine externen Ressourcen (Systemschrift). */

:root {
  --action: #3E6AE1;
  --action-hover: #3457B1;
  --white: #FFFFFF;
  --alt: #F5F5F7;
  --dark: #0F1115;
  --ink: #171A20;
  --ink-2: #393C41;
  --ink-3: #6E7076;
  --on-dark: #F5F5F7;
  --on-dark-2: #A9ACB3;
  --line: #E6E6E8;
  --line-dark: rgba(255, 255, 255, .14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: 20px;
  --section: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 900px) { :root { --gutter: 40px; --section: 140px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--white);
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; overflow-wrap: anywhere; }
h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 16ch; }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--action); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; border-radius: 4px; }
.dark a:focus-visible, .dark summary:focus-visible { outline-color: var(--on-dark); }
.lead { font-size: 19px; line-height: 1.45; max-width: 30rem; margin-top: 20px; }
@media (min-width: 900px) { .lead { font-size: 21px; margin-top: 24px; } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.84); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.hdr .container { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: none; gap: 32px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }
.soon { font-size: 13px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
@media (min-width: 480px) { .soon { font-size: 14px; padding: 7px 14px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hover); }
.btn-ghost { display: inline-flex; align-items: center; min-height: 48px; color: var(--action); text-decoration: none; font-weight: 500; }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Sections ---------- */
.section, .cta { scroll-margin-top: 64px; }
.section { padding: var(--section) 0; }
.alt { background: var(--alt); }
.dark { background: var(--dark); color: var(--on-dark-2); }
.dark h2, .dark h3 { color: var(--on-dark); }
.dark .lead { color: var(--on-dark-2); }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.reverse > .visual { order: -1; } }
.kicker { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.dark .kicker { color: var(--on-dark-2); }
.copy p + p { margin-top: 14px; }
@media (max-width: 899px) { .hide-mobile { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 24px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 96px 0 40px; } }
.hero .container { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.hero h1 { font-size: clamp(40px, 8vw, 72px); max-width: 11ch; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero-strip { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (min-width: 900px) { .hero-strip { margin-top: 48px; } }

/* ---------- Telefon-Rahmen (echte App-Screens, 390×848) ---------- */
.stage { position: relative; display: grid; place-items: center; }
.phone { position: relative; width: 260px; aspect-ratio: 1206 / 2622; background: #0B0B0D; border-radius: 46px; padding: 10px;
  box-shadow: 0 50px 90px -40px rgba(23, 26, 32, .45), 0 0 0 1px rgba(0, 0, 0, .06), inset 0 0 0 1px rgba(255, 255, 255, .06); }
@media (min-width: 900px) { .phone { width: 320px; border-radius: 52px; padding: 11px; } }
.phone .screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; }
@media (min-width: 900px) { .phone .screen { border-radius: 42px; } }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.hero .stage { min-height: 520px; }
@media (min-width: 900px) { .hero .stage { min-height: 720px; } }
.phone.side { position: absolute; top: 50%; width: 250px; opacity: .96; }
@media (min-width: 900px) { .phone.side { width: 270px; } }
.phone.side.l { left: -4%; transform: translate(-30%, -36%) rotate(-4deg); }
.phone.side.r { right: -4%; transform: translate(30%, -30%) rotate(4deg); }
.phone.main { z-index: 2; }
@media (max-width: 899px) { .phone.side { display: none; } .hero .stage { min-height: 0; margin-top: 8px; } }

/* ---------- Reveal: CSS scroll-driven, reine Progressive Enhancement ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise both linear; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- Problem ---------- */
.checks { list-style: none; padding: 0; margin: 48px 0 0; display: grid; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .checks { grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 64px; } }
.checks li { padding: 16px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.checks li span:first-child { color: var(--on-dark); font-size: 18px; font-weight: 500; }
.checks li span:last-child { font-size: 14px; text-align: right; color: var(--on-dark-2); }
.close { margin-top: 40px; font-size: 20px; color: var(--on-dark); max-width: 30rem; }

/* ---------- Schritte (echte Reihenfolge, daher nummeriert) ---------- */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: baseline; }
.steps li::before { counter-increment: s; content: counter(s); font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.steps b { font-weight: 500; color: var(--ink); }
.detail { margin: 28px 0 0; max-width: 420px; }
.detail img { border-radius: 14px; }
.detail figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* ---------- Model 3 / Model Y ---------- */
.models { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 900px) { .models { grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 64px; } }
.models .name { font-size: clamp(44px, 7vw, 84px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--on-dark); }
.models ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 16px; }
.models li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.models li span:last-child { color: var(--on-dark); text-align: right; }
.models-note { margin-top: 32px; font-size: 14px; color: var(--on-dark-2); max-width: 44rem; }

/* ---------- Preis ---------- */
.price h2 { max-width: 20ch; }
.price-lines { margin-top: 32px; display: grid; gap: 20px; max-width: 40rem; }
.price-lines p { padding-left: 20px; border-left: 2px solid var(--action); }

/* ---------- Grenzen ---------- */
.limits { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; max-width: 44rem; }
.limits li { padding-left: 20px; border-left: 2px solid var(--line); }
.limits b { font-weight: 500; color: var(--ink); display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-top: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-size: 17px; font-weight: 500; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 20px; font-size: 16px; max-width: 680px; }

/* ---------- Abschluss + Footer (dunkel, zusammenhängend) ---------- */
.cta { padding: var(--section) 0 72px; }
.cta h2 { max-width: 18ch; }
.stores { display: grid; gap: 10px; margin-top: 32px; max-width: 620px; }
@media (min-width: 520px) { .stores { grid-template-columns: 1fr 1fr; } }
.store { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: 12px; color: var(--on-dark); font-size: 15px; }
.store svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.foot { border-top: 1px solid var(--line-dark); padding: 40px 0 36px; font-size: 14px; color: var(--on-dark-2); }
.foot .grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .foot .grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.foot h2 { font-size: 14px; color: var(--on-dark); margin-bottom: 10px; max-width: none; letter-spacing: 0; line-height: 1.4; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--on-dark-2); text-decoration: none; }
.foot a:hover { color: var(--on-dark); text-decoration: underline; }
.foot .brand { color: var(--on-dark); }
.foot .foot-desc { margin-top: 12px; max-width: 30rem; }
.foot .foot-contact { margin-top: 12px; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; max-width: 60rem; }
