/* ==================================================================
   LUX Agency · Marketing Hiring Funnel
   Mobile first. Alle Basiswerte gelten fuers Handy, groessere
   Viewports kommen ueber min-width dazu.

   Design aus bewerbung.lux-agency.com: Poppins und Inter, Creme-Grund,
   LUX-Rosa als einzige Akzentfarbe, CTAs mit 8px Radius, Line-Art-Icons.

   Bewegung nach Markenvorgabe: Glow Line in Rosa, weiche Fades,
   Slide-in mit Struktur. Ausdruecklich kein schnelles Geschnipsel,
   die Marke verkauft Ruhe und Kontrolle. Lange Dauern, ruhige Kurven,
   nichts huepft.
   ================================================================== */

:root {
  --rosa:       #FF8ABD;
  --rosa-deep:  #B8486D;
  --rosa-tint:  #FFF1F6;
  --rosa-line:  #FBDCE8;
  --black:      #101010;
  --cream:      #FFF8F4;
  --paper:      #FFFDFC;
  --stone:      #E8E2DE;
  --ink:        #5A5450;
  --ink-light:  #8B8480;

  --r:     8px;
  --r-md:  14px;
  --r-lg:  22px;

  --head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pad:  20px;
  --maxw: 640px;

  /* Eine Kurve fuer alles, damit sich die Seite wie ein Stueck anfuehlt */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);

  --shadow-sm: 0 1px 2px rgba(16,16,16,.03), 0 2px 8px -4px rgba(16,16,16,.06);
  --shadow-md: 0 2px 4px rgba(16,16,16,.04), 0 14px 32px -18px rgba(16,16,16,.18);
  --shadow-lg: 0 4px 8px rgba(16,16,16,.04), 0 28px 60px -28px rgba(16,16,16,.24);
  --shadow-cta: 0 6px 20px -8px rgba(184,72,109,.5);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 14px;
  text-wrap: balance;
}

h1 { font-size: 32px; }
h2 { font-size: 25px; }
h3 { font-size: 18px; letter-spacing: -0.012em; }

p { margin: 0 0 16px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
strong { font-weight: 600; }
img { max-width: 100%; display: block; }

::selection { background: var(--rosa); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--rosa-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Lesefortschritt, die Glow Line ---------- */

.readbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--rosa-deep), var(--rosa));
  box-shadow: 0 0 12px rgba(255,138,189,.75);
  transition: width .12s linear, opacity .4s var(--ease);
  opacity: 0;
  pointer-events: none;
}

.readbar.on { opacity: 1; }

/* ---------- Icons ---------- */

.ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
}

.ico--sm { width: 18px; height: 18px; }
.ico--lg { width: 26px; height: 26px; }

.ibox {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--rosa-tint);
  color: var(--rosa-deep);
  border: 1px solid var(--rosa-line);
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease);
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding-block: 44px; }

.section--band {
  position: relative;
  background: var(--paper);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

/* Hauchduenne Rosa-Linie auf der Bandkante statt harter Trennung */
.section--band::before,
.section--band::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rosa-line) 22%, var(--rosa-line) 78%, transparent);
  pointer-events: none;
}

.section--band::before { top: -1px; }
.section--band::after  { bottom: -1px; }

.sec-head { margin-bottom: 24px; }
.sec-head h2 { margin-bottom: 8px; }
.sec-head p { color: var(--ink); font-size: 15px; }

/* Kleiner Rosa-Strich ueber der Ueberschrift, waechst beim Einblenden */
.sec-head::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--rosa-deep), var(--rosa));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .7s var(--ease) .15s;
}

.seen .sec-head::before { transform: scaleX(1); }

/* ---------- Topbar ---------- */

.topbar {
  padding: 22px 0 4px;
  display: flex;
  justify-content: center;
}

.topbar img { width: 46px; height: auto; }

/* Marke. Das statische SVG ist sofort da, das Video blendet sich
   darueber, sobald es wirklich laeuft. So gibt es nie ein Loch.

   Zwei Eigenheiten der Datei, die hier ausgeglichen werden:
   1. Sie ist 1280x852, die Marke fuellt davon nur 39% der Breite.
      Deshalb wird das Video auf 260% vergroessert und der Rand
      abgeschnitten, sonst waere die Marke winzig.
   2. Der Videogrund ist fast weiss, MP4 kann keine Transparenz.
      mix-blend-mode multiply laesst ihn auf dem Creme-Grund
      verschwinden und haelt die dunkle Marke. */
.mark {
  position: relative;
  width: 46px;
  height: 38px;
  overflow: hidden;
  animation: markIn 1s var(--ease) both;
}

.mark__still {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: auto;
  transition: opacity .5s var(--ease);
}

.mark__anim {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  height: auto;
  /* Die Marke sitzt im Bild leicht ueber der Mitte, daher der Versatz */
  transform: translate(-50%, -50%) translateY(3px);
  opacity: 0;
  mix-blend-mode: multiply;
  background: transparent;
  border: 0;
  outline: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}

.mark.playing .mark__anim  { opacity: 1; }
.mark.playing .mark__still { opacity: 0; }

.mark__anim::-webkit-media-controls,
.mark__anim::-webkit-media-controls-panel,
.mark__anim::-webkit-media-controls-start-playback-button { display: none !important; }

@keyframes markIn {
  from { opacity: 0; transform: translateY(-6px) scale(.94); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 15px 26px;
  border: 0;
  border-radius: var(--r);
  background: var(--rosa);
  color: var(--black);
  font-family: var(--head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-cta);
  transition: transform .25s var(--ease-soft), box-shadow .35s var(--ease), background .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

/* Langsamer Lichtstreif beim Hover, kein Blitzen */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}

.btn .ico { transition: transform .35s var(--ease-soft); position: relative; z-index: 1; }

.btn:hover {
  background: #FF9BC7;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(184,72,109,.62);
}

.btn:hover::after { transform: translateX(120%); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .1s; }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; }

.btn--ghost {
  background: transparent;
  border: 1px solid var(--stone);
  box-shadow: none;
  font-weight: 500;
  color: var(--ink);
}

.btn--ghost::after { display: none; }
.btn--ghost:hover {
  background: var(--paper);
  border-color: #D8D0CB;
  box-shadow: none;
  transform: none;
}

@media (min-width: 560px) {
  .btn { width: auto; }
  .btn--block { width: 100%; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: 12px 8px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -170px;
  left: 50%;
  width: 460px;
  height: 340px;
  margin-left: -230px;
  background: radial-gradient(ellipse at center, rgba(255,138,189,.32), rgba(255,138,189,0) 68%);
  pointer-events: none;
  z-index: 0;
  animation: glow 14s var(--ease-soft) infinite alternate;
}

/* Der Glow atmet sehr langsam. Ruhe, kein Effekt. */
@keyframes glow {
  from { transform: translate3d(0, 0, 0) scale(1);       opacity: .85; }
  to   { transform: translate3d(0, 14px, 0) scale(1.08); opacity: 1; }
}

.hero > * { position: relative; z-index: 1; }

/* Auftritt beim Laden, gestaffelt von oben nach unten */
.hero .pill,
.hero h1,
.hero .lead,
.hero > .btn,
.hero .facts { animation: riseIn .9s var(--ease) both; }

.hero .pill  { animation-delay: .05s; }
.hero h1     { animation-delay: .15s; }
.hero .lead  { animation-delay: .27s; }
.hero > .btn { animation-delay: .39s; }
.hero .facts { animation-delay: .51s; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--stone);
  box-shadow: var(--shadow-sm);
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.pill .ico { width: 15px; height: 15px; color: var(--rosa-deep); }

.hero h1 { margin-bottom: 14px; }

.hero .lead {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 24px;
}

/* Eckdaten */

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--r-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.facts .ico {
  color: var(--rosa-deep);
  margin-bottom: 9px;
  transition: transform .4s var(--ease-soft);
}

.facts .k {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 2px;
}

.facts .v {
  display: block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ---------- Icon-Listen ---------- */

.ilist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }

.ilist li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.ilist .t {
  display: block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.012em;
  margin-bottom: 2px;
}

.ilist .d { display: block; color: var(--ink); font-size: 15px; }

/* Tagesablauf mit Verbindungslinie, die beim Scrollen einwaechst */

.rail { position: relative; }

.rail::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, var(--rosa), var(--rosa-line) 60%, var(--stone));
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.1s var(--ease) .3s;
}

.seen .rail::before { transform: scaleY(1); }

.rail li { position: relative; }
.rail .ibox { position: relative; z-index: 1; }

/* Negativliste */

.nolist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.nolist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px dashed var(--stone);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 15px;
  background: rgba(255,255,255,.5);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}

.nolist li:hover { border-color: #D5CCC7; background: rgba(255,255,255,.85); }
.nolist .ico { color: var(--ink-light); width: 18px; height: 18px; }

/* ---------- Prozess-Schritte ---------- */

.steps { display: grid; gap: 12px; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

/* Rosa Kante, die beim Hover hereinfaehrt */
.step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rosa-deep), var(--rosa));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .5s var(--ease);
}

.step .ibox { background: var(--black); color: var(--rosa); border-color: var(--black); }

.step .n {
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--rosa-deep);
  display: block;
  margin-bottom: 4px;
}

.step h3 { margin-bottom: 5px; }
.step p { color: var(--ink); font-size: 15px; }

/* ---------- Abschluss ---------- */

.cta-block { text-align: center; padding-block: 48px 40px; }
.cta-block h2 { margin-bottom: 10px; }
.cta-block p { color: var(--ink); margin-bottom: 26px; }

/* Klebender CTA auf dem Handy */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,248,244,.94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid var(--stone);
  transform: translateY(115%);
  transition: transform .5s var(--ease);
}

.sticky-cta.on { transform: none; }
.sticky-cta .btn { width: 100%; }

@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--stone);
  padding: 22px 0 calc(30px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--ink-light);
  text-align: center;
}

.footer a {
  margin: 0 7px;
  text-decoration: none;
  transition: color .3s var(--ease);
}

.footer a:hover { color: var(--black); }

/* ================================================================
   Quiz
   ================================================================ */

.quiz-shell { min-height: 100dvh; display: flex; flex-direction: column; }

.progress {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,248,244,.9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(232,226,222,.7);
  padding: 12px 0 10px;
}

.progress .inner { display: flex; align-items: center; gap: 12px; }
.progress img { width: 30px; flex: 0 0 auto; }

.progress__track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--stone);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 5%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rosa-deep), var(--rosa));
  box-shadow: 0 0 10px rgba(255,138,189,.65);
  transition: width .6s var(--ease);
}

.progress__label {
  flex: 0 0 auto;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-light);
  min-width: 62px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.quiz-main { flex: 1; padding: 26px 0 32px; }
.card { width: 100%; }

/* Kopf der Frage */

.q-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.q-kicker {
  font-family: var(--head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--rosa-deep);
}

.q-title {
  font-family: var(--head);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 0 0 10px;
  text-wrap: balance;
}

.q-help { color: var(--ink); font-size: 15px; margin: 0 0 20px; }

.q-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--rosa-tint);
  border: 1px solid var(--rosa-line);
  border-radius: var(--r-md);
  padding: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #7C4257;
  margin: 0 0 22px;
}

.q-note .ico { color: var(--rosa-deep); width: 18px; height: 18px; margin-top: 1px; }

/* Felder */

.field { margin-bottom: 12px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.input, .textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--stone);
  border-radius: var(--r);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder, .textarea::placeholder { color: #B6AFAA; }

.input:focus, .textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--rosa);
  box-shadow: 0 0 0 3px rgba(255,138,189,.22);
}

.textarea { min-height: 190px; resize: vertical; }

/* Datei */

.filebox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px dashed #D5CCC7;
  border-radius: var(--r);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .2s var(--ease-soft);
}

.filebox:hover { border-color: var(--rosa); background: #fff; }
.filebox:active { transform: scale(.995); }
.filebox input { position: absolute; width: 0; height: 0; opacity: 0; }
.filebox .ico { color: var(--rosa-deep); }
.filebox .fl { font-size: 15px; color: var(--ink); }
.filebox.has { border-style: solid; border-color: var(--rosa); background: var(--rosa-tint); }
.filebox.has .fl { color: var(--black); font-weight: 500; }

.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--stone); }

.counter {
  font-size: 12px;
  color: var(--ink-light);
  text-align: right;
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
  transition: color .3s var(--ease);
}

.counter.ok { color: var(--rosa-deep); }

/* Auswahl */

.limit-note { font-size: 13px; color: var(--ink-light); margin: 0 0 12px; }

.options { display: grid; gap: 9px; }

.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--stone);
  border-radius: var(--r-md);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              transform .2s var(--ease-soft), box-shadow .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.option:hover { border-color: #D8D0CB; background: #fff; }
.option:active { transform: scale(.99); transition-duration: .08s; }

.option input { position: absolute; width: 0; height: 0; opacity: 0; }

.option .box {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border: 1.5px solid #D0C8C3;
  border-radius: 50%;
  position: relative;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.option--multi .box { border-radius: 6px; }

.option .box::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: var(--rosa);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s var(--ease), transform .3s cubic-bezier(.34,1.4,.64,1);
}

.option input:checked ~ .box { border-color: var(--rosa); }
.option input:checked ~ .box::after { opacity: 1; transform: scale(1); }

.option:has(input:checked) {
  border-color: var(--rosa);
  background: var(--rosa-tint);
  box-shadow: 0 0 0 1px var(--rosa), 0 6px 18px -12px rgba(184,72,109,.5);
}

.option:has(input:checked) .txt { font-weight: 600; }
.option:focus-within { box-shadow: 0 0 0 3px rgba(255,138,189,.24); }
.option .txt { font-size: 16px; line-height: 1.35; }

/* Antworten laufen leicht versetzt ein */
.options > .option { animation: optIn .45s var(--ease) both; }
.options > .option:nth-child(1) { animation-delay: .04s; }
.options > .option:nth-child(2) { animation-delay: .09s; }
.options > .option:nth-child(3) { animation-delay: .14s; }
.options > .option:nth-child(4) { animation-delay: .19s; }
.options > .option:nth-child(5) { animation-delay: .24s; }
.options > .option:nth-child(6) { animation-delay: .29s; }
.options > .option:nth-child(7) { animation-delay: .34s; }
.options > .option:nth-child(8) { animation-delay: .39s; }
.options > .option:nth-child(9) { animation-delay: .44s; }

@keyframes optIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Reel-Aufgabe */

.reels { display: grid; gap: 10px; margin: 0 0 18px; }

.reel {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--stone);
  border-radius: var(--r-md);
  background: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color .35s var(--ease), transform .35s var(--ease-soft), box-shadow .35s var(--ease);
}

.reel:hover {
  border-color: var(--rosa);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.reel:hover .ibox { transform: scale(1.06); }
.reel:hover .go { transform: translateX(4px); color: var(--rosa-deep); }

.reel .ibox { background: var(--black); color: var(--rosa); border-color: var(--black); }
.reel .lbl { display: block; font-family: var(--head); font-weight: 600; font-size: 16px; }
.reel .sub { display: block; font-size: 13px; color: var(--ink-light); }
.reel .go {
  margin-left: auto;
  color: var(--ink-light);
  transition: transform .35s var(--ease-soft), color .35s var(--ease);
}

@media (min-width: 560px) { .reels { grid-template-columns: 1fr 1fr; } }

/* Navigation */

.nav { display: flex; gap: 10px; align-items: center; margin-top: 24px; }
.nav .btn { flex: 1; }

.nav .back {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stone);
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.nav .back:hover { background: var(--paper); border-color: #D8D0CB; }
.nav .back .ico { transform: rotate(180deg); transition: transform .35s var(--ease-soft); }
.nav .back:hover .ico { transform: rotate(180deg) translateX(3px); }

.err {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #A8231E;
  font-size: 14px;
  margin-top: 12px;
  min-height: 22px;
  animation: nudge .45s var(--ease) both;
}

.err:empty { margin-top: 0; min-height: 0; animation: none; }

/* Ein kurzer Stups, kein Zittern */
@keyframes nudge {
  0%   { opacity: 0; transform: translateX(-5px); }
  60%  { transform: translateX(2px); }
  100% { opacity: 1; transform: none; }
}

/* Endseiten */

.end { text-align: center; padding: 30px 0; }

.end .seal {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rosa-tint);
  border: 1px solid var(--rosa-line);
  color: var(--rosa-deep);
  animation: sealIn .9s var(--ease-soft) both;
}

@keyframes sealIn {
  0%   { opacity: 0; transform: scale(.82); box-shadow: 0 0 0 0 rgba(255,138,189,.5); }
  60%  { box-shadow: 0 0 0 18px rgba(255,138,189,0); }
  100% { opacity: 1; transform: none; box-shadow: 0 0 0 0 rgba(255,138,189,0); }
}

.end .seal .ico { width: 30px; height: 30px; }

.end .seal--mute {
  background: var(--paper);
  border-color: var(--stone);
  color: var(--ink-light);
  animation-name: sealInMute;
}

@keyframes sealInMute {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: none; }
}

.end .q-title { margin-bottom: 12px; }
.end p { color: var(--ink); }
.end .btn { margin-top: 20px; }

.cal-embed {
  margin: 24px 0 6px;
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.cal-embed iframe { width: 100%; height: 620px; border: 0; display: block; }

/* Consent */

.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  max-width: 520px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  animation: rise .6s var(--ease) .4s both;
}

.consent h3 { font-size: 15px; margin-bottom: 6px; }
.consent .row { display: flex; gap: 9px; margin-top: 14px; }
.consent .row .btn { flex: 1; min-height: 44px; padding: 10px 14px; font-size: 14px; }

/* ================================================================
   Bewegung
   ================================================================ */

/* Schrittwechsel im Quiz, richtungsabhaengig */
.step-fwd  { animation: slideFwd  .5s var(--ease) both; }
.step-back { animation: slideBack .5s var(--ease) both; }

@keyframes slideFwd {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to   { opacity: 1; transform: none; }
}

@keyframes slideBack {
  from { opacity: 0; transform: translate3d(-24px, 0, 0); }
  to   { opacity: 1; transform: none; }
}

.fade-in { animation: rise .5s var(--ease) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Abschnitte beim Scrollen */
.reveal { opacity: 0; transform: translateY(20px); }

.reveal.seen {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

/* Karten und Zeilen laufen versetzt hinterher */
.stagger > * { opacity: 0; transform: translateY(14px); }

.seen .stagger > * {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.seen .stagger > *:nth-child(1) { transition-delay: .10s; }
.seen .stagger > *:nth-child(2) { transition-delay: .19s; }
.seen .stagger > *:nth-child(3) { transition-delay: .28s; }
.seen .stagger > *:nth-child(4) { transition-delay: .37s; }
.seen .stagger > *:nth-child(5) { transition-delay: .46s; }
.seen .stagger > *:nth-child(6) { transition-delay: .55s; }

/* Notbremse. Setzt das Skript, wenn der Observer nicht ausloest. Macht
   alles ohne Uebergang sichtbar, damit das Einblenden nicht selbst an
   einer Animation haengt, die gerade nicht laeuft. */
.no-anim .reveal,
.no-anim .stagger > *,
.no-anim .options > .option {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.no-anim .sec-head::before { transform: scaleX(1) !important; transition: none !important; }
.no-anim .rail::before     { transform: scaleY(1) !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .stagger > *, .options > .option { opacity: 1 !important; transform: none !important; }
  .sec-head::before { transform: scaleX(1) !important; }
  .rail::before { transform: scaleY(1) !important; }
  .readbar { display: none; }
  .mark.playing .mark__still { opacity: 1; }
  .mark.playing .mark__anim  { opacity: 0; }
}

/* ================================================================
   Ab Tablet
   ================================================================ */

@media (min-width: 640px) {
  :root { --pad: 32px; }

  h1 { font-size: 44px; }
  h2 { font-size: 31px; }
  h3 { font-size: 19px; }

  .topbar { padding: 30px 0 6px; }
  .topbar img { width: 54px; }
  .mark { width: 54px; height: 44px; }
  .mark__still { width: 54px; }

  .section { padding-block: 64px; }
  .sec-head { margin-bottom: 30px; }

  .hero { padding-block: 20px 10px; }
  .hero .lead { font-size: 18px; max-width: 30em; }

  .facts { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .facts li { padding: 16px; }

  .ilist { gap: 18px; }
  .steps { gap: 14px; }
  .step { padding: 22px; }

  .q-title { font-size: 30px; }
  .q-help { font-size: 16px; }
  .quiz-main { padding: 40px 0 48px; }
  .textarea { min-height: 210px; }
  .end { padding: 46px 0; }
}

/* ================================================================
   Ab Desktop
   ================================================================ */

@media (min-width: 900px) {
  h1 { font-size: 52px; }

  .hero { padding-block: 28px 12px; text-align: center; }
  .hero .facts li { text-align: left; }
  .hero::before { width: 720px; height: 440px; top: -220px; margin-left: -360px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .facts { margin-top: 34px; }

  .sec-head { text-align: center; }
  .sec-head::before { margin-left: auto; margin-right: auto; transform-origin: center; }
  .sec-head p { max-width: 34em; margin-left: auto; margin-right: auto; }

  .section { padding-block: 76px; }

  /* Tiefe nur dort, wo eine Maus sie ausloesen kann */
  .step:hover {
    border-color: #E0D8D3;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  .step:hover::before { transform: scaleY(1); }
  .step:hover .ibox { transform: scale(1.06); }

  .facts li:hover {
    transform: translateY(-3px);
    border-color: #DFD8D3;
    box-shadow: var(--shadow-md);
  }

  .facts li:hover .ico { transform: scale(1.12); }
  .ilist li:hover .ibox { transform: scale(1.06); }
}
