/* =============================================================================
 * DCI Quiz-Funnel · Styles v2 "DCI-Look" (Smartphone-First!)
 * -----------------------------------------------------------------------------
 * Design-Sprache: DCI-Website (Gordita, Blau #1B39CA, Orange #FF6E18,
 * Pill-Buttons) + Muster aus dem neuen DCI-Design (Stats-Karten, Tool-Chips,
 * Absolventen-Leiste, Zertifikats-Trust) + moderne Quiz-UX-Effekte.
 * ========================================================================== */

/* ---- DCI-Hausschrift Gordita (selbst gehostet, /assets/fonts/) ------------- */
@font-face {
  font-family: 'Gordita';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/gordita.woff') format('woff');
}
@font-face {
  font-family: 'Gordita';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/gordita-bold.woff') format('woff');
}
@font-face {
  font-family: 'Gordita';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/gordita-black.woff') format('woff');
}

:root {
  --blue: #1b39ca;
  --blue-dark: #152ba0;
  --blue-100: #d7deff;
  --blue-50: #eef2ff;
  --orange: #ff6e18;
  --orange-dark: #e85f0c;
  --orange-50: #fff3ea;
  --navy: #0e1748;
  --ink: #15171f;
  --muted: #5c6275;
  --line: #e7e9f2;
  --surf: #f4f5fa;
  --white: #ffffff;
  --danger: #d92d20;

  --radius: 16px;
  --radius-sm: 12px;
  --pill: 999px;
  --maxw: 640px;

  --font: 'Gordita', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* Das hidden-Attribut muss explizit gesetzte display-Werte schlagen. */
[hidden] {
  display: none !important;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Smartphone-First: kein Tap-Flash, sofortige Reaktion beim Antippen. */
button,
a,
input,
label {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

/* ============================================================================
 * KOPFZEILE + FORTSCHRITT
 * ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 18px;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.back-btn {
  margin-left: auto;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  border-radius: var(--pill);
  padding: 8px 15px 8px 11px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: border-color 0.15s, color 0.15s;
}
.back-btn:hover {
  border-color: var(--blue-100);
  color: var(--ink);
}

.progress {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px 12px;
}
.progress__track {
  height: 8px;
  background: var(--blue-100);
  border-radius: var(--pill);
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 140%);
  border-radius: var(--pill);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
/* Shimmer-Effekt auf dem Fortschrittsbalken */
.progress__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 2.4s ease-in-out infinite;
}
@keyframes shimmer {
  60%,
  100% {
    transform: translateX(100%);
  }
}
.progress__label {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ============================================================================
 * LAYOUT / SCREENS
 * ========================================================================== */
.main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px 40px;
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}

.screen {
  animation: screen-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.screen--start {
  animation-name: screen-in-up;
}
@keyframes screen-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Partikel-Burst beim Antworten */
.burst {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  width: 0;
  height: 0;
}
.burst__p {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: rotate(var(--angle)) translateY(0);
  animation: burst-fly 0.55s cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
}
@keyframes burst-fly {
  to {
    transform: rotate(var(--angle)) translateY(-46px) scale(0.3);
    opacity: 0;
  }
}

h1,
h2 {
  outline: none;
}

.section-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.section-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 24px;
}

/* ============================================================================
 * STARTSEITE · HERO
 * ========================================================================== */
.screen--start {
  /* volle Breite für die Sektionshintergründe */
  margin: 0 calc(50% - 50vw);
}
.screen--start > section {
  padding-left: max(18px, calc(50vw - var(--maxw) / 2 + 18px));
  padding-right: max(18px, calc(50vw - var(--maxw) / 2 + 18px));
}

.hero {
  position: relative;
  padding-top: 40px;
  padding-bottom: 52px;
  background: linear-gradient(180deg, var(--blue-50) 0%, #f8faff 70%, var(--white) 100%);
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 46% 54% 55% 45% / 48% 44% 56% 52%;
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}
.hero__blob--orange {
  width: 190px;
  height: 190px;
  right: -80px;
  top: -60px;
  background: radial-gradient(circle at 35% 35%, #ffd9be, #ffab72);
  opacity: 0.32;
  filter: blur(18px);
  animation: blob-float 11s ease-in-out infinite alternate;
}
.hero__blob--blue {
  width: 170px;
  height: 170px;
  left: -80px;
  bottom: -70px;
  background: radial-gradient(circle at 60% 40%, #c8d3ff, var(--blue-100));
  opacity: 0.4;
  filter: blur(16px);
  animation: blob-float 13s ease-in-out infinite alternate-reverse;
}
@keyframes blob-float {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(16px) rotate(9deg);
  }
}

.sparkle {
  position: absolute;
  color: #f3b64c;
  z-index: 1;
  pointer-events: none;
  animation: sparkle-pulse 2.6s ease-in-out infinite;
}
.sparkle--1 {
  top: 26px;
  left: 8%;
  font-size: 22px;
}
.sparkle--2 {
  display: none;
}
@keyframes sparkle-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(18deg);
  }
}

.hero > *:not(.hero__blob):not(.sparkle) {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--white);
  border: 1.5px solid var(--blue-100);
  padding: 7px 14px;
  border-radius: var(--pill);
  margin-bottom: 16px;
}

.hero__title {
  font-size: 33px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 12px;
}
.hero__accent {
  color: var(--orange);
}
.hero__accent.typing::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 2px;
  vertical-align: -0.1em;
  background: var(--orange);
  animation: caret 0.8s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

.hero__sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 46ch;
}

.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
}
.badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 7px 13px;
  border-radius: var(--pill);
}

.hero__note {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* ---- Interesse-Frage im Hero (Nein/Ja-Kacheln wie im Perspective-Funnel) ---- */
.interest {
  background: var(--white);
  border: none;
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 18px 50px rgba(14, 23, 72, 0.14);
}
.interest--pulse {
  animation: interest-pulse 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes interest-pulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.03);
    box-shadow: 0 0 0 6px rgba(255, 110, 24, 0.25);
  }
  100% {
    transform: scale(1);
  }
}
.interest__q {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 18px;
}
/* CRO-Hierarchie: Ja dominant (orange, groß), Nein dezent (outline, schmal) */
.interest__tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.interest-tile {
  font-family: inherit;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.08s, border-color 0.15s;
}
.interest-tile:active {
  transform: scale(0.97);
}
.interest-tile--yes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 21px 16px;
  font-size: 19px;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(180deg, #ff8a3d 0%, var(--orange) 45%, #f25c05 100%);
  border: none;
  box-shadow: 0 10px 28px rgba(242, 92, 5, 0.45);
  animation: cta-glow 2.4s ease-in-out infinite;
}
@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(242, 92, 5, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 38px rgba(242, 92, 5, 0.62);
    transform: scale(1.012);
  }
}
.interest-tile--yes:hover {
  background: var(--orange-dark);
}
.interest-tile--no {
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 1.5px solid var(--line);
}
.interest-tile--no:hover {
  color: var(--ink);
  border-color: var(--blue-100);
}
.interest-tile__icon {
  font-size: 24px;
  line-height: 1;
}

/* ============================================================================
 * BUTTONS (Pill-Stil wie auf der DCI-Website)
 * ========================================================================== */
.btn-pill {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  border-radius: var(--pill);
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.15s, transform 0.08s, box-shadow 0.2s, opacity 0.15s;
}
.btn-pill--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255, 110, 24, 0.35);
}
.btn-pill--primary:hover {
  background: var(--orange-dark);
}
.btn-pill--primary:active {
  transform: scale(0.98);
}
.btn-pill--big {
  width: 100%;
  font-size: 17.5px;
  padding: 17px 28px;
}
.btn-pill--block {
  display: flex;
  width: 100%;
  margin-top: 20px;
}
.btn-pill--ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--line);
  font-size: 14.5px;
  padding: 13px 20px;
  box-shadow: none;
}
.btn-pill--ghost:hover {
  color: var(--ink);
  border-color: var(--blue-100);
}
.btn-pill:disabled,
.btn-pill--loading {
  opacity: 0.7;
  cursor: progress;
}
.btn-pill__arrow {
  transition: transform 0.18s;
}
.btn-pill:hover .btn-pill__arrow {
  transform: translateX(4px);
}


/* ============================================================================
 * TRUST / ZERTIFIKATE
 * ========================================================================== */
.trust {
  padding-top: 44px;
  padding-bottom: 44px;
  background: var(--white);
}

/* Einheitliche Trust-Cards: gleiche Breite, gleiche Optik, Icon links */
.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 72px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 18px;
}
.trust-card__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--surf);
  border-radius: 12px;
}
.trust-card__icon--emoji {
  font-size: 22px;
}
.trust-card__icon img {
  display: block;
  width: 38px;
  height: auto;
}
.trust-card__icon svg {
  width: 26px;
  height: 26px;
}
.trust-card__body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.trust-card__top {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--navy);
}
.trust-card__top b {
  font-weight: 900;
}
.trust-card__sub {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

.g-rating__stars {
  position: relative;
  display: inline-block;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
}
.g-rating__stars-bg {
  color: #dde0ea;
}
.g-rating__stars-fg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #fbbc05;
}

/* ============================================================================
 * STATS (große blaue Zahlen — aus dem neuen DCI-Design)
 * ========================================================================== */
.stats {
  padding-top: 0;
  padding-bottom: 48px;
  background: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(27, 57, 202, 0.06);
  padding: 26px 22px;
}
.stat-card__value {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin-bottom: 8px;
  white-space: nowrap; /* "40.000 €" darf nie umbrechen (Desktop-Fix) */
}
.stat-card__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.stats__note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 10px 0 0;
}

/* ============================================================================
 * FAKTEN ("Keine Vorkenntnisse? Kein Problem!")
 * ========================================================================== */
.facts {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--surf);
}
.facts__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fact {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.fact__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--white);
  border: 1.5px solid var(--blue-100);
  border-radius: 12px;
}
.fact__text {
  margin: 3px 0 0;
  font-size: 15.5px;
  line-height: 1.45;
}
.fact__text b {
  color: var(--navy);
}

/* ============================================================================
 * TOOLS & ZERTIFIKATE (Chips — aus dem neuen DCI-Design)
 * ========================================================================== */
.tools {
  padding-top: 44px;
  padding-bottom: 8px;
  background: var(--surf);
}
.tools__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tool-chip {
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: var(--white);
}
.tool-chip--solid {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.tool-chip--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ============================================================================
 * ABSOLVENTEN-ARBEITGEBER
 * ========================================================================== */
.alumni {
  padding-top: 40px;
  padding-bottom: 48px;
  background: var(--surf);
}
.alumni__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.alumni__mark {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--blue);
  opacity: 0.92;
  white-space: nowrap;
}
.alumni__logo {
  height: 22px;
  width: auto;
  display: block;
}
/* Gestapelte/quadratische Wordmarks brauchen mehr Höhe für gleiche Präsenz */
.alumni__logo[src*='n26'] {
  height: 32px;
}
.alumni__logo[src*='traderepublic'] {
  height: 30px;
}

/* ============================================================================
 * "SO EINFACH GEHT'S" + Benefits
 * ========================================================================== */
.how {
  padding-top: 52px;
  padding-bottom: 60px;
  background: var(--white);
}
.how__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.how__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.how__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  border-radius: 50%;
}
.how__t {
  display: block;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 2px;
}
.how__d {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.benefits {
  list-style: none;
  padding: 16px 18px;
  margin: 0 0 20px;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.benefit {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}
.benefit::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.perspective {
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  margin: 0 0 22px;
}

.reassure {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
}

/* ============================================================================
 * QUIZ-SCREENS
 * ========================================================================== */
.screen--quiz,
.screen--form,
.screen--processing,
.screen--success,
.screen--declined {
  padding-top: 22px;
}

.micro {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  background: var(--orange-50);
  padding: 6px 13px;
  border-radius: var(--pill);
  margin-bottom: 14px;
}

.question {
  font-size: 23px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 8px;
}
.help {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}

.intro {
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.intro__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}
.intro__icon {
  font-size: 18px;
}
.intro__title {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
}
.intro__text {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
}

/* Ergebnis-Reveal vor der Rückruf-Frage */
.result {
  background: linear-gradient(135deg, var(--blue-50) 0%, #fff7f0 100%);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-bottom: 20px;
  text-align: center;
}
.result--pop {
  animation: result-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes result-pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.result__icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
}
.result__title {
  display: block;
  font-size: 21px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.result__text {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
}

/* ---- Antwort-Optionen ------------------------------------------------------ */
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.option {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.07s, box-shadow 0.15s;
  animation: option-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
@keyframes option-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.option:hover {
  border-color: var(--blue-100);
  background: var(--blue-50);
}
.option:active {
  transform: scale(0.985);
}
.option__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--surf);
  border-radius: 12px;
  transition: background 0.15s, transform 0.2s;
}
.option__label {
  flex: 1;
  line-height: 1.3;
}
.option__check {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.16s, transform 0.16s;
}
.option--selected {
  border-color: var(--blue);
  background: var(--blue-50);
  box-shadow: 0 0 0 3px rgba(27, 57, 202, 0.13);
}
.option--selected .option__icon {
  background: var(--white);
}
.option--selected .option__check {
  opacity: 1;
  transform: scale(1);
}
.option--pop .option__icon {
  animation: icon-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes icon-pop {
  50% {
    transform: scale(1.25);
  }
}
.option:focus-visible {
  outline: 3px solid rgba(27, 57, 202, 0.45);
  outline-offset: 2px;
}

/* ============================================================================
 * "AUSWERTUNG LÄUFT"
 * ========================================================================== */
.screen--processing {
  text-align: center;
  padding-top: 60px;
}
.processing__spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 5px solid var(--blue-100);
  border-top-color: var(--blue);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.processing__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 22px;
}
.processing__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.processing__row {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0;
  animation: row-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes row-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.processing__tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.processing__tick svg {
  width: 14px;
  height: 14px;
}

/* ============================================================================
 * FORMULARE
 * ========================================================================== */
.field {
  margin-bottom: 14px;
}
.field__inputwrap {
  position: relative;
}
/* Grüner Live-Valid-Haken (z. B. Telefonnummer erfolgreich geprüft) */
.field__valid {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #16a34a;
  color: var(--white);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.field__valid svg {
  width: 14px;
  height: 14px;
}
.field--valid .field__valid {
  transform: translateY(-50%) scale(1);
}
.field--valid .input {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.13);
  padding-right: 48px;
}
.label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.input {
  width: 100%;
  font-family: inherit;
  font-size: 16px; /* >=16px verhindert iOS-Auto-Zoom */
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder {
  color: #a2a7b8;
}
.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 57, 202, 0.14);
}
.field__hint {
  font-size: 12.5px;
  color: var(--muted);
  margin: 6px 0 0;
}
.field__error {
  font-size: 12.5px;
  color: var(--danger);
  margin: 6px 0 0;
}
.field--error .input {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.phone-hint {
  font-size: 13px;
  color: var(--navy);
  background: var(--orange-50);
  border: 1.5px solid #ffd9bd;
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  margin: 4px 0 12px;
}

.contact-pick {
  display: block;
  width: 100%;
  margin: -4px 0 14px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-50);
  border: 1.5px dashed var(--blue-100);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.contact-pick:hover {
  background: var(--blue-100);
}

/* Checkboxen */
.checkbox {
  margin: 6px 0 4px;
}
.checkbox__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.checkbox__label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.45;
}
.checkbox__box {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.checkbox__box::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s;
}
.checkbox__input:checked + .checkbox__label .checkbox__box {
  background: var(--blue);
  border-color: var(--blue);
}
.checkbox__input:checked + .checkbox__label .checkbox__box::after {
  transform: rotate(45deg) scale(1);
}
.checkbox__input:focus-visible + .checkbox__label .checkbox__box {
  box-shadow: 0 0 0 3px rgba(27, 57, 202, 0.18);
}
.checkbox__text a {
  color: var(--blue);
  font-weight: 700;
}
.checkbox__text .req {
  color: var(--muted);
  font-weight: 400;
}
.checkbox--error .checkbox__box {
  border-color: var(--danger);
}
.checkbox .field__error {
  margin-left: 34px;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  font-size: 13.5px;
  color: var(--danger);
  background: #fef3f2;
  border: 1.5px solid #fecdca;
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  margin-top: 14px;
}

/* Datenschutz-Hinweis unter dem CTA (Einwilligung durch Anfrage) */
.consent-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin: 12px 0 0;
}
.consent-note a {
  color: var(--blue);
  font-weight: 700;
}

/* Zweite Gruppe in der Tools-Sektion */
.tools__second {
  margin-top: 22px;
}

/* ============================================================================
 * ERFOLG / ABSCHLUSS
 * ========================================================================== */
.screen--success,
.screen--declined {
  text-align: center;
  padding-top: 34px;
}
.end__icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 14px;
  animation: mark-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.screen--declined .btn-pill--primary {
  text-decoration: none;
}
.screen--success .hero__title,
.screen--declined .hero__title {
  font-size: 29px;
}
.screen--success .hero__sub,
.screen--declined .hero__sub {
  margin-left: auto;
  margin-right: auto;
}
.success-mark {
  width: 68px;
  height: 68px;
  margin: 4px auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  animation: mark-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mark-pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.success-mark svg {
  width: 34px;
  height: 34px;
}
.success-text {
  font-size: 15.5px;
  color: var(--ink);
  margin: 0 auto 18px;
  max-width: 46ch;
}
.success-notes {
  list-style: none;
  padding: 16px 18px;
  margin: 0 0 8px;
  text-align: left;
  background: var(--surf);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.success-notes li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
}
.success-notes li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

/* ============================================================================
 * FUSSZEILE (Navy, wie DCI-Website)
 * ========================================================================== */
.legal {
  background: var(--navy);
  padding: 26px 18px 34px;
  padding-bottom: max(34px, env(safe-area-inset-bottom));
}
.legal__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  margin-bottom: 12px;
}
.legal__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.legal__links a:hover {
  color: var(--white);
  text-decoration: underline;
}
.legal__note {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ---- Fokus-Sichtbarkeit ---------------------------------------------------- */
:focus-visible {
  outline: 3px solid rgba(27, 57, 202, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Konfetti -------------------------------------------------------------- */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}
.confetti__piece {
  position: absolute;
  top: -14px;
  width: 9px;
  height: 15px;
  border-radius: 2px;
  opacity: 0.92;
  animation: confetti-fall 2s cubic-bezier(0.3, 0.6, 0.4, 1) forwards;
}
@keyframes confetti-fall {
  to {
    transform: translateY(106vh) rotate(560deg);
    opacity: 0;
  }
}

/* ---- Reduzierte Bewegung --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .confetti {
    display: none !important;
  }
  .processing__row {
    opacity: 1;
  }
}

/* ---- Tablet / Desktop ------------------------------------------------------ */
@media (min-width: 640px) {
  :root {
    --maxw: 700px;
  }
  body {
    font-size: 17px;
  }
  .hero {
    padding-top: 48px;
    padding-bottom: 54px;
  }
  .hero__title {
    font-size: 42px;
  }
  .question {
    font-size: 26px;
  }
  .section-title {
    font-size: 28px;
  }
  .interest__tiles {
    max-width: 460px;
  }
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-card {
    padding: 22px 16px;
  }
  .stat-card__value {
    font-size: clamp(28px, 3.4vw, 36px); /* "€" bleibt in der Zeile */
  }
  .btn-pill--big {
    width: auto;
    min-width: 320px;
  }
  .screen--quiz,
  .screen--form {
    padding-top: 30px;
  }
  .logo img {
    height: 34px;
  }
}
