/* Landingpage der Prüf-App – Farben und Schrift wie in app.css */
:root {
  --navy: #12263a; --navy2: #1d3a56; --navy3: #0c1b2a; --accent: #f08a24; --accent-d: #d97412;
  --bg: #f3f5f8; --card: #fff; --ink: #14202b; --muted: #5d6b79; --line: #dfe4ea;
  --green: #1c8f4d; --green-bg: #e3f5ea; --red: #c93636; --red-bg: #fde8e8;
  --r: 14px; --shadow: 0 1px 2px rgba(18, 38, 58, .06), 0 4px 14px rgba(18, 38, 58, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.wrap.narrow { max-width: 780px; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 650; text-decoration: none; text-align: center; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #1b1203; }
.btn.primary:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn.big { min-height: 56px; padding: 12px 26px; font-size: 1.08rem; width: 100%; }
.btn.small { min-height: 40px; padding: 6px 12px; font-size: .9rem; white-space: nowrap; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 10; background: var(--navy); color: #fff; padding-top: env(safe-area-inset-top); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.08rem; text-decoration: none; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .18); }
.top-nav { display: flex; align-items: center; gap: 4px; }
.top-link { padding: 10px 8px; font-size: .92rem; font-weight: 600; text-decoration: none; color: #d7e0ea; white-space: nowrap; }
.top-link:hover { color: #fff; }
.wide-only { display: none; }

/* Hero */
.hero { background: linear-gradient(170deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; padding: 34px 0 44px; overflow: hidden; }
.hero-in { display: grid; gap: 34px; }
.eyebrow { font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: #a9bbcd; margin-bottom: 12px; }
h1 { font-size: clamp(1.7rem, 8.4vw, 3.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.hl { color: var(--accent); }
.lead { margin-top: 16px; font-size: 1.08rem; color: #d7e0ea; max-width: 34em; }
.hero-cta { margin-top: 24px; }
.cta-note { margin-top: 8px; font-size: .88rem; color: #a9bbcd; text-align: center; }
.facts { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts li { border-top: 2px solid var(--accent); padding-top: 9px; min-width: 0; }
.facts b { display: block; font-size: .98rem; line-height: 1.2; }
.facts span { display: block; margin-top: 3px; font-size: .78rem; line-height: 1.3; color: #a9bbcd; }

/* Stilisiertes Handy */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 100%; max-width: 300px; background: var(--navy3); border: 2px solid #34506c; border-radius: 34px; padding: 10px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); color: var(--ink); }
.ph-top { display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 12px; border-radius: 24px 24px 0 0; font-size: .86rem; font-weight: 650; }
.ph-logo { width: 20px; height: 20px; border-radius: 6px; background: var(--accent); flex: none; }
.ph-title { flex: 1; }
.ph-sync { font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .13); }
.ph-sync::before { content: "● "; color: #5fdc93; }
.ph-body { background: var(--bg); padding: 10px; border-radius: 0 0 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.ph-card { background: #fff; border-radius: 10px; padding: 9px 10px; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.3; }
.ph-device b { display: block; font-size: .86rem; }
.ph-card small { display: block; color: var(--muted); font-size: .7rem; margin-top: 2px; }
.ph-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-row span { min-width: 0; }
.ph-row.bad { border-left: 4px solid var(--red); }
.ph-row.bad small { color: var(--red); }
.chip { flex: none; display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: .7rem; font-weight: 700; padding: 4px 8px; border-radius: 99px; white-space: nowrap; }
.chip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.chip.ok { background: var(--green-bg); color: var(--green); }
.chip.mangel { background: var(--red-bg); color: var(--red); }
.ph-sign svg { display: block; width: 100%; height: 40px; margin-top: 2px; border-bottom: 1.5px dashed var(--line); fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-btn { background: var(--accent); color: #1b1203; font-weight: 700; font-size: .84rem; text-align: center; padding: 11px; border-radius: 10px; }

/* Abschnitte */
.sec { padding: 52px 0; }
.sec.alt { background: var(--bg); }
h2 { font-size: clamp(1.5rem, 5.4vw, 2.1rem); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; color: var(--navy); text-wrap: balance; }
.sub { margin-top: 8px; color: var(--muted); max-width: 40em; }
h3 { font-size: 1.04rem; line-height: 1.3; color: var(--navy); }

/* Schritte */
.steps { margin-top: 26px; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; background: var(--bg); border-radius: var(--r); padding: 18px 18px 18px 66px; }
.steps .num { position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.steps p { margin-top: 5px; color: var(--muted); font-size: .96rem; }

/* Kacheln */
.tiles { margin-top: 26px; display: grid; gap: 12px; }
.tiles li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; min-width: 0; }
.tiles li > div { min-width: 0; }
.tic { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--navy); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tiles p { margin-top: 3px; color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* Zielgruppen */
.aud { margin-top: 26px; display: grid; gap: 16px; }
.aud-card { background: var(--card); border: 1.5px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--r); padding: 22px 20px; }
.aud-card + .aud-card { border-top-color: var(--accent); }
.tag { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 6px; }
.aud-card h3 { font-size: 1.3rem; line-height: 1.2; }
.aud-for { margin-top: 6px; color: var(--muted); }
.ticks { margin-top: 14px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-bg); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

/* Preise */
.price { margin-top: 26px; display: grid; gap: 16px; align-items: start; }
.price-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 20px; min-width: 0; }
.price-card.main { background: var(--navy); color: #fff; }
.price-card.main .tag { color: var(--accent); }
.price-card.main .ticks li::before { background: rgba(255, 255, 255, .14); }
.price-card.main .ticks li::after { border-color: #7be0a6; }
.price-card.main .btn { margin-top: 20px; }
.amount { display: flex; align-items: baseline; gap: 8px; }
.amount b { font-size: 2.9rem; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.amount span { color: #a9bbcd; }
.price-card:not(.main) .amount span { color: var(--muted); }
.amount-alt { margin: 6px 0 12px; font-size: .95rem; color: var(--muted); }
.price-card.main .amount-alt { color: #a9bbcd; }
[hidden] { display: none !important; }
.ex-text { color: var(--muted); font-size: .95rem; margin-bottom: 6px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ptable th { text-align: left; font-weight: 500; padding: 10px 12px 10px 0; }
.ptable td { text-align: right; font-weight: 700; padding: 10px 0; white-space: nowrap; color: var(--navy); vertical-align: top; font-variant-numeric: tabular-nums; }
.ptable tr + tr th, .ptable tr + tr td { border-top: 1px solid var(--line); }
.ptable .sum th, .ptable .sum td { border-top: 2px solid var(--navy); font-weight: 800; font-size: 1.05rem; color: var(--navy); }

/* Was die App nicht ist */
.honest { margin-top: 20px; border-left: 5px solid var(--accent); background: #fff7ec; border-radius: 0 var(--r) var(--r) 0; padding: 20px; }
.honest ul { margin-top: 12px; display: grid; gap: 9px; }
.honest li { position: relative; padding-left: 18px; }
.honest li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-d); }

/* Fragen */
.faq { margin-top: 20px; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 650; color: var(--navy); border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--accent-d); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 18px 18px; color: #36434f; }

/* Abschluss */
.final { background: var(--navy); color: #fff; padding: 54px 0; text-align: center; }
.final h2 { color: #fff; }
.final p { margin-top: 10px; color: #d7e0ea; }
.final .btn { margin-top: 22px; }
.final-alt { font-size: .92rem; }
.final-alt a { color: #fff; font-weight: 650; }

/* Fuß */
.foot { background: var(--navy3); color: #a9bbcd; padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); font-size: .9rem; }
.foot-in { display: grid; gap: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.foot-brand img { border-radius: 7px; border: 1px solid rgba(255, 255, 255, .18); flex: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { padding: 6px 0; color: #d7e0ea; text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-note { font-size: .82rem; }

/* Platzhalter-Abschnitt (Foto/Video), derzeit auskommentiert */
.person { display: grid; gap: 22px; align-items: center; }
.person img { border-radius: var(--r); }
.person video { width: 100%; height: auto; margin-top: 16px; border-radius: var(--r); background: var(--navy); }

@media (max-width: 419px) {
  .top-in { gap: 6px; }
  .brand { gap: 7px; font-size: 1rem; }
  .brand img { width: 30px; height: 30px; }
  .top-nav { gap: 2px; }
  .top-link { padding: 10px 6px; font-size: .86rem; }
  .top .btn.small { padding: 6px 10px; font-size: .84rem; }
}
@media (max-width: 349px) { .brand span { display: none; } }
@media (min-width: 480px) {
  .wide-only { display: inline; }
  .narrow-only { display: none; }
  .top-nav { gap: 10px; }
  .btn.big { width: auto; }
  .cta-note { text-align: left; }
  .facts b { font-size: 1.1rem; }
  .facts span { font-size: .86rem; }
}
@media (min-width: 640px) {
  .steps, .tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .wrap { padding: 0 28px; }
  .hero { padding: 64px 0 72px; }
  .hero-in { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 48px; }
  .lead { font-size: 1.2rem; }
  .facts { max-width: 560px; gap: 18px; }
  .phone { transform: rotate(2.5deg); }
  .sec { padding: 76px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .steps li { padding: 66px 18px 20px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .aud { grid-template-columns: 1fr 1fr; gap: 22px; }
  .aud-card { padding: 28px 26px; }
  .price { grid-template-columns: 1fr 1fr 1fr; }
  .person { grid-template-columns: 320px 1fr; }
  .foot-in { grid-template-columns: 1fr auto; align-items: center; }
  .foot-note { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .faq summary::after { transition: none; } }
