@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url(/fonts/roboto-latin-300-normal.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url(/fonts/roboto-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url(/fonts/roboto-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --nacht: #09080a;
  --rauch: #1a181c;
  --akzent: #BD0075;
  --wein: #55012E;
  --rosa: #FAC1E4;
  --hell: #FFE6F5;
  --text: #e9e3e7;
  --leise: #a79ca3;
  --gold: #c9a96e;
  --linie: rgba(201, 169, 110, .35);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--nacht);
  color: var(--text);
  font: 300 17px/1.6 'Roboto', system-ui, sans-serif;
  overflow-x: hidden;
  display: flex; flex-direction: column;
}

/* Rauch und Sterne */
.himmel { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.himmel .sterne {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 78% 12%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 64% 38%, var(--rosa), transparent),
    radial-gradient(1px 1px at 22% 62%, #fff, transparent),
    radial-gradient(1px 1px at 88% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 40% 85%, var(--rosa), transparent),
    radial-gradient(1px 1px at 55% 8%, #fff, transparent),
    radial-gradient(1px 1px at 5% 90%, #fff, transparent);
}
.rauch {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: treiben 38s ease-in-out infinite alternate;
}
.rauch.r1 { width: 70vmax; height: 45vmax; left: -20vmax; top: -10vmax; background: radial-gradient(closest-side, #3a363c, transparent); }
.rauch.r2 { width: 60vmax; height: 50vmax; right: -25vmax; top: 20vh; background: radial-gradient(closest-side, #2d2a30, transparent); animation-duration: 46s; }
.rauch.r3 { width: 55vmax; height: 40vmax; left: 10vw; bottom: -20vmax; background: radial-gradient(closest-side, rgba(85, 1, 46, .8), transparent); animation-duration: 52s; }
.rauch.r4 { width: 35vmax; height: 30vmax; right: 5vw; top: -8vmax; background: radial-gradient(closest-side, rgba(189, 0, 117, .25), transparent); animation-duration: 30s; }
@keyframes treiben {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6vw, 4vh) scale(1.15); }
}
.koernung { position: absolute; inset: 0; opacity: .08; }
@media (prefers-reduced-motion: reduce) { .rauch { animation: none; } }

/* Layout */
main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 48px 20px 64px; }
.screen { display: none; animation: auftauchen .6s ease; }
.screen.aktiv { display: block; }
@keyframes auftauchen { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

h1, h2, h3 { font-family: 'Cormorant', Georgia, serif; font-weight: 500; color: var(--hell); line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(44px, 11vw, 72px); text-shadow: 0 0 28px rgba(189, 0, 117, .55); text-align: center; }
h2 { font-size: clamp(30px, 7vw, 42px); }
h3 { font-size: 26px; }
.unterzeile { font-family: 'Cormorant', Georgia, serif; font-style: italic; font-size: 24px; color: var(--rosa); text-align: center; margin: 0 0 32px; }
p { margin: 0 0 1em; }
.leise { color: var(--leise); font-size: 15px; }

.mandala { display: block; width: min(240px, 60vw); margin: 0 auto 24px; filter: drop-shadow(0 0 18px rgba(189, 0, 117, .45)); }

.karte {
  background: rgba(20, 18, 22, .72);
  border: 1px solid var(--linie);
  border-radius: 18px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 40px rgba(0, 0, 0, .5);
}

/* Buttons */
.knopf {
  display: inline-block; width: 100%;
  padding: 16px 24px; border: 0; border-radius: 999px;
  background: var(--akzent); color: #fff;
  font: 500 17px 'Roboto', sans-serif; letter-spacing: .02em;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  box-shadow: 0 0 24px rgba(189, 0, 117, .45);
}
.knopf:hover { transform: translateY(-1px); box-shadow: 0 0 34px rgba(189, 0, 117, .7); }
.knopf:disabled { background: #4a3b44; box-shadow: none; cursor: not-allowed; transform: none; }
.knopf.zart { background: transparent; border: 1px solid var(--linie); color: var(--text); box-shadow: none; }
.knopf.zart:hover { border-color: var(--rosa); }

/* Formular */
label { display: block; font-weight: 400; margin: 18px 0 6px; color: var(--hell); }
input[type=date], input[type=time], input[type=text], input[type=email], textarea {
  width: 100%; padding: 13px 14px;
  background: rgba(9, 8, 10, .7); color: var(--text);
  border: 1px solid var(--linie); border-radius: 10px;
  font: 400 16px 'Roboto', sans-serif;
  color-scheme: dark;
}
input:focus, textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(189, 0, 117, .25); }
.check { display: flex; gap: 10px; align-items: center; margin: 10px 0 0; font-weight: 300; color: var(--leise); cursor: pointer; }
.check input { accent-color: var(--akzent); width: 18px; height: 18px; }
.orte { list-style: none; margin: 6px 0 0; padding: 0; border-radius: 10px; overflow: hidden; }
.orte li { padding: 11px 14px; background: rgba(40, 36, 42, .95); border-bottom: 1px solid rgba(255, 255, 255, .05); cursor: pointer; }
.orte li:hover, .orte li:focus { background: var(--wein); outline: none; }
.ort-gewaehlt { margin-top: 8px; color: var(--rosa); font-size: 15px; }
.fehler { color: #ff8fc9; margin-top: 14px; }
.hinweis { font-size: 14px; color: var(--leise); margin-top: 8px; }
.knopf-reihe { margin-top: 28px; }

/* Einstieg */
.optionen { display: grid; gap: 10px; margin: 20px 0; }
.option {
  text-align: left; padding: 14px 18px; border-radius: 12px;
  background: rgba(9, 8, 10, .6); color: var(--text);
  border: 1px solid var(--linie); font: 300 16px 'Roboto', sans-serif; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.option:hover { border-color: var(--rosa); }
.option.gewaehlt { border-color: var(--akzent); background: rgba(85, 1, 46, .55); color: #fff; }

/* Aussagen */
.fortschritt { height: 3px; background: rgba(255, 255, 255, .08); border-radius: 3px; margin-bottom: 36px; overflow: hidden; }
.fortschritt div { height: 100%; width: 0; background: var(--akzent); box-shadow: 0 0 12px var(--akzent); transition: width .4s ease; }
.zaehler { text-align: center; color: var(--leise); font-size: 14px; letter-spacing: .08em; margin-bottom: 12px; }
.aussage {
  font-family: 'Cormorant', Georgia, serif; font-weight: 500;
  font-size: clamp(28px, 6.5vw, 38px); line-height: 1.2; color: var(--hell);
  text-align: center; min-height: 5.5em; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.antworten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.zurueck { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--leise); font: 300 14px 'Roboto', sans-serif; cursor: pointer; text-decoration: underline; }

/* Ergebnis */
.ergebnis-kopf { text-align: center; }
.chartinfo { color: var(--rosa); letter-spacing: .08em; font-size: 14px; text-transform: uppercase; margin-bottom: 8px; }
.tacho { display: block; width: min(320px, 85vw); margin: 10px auto 0; }
.tacho-zahl { text-align: center; font-family: 'Cormorant', serif; font-size: 22px; color: var(--leise); margin: -6px 0 28px; }
.spitzenreiter { text-align: center; }
.spitzenreiter .modus { font-family: 'Cormorant', serif; font-size: clamp(36px, 9vw, 52px); color: #fff; text-shadow: 0 0 24px rgba(189, 0, 117, .8); margin: 4px 0 12px; line-height: 1.05; }
.balken-liste { margin: 28px 0 8px; display: grid; gap: 14px; }
.balken-kopf { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 5px; }
.balken-kopf span:last-child { color: var(--leise); }
.balken { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.balken div { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--wein), var(--akzent)); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.balken-eintrag.top .balken div { box-shadow: 0 0 14px var(--akzent); }
.bodygraph { display: block; width: min(200px, 50vw); margin: 8px auto 0; }
.zwei-spalten { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 560px) { .zwei-spalten { grid-template-columns: 180px 1fr; align-items: center; } }
.mail-karte { margin-top: 28px; border-color: rgba(189, 0, 117, .6); background: #141216; }
.klein { font-size: 13px; color: var(--leise); margin-top: 12px; }
#formular-platz { margin: 8px -4px 0; min-height: 190px; }
.prototyp { margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--linie); border-radius: 10px; font-size: 14px; color: var(--rosa); }
footer { position: relative; z-index: 1; text-align: center; font-size: 13px; color: var(--leise); padding: 0 20px 32px; }
footer a { color: var(--leise); }
