/* Setup-Check (Startseite): 4-Fragen-Qualifier unter dem Hero.
   Eigenständige Sektion (kein Framer-Markup), injiziert via quiz-section.js.
   Farben/Schriften = Site-Tokens: #FAFA03, #19191C, #0A0A0A, Satoshi/Inter,
   Instrument Serif (kursiver Akzent). Opak wegen Footer-Reveal (wie pricing). */

#hbz-quiz {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  /* Framers "Main"-Container schaltet pointer-events global ab und reaktiviert
     sie nur auf eigenen Interaktiv-Elementen — ohne dieses auto fällt jeder
     Klick durchs Quiz auf die Popup-Trigger dahinter. */
  pointer-events: auto;
  width: 100%;
  background: #FAF9F4;
  font-family: "Satoshi", "Inter", sans-serif;
  color: #16150F;
}
#hbz-quiz *, #hbz-quiz *::before, #hbz-quiz *::after { box-sizing: border-box; }

#hbz-quiz .hbz-q-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 90px 40px 70px;
}

#hbz-quiz .hbz-q-kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 6px 16px;
  border: 1px solid #E7E4D9;
  border-radius: 999px;
  background: #FFFFFF;
  color: #55524A;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

#hbz-quiz h2 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #16150F;
}
#hbz-quiz h2 em,
#hbz-quiz h3 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: #9C8B00;
}
#hbz-quiz .hbz-q-sub {
  margin: 0 auto 36px;
  max-width: 520px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #55524A;
}

#hbz-quiz .hbz-q-card {
  position: relative;
  border: 1px solid #E7E4D9;
  border-radius: 18px;
  background: #FFFFFF;
  padding: 38px 44px 32px;
  min-height: 330px;
}

#hbz-quiz .hbz-q-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
#hbz-quiz .hbz-q-progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(20, 20, 26, 0.08);
  overflow: hidden;
}
#hbz-quiz .hbz-q-pct {
  font-size: 12px;
  font-weight: 600;
  color: #9C8B00;
  min-width: 40px;
  text-align: right;
}
#hbz-quiz .hbz-q-bar {
  height: 100%;
  background: rgb(250, 250, 3);
  border-radius: 999px;
  transition: width 0.35s ease;
}

#hbz-quiz .hbz-q-count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #55524A;
  margin-bottom: 8px;
}
#hbz-quiz h3 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: #16150F;
}

/* Sprechblase: die Fragen "stellt" Stephans Porträt */
#hbz-quiz .hbz-q-ask {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
#hbz-quiz .hbz-q-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  width: 94px;
}
#hbz-quiz .hbz-q-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(250, 250, 3, 0.55);
  background: #FAF9F4;
}
#hbz-quiz .hbz-q-person-name {
  font-size: 11px;
  font-weight: 600;
  color: #55524A;
  text-align: center;
  line-height: 1.2;
}
#hbz-quiz .hbz-q-bubble {
  position: relative;
  flex: 1;
  background: #F2EEE2;
  border: 1px solid rgba(20, 20, 26, 0.14);
  border-radius: 16px;
  border-top-left-radius: 4px;
  padding: 14px 18px;
}
#hbz-quiz .hbz-q-bubble::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 16px;
  border: 9px solid transparent;
  border-right-color: rgba(20, 20, 26, 0.14);
  border-left: 0;
}
#hbz-quiz .hbz-q-bubble::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 17.5px;
  border: 7.5px solid transparent;
  border-right-color: #F2EEE2;
  border-left: 0;
}
#hbz-quiz .hbz-q-bubble h3 { margin: 0; font-size: 25px; }
#hbz-quiz .hbz-q-hint {
  margin: 6px 0 0;
  font-size: 13px;
  color: #55524A;
}
/* Trust-Zeile unter der Quiz-Karte */
#hbz-quiz .hbz-q-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: #55524A;
}
#hbz-quiz .hbz-q-tp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16150F;
  text-decoration: none;
  font-weight: 600;
}
#hbz-quiz .hbz-q-tp:hover { text-decoration: underline; }
#hbz-quiz .hbz-q-tpbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #00B67A;
  margin-right: 1px;
}
#hbz-quiz .hbz-q-tpbox--empty { background: rgba(20, 20, 26, 0.15); }
#hbz-quiz .hbz-q-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#hbz-quiz .hbz-q-opts--multi { grid-template-columns: 1fr 1fr 1fr; margin-bottom: 16px; }
#hbz-quiz .hbz-q-cta[disabled] { opacity: 0.35; cursor: not-allowed; }
#hbz-quiz .hbz-q-phone { display: flex; gap: 10px; }
#hbz-quiz .hbz-q-phone select {
  width: 110px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 26, 0.14);
  background: #FFFFFF;
  color: #16150F;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
#hbz-quiz .hbz-q-phone input { flex: 1; }
#hbz-quiz .hbz-q-error {
  margin: 0;
  font-size: 13px;
  color: #C0392B;
}
#hbz-quiz .hbz-q-opt {
  appearance: none;
  cursor: pointer;
  text-align: left;
  padding: 17px 20px;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 26, 0.14);
  background: #FAF9F4;
  color: #16150F;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
#hbz-quiz .hbz-q-opt:hover {
  border-color: rgba(156, 139, 0, 0.55);
  background: rgba(250, 250, 3, 0.10);
  transform: translateY(-1px);
}
#hbz-quiz .hbz-q-opt--on {
  border-color: #9C8B00;
  background: rgba(250, 250, 3, 0.18);
}

#hbz-quiz .hbz-q-back {
  appearance: none;
  cursor: pointer;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: #55524A;
  font-family: inherit;
  font-size: 13px;
}
#hbz-quiz .hbz-q-back:hover { color: #16150F; }

#hbz-quiz .hbz-q-form { display: grid; gap: 12px; position: relative; }
#hbz-quiz .hbz-q-form input[type="text"],
#hbz-quiz .hbz-q-form input[type="email"] {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 26, 0.14);
  background: #FAF9F4;
  color: #16150F;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
#hbz-quiz .hbz-q-form input:focus { border-color: rgba(156, 139, 0, 0.55); }
#hbz-quiz .hbz-q-form input::placeholder { color: #8A867B; }

#hbz-quiz .hbz-q-cta {
  display: block;
  width: 100%;
  appearance: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  padding: 17px 24px;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 26, 0.28);
  background: rgb(250, 250, 3);
  color: #16150F;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
#hbz-quiz .hbz-q-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(250, 250, 3, 0.25);
}

#hbz-quiz .hbz-q-text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #55524A;
}
#hbz-quiz .hbz-q-text strong { color: #16150F; }

#hbz-quiz .hbz-q-legal {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: #8A867B;
}
#hbz-quiz .hbz-q-legal a { color: #55524A; }

@media (max-width: 720px) {
  #hbz-quiz .hbz-q-inner { padding: 60px 20px 50px; }
  #hbz-quiz h2 { font-size: 30px; }
  #hbz-quiz .hbz-q-card { padding: 22px 20px 20px; }
  #hbz-quiz .hbz-q-opts { grid-template-columns: 1fr; }
  #hbz-quiz .hbz-q-opts--multi { grid-template-columns: 1fr 1fr; }
  /* Frage in der Sprechblase: 25px sprengte mobil die Blase (User 2026-07-30) */
  #hbz-quiz .hbz-q-bubble h3 { font-size: 18px; }
}
