/* Bhava Website. Farben aus der App (bhava/app/public/index.html, :root). Nur Nacht-Design wie die App. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #14111f; --bg2: #1f1933; --card: #262040; --line: #3a3160;
  --text: #f3f0ff; --soft: #d9d3f2; --muted: #a79fc6; --accent: #b79cff; --accent2: #ffb38a; --violet: #8f7bff; --danger: #ff6b6b;
  --on-accent: #160f2b;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, system-ui, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font: 17px/1.6 var(--sans); background: radial-gradient(120% 70% at 50% 0%, #2a2050 0%, var(--bg) 60%) no-repeat; background-color: var(--bg); min-height: 100vh; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(42px, 8vw, 76px); }
h1 em, h2 em { font-style: italic; color: var(--accent2); }
h2 { font-size: clamp(30px, 4.6vw, 44px); margin-bottom: 16px; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; }
p { margin: 0 0 12px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.narrow { max-width: 720px; }
.label { font: 600 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin-bottom: 12px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--soft); max-width: 600px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 400 26px/1 var(--serif); }
.brand img { border-radius: 9px; }
.navcta { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: #ffffff0d; }
.navcta:hover { border-color: var(--accent); }

/* Hero */
.hero { text-align: center; padding-block: 24px 64px; display: flex; flex-direction: column; align-items: center; }
.hero-fig { margin-bottom: 8px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin: 0 auto 28px; }
.hero-form { width: 100%; max-width: 560px; scroll-margin-top: 24px; }

/* Warteliste */
.wl { text-align: left; }
.wl-row { display: flex; gap: 8px; padding: 6px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); }
.wl-row:focus-within { border-color: var(--accent); }
.wl input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; padding: 0 16px; }
.wl input[type=email]:focus { outline: none; }
.wl input::placeholder { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn { border: 0; border-radius: 99px; min-height: 52px; padding: 0 24px; font: 600 16px/1 var(--sans); color: var(--on-accent); background: linear-gradient(135deg, var(--accent2), var(--accent)); box-shadow: 0 8px 26px #b79cff40; cursor: pointer; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 16px 0; }
.wl-msg { margin: 8px 16px 0; font-weight: 600; min-height: 1px; }
.wl-msg.ok { color: var(--accent2); }
.wl-msg.err { color: var(--danger); }
.wl.done .wl-row { display: none; }
@media (max-width: 520px) {
  .wl-row { flex-direction: column; border-radius: 22px; padding: 8px; }
  .wl input[type=email] { min-height: 48px; }
  .btn { width: 100%; }
}

/* Bedeutung */
.meaning { display: flex; gap: 24px; align-items: center; padding: 28px; margin-block: 0 24px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.meaning .big { font: 400 clamp(22px, 3vw, 28px)/1.3 var(--serif); }
.meaning .big b { font-weight: 400; font-style: italic; color: var(--accent2); }
.meaning p:last-child { margin: 0; }
@media (max-width: 560px) { .meaning { flex-direction: column; align-items: flex-start; padding: 22px; } }

/* Abschnitte */
.block { padding-block: 56px; }
.narrow-head { max-width: 720px; margin-bottom: 28px; }
.quote { margin: 8px 0 28px; padding: 18px 20px; background: var(--card); border-radius: 18px; border: 1px solid var(--line); font: italic 400 21px/1.4 var(--serif); }
.quote cite { display: block; margin-top: 8px; font: 600 14px/1 var(--sans); font-style: normal; color: var(--accent2); }
.flow > div { position: relative; padding: 4px 0 22px 50px; }
.flow > div:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 38px; bottom: 0; width: 2px; background: var(--line); }
.flow i { position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-style: normal; font-weight: 700; display: grid; place-items: center; }
.flow b { display: block; font-size: 20px; margin-bottom: 2px; }
.flow span { color: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.card .num { font: italic 400 15px/1 var(--serif); color: var(--accent2); }
.card h3 { margin: 10px 0 8px; }
.card p { color: var(--soft); font-size: 16px; margin: 0; }

/* Beispiele und FAQ */
.exh { color: var(--accent2); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 24px 0 8px; }
.ex, .faq { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin: 8px 0; }
.ex summary, .faq summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; position: relative; display: flex; gap: 12px; align-items: center; }
.ex summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.ex summary::after, .faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; }
.ex[open] summary::after, .faq[open] summary::after { content: "–"; }
.ex .who { font-size: 22px; flex: 0 0 auto; }
.ex p, .faq p { padding: 0 16px; color: var(--soft); }
.ex small { display: block; padding: 0 16px 14px; color: var(--muted); font-size: 13px; }
.faq summary { font-weight: 600; }
.faq p { padding-bottom: 4px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.chips span { padding: 9px 16px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); font-size: 15px; }

.final { text-align: center; padding-bottom: 80px; }
.final .wl { margin-top: 20px; }

/* Rechtstexte */
.prose { padding-block: 24px 72px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 24px; }
.prose h2 { font-size: 26px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--text); }

footer { border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* Figur */
.mascot { overflow: visible; display: inline-block; }
.mascot .orb { animation: float 4.5s ease-in-out infinite; }
.mascot .glow { animation: glow 5s ease-in-out infinite; }
.mascot .spark { transform-box: fill-box; transform-origin: center; animation: twinkle 1.6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-5px); } }
@keyframes glow { 50% { opacity: .55; } }
@keyframes twinkle { 50% { transform: scale(.5) rotate(45deg); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .mascot * { animation: none !important; } html { scroll-behavior: auto; } }

/* Sprachumschalter */
.navr { display: flex; align-items: center; gap: 10px; }
.lang { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .06em; padding: 10px 8px; }
.lang:hover { color: var(--text); }
