/* ============================================================
   traumfreund.com — Design-System v2
   Eine Bühne aus Nacht und Licht. Das Genom ist der Star,
   alles andere flüstert. Atmosphäre: Aurora-Nebel + Korn +
   Vignette. Typografie trägt die Inszenierung.
   ============================================================ */

:root {
  /* Nachthimmel: warmes Dunkel, Gold & Terracotta als Licht */
  --nacht:    #0a0910;
  --tiefe:    #16121c;
  --glas:     rgba(26, 20, 30, .55);
  --schnee:   #f2ede4;
  --nebel:    rgba(242, 237, 228, .66);
  --dunst:    rgba(242, 237, 228, .42);
  --hairline: rgba(242, 237, 228, .14);
  --aurora-1: #ecc389;
  --aurora-2: #e0a860;
  --aurora-3: #d98a70;
  --aurora:   linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 52%, var(--aurora-3));
  --radius:   22px;
  --font:         "Jost", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Segoe UI, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --ease:     cubic-bezier(.22, .8, .26, .99);

  /* Atmosphäre & Karten (theme-abhängig) */
  --atmo-a:   rgba(224, 168, 96, .07);
  --atmo-b:   rgba(217, 138, 112, .06);
  --atmo-c:   rgba(236, 195, 137, .05);
  --karte-bg: rgba(255, 252, 245, .03);
  --schatten: rgba(8, 5, 3, .5);
  --auf-aurora: #201409;          /* Textfarbe auf Gold-Flächen */
  --hero-bg:  radial-gradient(ellipse 90% 60% at 50% 40%, #171019 0%, #0a0910 70%);
  --hero-grund: #0d0b13;          /* Grundton für Text-Schild & Kanten-Blenden */
  color-scheme: dark;
}

/* ── Helles Theme („Tageslicht") ────────────────────────────── */
/* Aktiv bei manueller Wahl … */
html[data-theme="hell"] {
  /* Lichtraum: warmes Elfenbein, tiefe Gold-Töne */
  --nacht:    #fbfaf7;
  --tiefe:    #ffffff;
  --glas:     rgba(255, 255, 255, .7);
  --schnee:   #17130e;
  --nebel:    rgba(23, 19, 14, .64);
  --dunst:    rgba(23, 19, 14, .42);
  --hairline: rgba(23, 19, 14, .12);
  --aurora-1: #c2895a;
  --aurora-2: #b4762e;
  --aurora-3: #a94f3c;
  --atmo-a:   rgba(217, 160, 95, .14);
  --atmo-b:   rgba(205, 123, 102, .10);
  --atmo-c:   rgba(194, 137, 90, .10);
  --karte-bg: rgba(255, 255, 255, .65);
  --schatten: rgba(90, 60, 30, .13);
  --auf-aurora: #2a1608;          /* dunkler Text statt Weiß — Gold-Flächen sind zu hell für Weiß */
  /* warmes Elfenbein mit deutlich getönten Rändern — auf reinem Weiß
     kann das Gold-Genom nicht leuchten */
  --hero-bg:  radial-gradient(ellipse 90% 62% at 50% 40%, #fbf6ec 0%, #f0e6d2 52%, #e2d3b8 100%);
  --hero-grund: #f0e6d2;
  color-scheme: light;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--nacht);
  color: var(--schnee);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ── Atmosphäre: Aurora-Nebel, Korn, Vignette ──────────────── */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 18% -8%,  var(--atmo-a), transparent 60%),
    radial-gradient(ellipse 65% 50% at 85% 15%,  var(--atmo-b), transparent 60%),
    radial-gradient(ellipse 80% 55% at 50% 115%, var(--atmo-c), transparent 60%),
    var(--nacht);
}

/* feines Filmkorn (SVG-Noise) + Vignette — nimmt die Sterilität */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: .045;
  mix-blend-mode: overlay;
}

::selection { background: rgba(177, 140, 255, .35); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--aurora-1);
  outline-offset: 3px;
  border-radius: 4px;
}

/* dezente Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(190, 210, 255, .14);
  border-radius: 99px;
  border: 3px solid var(--nacht);
}
::-webkit-scrollbar-thumb:hover { background: rgba(190, 210, 255, .28); }

/* ── Typo-Utilities ─────────────────────────────────────────── */

.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--aurora-2) 82%, transparent);
  margin-bottom: 1.2rem;
}

.aurora-text {
  background: linear-gradient(100deg,
    var(--aurora-1), var(--aurora-2) 30%, var(--aurora-3) 55%,
    var(--aurora-2) 75%, var(--aurora-1));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }

/* ── Topbar ─────────────────────────────────────────────────── */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(1rem + env(safe-area-inset-top)) clamp(1.2rem, 4vw, 3rem) 1rem;
  transition: background .5s, backdrop-filter .5s, box-shadow .5s;
}
.topbar.verdichtet {
  background: color-mix(in srgb, var(--nacht) 74%, transparent);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 1px 0 var(--hairline);
}

/* Theme-Umschalter */
.theme-knopf {
  border: 1px solid var(--hairline);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.03);
  color: var(--nebel);
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.theme-knopf:hover { border-color: color-mix(in srgb, var(--aurora-2) 55%, transparent); color: var(--schnee); }
.theme-knopf svg { width: 18px; height: 18px; }
.theme-knopf .ikone-mond { display: none; }
html[data-theme="hell"] .theme-knopf .ikone-mond { display: block; }
html[data-theme="hell"] .theme-knopf .ikone-sonne { display: none; }
.theme-knopf.gross {
  width: auto; height: auto;
  border-radius: 999px;
  padding: .7rem 1.4rem;
  font-size: 1rem;
}

/* CTA in der Navigation: kompakter als der große Button */
.nav-cta { padding: .55rem 1.3rem !important; font-size: .92rem !important; }

.topnav a.aktiv { color: var(--schnee); }

/* Burger (nur mobil) */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: .6rem;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--schnee);
  transition: transform .35s var(--ease), opacity .35s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* Mobiles Vollbild-Menü */
.menue[hidden] { display: none; }
.menue {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--nacht) 82%, transparent);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  animation: menueAuf .35s var(--ease);
}
@keyframes menueAuf { from { opacity: 0; } }
.menue nav {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  text-align: center;
}
.menue a {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--schnee);
}
.menue a:first-child {
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo { display: flex; align-items: center; gap: .6rem; }

.logo-mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,.95) 0 8%, transparent 32%),
    conic-gradient(from 210deg, var(--aurora-1), var(--aurora-2), var(--aurora-3), var(--aurora-1));
  box-shadow: 0 0 22px rgba(140, 170, 255, .5);
  animation: orbAtmen 5s ease-in-out infinite;
  display: grid;
  place-items: center;
}
/* das Genom in der goldenen Kugel (identisch zum Favicon) */
.logo-mark::after {
  content: "";
  width: 74%;
  height: 74%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3Cfilter id='g' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='1.3'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23g)' opacity='.5'%3E%3Ccircle cx='40.5' cy='9.0' r='2.71' fill='%23c05a3c'/%3E%3Ccircle cx='37.8' cy='12.1' r='2.41' fill='%23ba5641'/%3E%3Ccircle cx='33.8' cy='15.1' r='2.07' fill='%23b45147'/%3E%3Ccircle cx='28.6' cy='18.2' r='2.26' fill='%23af4d4c'/%3E%3Ccircle cx='24.5' cy='21.3' r='2.52' fill='%23a94852'/%3E%3Ccircle cx='23.2' cy='24.3' r='2.65' fill='%23a34457'/%3E%3Ccircle cx='25.3' cy='27.4' r='2.60' fill='%239b4053'/%3E%3Ccircle cx='29.4' cy='30.5' r='2.14' fill='%23933c50'/%3E%3Ccircle cx='34.8' cy='33.5' r='2.18' fill='%238c374c'/%3E%3Ccircle cx='38.5' cy='36.6' r='2.34' fill='%23843349'/%3E%3Ccircle cx='40.5' cy='39.7' r='2.87' fill='%237c2f45'/%3E%3Ccircle cx='39.2' cy='42.7' r='2.75' fill='%23762c42'/%3E%3Ccircle cx='35.6' cy='45.8' r='1.99' fill='%236f293f'/%3E%3Ccircle cx='30.4' cy='48.9' r='1.99' fill='%2369273c'/%3E%3Ccircle cx='26.0' cy='51.9' r='2.28' fill='%23622439'/%3E%3Ccircle cx='23.8' cy='55.0' r='2.87' fill='%235c2136'/%3E%3Ccircle cx='23.7' cy='9.0' r='2.69' fill='%23b3742a'/%3E%3Ccircle cx='26.0' cy='12.1' r='2.57' fill='%23ab6d26'/%3E%3Ccircle cx='30.6' cy='15.1' r='1.90' fill='%23a36622'/%3E%3Ccircle cx='35.6' cy='18.2' r='2.03' fill='%239a601e'/%3E%3Ccircle cx='39.5' cy='21.3' r='2.63' fill='%2392591a'/%3E%3Ccircle cx='40.3' cy='24.3' r='2.58' fill='%238a5216'/%3E%3Ccircle cx='38.9' cy='27.4' r='2.37' fill='%23844f15'/%3E%3Ccircle cx='34.2' cy='30.5' r='2.09' fill='%237f4b14'/%3E%3Ccircle cx='29.8' cy='33.5' r='2.19' fill='%23794812'/%3E%3Ccircle cx='25.4' cy='36.6' r='2.56' fill='%23744411'/%3E%3Ccircle cx='23.2' cy='39.7' r='2.60' fill='%236e4110'/%3E%3Ccircle cx='24.4' cy='42.7' r='2.59' fill='%236a3e0f'/%3E%3Ccircle cx='28.3' cy='45.8' r='2.04' fill='%23663c0e'/%3E%3Ccircle cx='33.4' cy='48.9' r='1.73' fill='%2361390e'/%3E%3Ccircle cx='38.2' cy='51.9' r='2.40' fill='%235d370d'/%3E%3Ccircle cx='40.4' cy='55.0' r='2.71' fill='%2359340c'/%3E%3Ccircle cx='27.0' cy='24.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='32.0' cy='24.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='37.0' cy='24.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='27.0' cy='40.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='32.0' cy='40.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='37.0' cy='40.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='40.3' cy='21.0' r='0.90' fill='%23fff3d2'/%3E%3Ccircle cx='23.5' cy='39.5' r='0.90' fill='%23ffe6b0'/%3E%3Ccircle cx='32.0' cy='32.0' r='0.80' fill='%23fff3d2'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='40.5' cy='9.0' r='2.71' fill='%23c05a3c'/%3E%3Ccircle cx='37.8' cy='12.1' r='2.41' fill='%23ba5641'/%3E%3Ccircle cx='33.8' cy='15.1' r='2.07' fill='%23b45147'/%3E%3Ccircle cx='28.6' cy='18.2' r='2.26' fill='%23af4d4c'/%3E%3Ccircle cx='24.5' cy='21.3' r='2.52' fill='%23a94852'/%3E%3Ccircle cx='23.2' cy='24.3' r='2.65' fill='%23a34457'/%3E%3Ccircle cx='25.3' cy='27.4' r='2.60' fill='%239b4053'/%3E%3Ccircle cx='29.4' cy='30.5' r='2.14' fill='%23933c50'/%3E%3Ccircle cx='34.8' cy='33.5' r='2.18' fill='%238c374c'/%3E%3Ccircle cx='38.5' cy='36.6' r='2.34' fill='%23843349'/%3E%3Ccircle cx='40.5' cy='39.7' r='2.87' fill='%237c2f45'/%3E%3Ccircle cx='39.2' cy='42.7' r='2.75' fill='%23762c42'/%3E%3Ccircle cx='35.6' cy='45.8' r='1.99' fill='%236f293f'/%3E%3Ccircle cx='30.4' cy='48.9' r='1.99' fill='%2369273c'/%3E%3Ccircle cx='26.0' cy='51.9' r='2.28' fill='%23622439'/%3E%3Ccircle cx='23.8' cy='55.0' r='2.87' fill='%235c2136'/%3E%3Ccircle cx='23.7' cy='9.0' r='2.69' fill='%23b3742a'/%3E%3Ccircle cx='26.0' cy='12.1' r='2.57' fill='%23ab6d26'/%3E%3Ccircle cx='30.6' cy='15.1' r='1.90' fill='%23a36622'/%3E%3Ccircle cx='35.6' cy='18.2' r='2.03' fill='%239a601e'/%3E%3Ccircle cx='39.5' cy='21.3' r='2.63' fill='%2392591a'/%3E%3Ccircle cx='40.3' cy='24.3' r='2.58' fill='%238a5216'/%3E%3Ccircle cx='38.9' cy='27.4' r='2.37' fill='%23844f15'/%3E%3Ccircle cx='34.2' cy='30.5' r='2.09' fill='%237f4b14'/%3E%3Ccircle cx='29.8' cy='33.5' r='2.19' fill='%23794812'/%3E%3Ccircle cx='25.4' cy='36.6' r='2.56' fill='%23744411'/%3E%3Ccircle cx='23.2' cy='39.7' r='2.60' fill='%236e4110'/%3E%3Ccircle cx='24.4' cy='42.7' r='2.59' fill='%236a3e0f'/%3E%3Ccircle cx='28.3' cy='45.8' r='2.04' fill='%23663c0e'/%3E%3Ccircle cx='33.4' cy='48.9' r='1.73' fill='%2361390e'/%3E%3Ccircle cx='38.2' cy='51.9' r='2.40' fill='%235d370d'/%3E%3Ccircle cx='40.4' cy='55.0' r='2.71' fill='%2359340c'/%3E%3Ccircle cx='27.0' cy='24.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='32.0' cy='24.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='37.0' cy='24.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='27.0' cy='40.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='32.0' cy='40.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='37.0' cy='40.0' r='1.20' fill='%237a4a10'/%3E%3Ccircle cx='40.3' cy='21.0' r='0.90' fill='%23fff3d2'/%3E%3Ccircle cx='23.5' cy='39.5' r='0.90' fill='%23ffe6b0'/%3E%3Ccircle cx='32.0' cy='32.0' r='0.80' fill='%23fff3d2'/%3E%3C/g%3E%3C/svg%3E");
}
@keyframes orbAtmen {
  0%, 100% { box-shadow: 0 0 18px rgba(140, 170, 255, .4); }
  50%      { box-shadow: 0 0 30px rgba(177, 140, 255, .65); }
}
.logo-mark.small { width: 18px; height: 18px; animation: none; box-shadow: none; }

.logo-text { font-family: var(--font-display); font-weight: 500; letter-spacing: .03em; font-size: 1.35rem; }
.logo-text::after { content: "."; color: var(--aurora-2); }

.topnav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 1.8rem); }
.topnav a { font-size: .92rem; color: var(--nebel); transition: color .25s; }
.topnav a:hover { color: var(--schnee); }

.btn-hairline {
  display: inline-block;
  vertical-align: middle;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: .45rem 1.15rem;
  color: var(--schnee) !important;
  background: rgba(255,255,255,.03);
  transition: border-color .3s, box-shadow .3s;
}
.btn-hairline:hover { border-color: rgba(177,140,255,.5); box-shadow: 0 0 24px rgba(177,140,255,.2); }

/* ── Buttons ────────────────────────────────────────────────── */

.btn-aurora {
  position: relative;
  display: inline-block;
  vertical-align: middle;   /* Buttons in einer Zeile bündig halten */
  border: 0;
  border-radius: 999px;
  padding: .9rem 2.2rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  /* Weißer Text auf hellem Gold: weicher, aber kräftiger Schlagschatten
     (kein harter Rand/Kontur) für Lesbarkeit. */
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .5);
  background: var(--aurora);
  background-size: 180% 100%;
  box-shadow: 0 8px 34px rgba(140, 160, 255, .32), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .3s var(--ease), box-shadow .3s, background-position .6s;
  overflow: hidden;
}
.btn-aurora:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 12px 46px rgba(150, 150, 255, .5), inset 0 1px 0 rgba(255,255,255,.5);
}

.btn-still {
  display: inline-block;
  vertical-align: middle;   /* gleiche Höhe wie .btn-aurora in einer Zeile */
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: calc(.9rem - 1px) 1.9rem;   /* 1px Rand ausgleichen → exakt gleiche Gesamthöhe */
  color: var(--schnee);
  background: rgba(255,255,255,.04);
  transition: border-color .3s, background .3s;
}
.btn-still:hover { border-color: rgba(126,224,255,.45); background: rgba(255,255,255,.07); }

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem clamp(1.2rem, 5vw, 3rem) 4rem;
  color: var(--schnee);
  background: var(--hero-bg);
}

/* Startseite: das Genom als feste Bühne hinter der GANZEN Seite.
   Es trägt selbst den Hero-Grund (Radial-Vignette) — der Hero darüber
   ist transparent (.hero-klar), dadurch scheint das Genom durch alle
   Sektionen hindurch, auch beim Scrollen. */
.genom-buehne {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: var(--hero-bg);
}

.hero.hero-klar { background: transparent; }

/* Lese-Schilde für alle Sektionen, die über dem Genom liegen — dieselbe
   zarte Behandlung wie hinter dem Hero-Text: Grundton + Hauch Unschärfe,
   zu den Rändern hin ausgeblendet. */
.statement, .vertrauen, .preise, .seite, .basen-text {
  position: relative;
  z-index: 0;
}
.statement::before, .vertrauen::before, .preise::before, .seite::before, .basen-text::before {
  content: "";
  position: absolute;
  inset: 2% -8%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 72% 66% at 50% 50%,
    color-mix(in srgb, var(--nacht) 55%, transparent) 0%,
    color-mix(in srgb, var(--nacht) 30%, transparent) 55%,
    transparent 80%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  -webkit-mask-image: radial-gradient(ellipse 74% 68% at 50% 50%, #000 48%, transparent 82%);
  mask-image: radial-gradient(ellipse 74% 68% at 50% 50%, #000 48%, transparent 82%);
}
/* .basen-text ist deutlich höher (Eyebrow + Überschrift + Absatz + Flüster-Zeile)
   als .statement — die geteilte Ellipse oben erreicht Kopf- und Fußzeile nicht.
   Eigene, hochformatige Ellipse, die den ganzen Textblock abdeckt. */
.basen-text::before {
  inset: -6% -10%;
  background: radial-gradient(ellipse 78% 92% at 50% 50%,
    color-mix(in srgb, var(--nacht) 55%, transparent) 0%,
    color-mix(in srgb, var(--nacht) 30%, transparent) 55%,
    transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 94% at 50% 50%, #000 50%, transparent 86%);
  mask-image: radial-gradient(ellipse 80% 94% at 50% 50%, #000 50%, transparent 86%);
}

/* Unterseiten: dasselbe Genom als festes Hintergrund-Standbild.
   Es wird genau EIN Bild gerendert (data-still) — bindet danach keine
   GPU. Dezent zurückgenommen, damit der Inhalt immer führt. */
.genom-fest {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: .38;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
}
html[data-theme="hell"] .genom-fest { opacity: .5; }

/* ── Hero-Variante „Video": Loop-Film statt 3D-Genom ────────── */
/* Der Film läuft nahtlos (Endframes in die ersten geblendet) und ist an
   allen vier Rändern weich in den Grund maskiert. Theme-bewusst:
   im Dunkeln wird das helle Video abgedunkelt und liegt auf warmem
   Nacht-Grau; im Hellen auf warmem Grau mit Gewebe-Muster. */
.hero.hero-video-variante {
  --hero-grund: #15110c;
  background-color: #15110c;
  background-image:
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(60,48,34,.5), rgba(10,8,5,.6) 85%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .02' numOctaves='3' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)' opacity='.4'/%3E%3C/svg%3E");
  background-size: cover, 480px 480px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  /* dunkles Theme: das helle Video wird zum warmen Nachtbild */
  filter: brightness(.52) contrast(1.08) sepia(.18);
  /* weiche Überblendung an allen vier Rändern */
  -webkit-mask-image: radial-gradient(ellipse 60% 56% at 50% 50%, #000 52%, transparent 79%);
  mask-image: radial-gradient(ellipse 60% 56% at 50% 50%, #000 52%, transparent 79%);
}

/* helles Theme: warmes Grau, Video unverändert */
html[data-theme="hell"] .hero.hero-video-variante {
  --schnee:   #1d1812;
  --nebel:    rgba(29, 24, 18, .68);
  --dunst:    rgba(29, 24, 18, .46);
  --hairline: rgba(29, 24, 18, .16);
  --glas:     rgba(255, 253, 248, .55);
  --hero-grund: #d9d5cd;
  color: var(--schnee);
  background-color: #dad6ce;
  background-image:
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(255,255,255,.55), rgba(190,184,172,.35) 85%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .02' numOctaves='3' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)' opacity='.5'/%3E%3C/svg%3E");
}
html[data-theme="hell"] .hero-video { filter: none; }

/* ── Lesbarkeit im Hero ──────────────────────────────────────
   Dunkel: Text heller + schwarzer Schatten, Animation dahinter
   abgedunkelt & weichgezeichnet. Hell: exakt invertiert. */
.hero {
  --hero-schatten: rgba(0, 0, 0, .85);
  --hero-dim: .82;                               /* Backdrop: sanft abdunkeln (Genom bleibt sichtbar) */
  --nebel: rgba(250, 247, 240, .92);
  --dunst: rgba(250, 247, 240, .7);
  --hairline: rgba(242, 237, 228, .32);
  --aurora-1: #fffdf5;                           /* fast weiß-golden — Lesbarkeit vor dem Genom */
  --aurora-2: #ffe3ad;
  --aurora-3: #ffc196;
}
/* Dunkel: das Genom im Hintergrund liegt in denselben Gold-/Terracotta-Tönen
   wie der Verlauf — eine kräftige, mehrfach gestapelte dunkle Kontur (Emboss)
   trennt die Glyphen sauber vom Hintergrund, ohne den Farbverlauf selbst zu
   verändern. drop-shadow statt text-shadow, weil es der Alpha-Form der
   Buchstaben folgt (funktioniert mit background-clip:text/transparent). */
.hero .aurora-text {
  filter:
    drop-shadow(0 0 1px rgba(0, 0, 0, .85))
    drop-shadow(0 0 1.5px rgba(0, 0, 0, .85))
    drop-shadow(0 2px 3px rgba(0, 0, 0, .7))
    drop-shadow(0 3px 10px rgba(0, 0, 0, .5));
}
html[data-theme="hell"] .hero {
  --hero-schatten: rgba(255, 250, 240, .9);
  --hero-dim: 1.05;                              /* kaum aufhellen — Genom soll durchscheinen */
  --nebel: rgba(23, 19, 14, .88);
  --dunst: rgba(23, 19, 14, .64);
  --hairline: rgba(23, 19, 14, .28);
  --aurora-1: #99621f;                           /* tieferes Gold */
  --aurora-2: #8a4f16;
  --aurora-3: #833c28;
}

.hero-inhalt {
  position: relative;
  z-index: 1;
  max-width: 900px;
  /* harter Kern-Schatten + weiter Hof — hebt jede Letter ab */
  text-shadow:
    0 1px 2px var(--hero-schatten),
    0 3px 14px var(--hero-schatten),
    0 0 44px var(--hero-schatten);
}
/* Schild hinter dem gesamten Inhalt: Grundfarbe + Weichzeichnung +
   Abdunkeln/Aufhellen der Animation, zu den Rändern hin ausgeblendet */
.hero-inhalt::before {
  content: "";
  position: absolute;
  inset: -10% -16%;
  z-index: -1;
  pointer-events: none;
  /* bewusst zart: das Genom soll hinter dem Text erkennbar bleiben —
     nur ein Hauch Weichzeichnung, Lesbarkeit kommt vom Text-Schatten */
  background: radial-gradient(ellipse 66% 72% at 50% 48%,
    color-mix(in srgb, var(--hero-grund) 46%, transparent) 0%,
    color-mix(in srgb, var(--hero-grund) 24%, transparent) 52%,
    transparent 82%);
  backdrop-filter: blur(2px) brightness(var(--hero-dim));
  -webkit-backdrop-filter: blur(2px) brightness(var(--hero-dim));
  -webkit-mask-image: radial-gradient(ellipse 68% 74% at 50% 48%, #000 48%, transparent 82%);
  mask-image: radial-gradient(ellipse 68% 74% at 50% 48%, #000 48%, transparent 82%);
}

/* Eingabebox & Chips im Hero: deutlich kräftiger als der Rest */
.hero .composer {
  background: color-mix(in srgb, var(--tiefe) 88%, transparent);
  border-color: var(--hairline);
  box-shadow: 0 18px 60px var(--hero-schatten), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero .composer textarea { color: var(--schnee); }
.hero .chip {
  background: color-mix(in srgb, var(--tiefe) 72%, transparent);
  border-color: var(--hairline);
  color: var(--nebel);
}
.hero .eyebrow { color: var(--aurora-1); }

/* Hell: geprägter Gold-Verlauf. text-shadow würde durch die transparenten
   Verlaufs-Glyphen hindurchscheinen (hohler Look) — deshalb text-shadow aus
   und die Prägung über drop-shadow, das den gerenderten Buchstaben folgt:
   heller Lichtsaum oben, warmer Schattenwurf darunter = edel gedruckt. */
html[data-theme="hell"] .hero .aurora-text {
  background: linear-gradient(170deg, #e3b667 0%, #cf9a3f 46%, #b47e2c 72%, #dba054 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: none;
  text-shadow: none;
  filter: drop-shadow(0 1px 0 rgba(255, 252, 244, .95))
          drop-shadow(0 3px 7px rgba(110, 65, 15, .3));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.06;
  margin-bottom: 1.6rem;
}
.hero h1 em { font-style: italic; font-weight: 400; }

/* Intro-Sequenz: Zeilen tauchen nacheinander aus Unschärfe auf (reines CSS) */
.intro {
  opacity: 0;
  animation: auftauchen 1.4s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * .35s + .25s);
}
@keyframes auftauchen {
  from { opacity: 0; filter: blur(14px); transform: translateY(18px); }
  to   { opacity: 1; filter: blur(0);    transform: none; }
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 320;
  color: var(--nebel);
  max-width: 32em;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-hinweis {
  margin-top: 1.3rem;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--dunst);
}

/* ── Composer ───────────────────────────────────────────────── */

.composer {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: .6rem;
  width: min(660px, 100%);
  margin: 0 auto;
  padding: .6rem .6rem .6rem 1.4rem;
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: color-mix(in srgb, var(--tiefe) 72%, transparent);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 24px 80px var(--schatten), inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .4s, box-shadow .4s;
}
.composer:focus-within {
  border-color: rgba(150, 190, 255, .55);
  box-shadow:
    0 24px 90px rgba(70, 100, 220, .35),
    0 0 0 1px rgba(150, 190, 255, .25),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.composer textarea {
  flex: 1;
  border: 0;
  background: transparent;
  resize: none;
  outline: none;
  color: var(--schnee);
  font-size: 1.05rem;
  line-height: 1.5;
  max-height: 9rem;
  padding: .6rem 0;
}
.composer textarea::placeholder { color: var(--dunst); }

.composer .senden {
  flex: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--aurora);
  color: var(--auf-aurora);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(150, 160, 255, .4);
  transition: transform .25s var(--ease), box-shadow .25s, opacity .25s;
}
.composer .senden:hover { transform: scale(1.08); box-shadow: 0 6px 26px rgba(160, 160, 255, .6); }
.composer .senden:disabled { opacity: .35; transform: none; box-shadow: none; cursor: default; }
.composer .senden svg { width: 20px; height: 20px; }

/* Einladungs-Chips unter dem leeren Composer */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.4rem;
}
.chip {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--nebel);
  font-size: .88rem;
  padding: .5rem 1.1rem;
  transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease);
}
.chip:hover {
  border-color: rgba(177,140,255,.5);
  color: var(--schnee);
  background: rgba(177,140,255,.08);
  transform: translateY(-1px);
}

/* ── Chat ───────────────────────────────────────────────────── */

.chat-verlauf {
  width: min(760px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: 1rem 0 1.5rem;
}

/* KI-Zeile: Orb-Avatar + Text — edel, kein Comic-Ballon */
.zeile-ki {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  max-width: 86%;
  animation: erscheinen .5s var(--ease) both;
}

.orb {
  flex: none;
  width: 30px; height: 30px;
  margin-top: .3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,.95) 0 10%, transparent 34%),
    conic-gradient(from 210deg, var(--aurora-1), var(--aurora-2), var(--aurora-3), var(--aurora-1));
  box-shadow: 0 0 20px rgba(150, 170, 255, .45);
  animation: orbAtmen 5s ease-in-out infinite;
}

.bubble {
  padding: 1rem 1.3rem;
  border-radius: 22px;
  font-size: 1.02rem;
  line-height: 1.65;
  text-align: left;
  animation: erscheinen .5s var(--ease) both;
}
@keyframes erscheinen { from { opacity: 0; transform: translateY(12px); } }

.bubble.ki {
  background: var(--glas);
  border: 1px solid var(--hairline);
  border-top-left-radius: 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px var(--schatten), inset 0 1px 0 rgba(255,255,255,.05);
  color: var(--schnee);
}

.bubble.mensch {
  align-self: flex-end;
  max-width: 78%;
  background: linear-gradient(120deg, rgba(126,224,255,.13), rgba(177,140,255,.16), rgba(255,163,209,.12));
  border: 1px solid rgba(170, 180, 255, .22);
  border-bottom-right-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 12, .3);
}

.bubble.hinweis {
  align-self: center;
  max-width: 92%;
  text-align: center;
  font-size: .92rem;
  color: var(--nebel);
  background: rgba(177,140,255,.07);
  border: 1px solid rgba(177,140,255,.22);
}
.bubble.hinweis a { color: var(--aurora-1); font-weight: 600; }

.bubble img { border-radius: 16px; margin-top: .6rem; max-height: 380px; }

/* Streaming: pulsierender Licht-Cursor am Textende */
.stream-cursor {
  display: inline-block;
  width: 9px; height: 18px;
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 3px;
  background: var(--aurora);
  animation: cursorPuls 1s ease-in-out infinite;
}
@keyframes cursorPuls { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Denk-Indikator: der Orb atmet, drei Lichtpunkte */
.tippt {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 1rem .2rem;
}
.tippt span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aurora);
  animation: tipp 1.3s infinite;
}
.tippt span:nth-child(2) { animation-delay: .16s; }
.tippt span:nth-child(3) { animation-delay: .32s; }
@keyframes tipp {
  0%, 60%, 100% { opacity: .2; transform: none; }
  30% { opacity: 1; transform: translateY(-5px); }
}

/* ── Chat-Vollbildseite (App-Gefühl) ────────────────────────── */

body.chat-vollbild { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
body.chat-vollbild .footer { display: none; }
body.chat-vollbild .topbar { background: color-mix(in srgb, var(--nacht) 74%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--hairline); }

.chat-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: calc(4.4rem + env(safe-area-inset-top));
}

.chat-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem clamp(1rem, 4vw, 2rem);
  scroll-behavior: smooth;
}

.chat-composer-leiste {
  flex: none;
  padding: .8rem clamp(1rem, 4vw, 2rem) calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, color-mix(in srgb, var(--nacht) 92%, transparent) 40%);
}

.chat-partner {
  display: flex;
  align-items: center;
  gap: .8rem;
  justify-content: center;
  width: fit-content;
  margin: 0 auto .5rem;
  padding: .5rem 1.2rem .5rem .6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tiefe) 60%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--nebel);
  font-size: .9rem;
}
.chat-partner img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(190, 210, 255, .3);
  box-shadow: 0 0 16px rgba(150, 170, 255, .35);
}

/* ── Erzähl-Sektionen: Kapitel am Lichtstrang ───────────────── */

.strang {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem clamp(1.2rem, 5vw, 3rem);
}

.strang::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(transparent,
    rgba(126,224,255,.3) 12%, rgba(177,140,255,.3) 55%,
    rgba(255,163,209,.26) 88%, transparent);
}

.basenpaar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.basenpaar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px; height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 20px rgba(177,140,255,.9), 0 0 50px rgba(177,140,255,.4);
}

.basenpaar:nth-child(even) .basen-text  { order: 2; }
.basenpaar:nth-child(even) .basen-bild  { order: 1; }

.basen-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -.005em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.basen-text p {
  color: var(--nebel);
  max-width: 30em;
  font-size: 1.04rem;
  line-height: 1.75;
}
.basen-text .fluester {
  margin-top: 1.2rem;
  font-size: .92rem;
  color: var(--dunst);
  font-style: italic;
}

/* Gesprächsmoment: wie ein Ausschnitt aus einer edlen App */
.basen-bild {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 6px);
  background: var(--glas);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1.9rem;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .9rem;
  box-shadow: 0 30px 80px var(--schatten), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .6s var(--ease), box-shadow .6s;
}
.basen-bild:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(20, 30, 90, .55), inset 0 1px 0 rgba(255,255,255,.08);
}
/* zarter Lichtsaum oben */
.basen-bild::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 210, 255, .5), transparent);
}

.mini-bubble {
  padding: .65rem 1.05rem;
  border-radius: 17px;
  font-size: .92rem;
  line-height: 1.55;
  max-width: 90%;
}
.mini-bubble.m {
  align-self: flex-end;
  background: linear-gradient(120deg, rgba(126,224,255,.12), rgba(177,140,255,.14));
  border: 1px solid rgba(170,180,255,.2);
  border-bottom-right-radius: 6px;
}
.mini-bubble.k {
  align-self: flex-start;
  background: var(--karte-bg);
  border: 1px solid var(--hairline);
  border-top-left-radius: 6px;
  color: var(--nebel);
}

/* Scroll-Reveal mit Unschärfe */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
.reveal.sichtbar { opacity: 1; transform: none; filter: none; }

/* ── Zwischen-Statement (großes Zitat) ──────────────────────── */

.statement {
  max-width: 900px;
  margin: 0 auto;
  padding: 7rem clamp(1.2rem, 5vw, 3rem);
  text-align: center;
}
.statement p:not(.eyebrow) {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.8vw, 3.3rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--schnee);
}
.statement p strong { font-weight: 600; }
.statement p em { color: var(--aurora-1); }

/* ── Vertrauens-Sektion ─────────────────────────────────────── */

.vertrauen {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem clamp(1.2rem, 5vw, 3rem) 6rem;
  text-align: center;
}
.vertrauen h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.005em;
  margin-bottom: 2.8rem;
}
.vertrauen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  text-align: left;
}
.vertrauen-karte {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--karte-bg);
  padding: 1.7rem;
  transition: border-color .4s, background .4s;
}
.vertrauen-karte:hover { border-color: rgba(150, 190, 255, .3); background: rgba(255,255,255,.04); }
.vertrauen-karte h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: .5rem; }
.vertrauen-karte p { font-size: .92rem; color: var(--nebel); }

/* ── Preise / Mitgliedschaften ──────────────────────────────── */

.preise {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem clamp(1.2rem, 5vw, 3rem) 7rem;
  text-align: center;
}
.preise h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -.005em;
  margin-bottom: .8rem;
}
.preise-sub { color: var(--nebel); margin-bottom: 3.2rem; }

.preis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
  text-align: left;
}

.preis-karte {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 8px);
  background: var(--glas);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.preis-karte:hover { transform: translateY(-5px); box-shadow: 0 30px 70px var(--schatten); }

/* „Seele": lebender Aurora-Rand */
.preis-karte.hervor {
  border: 1.5px solid transparent;
  background:
    linear-gradient(170deg, var(--tiefe), var(--tiefe)) padding-box,
    linear-gradient(120deg, var(--aurora-1), var(--aurora-2), var(--aurora-3), var(--aurora-2), var(--aurora-1)) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: randWandern 8s linear infinite;
  box-shadow: 0 30px 80px rgba(120, 120, 255, .25);
}
@keyframes randWandern { to { background-position: 0 0, 300% 0; } }

.preis-name { font-size: 1.15rem; font-weight: 650; margin-bottom: .3rem; }
.preis-betrag { font-size: 2.4rem; font-weight: 700; letter-spacing: -.035em; }
.preis-betrag small { font-size: .95rem; font-weight: 400; color: var(--nebel); }
.preis-karte ul { list-style: none; margin: 1.5rem 0 1.9rem; flex: 1; }
.preis-karte li {
  padding: .45rem 0 .45rem 1.7rem;
  position: relative;
  font-size: .95rem;
  color: var(--nebel);
}
.preis-karte li::before {
  content: "";
  position: absolute;
  left: 0; top: .82em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 8px rgba(177,140,255,.6);
}
.preis-karte .btn-aurora, .preis-karte .btn-still { text-align: center; }

/* ── Formulare / Konto / Prosa ──────────────────────────────── */

.seite {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(6.5rem + env(safe-area-inset-top)) clamp(1.2rem, 5vw, 2rem) 5rem;
}
.seite h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3rem); letter-spacing: -.005em; margin-bottom: 1.6rem; }
.seite h2 { font-size: 1.25rem; margin: 2.2rem 0 .7rem; }
.seite p, .seite li { color: var(--nebel); margin-bottom: .8rem; }
.seite ul, .seite ol { padding-left: 1.4rem; }
.seite a { color: var(--aurora-1); }

.karte {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--glas);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.7rem;
  margin-bottom: 1.2rem;
}
.karte h2 { margin-top: 0; }

.feld { margin-bottom: 1.1rem; }
.feld label { display: block; font-size: .85rem; color: var(--nebel); margin-bottom: .35rem; }
.feld input, .feld textarea, .feld select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  background: rgba(255,255,255,.04);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.feld input:focus, .feld textarea:focus, .feld select:focus {
  border-color: rgba(126,224,255,.5);
  box-shadow: 0 0 0 3px rgba(126,224,255,.1);
}
.feld select option { background: var(--tiefe); }

.meldung {
  padding: .95rem 1.25rem;
  border-radius: 15px;
  margin-bottom: 1.2rem;
  font-size: .95rem;
  border: 1px solid rgba(126,224,255,.35);
  background: rgba(126,224,255,.08);
}
.meldung.fehler { border-color: rgba(255,120,140,.4); background: rgba(255,120,140,.08); }

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 3.2rem clamp(1.2rem, 5vw, 3rem) calc(2.5rem + env(safe-area-inset-bottom));
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; flex-wrap: wrap; }
.footer-claim { width: 100%; font-size: .88rem; font-weight: 400; color: var(--dunst); margin-top: .3rem; }
.footer-spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin: 2.2rem 0;
  max-width: 640px;
}
.footer-spalte { display: flex; flex-direction: column; gap: .55rem; }
.footer-spalte h4 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dunst);
  margin-bottom: .3rem;
}
.footer-spalte a, .footer-theme {
  font-size: .92rem;
  color: var(--nebel);
  transition: color .25s;
  text-align: left;
  border: 0;
  background: none;
  padding: 0;
}
.footer-spalte a:hover, .footer-theme:hover { color: var(--schnee); }
.footer-legal { font-size: .82rem; color: var(--dunst); }

/* Teaser-Karten sind klickbar */
a.vertrauen-karte { display: block; }
a.vertrauen-karte:hover h3 { color: var(--aurora-1); }
.vertrauen-karte h3 { transition: color .3s; }

/* ── Admin ──────────────────────────────────────────────────── */

.admin-haupt { max-width: 1000px; margin: 0 auto; padding: calc(4rem + env(safe-area-inset-top)) 1.5rem 4rem; }
.admin-haupt h1 { letter-spacing: -.03em; margin-bottom: 1.6rem; }
.admin-nav { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.admin-nav a { font-size: .92rem; color: var(--nebel); padding: .4rem .9rem; border: 1px solid var(--hairline); border-radius: 999px; }
.admin-nav a.aktiv, .admin-nav a:hover { color: var(--schnee); border-color: rgba(126,224,255,.5); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.3rem; background: var(--karte-bg); }
.stat b { display: block; font-size: 1.9rem; letter-spacing: -.03em; }
.stat span { font-size: .82rem; color: var(--nebel); }

table.liste { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.liste th, table.liste td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--hairline); }
table.liste th { color: var(--dunst); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
table.liste td { color: var(--nebel); }

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 860px) {
  .topnav { display: none; }
  .burger { display: flex; }

  .strang::before { left: 12px; }
  .basenpaar { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 2.4rem; }
  .basenpaar::before { left: 12px; top: .6rem; transform: translateX(-50%); }
  .basenpaar:nth-child(even) .basen-text { order: 1; }
  .basenpaar:nth-child(even) .basen-bild { order: 2; }

  .zeile-ki { max-width: 94%; }
  .bubble.mensch { max-width: 86%; }
}

/* ── Reduzierte Bewegung ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .intro { opacity: 1; transform: none; filter: none; }
}

/* ── Gedanken (Blog) ─────────────────────────────────────────────────────── */

.blog { max-width: 1060px; margin: 0 auto; padding: 0 1.4rem 6rem; }
.blog h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 500; }
.blog-sub { color: var(--nebel); max-width: 34rem; margin-top: .8rem; }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem; margin-top: 3rem;
}
.blog-karte {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--karte-bg); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.blog-karte:hover { transform: translateY(-4px); border-color: rgba(236,195,137,.35); background: rgba(255,255,255,.04); }
.blog-karte img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-karte-text { padding: 1.3rem 1.4rem 1.5rem; }
.blog-karte-meta { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dunst); margin-bottom: .6rem; }
.blog-premium { margin-left: .5rem; text-transform: none; letter-spacing: 0; }
.blog-karte h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: .5rem; }
.blog-karte p { font-size: .92rem; color: var(--nebel); }

.blog-artikel { max-width: 700px; margin: 0 auto; }
.blog-titel { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 2.8rem); font-weight: 500; margin: .4rem 0 1rem; }
.blog-teaser { font-size: 1.12rem; color: var(--nebel); font-style: italic; margin-bottom: 1.6rem; }
.blog-bild { width: 100%; border-radius: var(--radius); margin: 0 0 2rem; }
.blog-inhalt p { margin-bottom: 1.3rem; line-height: 1.75; color: var(--schnee); }
.blog-inhalt p strong { color: var(--aurora-1); font-weight: 600; }

.blog-angeschnitten { position: relative; max-height: 14rem; overflow: hidden; }
.blog-schleier {
  height: 8rem; margin-top: -8rem; position: relative;
  background: linear-gradient(to bottom, transparent, var(--nacht));
}
.blog-einladung {
  margin-top: 1rem; padding: 2rem;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--karte-bg); text-align: center;
}
.blog-einladung p { color: var(--nebel); max-width: 30rem; margin: 0 auto; }
