/* ==========================================================================
   Bloom Studio · /start funnel (gebruikt styles.css als basis)
   ========================================================================== */

body.quiz-page { background: #faf5fc; }

/* Topbar */
.quiz-top {
  position: sticky; top: 0; z-index: 20; background: rgba(250,245,252,.9);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule);
}
.quiz-top__row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.quiz-top__logo img { height: 26px; }
.quiz-top__step { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--muted); }
.quiz-progress { height: 3px; background: var(--rule); }
.quiz-progress__fill { height: 100%; width: 20%; background: var(--plum);
  border-radius: 0 3px 3px 0; transition: width .4s cubic-bezier(.4,0,.2,1); }

/* Shell */
.quiz-shell { max-width: 660px; margin-inline: auto; padding: clamp(28px, 6vw, 64px) var(--gutter) 80px; }
.q-step { animation: qfade .35s ease both; }
@keyframes qfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.q-kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); font-weight: 600; margin-bottom: .8rem; }
.q-title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.1; margin-bottom: 1.8rem;
}

/* Opties */
.options { display: grid; gap: .7rem; }
.options.cols-2 { grid-template-columns: 1fr 1fr; }
.option {
  display: flex; align-items: center; gap: .9rem; text-align: left;
  background: #fff; border: 1.5px solid var(--rule); border-radius: var(--radius);
  padding: 1.05rem 1.15rem; font-size: 1.02rem; color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.option:hover { border-color: var(--lila); transform: translateY(-1px); }
.option.is-selected { border-color: var(--plum); background: var(--soft-lilac); }
.option__badge {
  flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--soft-lilac);
  color: var(--plum); font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  display: grid; place-items: center;
}
.option.is-selected .option__badge { background: var(--plum); color: #fff; }

/* Navigatie */
.q-nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.q-back {
  display: inline-flex; align-items: center; gap: .4em; background: none; border: 0;
  color: var(--muted); font-weight: 600; font-family: var(--font-display); font-size: .92rem;
}
.q-back:hover { color: var(--ink); }
.q-hint { font-size: .82rem; color: var(--muted); margin-left: auto; }

/* Loading */
.q-loading { text-align: center; padding: clamp(40px, 12vw, 110px) 0; }
.spinner {
  width: 42px; height: 42px; margin: 0 auto 1.4rem; border-radius: 50%;
  border: 3px solid var(--rule); border-top-color: var(--plum); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.q-loading p { color: var(--muted); }

/* Resultaat */
.result { animation: qfade .4s ease both; }
.result__mark { width: 54px; height: 54px; border-radius: 16px; background: var(--soft-lilac);
  display: grid; place-items: center; margin-bottom: 1.4rem; }
.result__mark img { width: 34px; }
.result h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem); line-height: 1.08; margin-bottom: 1rem; }
.result__lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.8rem; }
.recap { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.recap span { font-size: .82rem; background: #fff; border: 1px solid var(--rule);
  border-radius: 999px; padding: .4em .9em; color: var(--ink); }
.recap b { color: var(--plum); font-weight: 700; }

.result__cta { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(20px,4vw,30px); }
.result__cta .btn { width: 100%; justify-content: center; }
.result__alt { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: .92rem; }
.result__alt a { color: var(--plum); font-weight: 600; border-bottom: 1px solid transparent; }
.result__alt a:hover { border-bottom-color: var(--plum); }
.result__restart { display: inline-flex; align-items: center; gap: .4em; margin-top: 1.6rem;
  background: none; border: 0; color: var(--muted); font-weight: 600; font-family: var(--font-display); }
.result__restart:hover { color: var(--ink); }

/* Eigen invulveld bij 'Anders' */
.other-wrap { display: flex; gap: .6rem; margin-top: .9rem; }
.other-wrap[hidden] { display: none; }
.other-field {
  flex: 1; min-width: 0; padding: .9rem 1rem; font: inherit; font-size: 1rem;
  background: #fff; border: 1.5px solid var(--rule); border-radius: var(--radius); color: var(--ink);
}
.other-field::placeholder { color: #a8a6ac; }
.other-field:focus { outline: none; border-color: var(--plum); }
.other-go { white-space: nowrap; }

@media (max-width: 520px) {
  .options.cols-2 { grid-template-columns: 1fr; }
  .other-wrap { flex-direction: column; }
  .other-go { width: 100%; justify-content: center; }
}
