/* ============================================================
   Shiny Button – @property registrations
   ============================================================ */
@property --sb-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --sb-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --sb-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}
@property --sb-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  --color-bg:               #FAF4E8;
  --color-surface:          #FFFFFF;
  --color-text:             #0D0D0F;
  --color-text-muted:       #6B7280;
  --color-primary:          #1A54E8;
  --color-primary-hover:    #1244D0;
  --color-primary-shadow:   rgba(26, 84, 232, 0.32);
  --color-badge-bg:         #EBF0FF;
  --color-badge-text:       #1A54E8;
  --color-chip-bg:          #ECEEF4;
  --color-chip-text:        #3F3A33;
  --color-border:           #E9DFC9;
  --color-dot:              #22C55E;
  --color-book-front:       linear-gradient(175deg, #64748B 0%, #3E5067 45%, #1E3045 100%);
  --color-book-back:        linear-gradient(175deg, #7C8FA0 0%, #4A6070 45%, #2A3C4E 100%);

  --font-sans:              'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-serif-italic:      'DM Serif Display', Georgia, 'Times New Roman', serif;

  --radius-sm:              6px;
  --radius-md:              14px;
  --radius-lg:              20px;
  --radius-full:            999px;

  --shadow-card:            0 2px 16px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-notification:    0 8px 32px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-btn:             0 4px 22px var(--color-primary-shadow);
  --shadow-btn-hover:       0 8px 30px var(--color-primary-shadow);

  --transition-fast:        150ms ease;
  --transition-base:        220ms ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html, body {
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html, body {
    overflow-x: clip;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  display: flex;
  justify-content: center;
  padding: 18px 24px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo__img {
  height: 51px;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 24px 48px;
  max-width: 660px;
  margin: 0 auto;
}

.hero__label {
  display: inline-block;
  font-size: 0.82rem;
  color: #9A3412;
  font-weight: 500;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(251, 138, 46, 0.12) 0%, rgba(234, 88, 12, 0.07) 100%);
  border: 1px solid rgba(234, 88, 12, 0.22);
  border-radius: 999px;
  padding: 6px 15px 6px 12px;
  letter-spacing: 0.01em;
}

.hero__label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  vertical-align: 0.08em;
  border-radius: 50%;
  background: linear-gradient(135deg, #FB8A2E 0%, #EA580C 100%);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.hero__label strong {
  font-weight: 700;
  color: #7C2D12;
}

/* Angebotszeile: reiner Text, Akzent über Farbe und handgezeichnete Unterstreichung */
.hero__offer {
  font-size: clamp(1.05rem, 4.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.45;
  color: #3F3A33;
  max-width: 34ch;
  margin: 2px auto 6px;
}

.hero__offer-tag {
  color: #C2410C;
  font-weight: 700;
}

.hero__offer-mark {
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  padding-bottom: 0.18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8.5 C 45 3.5, 95 3, 140 5.5 S 185 9, 197 5' stroke='%23EA580C' stroke-width='3' fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat left bottom / 100% 0.42em;
}

/* ============================================================
   Badge
   ============================================================ */
.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 354px;
  padding: 7px 17px;
  background: linear-gradient(135deg, #3B82F6 0%, #1A54E8 45%, #1240C8 100%);
  color: #FFFFFF;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 20px rgba(26, 84, 232, 0.45), 0 1px 3px rgba(26, 84, 232, 0.3);
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.consent-label__badge--required {
  background: #FEE2E2;
  color: #991B1B;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.badge:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ============================================================
   Headline
   ============================================================ */
.hero__headline {
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 7.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #0D0D0F;
  margin-top: 4px;
  margin-bottom: 20px;
}

.hero__headline em {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ============================================================
   Button
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-base),
    background-color var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(135deg, #FB8A2E 0%, #EA580C 45%, #C2410C 100%);
  color: #FFFFFF;
  font-weight: 700;
  padding: 15px 30px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.45), 0 1px 3px rgba(234, 88, 12, 0.3);
  position: relative;
  overflow: hidden;
  animation: btn-wiggle 5s ease-in-out 2s infinite;
}

/* Wackeln: ca. 0,55 s Bewegung, dann Ruhe bis zum nächsten Zyklus */
@keyframes btn-wiggle {
  0%, 11%, 100% { transform: translateX(0) rotate(0); }
  1.8% { transform: translateX(-4px) rotate(-1.6deg); }
  3.6% { transform: translateX(4px)  rotate(1.6deg); }
  5.4% { transform: translateX(-3px) rotate(-1.2deg); }
  7.2% { transform: translateX(3px)  rotate(1.2deg); }
  9%   { transform: translateX(-1px) rotate(-0.4deg); }
}

@keyframes btn-wiggle-7 {
  0%, 7.8%, 100% { transform: translateX(0) rotate(0); }
  1.3% { transform: translateX(-4px) rotate(-1.6deg); }
  2.6% { transform: translateX(4px)  rotate(1.6deg); }
  3.9% { transform: translateX(-3px) rotate(-1.2deg); }
  5.1% { transform: translateX(3px)  rotate(1.2deg); }
  6.4% { transform: translateX(-1px) rotate(-0.4deg); }
}


.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}

@media (hover: hover) {
  .btn--primary:hover {
    background: linear-gradient(135deg, #FDA050 0%, #F26A1B 45%, #D2490E 100%);
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(234, 88, 12, 0.5), 0 2px 6px rgba(234, 88, 12, 0.35);
  }
}

.btn--primary:active {
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.4);
}

.btn--primary:focus-visible {
  outline: 2px solid #EA580C;
  outline-offset: 4px;
}

.btn__icon {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn--primary:hover .btn__icon {
  transform: translateX(3px);
}

/* ============================================================
   Social Proof
   ============================================================ */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.social-proof__badge {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  top: -32%;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--color-bg);
  flex-shrink: 0;
}

.avatars .avatar + .avatar {
  margin-left: -9px;
}

.avatar--duo {
  display: flex;
  overflow: hidden;
  border-radius: 50%;
}

.avatar--duo img {
  width: 50%;
  height: 30px;
  object-fit: cover;
  border-radius: 0;
  border: none;
}

.avatar--count {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-proof__text {
  font-size: clamp(1.05rem, 4.4vw, 1.2rem);
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.3;
}

.social-proof__text strong {
  display: block;
  color: var(--color-text);
  font-size: clamp(1.45rem, 6.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 2px;
}

/* ============================================================
   Chips
   ============================================================ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.chips--secondary {
  margin-top: 0;
  margin-bottom: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  background-color: #FFFCF6;
  color: var(--color-chip-text);
  font-size: 0.77rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  line-height: 1;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(120, 90, 40, 0.07);
}

.chip svg path {
  stroke: #C2410C;
}

/* ============================================================
   Mockup
   ============================================================ */
.mockup {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 315px;
  margin: 0 auto -20px;
}

/* Books */
.book {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.book__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    transparent 100%
  );
}

.book--center {
  width: 570px;
  height: auto;
  left: calc(50% - 285px);
  top: -55px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  z-index: 10;
  transform: none;
}

.book__cover-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.28));
}

.book__cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.book__cover-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.book--back {
  width: 158px;
  height: 224px;
  left: 40px;
  top: 118px;
  transform: rotate(-4deg);
  background: var(--color-book-back);
  z-index: 1;
}

.book--front {
  width: 198px;
  height: 268px;
  right: 40px;
  top: 90px;
  background: var(--color-book-front);
  z-index: 2;
}

.book__overlay {
  z-index: 1;
}

.book__subtitle {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-bottom: 5px;
}

.book__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.book__footer {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  line-height: 1.4;
}

/* Benachrichtigungen (Bilder im iPhone-Stil, leicht versetzt gestapelt) */
.notif-img {
  position: absolute;
  z-index: 20;
  width: 56%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.notif-img--left {
  left: -3%;
  top: 47%;
}

.notif-img--right {
  right: -3%;
  top: 66%;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 480px) {
  .hero {
    padding: 14px 16px 40px;
  }

  .hero__headline {
    font-size: clamp(2.05rem, 9.35vw, 2.65rem);
  }

  .mockup {
    height: 313px;
  }

  .book--back {
    width: 135px;
    height: 192px;
    left: 14px;
    top: 106px;
  }

  .book--front {
    width: 172px;
    height: 238px;
    right: 12px;
    top: 85px;
  }

  .notif-img {
    width: 64%;
  }

  .notif-img--left {
    left: -2%;
    top: 46%;
  }

  .notif-img--right {
    right: -2%;
    top: 62%;
  }
}

@media (min-width: 900px) {
  .logo__img {
    height: 60px;
  }

  .hero {
    max-width: 860px;
  }

  .hero__label {
    font-size: 0.95rem;
    padding: 7px 18px 7px 14px;
  }

  .hero__offer {
    font-size: 1.35rem;
    max-width: none;
  }

  .hero__headline {
    font-size: 3.7rem;
  }

  .btn--primary {
    font-size: 1.08rem;
    max-width: 540px;
    padding: 19px 36px;
  }

  .social-proof__text {
    font-size: 1.35rem;
  }

  .social-proof__text strong {
    font-size: 2.2rem;
  }

  .chips {
    gap: 10px;
  }

  .chip {
    font-size: 0.88rem;
    padding: 8px 15px;
  }

  .mockup {
    zoom: 1.22;
  }
}

@media (min-width: 1200px) {
  .logo__img {
    height: 66px;
  }

  .hero {
    max-width: 960px;
  }

  .hero__label {
    font-size: 1rem;
  }

  .hero__offer {
    font-size: 1.45rem;
  }

  .hero__headline {
    font-size: 4.3rem;
  }

  .btn--primary {
    font-size: 1.15rem;
    max-width: 600px;
    padding: 21px 40px;
  }

  .social-proof__text {
    font-size: 1.45rem;
  }

  .social-proof__text strong {
    font-size: 2.5rem;
  }

  .chip {
    font-size: 0.95rem;
    padding: 9px 17px;
  }

  .mockup {
    zoom: 1.45;
  }
}

/* ============================================================
   Modal
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 18, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  background-color: var(--color-bg);
  width: 100%;
  height: 100%;
  max-width: 600px;
  padding: 0 28px 72px;
  padding-bottom: max(72px, env(safe-area-inset-bottom, 24px));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal__logo {
  display: flex;
  justify-content: center;
  padding: 28px 0 0;
}
.modal__logo img {
  height: 28px;
  opacity: 1;
}

.modal__panel .quiz-step:not([hidden]) {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 1.5vh;
}

/* Top bar */
.modal__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0px;
  margin-bottom: 0px;
}

.modal__step-counter {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: center;
  flex: 1;
}

.modal__back,
.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.modal__back:hover,
.modal__close:hover {
  background: var(--color-chip-bg);
}

.modal__back[hidden] {
  visibility: hidden;
  pointer-events: none;
}

/* Progress bar */
.modal__book-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 0px;
}

.modal__book-logo-img {
  height: 96px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   Quiz Steps
   ============================================================ */
.quiz-step {
  animation: stepIn 200ms ease;
}

.quiz-step[hidden] {
  display: none;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

.quiz-step__question {
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 36px;
}

.quiz-step__question em {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.25em;
}

.quiz-step__question--sm {
  font-size: clamp(1.85rem, 4.8vw, 2.5rem);
  margin-bottom: 18px;
}

/* Options */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-options--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-option {
  background: linear-gradient(135deg, #3B82F6 0%, #1A54E8 45%, #1240C8 100%);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 18px 20px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  line-height: 1.35;
  transition: filter var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.quiz-option:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 84, 232, 0.35);
}

.quiz-option:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

.quiz-option:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Congrats header */
/* ============================================================
   Contact Form
   ============================================================ */
.quiz-form__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: #16A34A;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.quiz-form__desc {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--color-text);
  text-align: center;
  margin-top: 2px;
  margin-bottom: 18px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A3F35;
  padding-left: 2px;
}

.contact-form__required {
  color: #DC2626;
  font-weight: 700;
}

.contact-form__field input {
  border: 1.5px solid #D9C5A1;
  background: #FFFDF8;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  width: 100%;
  outline: none;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.contact-form__field input:focus {
  border-color: #E0A274;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.contact-form__field input::placeholder {
  color: #A69584;
  font-weight: 400;
}

.contact-form__phone {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #D9C5A1;
  background: #FFFDF8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form__phone:focus-within {
  border-color: #E0A274;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.contact-form__phone input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 8px !important;
}

.phone-flag {
  display: flex;
  align-items: center;
  padding: 14px 6px 14px 14px;
  font-size: 1rem;
  background: #F4EADA;
  flex-shrink: 0;
  line-height: 1;
}

.phone-full-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 14px 16px 14px 10px;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent;
  outline: none;
}

/* Consent */
.consent-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  position: relative;
}

.consent-label__badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: #EEF3FF;
  color: #1A54E8;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  transform: none;
  box-shadow: none;
  pointer-events: none;
  border: 1px solid rgba(26, 84, 232, 0.2);
}

.consent-label__badge--required {
  background: #FEE2E2;
  color: #991B1B;
}

.consent-error {
  font-size: 0.78rem;
  font-weight: 500;
  color: #DC2626;
  margin-top: 2px;
  margin-bottom: 2px;
  padding-left: 2px;
}

.consent-label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 12px 14px;
}

.consent-label--optional {
  border-style: dashed;
}

.consent-checkbox {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: #EA580C;
  cursor: pointer;
}

.consent-text {
  font-size: 0.72rem;
  color: #6B5E50;
  line-height: 1.6;
}

.consent-link {
  color: var(--color-text);
  text-decoration: underline;
}

.consent-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #EEF3FF;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 4px;
  vertical-align: middle;
}

.btn--quiz-submit {
  /* layout */
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 17px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;

  /* typography */
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;

  /* shiny border technique */
  --sb-bg: linear-gradient(135deg, #FB8A2E 0%, #EA580C 45%, #C2410C 100%);
  --sb-highlight: rgba(255, 255, 255, 0.9);
  --sb-highlight-subtle: rgba(253, 186, 116, 0.7);
  --sb-duration: 3s;
  --sb-shadow-size: 2px;

  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    var(--sb-bg) padding-box,
    conic-gradient(
      from calc(var(--sb-angle) - var(--sb-angle-offset)),
      transparent,
      var(--sb-highlight) var(--sb-percent),
      white calc(var(--sb-percent) * 2),
      var(--sb-highlight) calc(var(--sb-percent) * 3),
      transparent calc(var(--sb-percent) * 4)
    ) border-box;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.45);

  transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transition-property: --sb-angle-offset, --sb-percent, --sb-shine, transform, box-shadow;

  animation:
    sb-rotate var(--sb-duration) linear infinite,
    sb-rotate calc(var(--sb-duration) / 0.4) linear reverse paused,
    btn-wiggle-7 7s ease-in-out 2s infinite;
  animation-composition: add;
}

/* dots overlay */
.btn--quiz-submit::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
  --size: calc(100% - var(--sb-shadow-size) * 3);
  --pos: 2px;
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
    circle at var(--pos) var(--pos),
    rgba(255,255,255,0.6) calc(var(--pos) / 4),
    transparent 0
  ) padding-box;
  background-size: calc(var(--pos) * 2) calc(var(--pos) * 2);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--sb-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.35;
  animation: sb-rotate var(--sb-duration) linear infinite,
    sb-rotate calc(var(--sb-duration) / 0.4) linear reverse paused;
  animation-composition: add;
}

/* inner shimmer */
.btn--quiz-submit::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, rgba(255,255,255,0.35), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.5;
  animation: sb-shimmer var(--sb-duration) linear infinite,
    sb-shimmer calc(var(--sb-duration) / 0.4) linear reverse paused;
  animation-composition: add;
}

.btn--quiz-submit span {
  position: relative;
  z-index: 1;
}

.btn--quiz-submit:is(:hover, :focus-visible) {
  --sb-percent: 20%;
  --sb-angle-offset: 95deg;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.5);
}

.btn--quiz-submit:is(:hover, :focus-visible),
.btn--quiz-submit:is(:hover, :focus-visible)::before,
.btn--quiz-submit:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}

.btn--quiz-submit:active {
  transform: translateY(0);
}

@keyframes sb-rotate {
  to { --sb-angle: 360deg; }
}
@keyframes sb-shimmer {
  to { rotate: 360deg; }
}
50%       { scale: 1.2; }
}

/* ============================================================
   Success Step
   ============================================================ */
.quiz-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 0 24px;
  gap: 16px;
}

.quiz-success__icon {
  width: 72px;
  height: 72px;
  background: #F0FDF4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.quiz-success__title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-text);
}

.quiz-success__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 340px;
  line-height: 1.65;
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .btn--primary {
    animation: none;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 24px;
  border-top: 1px solid rgba(0,0,0,0.07);
  flex-wrap: wrap;
}

.site-footer__copy {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.site-footer__nav {
  display: flex;
  gap: 20px;
}

.site-footer__nav a {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--color-text);
}

/* ============================================================
   Verify Overlay & Popup
   ============================================================ */
.verify-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 246, 250, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
}

.verify-overlay[hidden] {
  display: none;
}

.verify-popup {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.07);
  padding: 36px 28px 28px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  text-align: center;
}

.verify-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.verify-popup__close:hover { opacity: 1; }

.verify-popup__icon {
  font-size: 2.2rem;
  line-height: 1;
}

.verify-popup__title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.verify-popup__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.verify-popup__desc strong {
  color: var(--color-text);
  font-weight: 600;
}

.verify-popup__input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-align: center;
  color: var(--color-text);
  border: 2px solid #B8BEC9;
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.verify-popup__input:focus {
  border-color: #9CA3AF;
  box-shadow: 0 0 0 4px rgba(156, 163, 175, 0.15);
}

.verify-popup__error {
  font-size: 0.78rem;
  font-weight: 500;
  color: #DC2626;
  width: 100%;
  text-align: left;
  padding-left: 2px;
}

.verify-popup__submit {
  margin-top: 4px;
}

.verify-popup__resend {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 4px 8px;
  border-radius: 6px;
  transition: opacity var(--transition-fast);
}

.verify-popup__resend:disabled {
  color: var(--color-text-muted);
  cursor: default;
  opacity: 0.7;
}

.verify-popup__resend:not(:disabled):hover {
  text-decoration: underline;
}

.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Formular-Titel auf dem Handy: wächst mit der Bildschirmbreite und nutzt etwas mehr Breite als die Felder */
@media (max-width: 480px) {
  .quiz-step__question--sm {
    font-size: 7.9vw;
    margin-left: -8px;
    margin-right: -8px;
  }
}
