/* =====================================================
   MLP-Ergänzungen für /online-check/
   Ergänzt das vorhandene globale Design, ersetzt es nicht.
   ===================================================== */

/* ---------- Grundlayout ---------- */

.mlp-hero {
  display: grid;
  gap: 18px;
}

.mlp-eyebrow {
  display: inline-block;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mlp-lead {
  max-width: 920px;
  font-size: 1.05rem;
}

/* ---------- Grid ---------- */

.mlp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mlp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mlp-grid-3 > *,
.mlp-grid-2 > * {
  min-width: 0;
}

/* ---------- Cards ---------- */

.mlp-card-strong {
  border: 2px solid var(--border-color);
  background: #fff;
}

.mlp-card-muted {
  background: rgba(255, 255, 255, 0.75);
}

.mlp-card-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
}

/* ---------- Listen ---------- */

.mlp-benefit-list {
  margin: 0;
  padding-left: 1.2em;
}

.mlp-benefit-list li {
  margin-bottom: 0.35em;
}

/* ---------- Formular-Einstieg ---------- */

.mlp-form-intro {
  padding: 14px 16px;
  border-left: 4px solid #E67E22;
  border-radius: 8px;
  background: #fff;
}

.mlp-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.mlp-section-kicker {
  margin-top: -6px;
  color: var(--muted-text);
}

/* ---------- Formularfelder ---------- */

.contact-form .card {
  display: grid;
  gap: 16px;
}

.contact-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d8d0c7;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.contact-form select:focus {
  outline: none;
  border-color: #E67E22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

.captcha-word {
  color: #b42318;
  font-weight: 700;
}

.form-hint {
  margin-top: 4px;
  color: var(--muted-text);
  font-size: 0.85rem;
}

/* ---------- Formular-Wizard ---------- */

.contact-form .card.form-step {
  display: none;
}

.contact-form .card.form-step.is-active {
  display: grid;
}

.form-step-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.form-step-nav .btn {
  min-width: 140px;
}

.form-progress {
  margin-bottom: 8px;
  color: var(--muted-text);
  font-size: 0.9rem;
}

/* ---------- Submit ---------- */

.mlp-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mlp-submit-row .btn {
  min-width: min(100%, 280px);
}

/* ---------- Hinweise / Alerts ---------- */

.mlp-alert {
  padding: 16px 18px;
  border: 1px solid var(--soft-border);
  border-radius: 10px;
  background: #fff;
}

.mlp-alert--error {
  border-color: #b42318;
  background: #fff5f4;
  color: #7a1c13;
}

.mlp-alert--success {
  border-color: #17663a;
  background: #f3fff7;
  color: #17663a;
}

/* ---------- Next Steps ---------- */

.mlp-next-steps {
  counter-reset: steps;
  display: grid;
  gap: 12px;
}

.mlp-next-step {
  position: relative;
  min-height: 36px;
  padding-left: 44px;
}

.mlp-next-step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
}

/* ---------- Trust / Callback ---------- */

.mlp-callback-box {
  border: 2px solid #000;
  background: #fff;
}

.mlp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.mlp-trust-pill {
  display: inline-block;
  padding: 6px 9px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- Fehlerseite ---------- */

.mlp-error-section {
  min-height: 360px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .mlp-grid-3,
  .mlp-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-step-nav {
    flex-direction: column;
  }

  .form-step-nav .btn,
  .mlp-submit-row .btn {
    width: 100%;
  }
}