/* BetterSwing Website — Forest Light (Tokens aus CLAUDE.md §4) */

@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('assets/fonts/dm-serif-display-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --green: #1a7a3c;
  --green-dim: rgba(26, 122, 60, 0.1);
  --green-2: #4caf72;
  --bg: #f4f8f4;
  --surface: #ffffff;
  --surface2: #ebf2eb;
  --surface3: #dde9dd;
  --accent: #e8a020;
  --gold: #f5a623;
  --text: #0f1f12;
  --text2: rgba(15, 31, 18, 0.6);
  --text3: rgba(15, 31, 18, 0.35);
  --border: rgba(0, 0, 0, 0.07);
  --shadow: 0 2px 12px rgba(0, 60, 20, 0.08);
  --shadow-hover: 0 10px 28px rgba(0, 60, 20, 0.13);
  --on-green: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green: #4caf72;
    --green-dim: rgba(76, 175, 114, 0.14);
    --bg: #0d1a10;
    --surface: #142418;
    --surface2: #1a2e1f;
    --surface3: #24402c;
    --text: #eef5ef;
    --text2: rgba(238, 245, 239, 0.65);
    --text3: rgba(238, 245, 239, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.5);
    --on-green: #0d1a10;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Einstiegs-Animation — dezent, respektiert reduzierte Bewegung */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease both; }
.fade-up.d1 { animation-delay: 0.08s; }
.fade-up.d2 { animation-delay: 0.16s; }
.fade-up.d3 { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; }
  .ring-anim { animation: none !important; stroke-dashoffset: 66 !important; }
}

/* Header */
header {
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand img { height: 44px; width: auto; }
.brand span {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
}
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: var(--text2);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 10px;
}
nav a:hover { color: var(--green); background: var(--green-dim); }

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 64px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}
.blob-a { width: 420px; height: 420px; background: var(--green-dim); top: -80px; right: -120px; }
.blob-b { width: 320px; height: 320px; background: rgba(232, 160, 32, 0.08); bottom: -100px; left: -100px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.sub {
  font-size: 18px;
  color: var(--text2);
  margin-bottom: 30px;
  max-width: 520px;
}
.cta-zeile { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-block;
  border-radius: 14px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--on-green);
  box-shadow: 0 6px 18px rgba(26, 122, 60, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 122, 60, 0.4); }
.btn-soft { background: var(--surface2); color: var(--text2); }
.hero .hinweis { margin-top: 16px; font-size: 13.5px; color: var(--text3); }

/* Hero-Visual: iPhone-Mockup mit App-Screen + schwebenden Chips */
.hero-visual { display: flex; justify-content: center; position: relative; }
.iphone {
  width: min(280px, 78vw);
  border-radius: 46px;
  background: linear-gradient(160deg, #3a3f3b, #161917 30%, #0c0f0d);
  padding: 11px;
  box-shadow: 0 30px 60px rgba(0, 40, 15, 0.28), 0 4px 14px rgba(0, 0, 0, 0.18);
}
.iphone .screen {
  position: relative;
  border-radius: 36px;
  background: var(--bg);
  overflow: hidden;
  padding: 14px 16px 18px;
}
.iphone .insel {
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #0c0f0d;
  margin: 2px auto 12px;
}
.app-karte .titelzeile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.app-karte .titelzeile span { font-size: 12.5px; font-weight: 700; color: var(--text); }
.app-karte .pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  border-radius: 999px;
  padding: 3px 10px;
}
.fokus-mini {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 13px;
  box-shadow: var(--shadow);
}
.fokus-mini small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}
.fokus-mini span { font-size: 12.5px; font-weight: 600; color: var(--text); }
.fokus-mini .link { display: block; font-size: 12px; color: var(--green); font-weight: 700; margin-top: 5px; }

.ring-wrap { display: flex; justify-content: center; margin: 4px 0 10px; position: relative; }
.ring-zahl {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-zahl strong {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  color: var(--text);
}
.ring-zahl small { font-size: 11.5px; color: var(--text3); margin-top: 2px; }
.ring-anim {
  animation: ringFuellen 1.2s cubic-bezier(0.22, 0.9, 0.35, 1) 0.3s both;
}
@keyframes ringFuellen {
  from { stroke-dashoffset: 396; }
  to { stroke-dashoffset: 66; }
}
.metrik-zeile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}
.metrik-zeile .name { color: var(--text2); }
.metrik-zeile .wert { font-weight: 700; }
.metrik-zeile .ok { color: var(--green); }
.metrik-zeile .arbeit { color: var(--accent); }

/* Stat-Band — nur wahre Zahlen (Glaubwürdigkeits-Regel) */
.stats {
  border-block: 1px solid var(--border);
  padding: 26px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 30px;
  color: var(--green);
}
.stat span { font-size: 13.5px; color: var(--text2); }

/* Abschnitte — weiße Bänder wechseln sich mit dem warmen Grundton ab */
section { padding: 64px 0; }
.band-weiss { background: var(--surface); border-block: 1px solid var(--border); }

/* Preise */
.preis-karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}
.preis-karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.preis-karte.pro { border: 2px solid var(--green); box-shadow: var(--shadow-hover); position: relative; }
.preis-karte .beliebt {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--on-green);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
}
.preis-karte h3 { font-size: 17px; margin-bottom: 4px; }
.preis-karte .preis {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 34px;
  line-height: 1.1;
}
.preis-karte .preis small { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text2); }
.preis-karte .unterzeile { font-size: 13px; color: var(--text3); margin-bottom: 16px; }
.preis-karte ul { list-style: none; display: grid; gap: 9px; margin-top: auto; }
.preis-karte li { font-size: 14.5px; color: var(--text2); padding-left: 26px; position: relative; }
.preis-karte li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-dim);
}
.preis-karte li::after {
  content: '✓';
  position: absolute;
  left: 3.5px;
  top: 1.5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}
.preis-fussnote { text-align: center; font-size: 13px; color: var(--text3); margin-top: 20px; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 20px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15.5px;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 14.5px; color: var(--text2); padding-bottom: 17px; }
.eyebrow {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
section h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
  margin-bottom: 12px;
}
section p.intro {
  text-align: center;
  color: var(--text2);
  max-width: 620px;
  margin: 0 auto 44px;
}

/* Feature-Karten */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.karte .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--green-dim);
  color: var(--green);
  margin-bottom: 16px;
}
.karte .icon svg { width: 24px; height: 24px; }
.karte h3 { font-size: 17px; margin-bottom: 8px; }
.karte p { font-size: 15px; color: var(--text2); }
.karte p q {
  display: block;
  color: var(--text3);
  font-style: italic;
  font-size: 14px;
  margin-bottom: 8px;
  quotes: '„' '“';
}

/* Schritte */
.schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  counter-reset: schritt;
}
.schritt {
  background: var(--surface2);
  border-radius: 18px;
  padding: 28px;
  counter-increment: schritt;
  position: relative;
}
.schritt::before {
  content: counter(schritt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-green);
  font-weight: 700;
  margin-bottom: 14px;
}
.schritt h3 { font-size: 16px; margin-bottom: 6px; }
.schritt p { font-size: 14.5px; color: var(--text2); }

/* Datenschutz-Band */
.privacy-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a7a3c 0%, #14612f 100%);
  border-radius: 24px;
  padding: 52px 36px;
  text-align: center;
  color: #ffffff;
}
.privacy-band::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  top: -170px;
  right: -110px;
}
.privacy-band h2 { color: #ffffff; margin-bottom: 12px; }
.privacy-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
}
.privacy-band .claim {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  margin-top: 20px;
  color: #ffffff;
}

/* Abschluss-CTA */
.schluss { text-align: center; }
.schluss .btn-primary { margin-top: 8px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  margin-top: 24px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text3);
}
footer a { color: var(--text2); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--green); }

/* Rechtsseiten */
.rechtsseite { padding: 48px 0 64px; max-width: 760px; }
.rechtsseite h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  margin-bottom: 6px;
}
.rechtsseite .stand { color: var(--text3); font-size: 14px; margin-bottom: 32px; }
.rechtsseite h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-align: left;
  margin: 32px 0 10px;
}
.rechtsseite h3 { font-size: 16px; margin: 20px 0 6px; }
.rechtsseite p,
.rechtsseite li { font-size: 15px; color: var(--text2); margin-bottom: 10px; }
.rechtsseite ul { padding-left: 22px; }
.rechtsseite .platzhalter { background: var(--surface2); border-radius: 10px; padding: 3px 8px; }

/* Mobil */
@media (max-width: 760px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 32px; }
  nav a { padding: 8px 8px; }
}
