/* Checkup – Wizard & Ergebnis-Dashboard */

.checkup-hero .hero-split__inner {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.checkup-hero .hero-split__content h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.checkup-section {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

form#checkup-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.checkup-intro {
  max-width: 640px;
  margin: 1.25rem auto 0;
  text-align: left;
  color: var(--ink-600);
  font-size: 1rem;
  line-height: 1.55;
}

.checkup-context-banner {
  max-width: 640px;
  margin: 1.25rem auto 0;
  padding: 1rem 1.25rem;
  background: var(--brand-100);
  border-radius: var(--radius-md);
  border: 1px solid #b8e8d9;
  color: #1e3a3a;
  font-size: 0.98rem;
  line-height: 1.55;
}

.checkup-flow-strip {
  max-width: 640px;
  margin: 0.75rem auto 0;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--ink-600);
  font-size: 0.95rem;
  text-align: center;
}

.checkup-progress-wrap {
  margin-bottom: 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.checkup-progress-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.checkup-progress-meta strong {
  color: var(--ink-900);
}

.checkup-progress-dots {
  display: flex;
  gap: 4px;
  margin: 0.65rem 0 0.5rem;
  flex-wrap: wrap;
}

.checkup-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s ease, transform 0.2s ease;
}

.checkup-progress-dot.is-done {
  background: var(--brand-500);
}

.checkup-progress-dot.is-current {
  background: var(--brand-500);
  transform: scale(1.35);
}

.checkup-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.checkup-progress-bar > span {
  display: block;
  height: 100%;
  background: var(--brand-500);
  border-radius: 99px;
  width: 0%;
  transition: width 0.25s ease;
}

.checkup-bereich-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-600);
  margin: 0 0 0.5rem;
}

.frage-block {
  display: none;
}

.frage-block.is-active {
  display: block;
  animation: checkupFadeIn 0.25s ease;
}

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

.frage-block--focus {
  outline: none;
}

.frage-block label strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.frage-block select {
  display: none;
}

.radio-cards {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.radio-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-card__body {
  display: block;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.radio-card__body::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.radio-card input:checked + .radio-card__body {
  border-color: var(--brand-500);
  background: var(--brand-100);
  color: var(--ink-900);
  box-shadow: 0 0 0 3px rgba(0, 181, 139, 0.12);
}

.radio-card input:checked + .radio-card__body::before {
  border-color: var(--brand-500);
  background: var(--brand-500);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.radio-card input:focus-visible + .radio-card__body {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.radio-card:hover .radio-card__body {
  border-color: #94a3b8;
}

.checkup-wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.checkup-wizard-nav .btn--ghost {
  visibility: hidden;
}

.checkup-wizard-nav .btn--ghost.is-visible {
  visibility: visible;
}

form#checkup-form input[type="submit"] {
  display: none;
}

form#checkup-form input[type="submit"].is-visible {
  display: inline-flex;
}

/* Ergebnis-Dashboard */

.score-output {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 2rem auto 0;
  display: none;
}

.result-dashboard__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.result-dashboard__header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  color: var(--ink-900);
}

.result-score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
}

.result-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.result-score-ring__track {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.result-score-ring__fill {
  fill: none;
  stroke: var(--brand-500);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.result-score-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.result-score-ring__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1;
}

.result-score-ring__unit {
  font-size: 0.85rem;
  color: var(--ink-600);
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
}

.result-badge--red    { background: #fef2f2; color: #b91c1c; }
.result-badge--yellow { background: #fffbeb; color: #b45309; }
.result-badge--green  { background: #ecfdf5; color: #047857; }

.result-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.result-summary {
  text-align: center;
  color: var(--ink-600);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0.75rem 0 0;
}

.result-bereiche {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.result-bereiche h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-900);
}

.result-bereich-row {
  margin-bottom: 0.85rem;
}

.result-bereich-row__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ink-600);
  margin-bottom: 0.3rem;
}

.result-bereich-row__label strong {
  color: var(--ink-900);
  font-weight: 500;
}

.result-bereich-bar {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.result-bereich-bar > span {
  display: block;
  height: 100%;
  background: var(--brand-500);
  border-radius: 99px;
  transition: width 0.6s ease;
}

.checkup-result-addon {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  text-align: left;
  background: var(--surface);
  border-left: 3px solid var(--brand-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-500);
}

.checkup-result-addon h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--ink-900);
}

.checkup-result-addon .sub {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-600);
}

.checkup-result-addon p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-600);
}

.checkup-result-priorities {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.checkup-result-priorities h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--ink-900);
}

.checkup-result-priorities ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkup-cta-next {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  text-align: center;
  background: var(--brand-100);
  border: 1px solid #b8e8d9;
  border-radius: var(--radius-md);
}

.checkup-cta-next p {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  color: var(--ink-900);
  line-height: 1.45;
}

.checkup-cta-next .sub {
  font-size: 0.88rem;
  color: var(--ink-600);
  margin-bottom: 0;
}

.checkup-pro-deepen {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.15rem;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.checkup-pro-deepen p {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  color: var(--ink-900);
  line-height: 1.45;
}

.checkup-pro-deepen .sub {
  font-size: 0.9rem;
  color: var(--ink-600);
  margin-bottom: 0.85rem;
}

.checkup-pro-deepen-benefits {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.35rem;
  text-align: left;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.93rem;
  color: var(--ink-600);
  line-height: 1.45;
}

.checkup-result-echo {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #14532d;
  background: #f0fdf4;
  border-radius: var(--radius-md);
  border: 1px solid #bbf7d0;
}

.checkup-business-cta {
  margin: 1.25rem 0 0;
  padding: 1.35rem 1.4rem;
  background: var(--ink-900);
  color: #e2e8f0;
  border-radius: var(--radius-md);
}

.checkup-business-cta h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #fff;
}

.checkup-business-cta p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.checkup-next-steps {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #94a3b8;
}

.checkup-inquiry-cta {
  width: 100%;
  max-width: none;
}

.checkup-page-title {
  text-align: center;
  color: var(--ink-900);
  font-size: 1.5rem;
  margin: 0;
}

@media (max-width: 768px) {
  form#checkup-form {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border-left: none;
    border-right: none;
  }
}
