/* mitglied-werden.css — Antrags-Wizard (W1)
   Nur seiten-spezifische Bausteine, die style.css nicht abdeckt:
   Ja/Nein-Toggle des 6-Fragen-Checks, dezenter Step-Indicator unten,
   Cache-Hinweis, Wizard-Navigation, Fehlermeldung. Tokens 1:1 aus style.css. */

/* ---- Schritt-Kopf ------------------------------------------------------- */
.wiz-step-head {
  margin-bottom: 36px;
}
.wiz-step-head .display {
  margin: 0;
}
.wiz-step-lead {
  margin-top: 16px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

/* ---- Ja/Nein-Selbstcheck (Schritt 1) ----------------------------------- */
.qcheck .card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qcheck__text {
  margin: 0;
  flex: 1 0 auto;
}
.qcheck__toggle {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 3px;
  background: #fff;
}
.qcheck__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 24px;
  min-height: 44px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.qcheck__btn:hover {
  color: var(--ink);
}
.qcheck__btn[aria-pressed='true'][data-ans='ja'] {
  background: var(--blue);
  color: #fff;
}
.qcheck__btn[aria-pressed='true'][data-ans='nein'] {
  background: var(--ink);
  color: #fff;
}
.qcheck.is-answered {
  border-color: var(--blue-acct);
}

/* Ja-Zähler */
.ja-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 40px;
  font-size: 17px;
  color: var(--ink-soft);
}
.ja-counter__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 26px;
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
}
.ja-counter__hint {
  color: var(--muted);
  font-size: 15px;
}

/* ---- Wizard-Navigation (pro Schritt) ----------------------------------- */
.wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.wiz-nav--end {
  justify-content: flex-end;
}
.wiz-nav__hint {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
}

/* ---- Fehlermeldung (Submit) -------------------------------------------- */
.wiz-error {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--r-4);
  border: 1px solid #E7C9C4;
  background: #FBF0EE;
  color: #8A3324;
  font-size: 15px;
  line-height: 1.5;
}
.wiz-error[hidden] {
  display: none;
}

/* ---- Danke-Schritt ------------------------------------------------------ */
.wiz-danke {
  text-align: left;
}
.wiz-danke .display {
  margin: 0 0 16px;
}
.wiz-danke p {
  margin: 0 0 28px;
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

/* ---- Dezenter Step-Indicator UNTEN ------------------------------------- */
.wiz-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.wiz-dots {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.wiz-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--line);
  transition: background 160ms ease, transform 160ms ease, width 160ms ease;
}
.wiz-dot.is-done {
  background: var(--blue-acct);
}
.wiz-dot.is-active {
  background: var(--blue);
  width: 26px;
}
.wiz-indicator__label {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 500;
}

/* ---- Cache-Hinweis ------------------------------------------------------ */
.wiz-cache {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--muted-sof);
}
.wiz-cache__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--success);
  display: inline-block;
}
.wiz-reset {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 6px 4px;
  min-height: 32px;
}
.wiz-reset:hover {
  color: var(--blue-dk);
}

/* ---- Mobile ------------------------------------------------------------- */
@media (max-width: 560px) {
  .wiz-nav {
    gap: 12px;
  }
  .wiz-nav .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .wiz-nav__hint {
    flex-basis: 100%;
    order: -1;
  }
  .qcheck__btn {
    padding: 10px 26px;
  }
}

/* O2 Mobile-Pass: „Zurücksetzen“-Link (Wizard-Cache) als komfortables Tap-Ziel. */
@media (max-width: 1024px) {
  .wiz-reset {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
