/* ── Studio B06 Styling-Quiz – Stylesheet ────────────────────────────────── */

/* Wrapper (zentriert das Quiz auf der WP-Seite) */
.sb06-quiz-wrap {
  padding: 24px 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #2C2116;
}

/* ── Tokens ────────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .quiz-card {
  --gold:       #C6A97D;
  --gold-dark:  #A88455;
  --gold-light: #EAD9BB;
  --cream:      #FAF7F2;
  --cream-dark: #F0EBE1;
  --text:       #2C2116;
  --text-muted: #7A6A58;
  --white:      #ffffff;
  --radius:     12px;
  --T:          360ms cubic-bezier(.4,0,.2,1);
}

/* ── Card ──────────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .quiz-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 10px 60px rgba(44,33,22,.11), 0 1px 4px rgba(44,33,22,.06);
  max-width: 580px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  box-sizing: border-box;
}

.sb06-quiz-wrap .quiz-card *,
.sb06-quiz-wrap .quiz-card *::before,
.sb06-quiz-wrap .quiz-card *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sb06-quiz-wrap .card-gold-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
}

/* ── Logo ──────────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .logo-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 32px 0;
}

.sb06-quiz-wrap .logo-img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
}

/* ── Progress ──────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .progress-wrap {
  padding: 20px 32px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb06-quiz-wrap .dots { display: flex; gap: 7px; flex: 1; }

.sb06-quiz-wrap .dot {
  height: 5px;
  flex: 1;
  border-radius: 99px;
  background: var(--cream-dark);
  transition: background var(--T);
}
.sb06-quiz-wrap .dot.active { background: var(--gold); }
.sb06-quiz-wrap .dot.done   { background: var(--gold-dark); }

.sb06-quiz-wrap .prog-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Steps ─────────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .steps-outer { position: relative; }

.sb06-quiz-wrap .step {
  position: absolute;
  inset: 0;
  padding: 28px 36px 36px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--T), transform var(--T);
}
.sb06-quiz-wrap .step.active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  position: relative;
}

/* ── Typography ────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .eyebrow {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.sb06-quiz-wrap .quiz-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(21px, 4vw, 27px);
  line-height: 1.32;
  color: var(--text);
  margin-bottom: 10px;
}

.sb06-quiz-wrap .quiz-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.sb06-quiz-wrap .q-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2.8vw, 20px);
  line-height: 1.42;
  color: var(--text);
  margin-bottom: 20px;
}

/* ── Options ───────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .options { display: flex; flex-direction: column; gap: 9px; }

.sb06-quiz-wrap .opt {
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 13px 16px 13px 44px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--T), background var(--T), transform .15s;
  line-height: 1.5;
  position: relative;
  width: 100%;
}

.sb06-quiz-wrap .opt::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--white);
  transition: background var(--T), border-color var(--T);
}

.sb06-quiz-wrap .opt:hover {
  border-color: var(--gold);
  background: var(--cream-dark);
  transform: translateX(3px);
}
.sb06-quiz-wrap .opt:hover::before { background: var(--gold-light); }

.sb06-quiz-wrap .opt.sel {
  border-color: var(--gold-dark);
  background: linear-gradient(135deg, #fdf6ec, #f5e8d0);
}
.sb06-quiz-wrap .opt.sel::before {
  background: var(--gold);
  border-color: var(--gold-dark);
}

/* ── Nav ───────────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
}

.sb06-quiz-wrap .btn-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 0;
  font-family: 'Lato', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.sb06-quiz-wrap .btn-back:hover { color: var(--text); }

.sb06-quiz-wrap .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: 'Lato', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: .04em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
.sb06-quiz-wrap .btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(166,120,60,.3);
}
.sb06-quiz-wrap .btn-primary:disabled {
  opacity: .38;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.sb06-quiz-wrap .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 13px 24px;
  font-family: 'Lato', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: .03em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .2s, color .2s;
}
.sb06-quiz-wrap .btn-secondary:hover { background: var(--cream-dark); }

/* ── Tags ──────────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.sb06-quiz-wrap .tag {
  background: var(--cream-dark);
  border-radius: 99px;
  padding: 5px 13px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* ── Result Screen ─────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .result-hero {
  background: linear-gradient(135deg, #fdf6ec, #f5e8d0);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  text-align: center;
}
.sb06-quiz-wrap .result-hero .eyebrow { margin-bottom: 6px; }
.sb06-quiz-wrap .result-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 3.5vw, 22px);
  color: var(--text);
  line-height: 1.3;
}
.sb06-quiz-wrap .result-hero-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

/* Service cards */
.sb06-quiz-wrap .service-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.sb06-quiz-wrap .service-card {
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 16px 18px;
  position: relative;
}
.sb06-quiz-wrap .service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

.sb06-quiz-wrap .service-card.primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fdf6ec, #faf4ec);
}
.sb06-quiz-wrap .service-card.primary::before {
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}

.sb06-quiz-wrap .sc-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-light);
  border-radius: 99px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.sb06-quiz-wrap .sc-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 4px;
}

.sb06-quiz-wrap .sc-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

.sb06-quiz-wrap .sc-price {
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 400;
}

/* Premium upgrade box */
.sb06-quiz-wrap .upgrade-box {
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  text-align: center;
  background: var(--cream);
}
.sb06-quiz-wrap .upgrade-box .eyebrow { margin-bottom: 5px; }
.sb06-quiz-wrap .upgrade-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Divider */
.sb06-quiz-wrap .divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 10px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: .06em;
}
.sb06-quiz-wrap .divider::before,
.sb06-quiz-wrap .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}

.sb06-quiz-wrap .result-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Footer */
.sb06-quiz-wrap .quiz-footer {
  border-top: 1px solid var(--cream-dark);
  padding: 13px 36px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* ── Checkable cards ───────────────────────────────────────────────────────── */
.sb06-quiz-wrap .checkable { cursor: pointer; }

.sb06-quiz-wrap .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.sb06-quiz-wrap .card-header-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sb06-quiz-wrap .card-antippen {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: .02em;
}

.sb06-quiz-wrap .card-select-area {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  margin-left: 12px;
}

.sb06-quiz-wrap .card-select-label {
  font-size: 9.5px;
  color: var(--text-muted);
  text-align: right;
  max-width: 110px;
  line-height: 1.4;
}

.sb06-quiz-wrap .card-checkbox {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 6px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gold-dark);
  transition: background var(--T), border-color var(--T);
}

.sb06-quiz-wrap .cb-on {
  background: var(--gold-light);
  border-color: var(--gold-dark);
}

.sb06-quiz-wrap .card-on {
  border-color: var(--gold-dark) !important;
  background: linear-gradient(135deg, #fdf6ec, #faf4ec) !important;
}

.sb06-quiz-wrap .upgrade-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

/* ── SMS Teaser ────────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .sms-teaser {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.sb06-quiz-wrap .teaser-icon { margin-right: 4px; }

.sb06-quiz-wrap .sms-select-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4px;
}

/* ── Code reveal ───────────────────────────────────────────────────────────── */
.sb06-quiz-wrap .code-reveal {
  background: linear-gradient(135deg, #fdf6ec, #f5e8d0);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  margin-top: 16px;
}

.sb06-quiz-wrap .code-reveal-eyebrow {
  font-size: 12px;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.sb06-quiz-wrap .code-reveal-code {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  letter-spacing: .12em;
  color: var(--text);
  margin-bottom: 6px;
}

.sb06-quiz-wrap .code-reveal-discount {
  font-size: 14px;
  color: var(--gold-dark);
  font-weight: 400;
  margin-bottom: 6px;
}

.sb06-quiz-wrap .code-reveal-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .sb06-quiz-wrap .step        { padding: 22px 18px 28px; }
  .sb06-quiz-wrap .progress-wrap { padding: 16px 18px 0; }
  .sb06-quiz-wrap .logo-wrap   { padding: 22px 18px 0; }
  .sb06-quiz-wrap .quiz-footer { padding: 12px 18px; }
}
