:root {
  --night: #191D2A;
  --gold: #C4A16B;
  --gold-dark: #A8864F;
  --ivory: #F4EDE1;
  --ivory-light: #FAF6EF;
  --rose: #D8AC9D;
  --sage: #798779;
  --text: #191D2A;
  --muted: #5C6070;
  --line: rgba(196, 161, 107, .35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 30%, #F8F2E8 65%, var(--ivory) 100%) fixed;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.2; }
.narrow { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; }
.small { font-size: .78rem; color: var(--muted); }
.placeholder {
  border: 1px dashed var(--gold); background: rgba(196,161,107,.08);
  color: var(--gold-dark); font-size: .8rem; padding: 14px; text-align: center; border-radius: 2px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gold-text {
  background: linear-gradient(100deg, #8E6B3A 0%, #C9A56C 30%, #EBD6A6 50%, #B88F57 72%, #9A7543 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Himmels-Hintergrund */
#sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#sky svg { position: absolute; }
#sky .wheel { width: min(1100px, 160vw); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .13; }
#sky .wheel g.turn { transform-origin: 500px 500px; animation: turn 240s linear infinite; }
#sky .stars { inset: 0; width: 100%; height: 100%; opacity: .5; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
#sky .tw { animation: twinkle 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { #sky .wheel g.turn, #sky .tw { animation: none; } }
header, .hero, main, footer { position: relative; z-index: 1; }

/* Elemente */
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px auto; color: var(--gold); }
.divider::before, .divider::after { content: ""; width: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { transform: scaleX(-1); }
.divider span { font-size: .7rem; }
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #232839, var(--night)); color: #E9D3A3; cursor: pointer;
  border: 1px solid rgba(196,161,107,.55); outline: 1px solid rgba(196,161,107,.25); outline-offset: 4px;
  font: 500 .82rem "Montserrat", sans-serif; letter-spacing: .2em; text-transform: uppercase;
  padding: 20px 40px; border-radius: 1px; text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(25,29,42,.55);
  transition: transform .3s, box-shadow .3s, color .3s;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(235,214,166,.28), transparent);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn:hover { transform: translateY(-2px); color: #F6E7C4; box-shadow: 0 24px 46px -18px rgba(25,29,42,.6); }
.btn-gold { background: linear-gradient(100deg, #B8915A, #E3C891 50%, #B8915A); color: var(--night); border-color: rgba(255,255,255,.35); }
.btn-gold:hover { color: var(--night); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.full { width: 100%; }

/* Header */
header { padding: 34px 0 0; text-align: center; }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
.brand svg { width: 78px; height: 78px; filter: drop-shadow(0 6px 14px rgba(168,134,79,.25)); }
.wordmark { font-family: "Cinzel", "Playfair Display", serif; font-weight: 500; font-size: 1.55rem; letter-spacing: .3em; margin: 4px 0 0 .3em; line-height: 1.5; }
.wordmark-sm { font-family: "Cinzel", serif; font-weight: 500; font-size: 1rem; letter-spacing: .3em; line-height: 1.6; }

/* Hero */
.hero { text-align: center; padding: 30px 0 70px; overflow: hidden; min-height: calc(100vh - 150px); display: flex; align-items: center; justify-content: center; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 720px; height: 720px; max-width: 140vw; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,.6) 35%, transparent 68%);
  pointer-events: none; z-index: -1;
}
.sigil { width: 92px; height: 92px; margin: 0 auto 26px; display: block; }
.hero h1 { font-size: clamp(2.05rem, 6vw, 3.5rem); font-weight: 400; max-width: 800px; margin: 0 auto; letter-spacing: -.005em; }
.hero h1 em { font-style: italic; padding-right: .08em; }
.hero p.lead { font-size: 1.06rem; color: var(--muted); max-width: 560px; margin: 0 auto 40px; font-weight: 300; }
.hero p.lead span { display: block; text-wrap: balance; }
.hero p.lead span + span { margin-top: 6px; }
.trust { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust span::before { content: "✦ "; color: var(--gold); }
.reveal { opacity: 0; transform: translateY(14px); animation: reveal 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .15s; } .reveal.d2 { animation-delay: .35s; } .reveal.d3 { animation-delay: .55s; } .reveal.d4 { animation-delay: .75s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

footer { color: var(--muted); padding: 30px 20px 36px; text-align: center; font-size: .7rem; border-top: 1px solid var(--line); max-width: 680px; margin: 0 auto; }
footer a { color: var(--muted); margin: 0 10px; text-decoration: none; letter-spacing: .12em; text-transform: uppercase; }

/* Quiz */
#quiz {
  position: fixed; inset: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(255,255,255,.985) 0%, rgba(250,246,239,.985) 60%, rgba(244,237,225,.985) 100%);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; flex-direction: column; overflow-y: auto;
}
#quiz.open { display: flex; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.quiz-top button { background: none; border: 0; font-size: 1.6rem; color: var(--muted); cursor: pointer; line-height: 1; }
.progress { height: 2px; background: var(--line); margin: 0 20px; }
.progress > div { height: 100%; background: linear-gradient(90deg, #A8864F, #EBD6A6, #C4A16B); width: 0; transition: width .5s ease; }
.stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px 20px 60px; }
.step { width: 100%; max-width: 560px; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step .eyebrow { display: block; text-align: center; margin-bottom: 14px; }
.step h2 { font-size: clamp(1.45rem, 4.5vw, 2rem); text-align: center; margin-bottom: 30px; }
.options { display: grid; gap: 12px; }
.opt {
  text-align: left; background: rgba(255,255,255,.75); border: 1px solid var(--line);
  padding: 19px 22px; font: 400 .97rem "Montserrat"; color: var(--text); cursor: pointer; border-radius: 1px;
  box-shadow: 0 10px 26px -20px rgba(25,29,42,.35);
  transition: border-color .25s, background .25s, transform .25s;
}
.opt:hover, .opt:focus-visible { border-color: var(--gold); background: #fff; transform: translateY(-1px); outline: none; }
.opt.selected { border-color: var(--night); background: var(--night); color: #E9D3A3; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 16px; border: 1px solid var(--line); background: var(--ivory-light);
  font: 400 1rem "Montserrat"; color: var(--text); border-radius: 2px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.row3 { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: 6px 0 22px; }
.check input { margin-top: 3px; accent-color: var(--night); }
.calc { text-align: center; }
.calc .sigil { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ergebnis (Danke-Seite) */
main.thanks { padding: 30px 20px 60px; display: flex; justify-content: center; min-height: calc(100vh - 150px); }
main.thanks.loading { align-items: center; }
.result { max-width: 680px; }
.result-head { text-align: center; padding: 10px 0 30px; }
.result-head h2 { font-size: clamp(2rem, 6vw, 2.8rem); margin: 10px 0 6px; }
.result-head .tag { font-family: "Playfair Display"; font-style: italic; color: var(--gold-dark); font-size: 1.15rem; }
.astro { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.astro span { border: 1px solid var(--line); padding: 6px 14px; font-size: .75rem; letter-spacing: .08em; border-radius: 30px; background: rgba(255,255,255,.6); }
.rblock { padding: 26px 0; border-top: 1px solid var(--line); }
.rblock h3 { font-size: 1.2rem; margin-bottom: 10px; }
.rblock p { color: var(--muted); font-weight: 300; }
.rblock ul { list-style: none; margin-top: 6px; }
.rblock li { padding-left: 22px; position: relative; margin: 8px 0; color: var(--muted); font-weight: 300; }
.rblock li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .8rem; top: 3px; }
.cta-box { background: linear-gradient(180deg, #232839, var(--night)); color: var(--ivory); padding: 40px 28px; text-align: center; margin-top: 20px; border: 1px solid rgba(196,161,107,.4); }
.cta-box h3 { font-size: 1.6rem; margin: 10px 0 14px; }
.cta-box p { opacity: .8; font-weight: 300; margin-bottom: 24px; }
.video { aspect-ratio: 16/9; background: #232838; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.video .placeholder { background: transparent; color: var(--gold); }

@media (max-width: 760px) {
  .hero { padding: 24px 0 56px; }
  .hero h1 { text-wrap: balance; }
  .hero p.lead { font-size: .95rem; line-height: 1.6; padding: 0 14px; margin-bottom: 34px; }
  .hero .btn { padding: 15px 26px; font-size: .7rem; letter-spacing: .14em; white-space: nowrap; }
  .trust { flex-wrap: nowrap; gap: 12px; font-size: .58rem; letter-spacing: .1em; margin-top: 20px; white-space: nowrap; }
  .btn.full { width: 100%; }
}
@media (max-width: 360px) {
  .hero .btn { padding: 14px 18px; font-size: .64rem; letter-spacing: .1em; }
  .trust { gap: 8px; font-size: .52rem; letter-spacing: .06em; }
}
