/* ZIDEKICK – Landingpage
   Keine externen Schriften, keine Tracker, kein JavaScript nötig. */

:root {
  --orange: #f06418;
  --orange-ink: #c24d0c;
  --blue: #1a73e8;
  --ink: #202124;
  --text: #2b2e33;
  --muted: #5f6368;
  --line: #e2e5e9;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --panel: #ffffff;
  --hud: #2f3438;
  --radius: 16px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange-ink: #ff8a4c;
    --ink: #f1f3f4;
    --text: #dfe2e6;
    --muted: #a3a9b0;
    --line: #30353b;
    --bg: #15181b;
    --bg-soft: #1c2024;
    --panel: #21262b;
    --blue: #6ea8ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .35em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .06em; }
.brand img { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); }
.nav .lang { border: 1px solid var(--line); font-weight: 650; font-size: .85rem; padding: 5px 10px; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* Hero */
.hero { padding: clamp(40px, 8vw, 88px) 0 clamp(40px, 7vw, 80px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.hero h1 .accent { color: var(--orange); }
.lead { font-size: clamp(1.08rem, 1.9vw, 1.25rem); color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #d9560f; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--panel); }
.btn svg { width: 18px; height: 18px; flex: none; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.facts li::before { content: "✓ "; color: var(--blue); font-weight: 800; }

/* Handy-Mockup (Platzhalter, bis echte Screenshots da sind) */
.device {
  position: relative; justify-self: center; width: min(320px, 82vw); aspect-ratio: 9 / 18.5;
  border-radius: 38px; padding: 11px; background: #1b1e21;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06) inset;
  transform: rotate(2.5deg);
}
.device .screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #eef1f4; position: relative; }
.device svg { display: block; width: 100%; height: 100%; }
.device .tag {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) rotate(-2.5deg);
  background: var(--panel); color: var(--muted); border: 1px dashed var(--line);
  font-size: .75rem; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

/* Abschnitte */
section { padding: clamp(56px, 8vw, 96px) 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Kernbotschaft */
.promise { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.checks .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); }
.checks .ico svg { width: 19px; height: 19px; }
.checks strong { color: var(--ink); display: block; }
.checks span.d { color: var(--muted); font-size: .95rem; }

/* Funktionen */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 920px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--orange) 13%, transparent); color: var(--orange-ink); }
.card .ico svg { width: 22px; height: 22px; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.shot { margin: 0; }
.shot .frame {
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 2px dashed var(--line); background: var(--panel);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .92rem; padding: 16px;
}
.shot .frame.tall { aspect-ratio: 3 / 4; }
.shot img { border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.shot figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.shot figcaption strong { color: var(--ink); }

/* Automatik */
.auto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); }
@media (max-width: 860px) { .auto { grid-template-columns: 1fr; } }
.cases { counter-reset: c; list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.cases li { counter-increment: c; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: baseline; }
.cases li::before { content: counter(c); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: .9rem; }
.note { align-self: start; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 18px 20px; }
.note ul { margin: 0; padding-left: 1.1em; }
.note li + li { margin-top: 6px; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: block; font-size: 2.2rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Download */
.download { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .download { grid-template-columns: 1fr; } }
.platforms { display: grid; gap: 12px; }
.platform { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.platform .badge { margin-left: auto; font-size: .78rem; font-weight: 750; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: color-mix(in srgb, #188038 15%, transparent); color: #188038; }
.badge.test { background: color-mix(in srgb, var(--orange) 15%, transparent); color: var(--orange-ink); }
@media (prefers-color-scheme: dark) { .badge.ok { color: #6dd58c; } }
.platform strong { color: var(--ink); display: block; }
.platform span.d { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: .9rem; color: var(--muted); }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-bottom: 16px; }
.site-footer a { color: var(--text); }
.disclaimer { max-width: 760px; }

/* Rechtstexte */
.legal { padding: clamp(40px, 6vw, 72px) 0; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal address { font-style: normal; }
.placeholder { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--ink); border-radius: 4px; padding: 0 4px; font-weight: 650; }

/* Echte Screenshots */
.device .screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shots { align-items: start; grid-template-columns: .8fr 1fr 2fr; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } .shot-wide { order: -1; } }
.shot img { width: 100%; height: auto; background: var(--panel); }
.shot .frame { aspect-ratio: 3 / 4; }
