/* Auftakt – Website-Stylesheet
   Farben aus SPEC 9.2 (accent #0F766E / #2DD4BF), Systemschrift wie in der App.
   Keine externen Schriften, keine Tracker, kein Framework. */

:root {
  --accent: #0F766E;
  --accent-strong: #0B5F59;
  --accent-soft: #CCFBF1;
  --on-accent: #FFFFFF;
  --bg: #F2F2F7;
  --bg-elevated: #FFFFFF;
  --text: #1C1C1E;
  --text-2: #6E6E73;
  --line: #E5E5EA;
  --ring-track: rgba(15, 118, 110, .18);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(15, 50, 48, .08);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #2DD4BF;
    --accent-strong: #5EEAD4;
    --accent-soft: #134E4A;
    --on-accent: #0B1215;
    --bg: #000000;
    --bg-elevated: #1C1C1E;
    --text: #F2F2F7;
    --text-2: #AEAEB2;
    --line: #2C2C2E;
    --ring-track: rgba(45, 212, 191, .18);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bg-elevated); padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-round); font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: var(--on-accent); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  border-radius: 999px; border: 0;
  background: var(--accent); color: var(--on-accent);
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--accent-strong); color: var(--on-accent); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--font-round); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--text-2); max-width: 38ch; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; }
.alt { background: var(--bg-elevated); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 1.8rem 0 1rem; }
.hero-note { font-size: .95rem; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.chips li { background: var(--accent-soft); color: var(--text); font-size: .88rem; padding: .35rem .8rem; border-radius: 999px; }

/* ---------- Phone mockup (reines HTML/CSS, kein Apple-Geräterahmen) ---------- */
.phone {
  width: min(340px, 100%); margin-inline: auto;
  background: var(--bg); border-radius: 46px; padding: 14px;
  box-shadow: 0 0 0 10px var(--bg-elevated), 0 0 0 11px var(--line), 0 30px 60px rgba(15, 50, 48, .18);
}
.screen { background: var(--bg); border-radius: 34px; padding: 22px 14px 18px; }
.screen-title { font-family: var(--font-round); font-weight: 800; font-size: 1.7rem; margin: 0 4px 10px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; background: var(--bg-elevated); border-radius: 16px; padding: 10px 6px; margin-bottom: 10px; }
.day { display: grid; justify-items: center; gap: 4px; font-size: .68rem; color: var(--text-2); }
.day i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--ring-track); }
.day.full i { box-shadow: inset 0 0 0 3px var(--accent); }
.day.half i { background: conic-gradient(var(--accent) 0 60%, var(--ring-track) 0); -webkit-mask: radial-gradient(circle, transparent 7.5px, #000 8px); mask: radial-gradient(circle, transparent 7.5px, #000 8px); box-shadow: none; }
.day.today { color: var(--accent); font-weight: 700; }
.m-card { background: var(--bg-elevated); border-radius: 18px; padding: 14px; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.m-card .ring { flex: 0 0 auto; }
.m-card strong { display: block; font-size: .95rem; }
.m-card span { font-size: .78rem; color: var(--text-2); }
.m-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; flex: 0 0 auto; }
.m-check { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2.5px var(--line); display: grid; place-items: center; font-size: .8rem; flex: 0 0 auto; }
.m-check.done { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.m-check.mini { background: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: inset 0 0 0 2.5px var(--accent); color: var(--text); font-weight: 700; }
.ring text { font-family: var(--font-round); font-weight: 800; fill: var(--text); }

/* ---------- Facts (GEO: zitierfähige Kurzfakten) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 0; padding: 0; }
.facts div { background: var(--bg-elevated); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.facts dt { font-size: .85rem; color: var(--text-2); }
.facts dd { margin: .2rem 0 0; font-family: var(--font-round); font-weight: 750; font-size: 1.15rem; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--bg-elevated); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.alt .card { background: var(--bg); box-shadow: none; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.card .ico svg { width: 24px; height: 24px; }

/* ---------- Momentum explainer ---------- */
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 860px) { .explain { grid-template-columns: 1fr; } }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.versus .card { text-align: center; }
.versus .big { font-family: var(--font-round); font-size: 3.4rem; font-weight: 800; line-height: 1; margin: .4rem 0; }
.versus .bad .big { color: var(--text-2); }
.versus .good .big { color: var(--accent); }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; overflow-x: auto; }
.alt .formula { background: var(--bg); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: .9rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-elevated); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
caption { text-align: left; padding: 1rem 1.2rem 0; font-weight: 650; }
th, td { text-align: left; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .85rem; color: var(--text-2); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; }
.yes { color: var(--accent); font-weight: 650; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 1.6rem; background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.price { font-family: var(--font-round); font-size: 2.4rem; font-weight: 800; line-height: 1.1; margin: .3rem 0 .1rem; }
.price small { font-size: 1rem; font-weight: 600; color: var(--text-2); }
.price s { font-size: 1.05rem; color: var(--text-2); font-weight: 600; margin-left: .3rem; white-space: nowrap; }
.price { white-space: nowrap; }
.plan ul { padding-left: 1.1rem; margin: 1rem 0 0; }
.plan li { margin-bottom: .35rem; }
.legal-note { margin-top: 1.5rem; font-size: .9rem; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--bg-elevated); border-radius: var(--radius-sm); padding: 0 1.25rem; box-shadow: var(--shadow); }
.alt .faq details { background: var(--bg); box-shadow: none; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1.1rem; color: var(--text-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--on-accent); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: var(--on-accent); }
.cta-band p { color: color-mix(in srgb, var(--on-accent) 85%, transparent); }
.cta-band .btn { background: var(--on-accent); color: var(--accent); }
.cta-band .btn:hover { color: var(--accent); }

/* ---------- Document pages (Support, Datenschutz, Impressum, App-Store-Infos) ---------- */
.doc { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.doc h2 { font-size: 1.55rem; margin-top: 2.6rem; }
.doc h3 { margin-top: 1.8rem; }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li { margin-bottom: .35rem; }
.doc address { font-style: normal; }
.breadcrumb { font-size: .88rem; color: var(--text-2); margin-bottom: 1.2rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; }
.toc { background: var(--bg-elevated); border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: var(--shadow); margin: 1.5rem 0 2rem; }
.toc ol { margin: .4rem 0 0; }
.info-list { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 0; margin: 1rem 0; background: var(--bg-elevated); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.info-list dt, .info-list dd { margin: 0; padding: .8rem 1.2rem; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 600; color: var(--text-2); font-size: .95rem; }
.info-list dt:last-of-type, .info-list dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) { .info-list { grid-template-columns: 1fr; } .info-list dt { border-bottom: 0; padding-bottom: 0; } }
.callout { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.callout p:last-child { margin-bottom: 0; }
.updated { font-size: .9rem; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; font-size: .93rem; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin-bottom: .8rem; font-family: var(--font); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 2.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* Gründerpreis wird nach Ablauf per Skript ausgeblendet */
[hidden] { display: none !important; }
