/* ============================================================
   Oneira.life — Design-System (1:1 aus der Flutter-App)
   ============================================================ */

:root {
  /* Navy (App-Hintergrund) */
  --navy: #1a242b;
  --navy-dark: #141b21;
  --navy-light: #243038;
  --navy-deep: #0e1418;

  /* Brand-Gold / Bronze */
  --gold: #9a7e5d;
  --gold-light: #b38e6d;
  --gold-dark: #7a6348;
  --gold-logo: #a78765;
  --gold-pale: #d8c4a8;

  /* Akzente */
  --blue: #93c5fd;
  --golden: #fbbf24;
  --off-white: #f5f5f5;
  --white: #ffffff;

  /* Emotionen (App-Tagging) */
  --emo-joy: #fbbf24;
  --emo-fear: #ef4444;
  --emo-calm: #93c5fd;
  --emo-confused: #8b5cf6;
  --emo-excited: #f97316;
  --emo-peaceful: #10b981;

  /* Typografie */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Geometrie */
  --radius-card: 20px;
  --radius-btn: 14px;
  --radius-chip: 999px;

  --max-width: 1160px;
  --section-pad: clamp(4.5rem, 10vw, 8.5rem);

  --text-dim: rgba(245, 245, 245, 0.68);
  --text-faint: rgba(245, 245, 245, 0.45);
  --line: rgba(154, 126, 93, 0.22);
  --glass: rgba(36, 48, 56, 0.55);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--off-white);
  background: var(--navy-dark);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold-pale); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--navy-dark); }

/* ---------- Typografie ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--gold-pale);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.45);
}

.gold-gradient-text {
  background: linear-gradient(120deg, var(--gold-pale) 0%, var(--gold-light) 40%, var(--gold) 75%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.sweep-gradient {
  background: linear-gradient(90deg,
    var(--gold-pale) 0%, var(--gold-pale) 30%,
    var(--off-white) 42%, var(--off-white) 58%,
    var(--gold-pale) 70%, var(--gold-pale) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.sweep-gradient .gold-gradient-text {
  background: inherit;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.1rem;
}
.section-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 46rem;
}
.section-head { max-width: 52rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head .section-lead { margin: 0 auto; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

section { position: relative; padding-block: var(--section-pad); }

/* ---------- Starfield / Hintergrund ---------- */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(36, 48, 56, 0.9) 0%, transparent 55%),
    radial-gradient(100% 80% at 10% 110%, rgba(20, 27, 33, 1) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-deep) 100%);
}

main { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.scrolled {
  background: rgba(20, 27, 33, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-pale);
  letter-spacing: 0.04em;
}
.nav-brand img { width: 42px; height: 42px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.nav-links a { color: var(--text-dim); transition: color 0.25s; }
.nav-links a:hover { color: var(--gold-pale); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
}
.lang-switch a, .lang-switch span {
  padding: 0.32rem 0.75rem;
  color: var(--text-faint);
}
.lang-switch .active {
  background: var(--gold);
  color: var(--navy-dark);
}

.nav-toggle { display: none; }

/* ---------- Buttons & Badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--navy-dark);
  box-shadow: 0 8px 26px rgba(154, 126, 93, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(154, 126, 93, 0.5);
  color: var(--navy-dark);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--gold-pale);
  background: rgba(36, 48, 56, 0.35);
}
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: rgba(20, 27, 33, 0.65);
  transition: border-color 0.25s, transform 0.25s;
  color: var(--off-white);
}
.store-badge:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--off-white); }
.store-badge svg { width: 26px; height: 26px; fill: var(--off-white); flex-shrink: 0; }
.store-badge small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.store-badge strong { font-size: 1.02rem; line-height: 1.15; display: block; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 600;
  margin-bottom: 1.3rem;
}
.hero-copy .sub {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  color: var(--text-dim);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}
.hero-moon-line {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}
.hero-moon-line .moon-mini { width: 26px; height: 26px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-owl {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 126, 93, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

/* ---------- Phone-Mockup ---------- */
.phone {
  position: relative;
  width: clamp(250px, 30vw, 315px);
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: linear-gradient(160deg, #2c3942, #10171c);
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(154, 126, 93, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(154, 126, 93, 0.12);
}
.phone::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  background: #0b1013;
  border-radius: 999px;
  z-index: 5;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 70%, var(--navy-deep) 100%);
}
.phone-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1.4rem 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-faint);
  z-index: 4;
}

.app-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.4rem 1.1rem 1.3rem;
}

/* Record-Screen */
.screen-record { justify-content: space-between; }
.record-moon {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.record-moon .moon-mini { width: 18px; height: 18px; }
.record-headline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-pale);
  text-align: center;
}
.record-subline { font-size: 0.7rem; color: var(--text-faint); text-align: center; margin-top: 0.2rem; }

.record-timer {
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--off-white);
}

.record-btn {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--navy-light), var(--navy) 55%, var(--navy-dark));
  border: 1.5px solid rgba(154, 126, 93, 0.55);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0 rgba(154, 126, 93, 0.45);
}
.record-btn.pulsing { animation: recordPulse 1.5s ease-out infinite; }
@keyframes recordPulse {
  0% { box-shadow: 0 0 0 0 rgba(154, 126, 93, 0.5), 0 0 30px rgba(154, 126, 93, 0.25); }
  70% { box-shadow: 0 0 0 26px rgba(154, 126, 93, 0), 0 0 42px rgba(154, 126, 93, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(154, 126, 93, 0), 0 0 30px rgba(154, 126, 93, 0.25); }
}
.record-btn svg { width: 40px; height: 40px; fill: var(--gold-light); }

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 56px;
  width: 100%;
}
.waveform span {
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  height: 8px;
  box-shadow: 0 0 6px rgba(154, 126, 93, 0.6);
}

.quick-tags { display: flex; gap: 0.45rem; flex-wrap: wrap; justify-content: center; }
.quick-tag {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-chip);
  border: 1px solid rgba(245, 245, 245, 0.25);
  background: rgba(245, 245, 245, 0.08);
  color: var(--off-white);
  transition: background 0.3s, border-color 0.3s;
}
.quick-tag.selected {
  background: rgba(245, 245, 245, 0.28);
  border-color: rgba(245, 245, 245, 0.7);
}

/* Transkript-Screen */
.screen-transcript { align-items: stretch; gap: 0.8rem; }
.transcript-title {
  font-family: var(--font-display);
  color: var(--gold-pale);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.transcript-box {
  flex: 1;
  background: rgba(36, 48, 56, 0.5);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
  font-size: 0.74rem;
  line-height: 1.65;
  color: var(--text-dim);
  overflow: hidden;
}
.transcript-box .caret {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  background: var(--gold-light);
  vertical-align: -0.12em;
  animation: caretBlink 0.9s step-end infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-chip);
  background: rgba(20, 27, 33, 0.8);
  border: 1px solid;
}
.tag-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-joy { color: var(--emo-joy); border-color: rgba(251, 191, 36, 0.4); }
.tag-calm { color: var(--emo-calm); border-color: rgba(147, 197, 253, 0.4); }
.tag-fear { color: var(--emo-fear); border-color: rgba(239, 68, 68, 0.4); }
.tag-place { color: var(--emo-peaceful); border-color: rgba(16, 185, 129, 0.4); }
.tag-person { color: var(--emo-confused); border-color: rgba(139, 92, 246, 0.4); }
.tag-confused { color: var(--emo-confused); border-color: rgba(139, 92, 246, 0.4); }
.tag-gold { color: var(--gold-light); border-color: var(--line); }

/* Lena-Screen (Chat-Deutung) */
.screen-lena { align-items: stretch; gap: 0.7rem; }
.lena-chat-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lena-chat-head img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(154, 126, 93, 0.55);
  box-shadow: 0 0 14px rgba(154, 126, 93, 0.3);
}
.lena-chat-head strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-pale);
  display: block;
  line-height: 1.2;
}
.lena-chat-head em { font-style: normal; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.lena-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  justify-content: flex-end;
  padding-bottom: 0.2rem;
}
.lena-chat p {
  background: rgba(36, 48, 56, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  padding: 0.55rem 0.75rem;
  font-size: 0.68rem;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 94%;
}
.lena-chat p strong { color: var(--gold-light); }

/* Timeline-Screen */
.screen-timeline { align-items: stretch; gap: 0.7rem; }
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.timeline-header .greet {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-pale);
}
.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--golden);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-chip);
  background: rgba(251, 191, 36, 0.08);
}

.dream-card {
  position: relative;
  border-radius: 16px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 27, 33, 0.25) 0%, rgba(20, 27, 33, 0.92) 85%),
    linear-gradient(140deg, #3d4a56 0%, #232f38 60%, #17212a 100%);
}
.dream-card.card-b {
  background:
    linear-gradient(180deg, rgba(20, 27, 33, 0.25) 0%, rgba(20, 27, 33, 0.92) 85%),
    linear-gradient(140deg, #4a4256 0%, #2b2838 60%, #171d2a 100%);
}
.dream-card.card-c {
  background:
    linear-gradient(180deg, rgba(20, 27, 33, 0.25) 0%, rgba(20, 27, 33, 0.92) 85%),
    linear-gradient(140deg, #56513d 0%, #383423 60%, #2a2417 100%);
}
.dream-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  color: var(--text-faint);
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.dream-card-top .left { display: flex; align-items: center; gap: 0.35rem; }
.dream-card-top .moon-mini { width: 13px; height: 13px; }
.dream-card p {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--off-white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.dream-card .tag-row { gap: 0.3rem; }
.dream-card .fav {
  color: var(--golden);
  font-size: 0.75rem;
}

/* Phone bottom nav */
.phone-nav {
  display: flex;
  justify-content: space-around;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(154, 126, 93, 0.18);
  font-size: 0.55rem;
  color: var(--text-faint);
  font-weight: 700;
}
.phone-nav .item { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.phone-nav .item svg { width: 15px; height: 15px; fill: currentColor; }
.phone-nav .item.active { color: var(--gold-light); }

/* ---------- Demo-Sektion (gepinnt) ---------- */
.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 80svh;
}
.demo-phone-wrap { display: flex; justify-content: center; }
.demo-steps { position: relative; min-height: 20rem; }
.demo-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.js .demo-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.js .demo-step.active { opacity: 1; visibility: visible; }
/* Fallback ohne JS / mit Reduced Motion: Schritte untereinander zeigen */
.no-anim .demo-step, body:not(.js) .demo-step { position: static; opacity: 1; visibility: visible; margin-bottom: 2.6rem; }
.no-anim .demo-step .demo-progress, body:not(.js) .demo-step .demo-progress { display: none; }
.demo-step .step-num {
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  opacity: 0.75;
  margin-bottom: 1rem;
}
.demo-step h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.9rem; }
.demo-step p { color: var(--text-dim); max-width: 30rem; }

.demo-progress {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.2rem;
}
.demo-progress span {
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: rgba(154, 126, 93, 0.25);
  overflow: hidden;
  position: relative;
}
.demo-progress span i {
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  display: block;
}

/* App-Screens im Demo-Phone: übereinander, per JS geblendet */
.js .demo-phone .app-screen {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.js .demo-phone .app-screen.visible { opacity: 1; visibility: visible; }
/* Fallback: letzter Screen (Timeline) liegt oben und ist sichtbar */
.no-anim .demo-phone .app-screen, body:not(.js) .demo-phone .app-screen { opacity: 1; visibility: visible; }
.no-anim .demo-phone .screen-record, body:not(.js) .demo-phone .screen-record,
.no-anim .demo-phone .screen-transcript, body:not(.js) .demo-phone .screen-transcript,
.no-anim .demo-phone .screen-lena, body:not(.js) .demo-phone .screen-lena { display: none; }

/* ---------- Glass-Cards / Features ---------- */
.glass-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(154, 126, 93, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.glass-card:hover { transform: translateY(-5px); border-color: rgba(154, 126, 93, 0.5); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4); }
.glass-card:hover::before { opacity: 1; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(154, 126, 93, 0.28), rgba(154, 126, 93, 0.08));
  border: 1px solid var(--line);
  margin-bottom: 1.2rem;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.glass-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.glass-card p { font-size: 0.97rem; color: var(--text-dim); }

/* ---------- Archetypen ---------- */
.archetype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.archetype-card {
  text-align: center;
  padding: 1.6rem 1.1rem 1.4rem;
}
.archetype-symbol {
  width: 62px;
  height: 62px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(154, 126, 93, 0.45);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 34% 30%, rgba(154, 126, 93, 0.3), rgba(20, 27, 33, 0.4) 70%);
  box-shadow: inset 0 0 18px rgba(154, 126, 93, 0.12);
}
.archetype-symbol svg { width: 30px; height: 30px; stroke: var(--gold-pale); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.archetype-card h3 { font-size: 1.3rem; margin-bottom: 0.15rem; }
.archetype-card .alt-name { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.9rem; }
.archetype-level {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
}
.archetype-level .bar {
  flex: 1;
  height: 4px;
  border-radius: 3px;
  background: rgba(154, 126, 93, 0.18);
  overflow: hidden;
}
.archetype-level .bar i {
  display: block;
  height: 100%;
  width: var(--lvl, 50%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
}
.reveal-done .archetype-level .bar i { transform: scaleX(1); transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }

/* ---------- Mondphasen & Kosmos ---------- */
.cosmos-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.moon-stage { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.moon-widget {
  position: relative;
  width: min(300px, 70vw);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 45px rgba(154, 126, 93, 0.28));
}
.moon-widget svg { width: 100%; height: 100%; }
.moon-phase-label {
  text-align: center;
}
.moon-phase-label .phase-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-pale);
}
.moon-phase-label .phase-pct {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.cosmic-events { display: flex; flex-direction: column; gap: 1rem; }
.cosmic-event {
  padding: 1.2rem 1.4rem;
}
.cosmic-event summary, .cosmic-event .event-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  list-style: none;
}
.cosmic-event summary::-webkit-details-marker { display: none; }
.cosmic-event .event-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(20, 27, 33, 0.7);
}
.cosmic-event .event-icon svg { width: 20px; height: 20px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.cosmic-event .event-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--gold-pale); }
.cosmic-event .event-date { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.cosmic-event .event-body {
  padding-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.cosmic-event .event-body em { color: var(--gold-light); font-style: normal; font-weight: 700; }
.cosmic-event .chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.6;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.cosmic-event[open] .chevron { transform: rotate(180deg); }

/* ---------- Lena ---------- */
.lena-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.lena-portrait {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.lena-portrait img { width: 100%; height: auto; }
.lena-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 27, 33, 0.9) 100%);
}
.lena-portrait figcaption {
  position: absolute;
  bottom: 1.1rem;
  left: 1.3rem;
  right: 1.3rem;
  z-index: 2;
}
.lena-portrait figcaption strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-pale);
  display: block;
}
.lena-portrait figcaption span { font-size: 0.78rem; color: var(--text-dim); }

.report-mock {
  margin-top: 1.8rem;
  padding: 1.5rem;
}
.report-mock .report-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.report-mock .report-head svg { width: 22px; height: 22px; stroke: var(--golden); fill: none; stroke-width: 1.5; }
.report-mock .report-head strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-pale); }
.report-mock .report-head span { margin-left: auto; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-faint); text-transform: uppercase; }
.report-line { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0; border-top: 1px solid rgba(154, 126, 93, 0.14); font-size: 0.9rem; color: var(--text-dim); }
.report-line .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.report-line .grow { flex: 1; }
.report-line .mini-bar { width: 90px; height: 4px; border-radius: 3px; background: rgba(154, 126, 93, 0.18); overflow: hidden; flex-shrink: 0; }
.report-line .mini-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); width: var(--w, 60%); border-radius: 3px; transform: scaleX(0); transform-origin: left; }
.reveal-done .report-line .mini-bar i { transform: scaleX(1); transition: transform 1.2s 0.2s cubic-bezier(0.22, 1, 0.36, 1); }

/* ---------- Privacy ---------- */
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.privacy-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.6rem);
  padding: 2.5rem 1rem;
}
.privacy-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-align: center;
}
.privacy-node .circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 34% 30%, rgba(154, 126, 93, 0.22), rgba(20, 27, 33, 0.5) 72%);
}
.privacy-node .circle svg { width: 40px; height: 40px; stroke: var(--gold-pale); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.privacy-node.cloud { opacity: 0.55; }
.privacy-node.cloud .circle { border-style: dashed; }
.privacy-node.cloud .circle svg { stroke: var(--text-faint); }
.privacy-link-line {
  position: relative;
  flex: 0 0 clamp(50px, 9vw, 110px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 7px, transparent 7px 14px);
  opacity: 0.6;
}
.privacy-link-line::after {
  content: '✕';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--emo-fear);
  background: var(--navy-dark);
  padding: 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}
.privacy-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.8rem; }
.privacy-list li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--text-dim); }
.privacy-list li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 0.2rem; stroke: var(--emo-peaceful); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.privacy-list li strong { color: var(--off-white); }

/* ---------- SEO-Text & FAQ ---------- */
.seo-text {
  max-width: 50rem;
  margin-inline: auto;
  color: var(--text-dim);
  font-size: 1rem;
}
.seo-text h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.seo-text h3 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; }
.seo-text p + p { margin-top: 0.9rem; }
.seo-text strong { color: var(--gold-pale); }

.faq-list { max-width: 50rem; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { padding: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--gold-pale);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chevron { margin-left: auto; width: 18px; height: 18px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; transition: transform 0.3s; flex-shrink: 0; }
.faq-item[open] .chevron { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.25rem; color: var(--text-dim); font-size: 0.98rem; }

/* ---------- CTA-Finale ---------- */
.cta-final { text-align: center; }
.cta-final .owl {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.6rem;
  box-shadow: 0 0 60px rgba(154, 126, 93, 0.3);
}
.cta-final h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.cta-final p { color: var(--text-dim); max-width: 36rem; margin: 0 auto 2.2rem; }
.cta-final .store-badges { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 2.8rem 0 2.2rem;
  background: rgba(14, 20, 24, 0.85);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-pale); }
.footer-brand img { width: 36px; height: 36px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: 0.88rem; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--gold-pale); }
.footer-copy { width: 100%; margin-top: 1.4rem; font-size: 0.78rem; color: var(--text-faint); }

/* ---------- Rechtsseiten ---------- */
.legal-page { padding-top: 9rem; min-height: 70vh; }
.legal-page .container { max-width: 46rem; }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.55rem; margin: 2.4rem 0 0.8rem; }
.legal-page h3 { font-size: 1.2rem; margin: 1.8rem 0 0.5rem; }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 0.98rem; }
.legal-page p + p { margin-top: 0.8rem; }
.legal-page ul { list-style: disc; padding-left: 1.4rem; margin: 0.8rem 0; }
.legal-page address { font-style: normal; color: var(--text-dim); }

/* ---------- Reveal-Helfer (GSAP-Startzustände nur bei aktivem JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(30px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .archetype-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .hero { padding-top: 7rem; padding-bottom: 4rem; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .sub { margin-inline: auto; }
  .hero-moon-line { justify-content: center; }
  .store-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-scroll-hint { display: none; }

  .demo-stage { grid-template-columns: 1fr; min-height: 0; gap: 2.2rem; }
  .demo-phone-wrap { order: -1; }
  .demo-steps { min-height: 16rem; }
  .demo-step { text-align: center; align-items: center; }
  .demo-step .step-num { font-size: 3.2rem; margin-bottom: 0.6rem; }
  .demo-progress { justify-content: center; }

  .cosmos-grid, .lena-grid, .privacy-grid { grid-template-columns: 1fr; }
  .archetype-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }

  .nav-links { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .nav-toggle svg { width: 20px; height: 20px; stroke: var(--gold-pale); fill: none; stroke-width: 1.8; stroke-linecap: round; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: 1.4rem 0 1.8rem;
    background: rgba(14, 20, 24, 0.97);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .archetype-grid { grid-template-columns: repeat(2, 1fr); }
  .phone { width: min(250px, 78vw); }
  .privacy-visual { flex-direction: column; }
  .privacy-link-line { flex-basis: 44px; width: 2px; height: 44px; background: repeating-linear-gradient(180deg, var(--gold) 0 7px, transparent 7px 14px); }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
  .archetype-level .bar i, .report-line .mini-bar i { transform: scaleX(1) !important; }
}
