/* f/Four – gemeinsame Gestaltung für alle Sprachen (Farben wie die App, Theme.swift).
   Immer dunkel wie die Startseite – unabhängig vom Hell/Dunkel-Modus des Geräts (Marc 06.11.2026). */
:root {
  color-scheme: dark;
  --bg: #151B22; --surface: #25313B; --flat: #1E2831; --text: #F4F1E9; --text2: #AEBFC4;
  --accent: #48D6C4; --on-accent: #0E1A1E; --soft: rgba(72,214,196,.14); --coral: #FF896B;
  --line: rgba(255,255,255,.10); --shadow: rgba(0,0,0,.5);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 750; font-size: 20px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
nav.links { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
nav.links a { color: var(--text2); text-decoration: none; }
nav.links a:hover { color: var(--text); }
.lang { display: flex; gap: 2px; margin-left: 14px; font-size: 13px; font-weight: 650; }
.lang a { color: var(--text2); text-decoration: none; padding: 4px 7px; border-radius: 8px; }
.lang a[aria-current="true"] { color: var(--accent); background: var(--soft); }
@media (max-width: 760px) { nav.links { display: none; } .lang { margin-left: auto; } }

/* Hero: Text links, iPhone quer rechts */
.hero { padding-top: 64px; padding-bottom: 56px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 32px; } }
.eyebrow { color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
h1 { font-size: clamp(36px, 5.6vw, 58px); line-height: 1.05; letter-spacing: -.025em; margin: 10px 0 18px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--text2); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 14px; font-weight: 650; text-decoration: none; font-size: 16px; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.pill { display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 14px; font-weight: 600; }

/* iPhone im Querformat: Sucher links, Bedienung rechts unter dem Daumen */
.phone { background: #0d1217; border-radius: 38px; padding: 12px; box-shadow: 0 30px 70px -26px var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.07); }
.screen { background: #151B22; border-radius: 28px; padding: 10px; display: grid; grid-template-columns: 1fr 92px; gap: 10px; }
.finder { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #1a2229; }
.finder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.finder .grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 33.333% 33.333%; }
.stats { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; }
.stat { background: rgba(21,27,34,.78); backdrop-filter: blur(6px); border-radius: 10px; text-align: center; padding: 4px 10px; color: #F4F1E9; }
.stat small { display: block; font-size: 10px; color: #A3AEB4; line-height: 1.2; }
.stat b { font-size: 14px; font-variant-numeric: tabular-nums; }
.stat.fixed b { color: #48D6C4; }
.say { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #F4F1E9; font-size: 14px; line-height: 1.4;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px); border-radius: 12px; padding: 8px 12px; }
.controls { display: flex; flex-direction: column; gap: 7px; }
.key { appearance: none; flex: 1; border: 1px solid rgba(255,255,255,.08); background: #25313B; color: #F4F1E9;
  border-radius: 13px; font: 650 15px/1 system-ui, -apple-system, sans-serif; cursor: pointer; min-height: 40px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 3px rgba(0,0,0,.45); transition: transform .08s; }
.key:active { transform: translateY(1px); }
.key.auto { background: #1E2831; box-shadow: none; }
.key[aria-pressed="true"] { border: 1.5px solid #48D6C4; color: #48D6C4; background: rgba(72,214,196,.14); box-shadow: none; }
.shutter { width: 58px; height: 58px; margin: 6px auto 0; border-radius: 50%; background: #EADFD3; border: 1.5px solid #FF896B; box-shadow: 0 3px 8px rgba(0,0,0,.45); flex: none; }
.phone-note { color: var(--text2); font-size: 14px; margin: 12px 4px 0; }
@media (max-width: 520px) {
  .phone { border-radius: 26px; padding: 8px; } .screen { border-radius: 20px; padding: 7px; grid-template-columns: 1fr 64px; gap: 7px; }
  .key { font-size: 12px; min-height: 30px; border-radius: 9px; } .shutter { width: 40px; height: 40px; }
  .stats { top: 6px; left: 6px; gap: 4px; } .stat { padding: 2px 6px; border-radius: 8px; } .stat small { font-size: 9px; } .stat b { font-size: 12px; }
  .stat:nth-child(4) { display: none; }
  .say { display: none; } .say-out { display: block; }
}
.stat b { white-space: nowrap; }
.say-out { display: none; margin: 12px 4px 0; font-size: 15px; color: var(--text); }

section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.sub { color: var(--text2); max-width: 44em; margin: 0 0 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.card p { margin: 0; color: var(--text2); font-size: 15.5px; }
.card .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; font-weight: 750; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
ul.tick { list-style: none; padding: 0; margin: 0; }
ul.tick li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
ul.tick li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pioneer { background: linear-gradient(135deg, var(--soft), transparent 70%), var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.pioneer h2 { margin-bottom: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 650; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text2); }
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--text2); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer a { color: var(--text2); }
footer .rz { margin-left: auto; }
@media (max-width: 640px) { footer .rz { margin-left: 0; width: 100%; } }

/* Datenschutz */
.legal main { padding-top: 36px; padding-bottom: 56px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); }
.legal h2 { font-size: 21px; margin: 34px 0 8px; }
.meta { color: var(--text2); font-size: 15px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 20px 0; }
.legal ul { padding-left: 22px; } .legal li { margin: 4px 0; }

/* ── Scrollytelling (05.11.2026) ─────────────────────────────────────────── */
.intro { padding-top: 72px; padding-bottom: 24px; max-width: 820px; }
.intro .lead { max-width: 38em; }
@media (max-width: 760px) { .intro { padding-top: 40px; } }

.story { border-top: 0; padding-top: 12px; }
.story-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; }
.stage { position: sticky; top: 76px; align-self: start; }
.phone-l { position: relative; aspect-ratio: 1600 / 736; border-radius: 40px; padding: 0; overflow: hidden;
  background: #0d1217; box-shadow: 0 36px 80px -30px var(--shadow), 0 0 0 10px #0d1217, 0 0 0 11.5px rgba(255,255,255,.08); margin: 11px; }
.phone-l img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.phone-l img.on { opacity: 1; }
.hot { position: absolute; left: 82.9%; width: 5.8%; height: 16.5%; transform: translateY(-50%); border: 0; background: transparent;
  border-radius: 12px; cursor: pointer; }
.hot:hover, .hot:focus-visible { outline: 2px solid rgba(72,214,196,.8); outline-offset: 1px; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.dot { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--text2); border-radius: 999px;
  padding: 7px 13px; font: 650 14px/1 system-ui, -apple-system, sans-serif; cursor: pointer; transition: all .25s; }
.dot.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-1px); }
.live { color: var(--text2); font-size: 13.5px; text-align: center; margin: 12px 0 0; }

.steps { padding: 4vh 0 10vh; }
.cue { color: var(--accent); font-weight: 650; margin: 0 0 4vh; }
.step { min-height: 62vh; display: flex; align-items: center; }
.step-in { border-left: 3px solid var(--line); padding: 6px 0 6px 20px; opacity: .35; transform: translateX(8px); transition: opacity .4s, transform .4s, border-color .4s; }
.step.on .step-in { opacity: 1; transform: none; border-color: var(--accent); }
.step-ap { font-size: 13px; font-weight: 650; color: var(--accent); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 8px; letter-spacing: -.015em; }
.step p { color: var(--text2); margin: 0; }
.tap { color: var(--text2); font-size: 14px; margin: 0; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .stage { top: 60px; z-index: 5; background: var(--bg); padding: 10px 0 8px; margin: 0 -20px; padding-left: 20px; padding-right: 20px;
    box-shadow: 0 12px 16px -12px var(--shadow); }
  .phone-l { border-radius: 22px; margin: 6px; box-shadow: 0 0 0 6px #0d1217, 0 0 0 7px rgba(255,255,255,.08); }
  .dots { margin-top: 12px; gap: 5px; } .dot { padding: 6px 9px; font-size: 12.5px; }
  .live { display: none; }
  .steps { padding-top: 2vh; }
  .step { min-height: 55vh; }
}

/* Vorher/Nachher */
.result .sub { margin-bottom: 20px; }
.compare { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 980px; user-select: none;
  box-shadow: 0 24px 60px -28px var(--shadow); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare img.top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px;
  border-radius: 50%; background: #fff; color: #151B22; display: grid; place-items: center; font-size: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .lbl { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-weight: 650; font-size: 14px; pointer-events: none; }
.compare .lbl.l { left: 14px; } .compare .lbl.r { right: 14px; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .06s; } .cards .reveal:nth-child(3) { transition-delay: .12s; }
.cards .reveal:nth-child(5) { transition-delay: .06s; } .cards .reveal:nth-child(6) { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .step-in, .phone-l img, .dot { transition: none; transform: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* Handbuch + Versionen (05.11.2026) */
nav.links a[aria-current="page"] { color: var(--accent); }
.doc .wrap { max-width: 1060px; }
.doc main { padding-top: 36px; padding-bottom: 56px; }
.doc-grid { display: grid; grid-template-columns: 250px 1fr; gap: 40px; margin-top: 24px; }
.toc { position: sticky; top: 80px; align-self: start; font-size: 14.5px; }
.toc ol { padding-left: 18px; margin: 8px 0 0; } .toc li { margin: 5px 0; } .toc a { color: var(--text2); text-decoration: none; } .toc a:hover { color: var(--accent); }
.topic { padding: 6px 0 18px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.topic h2 { margin-top: 18px; }
@media (max-width: 860px) { .doc-grid { grid-template-columns: 1fr; } .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; } }
.version { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 18px 0; }
.version.latest { border-color: var(--accent); }
.version-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.version-num { font-weight: 750; font-size: 20px; }
.version-date { color: var(--text2); font-size: 14.5px; }
.version-badge { background: var(--soft); color: var(--accent); font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.version ul { margin: 10px 0 0; padding-left: 20px; } .version li { margin: 7px 0; color: var(--text2); } .version li strong { color: var(--text); }

/* Externe Links oben (Blog, GPS Studio, YouTube) */
.ext { display: inline-flex; align-items: center; gap: 16px; margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--line); }
.ext a.yt { color: #e0322a; display: inline-flex; }
.ext a.yt:hover { color: #ff4a42; }
@media (max-width: 1020px) { nav.links { gap: 14px; } .ext { gap: 12px; padding-left: 12px; } }
.dot { white-space: nowrap; }
@media (max-width: 420px) { .dots { gap: 4px; } .dot { padding: 6px 7px; font-size: 12px; } }

/* Handbuch-Bilder mit nummerierter Legende */
.shot { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 26px; align-items: start; margin: 16px 0 22px; }
.shot img { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 18px 44px -22px var(--shadow), 0 0 0 1px var(--line); }
.shot.quer { grid-template-columns: 1fr; gap: 10px; }
.shot.quer img { max-width: 720px; border-radius: 22px; }
.shot figcaption p { margin: 0; color: var(--text2); font-size: 15.5px; }
.shot ol { margin: 0; padding-left: 0; list-style: none; counter-reset: n; }
.shot li { counter-increment: n; position: relative; padding: 7px 0 7px 40px; border-bottom: 1px solid var(--line); color: var(--text2); font-size: 15.5px; }
.shot li::before { content: counter(n); position: absolute; left: 0; top: 7px; width: 27px; height: 27px; border-radius: 50%;
  background: #FF896B; color: #151B22; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
@media (max-width: 640px) { .shot { grid-template-columns: 1fr; } .shot img { max-width: 320px; margin: 0 auto; } }
