/* ============================================================
   KOSMISCHE LIEBESANALYSE, Intuition mit Herz
   Helles Haus, Nachthimmel als Band: Elfenbein und Kalkputz,
   tiefes Violett, Gold als feine Linie.
   Schriften lokal: Great Vibes / Cormorant Garamond / Mulish
   ============================================================ */
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/greatvibes.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/greatvibes-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-400.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url("/fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-i400.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-weight: 400; font-display: swap; src: url("/fonts/mulish-400.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-weight: 600; font-display: swap; src: url("/fonts/mulish-600.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-weight: 700; font-display: swap; src: url("/fonts/mulish-700.woff2") format("woff2"); }

:root {
  --paper: #f5f0e8; --paper-2: #ece4d6; --paper-3: #fbf8f2; --white: #fffdf9;
  --ink: #2a2140; --ink-soft: #5a5070; --ink-mute: #8a8097;
  --gold: #9c7633; --gold-2: #c09d5c; --gold-line: rgba(156,118,51,.45);
  --plum: #2b2152; --plum-2: #3c2f6e; --night: #211a44; --night-deep: #18122f;
  --accent: #6f57a8; --line: rgba(42,33,64,.12); --line-strong: rgba(42,33,64,.24);
  --glow: rgba(192,157,92,.45); --err: #a8394f;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Cormorant Garamond", cursive;
  --sans: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1160px; --shadow: 0 30px 60px -36px rgba(60,40,20,.45);
  --plaster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}
/* Nachtbänder: gleiche Bausteine, helle Schrift */
.night {
  --ink: #f6f1e8; --ink-soft: #d2c9e2; --ink-mute: #a69dbf;
  --gold: #dcbb7c; --gold-2: #ecd29d; --gold-line: rgba(220,187,124,.42);
  --accent: #cbb5f3; --line: rgba(220,187,124,.18); --line-strong: rgba(220,187,124,.32); --err: #f2a9b5;
  position: relative; color: var(--ink); isolation: isolate;
  background: radial-gradient(120% 80% at 50% 0%, #3a2d6c 0%, #2a2052 45%, #1d1739 100%);
}
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("/sterne.svg") repeat; background-size: 480px; opacity: .75; }
/* Mit sterne.js: bewegtes Sternenfeld statt der festen Kachel */
.sternfeld { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.night.sterne-live::before { display: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper) var(--plaster); color: var(--ink); font-family: var(--sans); font-size: 17px;
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 500; text-wrap: balance; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }
@media (max-width: 560px) { .wrap { padding-inline: 16px; } body { font-size: 16.5px; } }
[hidden] { display: none !important; }

/* Schrift-Bausteine */
.caps { font-family: var(--serif); text-transform: uppercase; letter-spacing: .2em; font-weight: 500; }
.script { font-family: var(--script); font-weight: 400; color: var(--gold); line-height: 1; }
.spaced, .eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .3em; font-family: var(--sans);
  font-size: 11.5px; font-weight: 700; color: var(--gold); }
.chip { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.chip .sp { color: var(--gold-2); }
.orn { color: var(--gold); }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
/* Goldene Trennlinie mit Stern in der Mitte */
.rule { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); font-size: 13px; margin: 22px auto; max-width: 300px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }
.rule.left { margin-left: 0; max-width: 220px; }
.rule.left::before { display: none; }

/* Knöpfe: dunkles Violett auf hellem Grund, Gold auf Nachtgrund */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  padding: 18px 30px; border: none; border-radius: 2px; cursor: pointer; text-decoration: none;
  background: var(--plum); color: #f6f1e8; box-shadow: 0 14px 30px -18px rgba(43,33,82,.9);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-1px); background: var(--plum-2); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn:focus-visible, .linkbtn:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.night .btn { background: linear-gradient(135deg, #e6c88c, #c9a560); color: #2a1f45; box-shadow: 0 0 0 1px rgba(236,210,157,.5), 0 14px 40px -14px rgba(220,187,124,.6); }
.night .btn:hover { background: linear-gradient(135deg, #eed39c, #d2ae6a); }
.btn-ghost, .night .btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold-line); }
.btn-ghost:hover, .night .btn-ghost:hover { background: rgba(156,118,51,.08); }
.btn-auto { width: auto; }
.linkbtn { background: none; border: none; padding: 0; color: var(--gold); font: inherit; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; }

/* Marke */
.brandbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 0; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.brand .b-script { font-family: var(--script); font-size: 30px; color: var(--ink); line-height: .9; }
.brand .b-serif { font-family: var(--serif); font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin: 2px 0 0 26px; }
.navlink { font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; padding: 11px 18px;
  border-radius: 2px; box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--ink); text-decoration: none; white-space: nowrap; }
.navlink:hover { background: rgba(156,118,51,.08); }
@media (max-width: 560px) { .navlink { padding: 9px 12px; letter-spacing: .14em; } }

/* Flächen */
.card { background: var(--white); border: 1px solid var(--gold-line); border-radius: 4px; padding: 36px 34px;
  box-shadow: var(--shadow); position: relative; }
.night .card { background: rgba(255,255,255,.045); box-shadow: 0 30px 70px -40px rgba(0,0,0,.6); }
@media (max-width: 560px) { .card { padding: 26px 18px; } }
.panel { background: var(--paper-3); border: 1px solid var(--line); border-radius: 4px; padding: 24px 26px; }
.night .panel { background: rgba(255,255,255,.04); }
@media (max-width: 560px) { .panel { padding: 20px 18px; } }

/* Formular */
.field { margin-bottom: 14px; position: relative; }
.field label, .lbl { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 7px; }
.field input, .field select { width: 100%; background: var(--white); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 2px; padding: 13px 14px; font-size: 16px; font-family: var(--sans); transition: border-color .18s, box-shadow .18s; }
.field select { padding-right: 34px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239c7633' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; }
.field input::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(156,118,51,.15); }
.field select.placeheld { color: var(--ink-mute); }
.field select:disabled { opacity: .5; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 8px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); cursor: pointer; margin: 10px 0; }
.check input { flex: none; width: 19px; height: 19px; margin-top: 1px; accent-color: var(--plum); cursor: pointer; }
.night .check input { accent-color: var(--gold); }
.err { color: var(--err); font-size: 14px; margin-top: 10px; text-align: center; min-height: 1em; }
.ac { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin-top: 4px; background: var(--white);
  border: 1px solid var(--line-strong); border-radius: 2px; overflow: hidden; box-shadow: var(--shadow); display: none; }
.ac.show { display: block; }
.ac div { padding: 11px 14px; font-size: 15px; cursor: pointer; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.ac div:last-child { border-bottom: none; }
.ac div:hover, .ac div.sel { background: var(--paper); color: var(--ink); }
.ac small { color: var(--ink-mute); }

/* Abschnitte */
section.band { padding: 96px 0; position: relative; }
.band-2 { background: var(--paper-2) var(--plaster); }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin-top: 10px; }
.sec-head p { color: var(--ink-soft); margin-top: 6px; font-size: 18px; }
@media (max-width: 560px) { section.band { padding: 68px 0; } .sec-head { margin-bottom: 36px; } }

/* Zwei Sternenräder (der Moment, in dem sich eure Himmel verbinden) */
.ritual { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 16px; }
.ritual .brand { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); align-items: center; }
.ritual .brand .b-serif { margin-left: 0; }
.stage2 { position: relative; width: min(94vw, 600px); height: min(64vw, 380px); }
.wheelbox { position: absolute; top: 50%; width: min(58vw, 340px); aspect-ratio: 1; transition: transform 5.2s cubic-bezier(.45,.05,.2,1); }
.wheelbox.wa { left: 0; transform: translate(-8%, -50%); }
.wheelbox.wb { right: 0; transform: translate(8%, -50%); }
.stage2.merge .wheelbox.wa { transform: translate(36%, -50%); }
.stage2.merge .wheelbox.wb { transform: translate(-36%, -50%); }
.wheelbox svg { width: 100%; height: 100%; overflow: visible; }
.wheelbox .spinner { transform-origin: 160px 160px; animation: spin 40s linear infinite; }
.wheelbox.wb .spinner { animation-direction: reverse; }
.wheelbox .ring { fill: none; stroke: var(--gold); stroke-width: 1.1; opacity: .8; }
.wheelbox .ring2 { fill: none; stroke: var(--gold); stroke-width: .8; opacity: .5; }
.wheelbox .ring3 { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .45; stroke-dasharray: 1 5; stroke-linecap: round; }
.wheelbox .axis { stroke: var(--gold); stroke-width: .7; opacity: .35; }
.wheelbox .tick { stroke: var(--gold); stroke-width: .9; opacity: .55; }
.wheelbox .fine { stroke: var(--gold); stroke-width: .6; opacity: .35; }
.wheelbox .glyph { font-family: "Apple Symbols", "Segoe UI Symbol", var(--sans); fill: var(--ink-soft); font-size: 15px; text-anchor: middle; }
.wheelbox .nm { font-family: var(--script); fill: var(--gold); font-size: 34px; text-anchor: middle; }
.heartcore { position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; border-radius: 50%;
  transform: translate(-50%,-50%) scale(0); background: radial-gradient(circle,#fff,#e8c98a);
  box-shadow: 0 0 30px 10px rgba(236,210,157,.55), 0 0 110px 40px rgba(220,187,124,.25); transition: transform 1.2s ease 4.6s; }
.stage2.merge .heartcore { transform: translate(-50%,-50%) scale(1); }
.ritual-status { margin-top: 38px; min-height: 2.7em; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: clamp(1.4rem,3.2vw,1.9rem); line-height: 1.3; color: var(--ink); transition: opacity .45s ease; }
.ritual-sub { margin-top: 4px; min-height: 1.2em; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); transition: opacity .45s ease; }
@media (prefers-reduced-motion: reduce) {
  .wheelbox .spinner { animation: none; }
  .wheelbox, .heartcore { transition: none; }
}

/* Fußzeile */
footer.foot { position: relative; z-index: 1; padding: 44px 0 54px; text-align: center; color: var(--ink-mute); font-size: 13.5px;
  border-top: 1px solid var(--line); }
footer.foot a { color: var(--ink-soft); margin: 0 10px; text-decoration: none; letter-spacing: .04em; }
footer.foot a:hover { color: var(--gold); }

/* Rechtsseiten */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 70px; }
.legal h1 { font-size: clamp(34px,5vw,48px); margin: 30px 0 18px; }
.legal h2 { font-size: 25px; margin: 32px 0 10px; color: var(--plum); }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal .ph { background: rgba(156,118,51,.12); color: var(--gold); padding: 1px 6px; border-radius: 3px; }
