/* Shared guided-check UI – Finanztrulla black / cream / gold */

.guided-shell {
  width: min(640px, calc(100% - 32px));
  max-width: 100%;
  box-sizing: border-box;
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: 48px;
  overflow-x: clip;
}

.guided-lead {
  margin: 0 0 8px;
  max-width: 36rem;
  color: #cfc8bd;
  font-size: .92rem;
  line-height: 1.5;
}

.guided-step {
  margin: 0 0 8px;
}

.guided-step__q {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(1.25rem, 4.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  max-width: 24ch;
}

.guided-step__hint {
  margin: 0 0 18px;
  color: #cfc8bd;
  font-size: .9rem;
  line-height: 1.45;
  max-width: 36rem;
}

.guided-choice {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.guided-choice--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .guided-choice--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.guided-choice .check-option {
  min-height: 56px;
  justify-content: flex-start;
  text-align: left;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 8px;
}

.guided-choice .check-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(200, 164, 106, .12);
}

.guided-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding-top: 8px;
}

.guided-nav .button {
  min-height: 48px;
}

.guided-nav .button--text {
  color: #cfc8bd;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 10px 4px;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
}

.guided-nav .button--text:hover {
  color: var(--white);
}

.guided-nav .button--text:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.guided-error {
  margin: 12px 0 0;
  color: #f0c9a0;
  font-size: .85rem;
  line-height: 1.4;
  min-height: 1.2em;
}

/* Inline help (level 2) – click/keyboard, not hover-only */
.guided-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(200, 164, 106, .55);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.guided-help:hover {
  background: rgba(200, 164, 106, .12);
}

.guided-help:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.guided-help-panel {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(200, 164, 106, .35);
  background: rgba(200, 164, 106, .06);
  color: #cfc8bd;
  font-size: .82rem;
  line-height: 1.45;
}

.guided-help-panel[hidden] {
  display: none !important;
}

/* Result (level 1 visible, level 3 in details) */
.guided-result {
  margin: 8px 0 18px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(200, 164, 106, .4);
  background: #121110;
}

.guided-result__answer {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.2rem, 4.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.guided-result__kpis {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.guided-result__kpi span {
  display: block;
  color: #8e887f;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.guided-result__kpi strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.guided-result__meaning {
  margin: 0 0 14px;
  color: #cfc8bd;
  font-size: .9rem;
  line-height: 1.45;
}

.guided-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.guided-details {
  margin-top: 14px;
  border-top: 1px solid #302d28;
  color: #bdb6ab;
}

.guided-details summary {
  cursor: pointer;
  padding: 12px 0;
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 600;
}

.guided-details summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.guided-details p,
.guided-details li {
  color: #9f998f;
  font-size: .78rem;
  line-height: 1.45;
}

/* Compact SVG line icons with text */
.guided-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guided-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guided-theme-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 640px) {
  .guided-theme-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.guided-theme-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 120px;
  padding: 18px 16px;
  border: 1px solid rgba(200, 164, 106, .35);
  background: #121110;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  border-radius: 8px;
}

.guided-theme-card:hover {
  border-color: var(--gold);
  background: rgba(200, 164, 106, .08);
}

.guided-theme-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.guided-theme-card strong {
  color: var(--white);
  font-size: 1.05rem;
}

.guided-theme-card span {
  color: #bdb6ab;
  font-size: .82rem;
  line-height: 1.4;
}

.guided-theme-card[aria-expanded="true"] {
  border-color: var(--gold);
  background: rgba(200, 164, 106, .12);
}

.guided-check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 8px;
}

.guided-check-list[hidden] {
  display: none !important;
}

.guided-check-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #3a3630;
  border-radius: 8px;
  background: #0c0b0a;
  color: inherit;
  text-decoration: none;
}

.guided-check-list a:hover {
  border-color: var(--gold);
}

.guided-check-list a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.guided-check-list strong {
  color: var(--white);
  font-size: .95rem;
}

.guided-check-list span {
  color: #9f998f;
  font-size: .78rem;
  line-height: 1.4;
}

.guided-all-link {
  margin-top: 20px;
}

.guided-all-link button,
.guided-all-link a {
  color: var(--gold-light);
  background: none;
  border: 0;
  padding: 8px 0;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guided-all-link button:focus-visible,
.guided-all-link a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .check-progress__bar,
  .check-screen {
    transition: none !important;
    animation: none !important;
  }
}
