/* ═══════════════════════════════════
   MAATWERK — Formulator Wizard
═══════════════════════════════════ */

.mwiz {
  max-width: 640px;
  margin: 0 auto;
}

.mwiz__progress {
  height: 3px;
  background: var(--border);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-10);
  overflow: hidden;
}

.mwiz__progress-bar {
  height: 100%;
  background: var(--acc);
  border-radius: var(--r-full);
  width: 0%;
  transition: width var(--dur-med) var(--ease-out);
}

.mwiz__step {
  min-height: 320px;
}

.mwiz__step-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: var(--sp-3);
}

.mwiz__title {
  font-family: var(--heading);
  font-size: var(--text-xl);
  color: var(--deep);
  margin-bottom: var(--sp-5);
  line-height: 1.3;
}

.mwiz__intro {
  font-size: 14.5px;
  color: var(--muted);
  margin: calc(-1 * var(--sp-3)) 0 var(--sp-5);
  line-height: 1.65;
}

.mwiz__options {
  display: grid;
  gap: var(--sp-3);
}

.mwiz__option {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  -webkit-user-select: none;
  user-select: none;
}

.mwiz__option:hover {
  border-color: var(--acc);
  transform: translateX(4px);
}

.mwiz__option.selected {
  border-color: var(--acc);
  background: var(--pale);
}

.mwiz__option-radio,
.mwiz__option-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-fast);
  margin-top: 2px;
}

.mwiz__option-radio { border-radius: 50%; }
.mwiz__option-check { border-radius: 5px; }

.mwiz__option.selected .mwiz__option-radio,
.mwiz__option.selected .mwiz__option-check {
  border-color: var(--acc);
}

.mwiz__option.selected .mwiz__option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--acc);
  border-radius: 50%;
}

.mwiz__option.selected .mwiz__option-check::after {
  content: '✓';
  color: var(--acc);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.mwiz__option-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mwiz__option-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--deep);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.mwiz__option-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.mwiz__badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--acc);
  border-radius: var(--r-full);
  padding: 3px 10px;
  white-space: nowrap;
}

.mwiz__input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--deep);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  transition: border-color var(--dur-fast);
  resize: vertical;
}

.mwiz__input:focus {
  outline: none;
  border-color: var(--acc);
}

.mwiz__textarea-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: var(--sp-5) 0 var(--sp-2);
}

.mwiz__hint {
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(82, 183, 136, .06);
  border-left: 3px solid var(--acc);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--deep);
}

.mwiz__notice {
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--pale);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--deep);
}

.mwiz__nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

/* ── Samenvatting + formulier ── */

.mwiz__final {
  max-width: 680px;
  margin: 0 auto;
}

.mwiz__summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.mwiz__summary-list {
  margin: var(--sp-3) 0 0;
}

.mwiz__summary-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
}

.mwiz__summary-row:last-child {
  border-bottom: none;
}

.mwiz__summary-row dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.mwiz__summary-row dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--deep);
  line-height: 1.6;
  white-space: pre-line;
}

.mwiz__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}

/* Responsive */

@media (max-width: 768px) {
  .mwiz__step {
    min-height: auto;
  }

  .mwiz__title {
    font-size: var(--text-lg);
  }

  .mwiz__summary-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
