/* ============================================================
   PRAXIS-CHECK – Seitenspezifische Styles
   Nutzt CSS-Variablen aus style.css (--color-*, --space-*)
   ============================================================ */

/* --- Check Card (Formular-Container) --- */
.check-card {
  max-width: 720px;
  margin-inline: auto;
  background: var(--color-card, #1c1810);
  border: 1px solid var(--color-border, #2a2520);
  border-radius: 16px;
  padding: var(--space-xl, 3rem) var(--space-lg, 2rem);
}

/* --- Fortschrittsanzeige --- */
.check-progress {
  margin-bottom: var(--space-xl, 3rem);
}

.check-progress__bar {
  width: 100%;
  height: 6px;
  background: var(--color-border, #2a2520);
  border-radius: 3px;
  overflow: hidden;
}

.check-progress__fill {
  height: 100%;
  background: var(--color-accent, #f59e0b);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.check-progress__text {
  margin-top: var(--space-xs, 0.5rem);
  font-size: 0.85rem;
  color: var(--color-muted, #8a8070);
  text-align: center;
}

/* --- Steps --- */
.check-step {
  display: none;
  animation: checkFadeIn 0.3s ease;
}

.check-step.active {
  display: block;
}

@keyframes checkFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.check-step__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs, 0.5rem);
  line-height: 1.3;
}

.check-step__desc {
  color: var(--color-muted, #8a8070);
  margin-bottom: var(--space-lg, 2rem);
  font-size: 0.95rem;
}

/* --- Optionen (Radio-Karten) --- */
.check-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm, 0.75rem);
}

.check-option {
  cursor: pointer;
}

.check-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-option__card {
  display: flex;
  align-items: center;
  gap: var(--space-md, 1rem);
  padding: var(--space-md, 1rem) var(--space-lg, 1.5rem);
  background: var(--color-surface, #141008);
  border: 2px solid var(--color-border, #2a2520);
  border-radius: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.check-option__card:hover {
  border-color: var(--color-accent, #f59e0b);
  background: rgba(245, 158, 11, 0.04);
}

.check-option input[type="radio"]:checked + .check-option__card {
  border-color: var(--color-accent, #f59e0b);
  background: rgba(245, 158, 11, 0.08);
  transform: scale(1.01);
}

.check-option__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 10px;
  color: var(--color-accent, #f59e0b);
}

.check-option__number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent, #f59e0b);
  letter-spacing: -0.02em;
}

.check-option__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.check-option__text strong {
  font-size: 1rem;
  font-weight: 600;
}

.check-option__text span {
  font-size: 0.85rem;
  color: var(--color-muted, #8a8070);
}

/* --- Kontaktformular (Schritt 7) --- */
.check-contact-form {
  max-width: 480px;
}

.check-contact-form .form__group {
  margin-bottom: var(--space-md, 1rem);
}

/* --- Navigation (Zurück / Weiter) --- */
.check-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl, 3rem);
  padding-top: var(--space-lg, 2rem);
  border-top: 1px solid var(--color-border, #2a2520);
}

.check-nav__back {
  display: flex;
  align-items: center;
}

.check-nav__next {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* --- Ergebnis-Bereich --- */
.check-result {
  animation: checkFadeIn 0.5s ease;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg, 2rem);
  margin-bottom: var(--space-2xl, 4rem);
}

.result-stat {
  text-align: center;
  padding: var(--space-lg, 2rem);
  background: var(--color-card, #1c1810);
  border: 1px solid var(--color-border, #2a2520);
  border-radius: 16px;
}

.result-stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-xs, 0.5rem);
}

.result-stat__label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.result-stat__desc {
  font-size: 0.8rem;
  color: var(--color-muted, #8a8070);
}

/* --- Top-Hebel --- */
.result-hebel {
  margin-bottom: var(--space-2xl, 4rem);
}

.result-hebel h3 {
  margin-bottom: var(--space-lg, 2rem);
  text-align: center;
}

.result-hebel__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md, 1rem);
  max-width: 640px;
  margin-inline: auto;
}

.result-hebel__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md, 1rem);
  padding: var(--space-md, 1rem) var(--space-lg, 1.5rem);
  background: var(--color-card, #1c1810);
  border: 1px solid var(--color-border, #2a2520);
  border-radius: 12px;
}

.result-hebel__rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-accent, #f59e0b);
  font-weight: 700;
  border-radius: 8px;
  font-size: 0.9rem;
}

.result-hebel__content strong {
  display: block;
  margin-bottom: 4px;
}

.result-hebel__content span {
  font-size: 0.85rem;
  color: var(--color-muted, #8a8070);
}

.result-hebel__hours {
  flex-shrink: 0;
  margin-left: auto;
  font-weight: 700;
  color: var(--color-accent, #f59e0b);
  font-size: 1.1rem;
  white-space: nowrap;
}

/* --- Paketempfehlung --- */
.result-empfehlung {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl, 4rem);
  padding: var(--space-lg, 2rem);
  background: var(--color-card, #1c1810);
  border: 2px solid var(--color-accent, #f59e0b);
  border-radius: 16px;
  text-align: center;
}

.result-empfehlung__badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent, #f59e0b);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: var(--space-sm, 0.75rem);
}

.result-empfehlung h3 {
  margin-bottom: var(--space-xs, 0.5rem);
}

.result-empfehlung p {
  color: var(--color-muted, #8a8070);
  margin-bottom: var(--space-md, 1rem);
  font-size: 0.95rem;
}

.result-empfehlung .btn {
  margin-top: var(--space-sm, 0.75rem);
}

/* --- CTA am Ende --- */
.result-cta {
  text-align: center;
  padding: var(--space-xl, 3rem) var(--space-lg, 2rem);
  background: var(--color-surface, #141008);
  border-radius: 16px;
  border: 1px solid var(--color-border, #2a2520);
}

.result-cta h3 {
  margin-bottom: var(--space-sm, 0.75rem);
}

.result-cta p {
  color: var(--color-muted, #8a8070);
  margin-bottom: var(--space-lg, 2rem);
  max-width: 480px;
  margin-inline: auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .check-card {
    padding: var(--space-lg, 2rem) var(--space-md, 1rem);
  }

  .check-step__title {
    font-size: 1.25rem;
  }

  .result-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md, 1rem);
  }

  .result-stat__number {
    font-size: 2rem;
  }

  .result-hebel__item {
    flex-wrap: wrap;
  }

  .result-hebel__hours {
    margin-left: 0;
    margin-top: var(--space-xs, 0.5rem);
  }
}
