/* Aura Tones – Design nach dem Logo: helles Aquarell, Pflaume, Rosa-Lavendel-Blau.
   Keine externen Schriften (DSGVO). Alle Animationen respektieren „reduzierte Bewegung“. */
:root {
  --paper: #fdfbff;
  --ink: #2e1a52;
  --ink-2: #5b4a7d;
  --ink-3: #8c7fa8;
  --plum: #4b2a85;
  --violet: #8a5cd0;
  --rose: #e48bb7;
  --sky: #7f9ce0;
  --lav: #b9a3e3;
  --line: rgba(75, 42, 133, 0.12);
  --glass: rgba(255, 255, 255, 0.68);
  --glass-2: rgba(255, 255, 255, 0.86);
  --shadow: 0 18px 50px -18px rgba(75, 42, 133, 0.28);
  --ring: linear-gradient(135deg, #e48bb7, #b07ad8 45%, #7f9ce0);
  --chakra: linear-gradient(90deg, #e0524a, #f08a3c, #f2c53d, #52c27a, #4aa8e8, #7b6cf0, #c57ae8);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }

/* ---------- Aquarell-Hintergrund ---------- */
.wash { position: fixed; inset: -10vmax; z-index: 0; pointer-events: none; overflow: hidden; }
.wash i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.wash i:nth-child(1) { width: 60vmax; height: 60vmax; left: -8vmax; top: -6vmax; background: radial-gradient(circle, #f6b7d3, transparent 65%); animation: drift1 26s var(--ease) infinite alternate; }
.wash i:nth-child(2) { width: 55vmax; height: 55vmax; right: -12vmax; top: 18vmax; background: radial-gradient(circle, #c9b3f0, transparent 65%); animation: drift2 31s var(--ease) infinite alternate; }
.wash i:nth-child(3) { width: 50vmax; height: 50vmax; left: 8vmax; bottom: -16vmax; background: radial-gradient(circle, #b5c7f2, transparent 65%); animation: drift3 28s var(--ease) infinite alternate; }
.wash i:nth-child(4) { width: 26vmax; height: 26vmax; left: 46vmax; top: 4vmax; background: radial-gradient(circle, #fde3c8, transparent 65%); animation: drift2 22s var(--ease) infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(6vmax, 5vmax) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-7vmax, -4vmax) scale(1.12); } }
@keyframes drift3 { to { transform: translate(5vmax, -6vmax) scale(.94); } }

/* schwebende Lichtpunkte */
.motes { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.motes span { position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(176, 122, 216, .55); opacity: 0; animation: rise-mote linear infinite; }
@keyframes rise-mote { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .9; } 85% { opacity: .6; } 100% { transform: translateY(-105vh); opacity: 0; } }

/* ---------- Grundgerüst ---------- */
.wrap {
  position: relative; z-index: 1;
  max-width: 580px; margin: 0 auto;
  padding: 20px 16px 40px;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 4px 14px rgba(75, 42, 133, .18); }
.brand b { font: 500 19px/1 var(--serif); color: var(--plum); letter-spacing: .01em; }

.screen { flex: 1; display: none; flex-direction: column; justify-content: center; padding: 22px 0 10px; }
.screen.on { display: flex; }
.screen.leaving { animation: leave .32s var(--ease) forwards; }
@keyframes leave { to { opacity: 0; transform: translateY(-12px); filter: blur(2px); } }

/* gestaffeltes Einblenden */
.rv { opacity: 0; transform: translateY(14px); }
.screen.on .rv { animation: rv .7s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 60ms); }
@keyframes rv { to { opacity: 1; transform: none; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(31px, 8vw, 44px); line-height: 1.14; }
h2 { font-size: clamp(25px, 6.4vw, 33px); line-height: 1.2; }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0; }
.grad-text { background: linear-gradient(100deg, #c2549a, #7a4fc0 50%, #5873cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-2); font-size: 17px; margin-top: 16px; }
.small { color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.center { text-align: center; }

/* ---------- Logo-Medaillon ---------- */
.medal { position: relative; width: min(230px, 62vw); aspect-ratio: 1; margin: 6px auto 30px; }
.medal img { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 24px 60px -20px rgba(75, 42, 133, .45); animation: breathe 10s ease-in-out infinite; }
.medal::before { content: ""; position: absolute; inset: -14%; z-index: 1; border-radius: 50%; background: conic-gradient(from 0deg, #f6b7d3, #c9b3f0, #b5c7f2, #fde3c8, #f6b7d3); filter: blur(26px); opacity: .75; animation: spin 18s linear infinite, breathe 10s ease-in-out infinite; }
.medal .ripple { position: absolute; inset: 0; z-index: 1; border-radius: 50%; border: 1.5px solid rgba(176, 122, 216, .5); animation: ripple 5s var(--ease) infinite; }
.medal .ripple:nth-of-type(2) { animation-delay: 1.66s; }
.medal .ripple:nth-of-type(3) { animation-delay: 3.33s; }
.medal.sm { width: 112px; margin-bottom: 24px; }
@keyframes breathe { 0%, 100% { transform: scale(.97); } 50% { transform: scale(1.025); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Knöpfe ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: block; width: 100%; border: 0; cursor: pointer; text-align: center; text-decoration: none;
  margin-top: 28px; padding: 18px 22px; border-radius: 999px;
  background: linear-gradient(120deg, #d96aa6, #8a5cd0 52%, #6d86d8);
  background-size: 160% 100%; background-position: 0 0;
  color: #fff; font: 600 17px/1.2 var(--sans); letter-spacing: .02em;
  box-shadow: 0 14px 34px -12px rgba(138, 92, 208, .65);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-position .6s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 4.5s ease-in-out infinite 1.2s; }
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 20px 40px -12px rgba(138, 92, 208, .7); }
.btn:active { transform: translateY(1px) scale(.995); }
.btn:disabled { opacity: .65; cursor: default; }
.btn.ghost { background: var(--glass-2); color: var(--plum); border: 1px solid var(--line); box-shadow: 0 8px 22px -14px rgba(75,42,133,.4); }
.btn.ghost::after { display: none; }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.meta { display: flex; gap: 18px; justify-content: center; margin-top: 16px; color: var(--ink-3); font-size: 13px; }
.tagline { font: 600 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-top: 22px; }

/* ---------- Fortschritt mit 7 Chakra-Punkten ---------- */
.prog { position: relative; height: 22px; margin: 6px 0 26px; }
.prog .track { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(75, 42, 133, .1); border-radius: 2px; }
.prog .fill { position: absolute; left: 0; top: 10px; height: 2px; width: 0; border-radius: 2px; background: var(--chakra); background-size: var(--w, 548px) 100%; transition: width .55s var(--ease); }
.prog .dots { position: absolute; inset: 0; display: flex; justify-content: space-between; }
.prog .dots i { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: #fff; border: 2px solid rgba(75, 42, 133, .16); transition: background .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.prog .dots i.lit { background: var(--c); border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent), 0 0 14px var(--c); transform: scale(1.12); }
.count { color: var(--ink-3); font-size: 13px; letter-spacing: .06em; display: flex; justify-content: space-between; }

.qwrap { transition: opacity .28s var(--ease), transform .28s var(--ease); }
.qwrap.out { opacity: 0; transform: translateX(-18px); }
.qwrap.pre { opacity: 0; transform: translateX(18px); transition: none; }

.answers { display: grid; gap: 10px; margin-top: 24px; }
.answer {
  position: relative; overflow: hidden;
  width: 100%; text-align: left; cursor: pointer;
  padding: 16px 48px 16px 18px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--line); color: var(--ink);
  font: 16px/1.45 var(--sans);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px -14px rgba(75, 42, 133, .45);
  opacity: 0; transform: translateY(10px);
  animation: rv .5s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 70ms + 80ms);
  transition: background .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.answer::first-letter { text-transform: uppercase; }
.answer::after { content: ""; position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid rgba(75, 42, 133, .22); transition: all .25s var(--ease); }
.answer:hover { background: var(--glass-2); border-color: rgba(138, 92, 208, .45); box-shadow: 0 10px 24px -14px rgba(138, 92, 208, .55); }
.answer.picked { background: linear-gradient(120deg, rgba(228,139,183,.22), rgba(138,92,208,.22), rgba(127,156,224,.22)); border-color: var(--violet); }
.answer.picked::after { background: var(--violet); border-color: var(--violet); box-shadow: inset 0 0 0 3px #fff; }
.answer .splash { position: absolute; border-radius: 50%; background: rgba(176, 122, 216, .35); transform: scale(0); animation: splash .6s var(--ease) forwards; pointer-events: none; }
@keyframes splash { to { transform: scale(4); opacity: 0; } }
.back { background: none; border: 0; color: var(--ink-3); cursor: pointer; font: 14px var(--sans); padding: 8px 0; margin-top: 18px; align-self: flex-start; }
.back:hover { color: var(--plum); }

/* ---------- „Auswertung läuft“ ---------- */
.scan { display: flex; justify-content: center; gap: 12px; margin: 10px 0 34px; }
.scan i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); opacity: .18; transform: scale(.7); animation: scan 2.1s var(--ease) infinite; animation-delay: calc(var(--n) * 140ms); box-shadow: 0 0 18px var(--c); }
@keyframes scan { 0%, 100% { opacity: .18; transform: scale(.7); } 30% { opacity: 1; transform: scale(1.25); } 60% { opacity: .5; transform: scale(.95); } }
.scan-text { min-height: 1.6em; transition: opacity .3s; }

/* ---------- Formular ---------- */
.panel { margin-top: 24px; padding: 22px 18px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
form { display: grid; gap: 12px; }
label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
input[type=text], input[type=email] {
  width: 100%; margin-top: 6px; padding: 15px 16px; border-radius: 14px;
  background: #fff; border: 1px solid rgba(75, 42, 133, .16); color: var(--ink);
  font: 16px var(--sans); outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(138, 92, 208, .14); }
.error { color: #c0365a; font-size: 14px; min-height: 1px; }
.error.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.locked { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.locked span { position: relative; overflow: hidden; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(138, 92, 208, .25); color: var(--ink-2); font-size: 13px; }
.locked span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(201, 179, 240, .55) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 3.2s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 250ms); }

.foot { margin-top: 26px; text-align: center; color: var(--ink-3); font-size: 12px; }

/* ---------- Ergebnisseite ---------- */
.bloom { position: relative; width: 150px; aspect-ratio: 1; margin: 6px auto 8px; }
.bloom .petal { position: absolute; left: 50%; bottom: 50%; width: 34%; height: 46%; margin-left: -17%; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; transform-origin: 50% 100%; background: linear-gradient(to top, color-mix(in srgb, var(--c) 85%, #fff), color-mix(in srgb, var(--c) 30%, #fff)); opacity: .8; transform: rotate(var(--r)) scale(0); animation: petal 1.2s var(--ease) forwards; animation-delay: calc(var(--n) * 90ms + 200ms); mix-blend-mode: multiply; }
.bloom .core { position: absolute; left: 50%; top: 50%; width: 26%; height: 26%; margin: -13% 0 0 -13%; border-radius: 50%; background: radial-gradient(circle, #fff, color-mix(in srgb, var(--c) 50%, #fff)); box-shadow: 0 0 30px 10px color-mix(in srgb, var(--c) 45%, transparent); transform: scale(0); animation: pop .8s var(--ease) forwards 1s, glow 4s ease-in-out infinite 1.8s; }
@keyframes petal { to { transform: rotate(var(--r)) scale(1); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes glow { 50% { box-shadow: 0 0 44px 16px color-mix(in srgb, var(--c) 55%, transparent); } }

.card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: 26px; padding: 26px 22px; margin-top: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--c, var(--violet)), transparent); opacity: .75; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--violet)); box-shadow: 0 0 10px var(--c, var(--violet)); }
.hero-type { font-size: clamp(34px, 9.5vw, 48px); line-height: 1.08; margin-top: 12px; }
.hero-type em { font-style: normal; color: color-mix(in srgb, var(--c, #8a5cd0) 78%, #2e1a52); }
.soul { display: block; font-size: .5em; color: var(--ink-3); margin-top: 6px; letter-spacing: .02em; }
.share { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--c, var(--violet)); background: rgba(255,255,255,.65); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 18px; color: var(--plum); }
ul.list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
ul.list li { padding-left: 24px; position: relative; color: var(--ink); }
ul.list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--violet)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, #8a5cd0) 18%, transparent); }
.section-title { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-top: 24px; }
.bridge { font-family: var(--serif); font-size: 20px; line-height: 1.55; margin: 30px 4px 4px; color: var(--plum); text-align: center; }
.tone { display: flex; gap: 16px; align-items: center; margin-top: 18px; }
.tone .ring { flex: none; position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: #fff; font: 700 14px var(--sans); color: var(--plum); }
.tone .ring::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--c), color-mix(in srgb, var(--c) 30%, #fff), var(--c)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
.tone .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--c); animation: ripple 2.8s var(--ease) infinite; }
.disclaimer { margin-top: 30px; color: var(--ink-3); font-size: 12px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .answer, .reveal { opacity: 1 !important; transform: none !important; }
  .bloom .petal { transform: rotate(var(--r)) scale(1) !important; }
  .bloom .core { transform: scale(1) !important; }
}

/* ---------- Rechtliche Seiten (imprint, privacy) ---------- */
.legal { margin-top: 26px; }
.legal h1 { font-size: clamp(28px, 7vw, 38px); margin-bottom: 6px; }
.legal h2 { font-size: 21px; margin: 28px 0 8px; color: var(--plum); }
.legal h3 { font-size: 16px; margin: 18px 0 4px; font-family: var(--sans); font-weight: 650; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.legal ul { padding-left: 20px; margin: 6px 0; }
.legal address { font-style: normal; color: var(--ink); font-size: 16px; line-height: 1.7; }
.legal .stand { color: var(--ink-3); font-size: 13px; }
.legal a { color: var(--plum); }
