/* Kopfhoch – Webseite. Farben wie Kopfhoch/App/Theme.swift (Indigo). */

:root {
  --bg: #F8F9FE;
  --bg-bottom: #EFF1FB;
  --card: #FFFFFF;
  --stroke: #E4E7F3;
  --indigo: #4F5BD5;
  --indigo-light: #6470E0;
  --indigo-deep: #3F49B8;
  --indigo-night: #232877;
  --icon-top: #8E9BF5;
  --icon-bottom: #4A54CF;
  /* Pinker Akzent nur auf der Webseite (Hero, Schluss) */
  --pink: #F27BC8;
  --pink-light: #FFD1EC;
  --tint: #ECEEFC;
  --tint-deep: #D7DBF8;
  --ink: #0A1B28;
  --ink-soft: #62707A;
  --ink-faint: #9FAAB2;
  --radius: 24px;
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, Inter, sans-serif;
}

* { 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;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo-deep); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo);
}
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Knöpfe ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(20, 24, 90, .25); }
.btn-indigo { background: linear-gradient(135deg, var(--indigo-light), var(--indigo)); color: #fff; box-shadow: 0 10px 26px rgba(79, 91, 213, .32); }
.btn-ghost { color: #fff; padding: 0 6px; height: 44px; }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn small { font-weight: 500; opacity: .6; font-size: 13px; }

/* ---------- Hero: geriffeltes Glas über unscharfer Figur ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 70% at 70% 35%, #8E9BF5 0%, rgba(142, 155, 245, 0) 70%),
    radial-gradient(45% 55% at 18% 85%, #6B5FD8 0%, rgba(107, 95, 216, 0) 70%),
    radial-gradient(35% 45% at 92% 96%, rgba(242, 123, 200, .32) 0%, rgba(242, 123, 200, 0) 70%),
    linear-gradient(160deg, #5B67DC 0%, #3F49B8 45%, #232877 100%);
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
.hero-figure {
  position: absolute; z-index: -2;
  right: max(0px, calc(50% - 600px)); top: 110px; bottom: 0;
  height: calc(100% - 110px); width: auto; aspect-ratio: 1060 / 1000;
  pointer-events: none;
}
.hero-flutes {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .16) 0px,
      rgba(255, 255, 255, .03) 3px,
      rgba(20, 22, 90, .00) 7px,
      rgba(20, 22, 90, .16) 13px,
      rgba(255, 255, 255, .16) 14px);
  mix-blend-mode: soft-light;
}
.hero-flutes::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 14px);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(25, 28, 100, .55) 0%, rgba(25, 28, 100, 0) 45%);
}

.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.store-badge { display: inline-block; line-height: 0; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { height: 54px; width: auto; }
.store-badge-small img { height: 42px; }
@media (max-width: 860px) { .nav-links { display: none; } }

.hero-body {
  position: relative; z-index: 1; flex: 1;
  display: grid; grid-template-columns: 1fr; align-items: end; gap: 40px;
  padding-top: 36px; padding-bottom: 36px;
}
.hero-copy { max-width: 640px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(242, 123, 200, .3); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(46px, 7.2vw, 96px); font-weight: 650; letter-spacing: -0.045em; line-height: .98;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(95deg, var(--pink-light) 0%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .04em;
}
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 520px; }
.hero-lead strong { color: #fff; font-weight: 650; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Leiste unten wie im Vorbild */
.hero-strip {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-bottom: 34px;
}
.hero-strip div { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 14px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.hero-strip div:first-child { border-top: 2px solid #fff; color: #fff; padding-top: 13px; }
.hero-strip svg { width: 18px; height: 18px; margin-bottom: 8px; }

@media (max-width: 960px) {
  .hero-body { grid-template-columns: 1fr; align-items: end; }
  .hero-figure { right: -6%; top: 90px; height: 62%; opacity: .55; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-body { padding-top: 32px; gap: 28px; }
  .hero-figure { right: 0; top: 84px; height: 44%; opacity: .6; }
  .hero-strip { gap: 16px; }
  .store-badge-small img { height: 38px; }
  .hero h1 { font-size: 44px; }
}

/* ---------- Abschnitte ---------- */

section { padding: 120px 0; }
@media (max-width: 760px) { section { padding: 80px 0; } }
.section-head { max-width: 720px; }
.section-head h2 { margin-top: 14px; font-size: clamp(36px, 5vw, 60px); font-weight: 700; text-wrap: balance; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--ink-soft); max-width: 600px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center p { margin-left: auto; margin-right: auto; }
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); }
.note-small { font-size: 14px; color: var(--ink-faint); }

/* Größe */
.size { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.size-visual { padding: 32px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.size-visual svg { width: 100%; height: auto; }
.big-number { font: 700 clamp(64px, 9vw, 112px)/.95 var(--font-round); color: var(--indigo); letter-spacing: -0.04em; margin-top: 28px; }
.big-number span { font-size: .42em; letter-spacing: -0.02em; }
.size-copy p { margin-top: 18px; font-size: 19px; color: var(--ink-soft); max-width: 500px; }
.size-copy p.note-small { font-size: 14px; color: var(--ink-faint); }
@media (max-width: 860px) { .size { grid-template-columns: 1fr; gap: 40px; } }

/* So geht's */
.steps { margin-top: 72px; display: flex; flex-direction: column; gap: 32px; }
.step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 56px; overflow: hidden; }
.step:nth-child(even) .step-visual { order: -1; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--indigo); font: 700 17px/1 var(--font-round);
}
.step h3 { margin-top: 20px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; text-wrap: balance; }
.step p { margin-top: 14px; color: var(--ink-soft); font-size: 18px; max-width: 460px; }
.step-visual { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; padding: 32px 24px 0; gap: 32px; }
  .step:nth-child(even) .step-visual { order: 0; }
}

.phone {
  width: min(300px, 78vw); aspect-ratio: 1320 / 2868;
  border-radius: 46px; padding: 10px; background: #0E1220;
  box-shadow: 0 40px 80px rgba(35, 40, 119, .22), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  position: relative;
}
.phone > img, .phone > svg { width: 100%; height: 100%; border-radius: 37px; object-fit: cover; object-position: top; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 30%; height: 26px; border-radius: 20px; background: #0E1220; z-index: 1; }
@media (max-width: 860px) {
  .phone { margin-bottom: -180px; }
  .step { padding-bottom: 0; }
  .step .step-visual { height: 420px; align-items: flex-start; overflow: hidden; }
}

/* Datenschutz-Kacheln */
.trio { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { padding: 32px; }
.tile-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--indigo); }
.tile-icon svg { width: 24px; height: 24px; }
.tile h3 { margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.tile p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* Ehrliche Fakten */
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { padding: 32px; display: flex; flex-direction: column; }
.fact .num { font: 700 56px/1 var(--font-round); color: var(--indigo); letter-spacing: -0.03em; }
.fact .num span { font-size: .5em; }
.fact p { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.fact p strong { color: var(--ink); font-weight: 600; }
.fact cite { margin-top: auto; padding-top: 18px; font-style: normal; font-size: 13px; color: var(--ink-faint); }
.fact-quote { background: linear-gradient(150deg, var(--indigo-light), var(--indigo-deep)); border: 0; color: #fff; justify-content: center; }
.fact-quote blockquote { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.fact-quote p { color: rgba(255, 255, 255, .8); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* Preise */
.plans { margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; }
.plan { padding: 32px; position: relative; }
.plan-best { border: 2px solid var(--indigo); box-shadow: 0 24px 60px rgba(79, 91, 213, .14); }
.plan-badge { position: absolute; top: -14px; left: 28px; background: var(--indigo); color: #fff; font-size: 13px; font-weight: 650; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.plan .price { margin-top: 14px; font: 700 48px/1 var(--font-round); letter-spacing: -0.03em; }
.plan .price span { font: 500 17px/1 var(--font); color: var(--ink-soft); letter-spacing: 0; }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 15px; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%234F5BD5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plans-foot { margin-top: 24px; text-align: center; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq { margin: 48px auto 0; max-width: 780px; }
.faq details { border-bottom: 1px solid var(--stroke); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint); transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); font-size: 17px; max-width: 680px; }

/* Schluss */
.final { padding: 0 0 120px; }
.final-box {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 36px; padding: 96px 32px; text-align: center; color: #fff;
  background:
    radial-gradient(50% 80% at 50% 0%, #8E9BF5 0%, rgba(142, 155, 245, 0) 70%),
    radial-gradient(40% 60% at 85% 100%, rgba(242, 123, 200, .5) 0%, rgba(242, 123, 200, 0) 70%),
    linear-gradient(160deg, #5B67DC 0%, #3F49B8 50%, #232877 100%);
}
.final-box .hero-flutes { border-radius: inherit; }
.final-box h2 { font-size: clamp(40px, 6vw, 76px); font-weight: 650; letter-spacing: -0.045em; text-wrap: balance; }
.final-box p { margin-top: 18px; font-size: 20px; color: rgba(255, 255, 255, .85); }
.final-box .hero-actions { justify-content: center; }
@media (max-width: 600px) { .final-box { padding: 72px 20px; border-radius: 28px; } .final { padding-bottom: 80px; } }

/* Fußzeile */
footer { border-top: 1px solid var(--stroke); padding: 40px 0 56px; font-size: 14px; color: var(--ink-soft); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot .logo { color: var(--ink); font-size: 17px; }
.foot .logo img { width: 28px; height: 28px; border-radius: 7px; box-shadow: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--ink-soft); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--tint); transition: background .2s ease, color .2s ease; }
.social a:hover { background: var(--indigo); color: #fff; }
.social svg { width: 18px; height: 18px; }
.disclaimer { margin-top: 24px; font-size: 13px; color: var(--ink-faint); max-width: 760px; }

/* ---------- Rechtstexte ---------- */

.legal-top { background: linear-gradient(160deg, #5B67DC 0%, #3F49B8 50%, #232877 100%); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.legal-top .nav { padding-bottom: 22px; }
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 700; }
.legal .stand { margin-top: 12px; color: var(--ink-faint); font-size: 15px; }
.legal h2 { margin-top: 48px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.legal h3 { margin-top: 28px; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.legal p, .legal li { color: #2C3A45; font-size: 16.5px; line-height: 1.65; }
.legal p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0 0; }
.legal li { margin-top: 6px; }
.legal .box { margin-top: 24px; padding: 22px 24px; border-radius: 18px; background: var(--tint); }
.legal .box p:first-child { margin-top: 0; }
.todo { background: #FFF3C4; color: #6B5100; padding: 1px 6px; border-radius: 6px; font-weight: 600; }

