/* Die Schrift liegt auf dem eigenen Server. */
@font-face { font-family: "Manrope"; src: url("manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --navy: #00264D;
  --indigo: #2A1B8C;
  --tief: #1B1166;
  --violett: #7B3BFF;
  --lavendel: #DED6F2;
  --papier: #F4F0FB;
  --text: #FFFFFF;
  --text-2: rgba(240, 233, 255, .86);
  --text-3: rgba(232, 222, 255, .72);
  --glas: rgba(255, 255, 255, .16);
  --glas-hell: rgba(255, 255, 255, .26);
  --glas-rand: rgba(255, 255, 255, .24);
  --linie: rgba(255, 255, 255, .2);
  --rand: clamp(20px, 4.4vw, 56px);
  --aus: cubic-bezier(.16, 1, .3, 1);
  --pegel: 0;
}
:root.hell {
  --text: #00264D;
  --text-2: rgba(0, 38, 77, .82);
  --text-3: rgba(0, 38, 77, .68);
  --glas: rgba(0, 38, 77, .07);
  --glas-hell: rgba(0, 38, 77, .12);
  --glas-rand: rgba(0, 38, 77, .16);
  --linie: rgba(0, 38, 77, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #3A22B8 0%, var(--indigo) 46%, var(--tief) 100%);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: color .8s var(--aus);
}
.hell body { background: var(--papier); }
p, h1, h2, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgba(255, 255, 255, .3); color: #fff; }
.hell ::selection { background: rgba(123, 59, 255, .24); color: var(--navy); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 6px; }

/* Farbfeld */
.feld { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
html:not(.js) .feld, .kein-gl .feld { display: none; }

/* Kopf */
.kopf {
  position: fixed; z-index: 3; top: 0; left: 0; right: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: max(18px, env(safe-area-inset-top)) var(--rand) 0;
  min-height: 76px;
}
.marke { position: relative; display: block; width: 150px; height: 30px; justify-self: start; }
.logo { position: absolute; inset: 0; display: block; width: 150px; height: 30px; transition: opacity .8s var(--aus); }
.logo-dunkel { opacity: 0; }
.hell .logo-hell { opacity: 0; }
.hell .logo-dunkel { opacity: 1; }
.kontakt { justify-self: end; }
.stand { display: flex; gap: 6px; opacity: 0; transition: opacity .5s var(--aus); }
.stand i { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--linie); transition: background .5s var(--aus); }
[data-ort="1"] .stand, [data-ort="2"] .stand, [data-ort="3"] .stand { opacity: 1; }
[data-ort="1"] .stand i:nth-child(-n+1),
[data-ort="2"] .stand i:nth-child(-n+2),
[data-ort="3"] .stand i:nth-child(-n+3) { background: #fff; }

/* Pillen */
.pille {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; line-height: 1;
  color: var(--text); text-decoration: none; white-space: nowrap;
  background: var(--glas);
  box-shadow: inset 0 0 0 1px var(--glas-rand), inset 0 1px 0 rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  transition: background .25s var(--aus), transform .25s var(--aus), color .8s var(--aus), opacity .4s var(--aus);
}
.pille:hover { background: var(--glas-hell); }
.pille:active { transform: scale(.97); }
.pille:focus-visible { outline-offset: 3px; border-radius: 999px; }
.pille svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pille-klein { min-height: 40px; padding: 0 18px; font-size: 14px; }
.pille-voll { background: #fff; color: var(--indigo); box-shadow: 0 10px 30px -12px rgba(15, 6, 70, .55); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pille-voll:hover { background: #F1EBFF; }

/* Ablauf: ohne JavaScript eine gewöhnliche Seite, mit JavaScript eine Bühne */
.ablauf { position: relative; z-index: 1; }
.schritt { padding: 56px var(--rand); }
.schritt:first-child { padding-top: 132px; }
.innen { max-width: 760px; margin: 0 auto; }
html:not(.js) .kopf { position: absolute; }
html:not(.js) .sprech, html:not(.js) .wahl button, html:not(.js) .leiste, html:not(.js) .spring { display: none; }

.js body { overflow: hidden; height: 100dvh; }
.js .ablauf { position: fixed; inset: 0; display: grid; }
.js .schritt {
  grid-area: 1 / 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  padding: 104px var(--rand) calc(124px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; filter: blur(14px);
  transition: opacity .5s var(--aus), filter .5s var(--aus), visibility 0s linear .5s;
}
.js .schritt.aktiv {
  opacity: 1; visibility: visible; filter: none;
  transition: opacity .9s var(--aus) .3s, filter .9s var(--aus) .3s, visibility 0s;
}
.js .innen { margin: auto; width: 100%; }
/* Was unter Kopf und Leiste scrollt, läuft weich aus */
.js .schritt {
  -webkit-mask-image: linear-gradient(to bottom, transparent 44px, #000 96px, #000 calc(100% - 118px), transparent calc(100% - 74px));
  mask-image: linear-gradient(to bottom, transparent 44px, #000 96px, #000 calc(100% - 118px), transparent calc(100% - 74px));
}

/* Anfang und Schluss */
.innen-start, .innen-schluss { max-width: 820px; text-align: center; }
h1, .schluss h2 {
  font-size: clamp(2.3rem, min(6.2vw, 10.5vh), 5rem); line-height: 1.02; letter-spacing: -.035em;
  text-wrap: balance; outline: none;
}
.schluss h2 { font-size: clamp(2.1rem, min(5vw, 9vh), 3.9rem); }
.innen-schluss { max-width: 940px; }
.duenn { font-weight: 300; }
.fett { font-weight: 800; }
.lead {
  margin: clamp(20px, 3vh, 30px) auto 0; max-width: 34em;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--text-2);
  text-wrap: pretty;
}
.wahl { margin-top: clamp(28px, 4.4vh, 44px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.klein { margin: clamp(26px, 4vh, 40px) auto 0; max-width: 46em; font-size: 13.5px; line-height: 1.6; color: var(--text-3); text-wrap: pretty; }
.bald { margin-top: 18px; font-size: 1rem; font-weight: 600; color: var(--text); }

/* Der leuchtende Balken am Schluss */
.leucht {
  min-height: 54px; padding: 0 30px; background: var(--navy); color: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: -16px 12px 30px -12px rgba(242, 154, 74, .8), 0 14px 30px -10px rgba(212, 38, 126, .6), 16px 12px 30px -12px rgba(123, 59, 255, .8);
  transition: background .25s var(--aus), transform .25s var(--aus), box-shadow .35s var(--aus);
}
.leucht:hover {
  background: #0A3566;
  box-shadow: -20px 14px 36px -10px rgba(242, 154, 74, .95), 0 18px 36px -8px rgba(212, 38, 126, .75), 20px 14px 36px -10px rgba(123, 59, 255, .95);
}

/* Sprechen */
.sprechschritt .innen { display: grid; }
.sprech, .folge { grid-area: 1 / 1; }
.sprech {
  align-self: center; text-align: center;
  transition: opacity .7s var(--aus), filter .7s var(--aus), transform .9s var(--aus), visibility 0s linear .7s;
}
.ansage { font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 500; color: var(--text-2); }
.satz { margin-top: 12px; }
.satz button {
  display: inline; text-align: center;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem); font-weight: 700; line-height: 1.14; letter-spacing: -.028em;
  text-wrap: balance; border-radius: 12px;
}
.satz .w { opacity: .46; transition: opacity .3s var(--aus); }
.satz .w.an { opacity: 1; }
.aktiv.folgt .sprech { opacity: 0; filter: blur(22px); transform: scale(1.08); visibility: hidden; pointer-events: none; }

/* Folgerungen */
.js .folge { visibility: hidden; }
.js .aktiv.folgt .folge { visibility: visible; }
.gesagt { font-size: 15px; color: var(--text-2); }
.gesagt u {
  text-decoration: none; color: var(--text); font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 3px;
}
.folge h2 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em;
  text-wrap: balance; outline: none;
}
.abl { margin-top: clamp(18px, 3vh, 28px); border-top: 1px solid var(--linie); }
.abl li {
  display: grid; grid-template-columns: 172px 1fr; gap: 6px 28px;
  padding: 16px 0 17px; border-bottom: 1px solid var(--linie);
}
.tf { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--text-3); padding-top: 3px; }
.neu { font-size: clamp(1.04rem, 1.3vw, 1.16rem); font-weight: 600; line-height: 1.42; letter-spacing: -.008em; text-wrap: pretty; }
.weil { margin-top: 5px; font-size: 14px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.weg .neu { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: currentColor; color: var(--text-3); }
.weg .weil { color: var(--text); }
.bleibt { margin-top: 18px; font-size: 1.04rem; font-weight: 600; }

/* Auftritt der Folgerungen, eine nach der anderen */
.js .gesagt, .js .folge h2, .js .abl li, .js .bleibt {
  opacity: 0; transform: translateY(16px); filter: blur(10px);
  transition: opacity .8s var(--aus), transform .9s var(--aus), filter .8s var(--aus);
}
.js .gesagt u { background-size: 0 2px; transition: background-size .9s var(--aus) .5s; }
.js .abl { border-top-color: transparent; transition: border-color .8s var(--aus) .5s; }
.js .weg .neu { text-decoration-color: transparent; color: var(--text); transition: text-decoration-color .7s var(--aus) 1.5s, color .7s var(--aus) 1.5s; }
.js .weg .weil { opacity: 0; transition: opacity .7s var(--aus) 1.9s; }
.js .folgt .gesagt, .js .folgt .folge h2, .js .folgt .abl li, .js .folgt .bleibt { opacity: 1; transform: none; filter: none; }
.js .folgt .gesagt u { background-size: 100% 2px; }
.js .folgt .abl { border-top-color: var(--linie); }
.js .folgt .weg .neu { text-decoration-color: currentColor; color: var(--text-3); }
.js .folgt .weg .weil { opacity: 1; }
.js .folgt .gesagt { transition-delay: .25s; }
.js .folgt .folge h2 { transition-delay: .4s; }
.js .folgt .abl li:nth-child(1) { transition-delay: .75s; }
.js .folgt .abl li:nth-child(2) { transition-delay: 1.15s; }
.js .folgt .abl li:nth-child(3) { transition-delay: 1.55s; }
.js .folgt .abl li:nth-child(4) { transition-delay: 1.95s; }
.js .folgt .bleibt { transition-delay: 2.5s; }

/* Leiste unten */
.leiste {
  position: fixed; z-index: 3; left: 0; right: 0; bottom: max(26px, env(safe-area-inset-bottom));
  display: grid; justify-items: center; pointer-events: none;
}
.leiste .pille { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: opacity .5s var(--aus), transform .6s var(--aus), background .25s var(--aus), visibility 0s linear .5s; }
[data-lage="hoert"] .sprich, [data-lage="folgt"] .weiter {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .6s var(--aus) .5s, transform .7s var(--aus) .5s, background .25s var(--aus), visibility 0s;
}
[data-lage="folgt"] .weiter { transition-delay: 1.6s, 1.6s, 0s, 0s; }
.sprich { min-height: 54px; padding: 0 24px 0 8px; gap: 12px; background: rgba(27, 17, 102, .3); }
.sprich:hover { background: rgba(27, 17, 102, .42); }
.mikro {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--indigo);
}
.mikro::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff;
  opacity: calc(.34 * var(--pegel)); transform: scale(calc(1 + 1.1 * var(--pegel)));
}
.mikro svg { position: relative; }
.weiter { min-height: 54px; padding: 0 22px 0 28px; }

.spring {
  position: fixed; z-index: 3; left: var(--rand); bottom: max(33px, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity .5s var(--aus), visibility 0s linear .5s, background .25s var(--aus);
}
[data-lage="hoert"] .spring, [data-lage="folgt"] .spring { opacity: 1; visibility: visible; transition-delay: .5s, 0s, 0s; }

/* Fuß */
.fuss {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  padding: 22px var(--rand) max(22px, env(safe-area-inset-bottom));
  font-size: 13px; color: var(--text-3);
}
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.recht { display: flex; gap: 20px; }
.js .fuss { position: fixed; left: 0; right: 0; bottom: 0; transition: opacity .5s var(--aus), visibility 0s linear .5s, color .8s var(--aus); }
[data-lage="hoert"] .fuss, [data-lage="folgt"] .fuss { opacity: 0; visibility: hidden; }

/* Schmale Schirme */
@media (max-width: 720px) {
  .kopf { min-height: 68px; display: flex; justify-content: space-between; }
  .marke, .logo { width: 125px; height: 25px; }
  .js .schritt { padding-top: 108px; padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
  .folge h2 { font-size: 1.5rem; }
  .js .sprechschritt {
    -webkit-mask-image: linear-gradient(to bottom, transparent 78px, #000 112px, #000 calc(100% - 118px), transparent calc(100% - 74px));
    mask-image: linear-gradient(to bottom, transparent 78px, #000 112px, #000 calc(100% - 118px), transparent calc(100% - 74px));
  }
  .abl li { grid-template-columns: 1fr; gap: 4px; padding: 13px 0 14px; }
  .tf { padding-top: 0; font-size: 12.5px; }
  .wahl { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .spring { left: auto; right: var(--rand); bottom: auto; top: max(18px, env(safe-area-inset-top)); margin-top: 6px; }
  [data-lage="hoert"] .kontakt, [data-lage="folgt"] .kontakt { opacity: 0; visibility: hidden; }
  .stand { position: fixed; left: var(--rand); top: calc(max(18px, env(safe-area-inset-top)) + 54px); }
  .stand i { width: 20px; }
  .fuss { justify-content: center; text-align: center; font-size: 12.5px; }
}
@media (max-height: 620px) and (min-width: 721px) {
  .js .schritt { padding-top: 84px; padding-bottom: 104px; }
}

/* Weniger Bewegung: nichts fließt, nichts fährt ein */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
.still *, .still *::before, .still *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
