/* Scope: nur innerhalb der .mbbaf-wrapper */
.mbbaf-wrapper { font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: #0f172a; display: flex; justify-content: center; padding: 12px; }

/* Alle Styles sind bereits korrekt gescoped mit .mbbaf- Präfixen */
.mbbaf-card { position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.92)); backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(2,6,23,0.12); border: 1px solid rgba(15,23,42,0.08); max-width: 880px; width: 100%; margin: 0 auto; }

.mbbaf-hero { position: relative; height: 280px; overflow: hidden; display: grid; }
.mbbaf-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0; transform: scale(1.05); transition: opacity .6s ease, transform 1.2s ease; }
.mbbaf-hero-img.is-visible { opacity: 1; transform: scale(1); }
.mbbaf-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,23,0.35), rgba(2,6,23,0.6)); }
.mbbaf-hero-content { position: relative; z-index: 2; display: grid; align-content: end; padding: 20px 24px 24px; }
.mbbaf-title { margin: 0 0 6px; color: #fff; font-size: 30px; letter-spacing: .2px; font-weight: 800; text-shadow: 0 6px 16px rgba(0,0,0,.25); }
.mbbaf-subtitle { margin: 0; color: #e2e8f0; font-size: 14px; }
.mbbaf-subtitle.is-hidden { display: none; }

.mbbaf-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 10px; background: #0f172a; }
.mbbaf-toggle-btn { appearance: none; border: 0; background: transparent; color: #cbd5e1; padding: 12px 18px; cursor: pointer; position: relative; font-weight: 600; letter-spacing: .3px; transition: color .25s ease; }
.mbbaf-toggle-btn.is-active { color: #fff; }
.mbbaf-toggle-btn::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #22d3ee, #a78bfa); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.mbbaf-toggle-btn.is-active::after { opacity: 1; transform: translateY(0); }

.mbbaf-form { padding: 22px; }
.mbbaf-section-title { margin: 0; font-size: 18px; font-weight: 800; color: #0b1220; letter-spacing: .2px; }
.mbbaf-step { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; }
.mbbaf-step-id { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: linear-gradient(135deg, #22d3ee, #a78bfa); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 8px 20px rgba(99,102,241,.35); }
.mbbaf-group { padding: 12px; border-radius: 16px; background: #f8fafc; border: 1px solid rgba(15,23,42,.06); margin: 10px 0; }
.mbbaf-group-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mbbaf-group-title { margin: 0; font-size: 14px; color: #0b1220; font-weight: 800; letter-spacing: .2px; }
.mbbaf-dot { width: 8px; height: 8px; background: #a78bfa; border-radius: 999px; box-shadow: 0 0 0 4px rgba(167,139,250,.15); }
.mbbaf-surface { background: linear-gradient(180deg, #f8fafc, #fff); }

.mbbaf-divider { height: 1px; background: linear-gradient(90deg, rgba(15,23,42,0), rgba(15,23,42,.1), rgba(15,23,42,0)); margin: 18px 0; }

.mbbaf-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 1100px) { .mbbaf-grid { grid-template-columns: repeat(2, 1fr); } }
.mbbaf-field { display: flex; flex-direction: column; gap: 8px; }
.mbbaf-label { font-size: 13px; color: #334155; font-weight: 600; }
.mbbaf-input, .mbbaf-textarea { width: 100%; border: 1px solid rgba(15,23,42,.15); border-radius: 12px; padding: 12px 14px; background: #fff; color: #0f172a; transition: box-shadow .2s ease, border-color .2s ease; }
.mbbaf-input:focus, .mbbaf-textarea:focus { outline: none; border-color: #818cf8; box-shadow: 0 0 0 4px rgba(129,140,248,.15); }
.mbbaf-textarea { resize: vertical; }

.mbbaf-kits { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 12px 0 4px; }
@media (min-width: 900px) { .mbbaf-kits { grid-template-columns: repeat(2, 1fr); } }
.mbbaf-kit { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #ffffff; border: 1px solid rgba(15,23,42,.08); cursor: pointer; transition: transform .1s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mbbaf-kit:hover { transform: translateY(-1px); background: #f1f5f9; box-shadow: 0 6px 16px rgba(2,6,23,0.06); }
.mbbaf-kit input { accent-color: #6366f1; }
.mbbaf-kit span { font-size: 14px; font-weight: 600; color: #0f172a; }
.mbbaf-kit input:checked + span, .mbbaf-kit input:focus + span { color: #111827; }
.mbbaf-kit input:checked ~ span { color: #0b1220; }
.mbbaf-kit input:checked { box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.mbbaf-kit.is-active { border-color: #6366f1; box-shadow: 0 10px 26px rgba(99,102,241,.15); background: linear-gradient(180deg, #ffffff, #f8faff); }

/* Zeitauswahl */
.mbbaf-time-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 12px 0 4px; }
.mbbaf-time-option { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #ffffff; border: 2px solid rgba(15,23,42,.08); cursor: pointer; transition: transform .1s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mbbaf-time-option:hover { transform: translateY(-1px); background: #f1f5f9; box-shadow: 0 6px 16px rgba(2,6,23,0.06); }
.mbbaf-time-option input { accent-color: #6366f1; }
.mbbaf-time-option input:checked + .mbbaf-time-label { color: #0b1220; font-weight: 700; }
.mbbaf-time-option input:checked { box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.mbbaf-time-option input:checked ~ .mbbaf-time-label { color: #0b1220; font-weight: 700; }
.mbbaf-time-option.is-active { border-color: #6366f1; box-shadow: 0 8px 20px rgba(99,102,241,.15); background: linear-gradient(180deg, #ffffff, #f8faff); }
.mbbaf-time-label { font-size: 14px; font-weight: 600; color: #0f172a; }

/* Mobile Optimierung */
/* Erfolgs-Transformation */
.mbbaf-success-overlay {
  position: relative;
  margin: 20px;
}

/* Close-Button entfällt in der simplen Version */

.mbbaf-success-content {
  text-align: center;
  padding: 28px 22px;
  border-radius: 16px;
  background: #ecfdf5;
  border: 1px solid rgba(16,185,129,.25);
  box-shadow: 0 16px 40px rgba(16,185,129,.2);
}

.mbbaf-success-icon {
  margin-bottom: 30px;
  animation: mbbaf-success-bounce 1s ease-out 0.5s both;
}

.mbbaf-checkmark {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.mbbaf-checkmark-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  animation: mbbaf-checkmark-scale 0.6s ease-out 0.8s both;
}

.mbbaf-checkmark-stem {
  position: absolute;
  width: 6px;
  height: 45px;
  background: white;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: bottom;
  animation: mbbaf-checkmark-draw 0.4s ease-out 1.2s both;
}

.mbbaf-checkmark-kick {
  position: absolute;
  width: 6px;
  height: 30px;
  background: white;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: bottom;
  animation: mbbaf-checkmark-draw-kick 0.4s ease-out 1.4s both;
}

.mbbaf-success-title { font-size: 24px; font-weight: 800; color: #059669; margin: 0 0 10px 0; }

.mbbaf-success-message { font-size: 14px; color: #065f46; margin: 0; }

.mbbaf-success-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: mbbaf-success-fade-in 0.6s ease-out 2s both;
}

.mbbaf-success-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 30px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  font-size: 18px;
  color: #047857;
  font-weight: 600;
}

.mbbaf-success-icon-small {
  font-size: 24px;
}

/* Animationen */
@keyframes mbbaf-success-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mbbaf-success-slide-up {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mbbaf-success-bounce {
  0% { 
    opacity: 0;
    transform: scale(0.3);
  }
  50% { 
    opacity: 1;
    transform: scale(1.1);
  }
  100% { 
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes mbbaf-checkmark-scale {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes mbbaf-checkmark-draw {
  0% { 
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scaleY(0);
  }
  100% { 
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) scaleY(1);
  }
}

@keyframes mbbaf-checkmark-draw-kick {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-45deg) scaleY(0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg) scaleY(1);
  }
}

.mobile-badge { 
  background: linear-gradient(135deg, #0ea5e9, #0284c7); 
  color: white; 
  padding: 8px 16px; 
  border-radius: 20px; 
  font-size: 12px; 
  font-weight: bold; 
  display: inline-block; 
  margin-bottom: 15px; 
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}
.mobile-table { 
  border: 2px solid #0ea5e9; 
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.2);
}

@media (max-width: 768px) {
  .mbbaf-wrapper { padding: 12px; }
  .mbbaf-card { border-radius: 16px; }
  .mbbaf-hero { height: 240px; }
  .mbbaf-title { font-size: 24px; }
  .mbbaf-subtitle { font-size: 13px; }
  
  /* Fortschrittsbalken mobil */
  .mbbaf-progress-bar { 
    gap: 4px; 
    margin: 16px 0; 
    padding: 0 10px;
    overflow: visible;
  }
  .mbbaf-progress-step { 
    flex-direction: column; 
    gap: 4px; 
    flex: 1;
    position: relative;
  }
  /* Ausgleich für Step 2 → 3: gleiche Linie und Abstand wie bei anderen */
  .mbbaf-progress-step:not(:last-child)::after { 
    content: ''; 
    position: absolute; 
    top: 16px; 
    left: calc(50% + 16px); 
    right: 12px; 
    height: 2px; 
    background: #e2e8f0; 
    z-index: 1; 
  }
  .mbbaf-progress-step.is-active:not(:last-child)::after { 
    background: linear-gradient(90deg, #22d3ee, #a78bfa); 
  }
  .mbbaf-progress-step.is-completed:not(:last-child)::after { 
    background: linear-gradient(90deg, #10b981, #059669); 
  }
  .mbbaf-progress-circle { 
    width: 32px; 
    height: 32px; 
    font-size: 14px; 
    position: relative;
    z-index: 2;
  }
  .mbbaf-progress-label { 
    display: none;
  }
  
  /* Fahrzeugarten mobil */
  .mbbaf-vehicle-types { grid-template-columns: 1fr; gap: 12px; }
  .mbbaf-vehicle-card { padding: 16px; min-height: 80px; }
  .mbbaf-vehicle-icon { font-size: 24px; }
  .mbbaf-vehicle-name { font-size: 14px; }
  .mbbaf-vehicle-desc { font-size: 12px; }
  
  /* Anzahl-Fahrzeuge mobil */
  .mbbaf-vehicle-count { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mbbaf-count-card { padding: 16px 12px; }
  .mbbaf-count-number { font-size: 18px; }
  .mbbaf-count-label { font-size: 12px; }
  
  /* Intervall-Optionen mobil */
  .mbbaf-interval-options { grid-template-columns: 1fr; gap: 12px; }
  .mbbaf-interval-card { padding: 16px; }
  .mbbaf-interval-name { font-size: 15px; }
  .mbbaf-interval-desc { font-size: 12px; }
  
  /* Empfehlung/Warnung mobil */
  .mbbaf-recommendation-badge, .mbbaf-warning-badge { 
    top: -8px; right: -8px; 
    font-size: 10px; 
    padding: 4px 8px; 
  }
  .mbbaf-interval-recommended input:checked + .mbbaf-interval-card,
  .mbbaf-interval-warning input:checked + .mbbaf-interval-card {
    transform: translateY(-4px) scale(1.08);
    border-width: 4px;
  }
  .mbbaf-interval-recommended input:checked + .mbbaf-interval-card .mbbaf-interval-name,
  .mbbaf-interval-warning input:checked + .mbbaf-interval-card .mbbaf-interval-name {
    font-size: 16px;
  }
  
  /* Method-Optionen mobil */
  .mbbaf-method-options { grid-template-columns: 1fr; gap: 12px; }
  .mbbaf-method-card { padding: 16px; }
  .mbbaf-method-icon { font-size: 24px; }
  .mbbaf-method-name { font-size: 14px; }
  .mbbaf-method-desc { font-size: 12px; }
  
  /* Zeitauswahl mobil */
  .mbbaf-time-options { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mbbaf-time-option { padding: 10px 8px; }
  .mbbaf-time-label { font-size: 13px; }
  
  /* Kontakt-Kits mobil */
  .mbbaf-kits { gap: 8px; }
  .mbbaf-kit { padding: 12px 14px; }
  .mbbaf-kit span { font-size: 13px; }
  
  /* Grid mobil */
  .mbbaf-grid { grid-template-columns: 1fr; gap: 16px; }
  
  /* Zusammenfassung mobil */
  .mbbaf-summary { gap: 12px; }
  .mbbaf-summary-item { flex-direction: column; gap: 4px; align-items: flex-start; }
  .mbbaf-summary-label { font-size: 13px; }
  .mbbaf-summary-value { font-size: 14px; }
  
  /* Buttons mobil */
  .mbbaf-step-actions { gap: 12px; }
  .mbbaf-step-btn { padding: 14px 20px; font-size: 15px; }
  
  /* Toggle mobil */
  .mbbaf-toggle-btn { padding: 14px 16px; font-size: 14px; }
  
  /* Pill-Group mobil */
  .mbbaf-pill-group { gap: 8px; }
  .mbbaf-pill { padding: 10px 14px; font-size: 13px; }
  
  /* Textarea mobil */
  .mbbaf-textarea { min-height: 100px; }
  
  /* Hint mobil */
  .mbbaf-hint { font-size: 13px; padding: 12px; }
  
  /* Erfolgs-Fenster mobil */
  .mbbaf-success-content {
    padding: 36px 20px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 48px);
  }
  .mbbaf-success-title {
    font-size: 28px;
  }
  .mbbaf-success-message {
    font-size: 18px;
  }
  .mbbaf-checkmark {
    width: 100px;
    height: 100px;
  }
  .mbbaf-checkmark-circle {
    width: 100px;
    height: 100px;
  }
  .mbbaf-success-item {
    padding: 16px 24px;
    font-size: 16px;
  }
  .mbbaf-success-icon-small {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .mbbaf-wrapper { padding: 8px; }
  .mbbaf-hero { height: 200px; }
  .mbbaf-title { font-size: 20px; }
  
  /* Fortschrittsbalken sehr kleine Bildschirme */
  .mbbaf-progress-bar { 
    gap: 2px; 
    margin: 12px 0; 
    padding: 0 5px;
  }
  .mbbaf-progress-step:not(:last-child)::after { 
    left: calc(50% + 14px); 
    right: 7px; 
    height: 1px; 
  }
  .mbbaf-progress-circle { 
    width: 28px; 
    height: 28px; 
    font-size: 12px; 
  }
  .mbbaf-progress-label { 
    font-size: 9px; 
  }
  
  /* Erfolgs-Fenster sehr klein */
  .mbbaf-success-content {
    padding: 50px 20px;
    min-height: 450px;
  }
  .mbbaf-success-title {
    font-size: 24px;
  }
  .mbbaf-success-message {
    font-size: 16px;
  }
  .mbbaf-checkmark {
    width: 80px;
    height: 80px;
  }
  .mbbaf-checkmark-circle {
    width: 80px;
    height: 80px;
  }
  .mbbaf-success-item {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  /* Fahrzeugarten sehr klein */
  .mbbaf-vehicle-card { padding: 12px; min-height: 70px; }
  .mbbaf-vehicle-icon { font-size: 20px; }
  .mbbaf-vehicle-name { font-size: 13px; }
  .mbbaf-vehicle-desc { font-size: 11px; }
  
  /* Anzahl-Fahrzeuge sehr klein */
  .mbbaf-vehicle-count { grid-template-columns: 1fr; gap: 8px; }
  .mbbaf-count-card { padding: 12px; }
  .mbbaf-count-number { font-size: 16px; }
  
  /* Intervall-Optionen sehr klein */
  .mbbaf-interval-card { padding: 12px; }
  .mbbaf-interval-name { font-size: 14px; }
  .mbbaf-interval-desc { font-size: 11px; }
  
  /* Zeitauswahl sehr klein */
  .mbbaf-time-options { grid-template-columns: 1fr; gap: 6px; }
  .mbbaf-time-option { padding: 8px 6px; }
  .mbbaf-time-label { font-size: 12px; }
  
  /* Buttons sehr klein */
  .mbbaf-step-btn { padding: 12px 16px; font-size: 14px; }
  
  /* Toggle sehr klein */
  .mbbaf-toggle-btn { padding: 12px 14px; font-size: 13px; }
}

.mbbaf-fieldset { border: 0; padding: 0; margin: 10px 0 0; }

.mbbaf-radio-group { display: grid; gap: 8px; margin-top: 8px; }
.mbbaf-radio { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.mbbaf-radio input { accent-color: #6366f1; }
.mbbaf-radio, .mbbaf-pill, .mbbaf-time-option, .mbbaf-method-option, .mbbaf-count-option, .mbbaf-vehicle-type { cursor: pointer; }
.mbbaf-radio input, .mbbaf-pill input, .mbbaf-time-option input, .mbbaf-method-option input, .mbbaf-count-option input, .mbbaf-vehicle-type input { width: 22px; height: 22px; }
.mbbaf-vehicle-card, .mbbaf-method-card, .mbbaf-count-card { padding: 18px 18px; }
.mbbaf-vehicle-card { min-height: 96px; }

.mbbaf-pill-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 12px 0; }
.mbbaf-pill { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #ffffff; border: 1px solid rgba(15,23,42,.08); cursor: pointer; transition: transform .1s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mbbaf-pill:hover { transform: translateY(-1px); background: #f1f5f9; box-shadow: 0 6px 16px rgba(2,6,23,0.06); }
.mbbaf-pill input { accent-color: #6366f1; }
.mbbaf-pill input:checked { box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.mbbaf-pill input:checked + span { color: #0b1220; font-weight: 600; }

.mbbaf-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.mbbaf-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: none; color: #fff; font-weight: 700; letter-spacing: .3px; cursor: pointer; background: linear-gradient(135deg, #0ea5e9, #6366f1 50%, #8b5cf6); box-shadow: 0 12px 30px rgba(99,102,241,.35); transition: transform .08s ease, box-shadow .2s ease; }
.mbbaf-button:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(99,102,241,.45); }
.mbbaf-button:disabled { opacity: .7; cursor: not-allowed; }

.mbbaf-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; display: none; animation: mbbaf-spin 1s linear infinite; }
.mbbaf-button.is-loading .mbbaf-spinner { display: inline-block; }
.mbbaf-button.is-loading .mbbaf-button-label { opacity: .85; }
@keyframes mbbaf-spin { to { transform: rotate(360deg); } }

.mbbaf-hint { color: #475569; font-size: 12px; }
.mbbaf-privacy-link { color: #0ea5e9; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.mbbaf-privacy-link:hover { color: #0284c7; }
.mbbaf-feedback { margin-top: 10px; font-weight: 600; }
.mbbaf-feedback.is-success { color: #16a34a; }
.mbbaf-feedback.is-error { color: #dc2626; }

.mbbaf-section { animation: mbbaf-fade .35s ease; }
.mbbaf-section.is-hidden { display: none; }
/* generisches Hidden für dynamische Gruppen */
.mbbaf-wrapper .is-hidden { display: none; }
@keyframes mbbaf-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll-Reveal */
.mbbaf-reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.mbbaf-reveal.is-in { opacity: 1; transform: translateY(0); }

/* Kleinere optische Details */
.mbbaf-input.mbbaf-invalid, .mbbaf-textarea.mbbaf-invalid { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.12); }

/* Schritt-System */
.mbbaf-step-content { animation: mbbaf-fade .35s ease; }
.mbbaf-step-content.is-hidden { display: none; }
.mbbaf-step-header { margin-bottom: 24px; text-align: center; }
.mbbaf-step-title { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: #0b1220; }
.mbbaf-step-description { margin: 0; color: #64748b; font-size: 14px; }

/* Fortschrittsbalken */
.mbbaf-progress-bar { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 30px; padding: 0 20px; }
.mbbaf-progress-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; position: relative; }
.mbbaf-progress-step:not(:last-child)::after { content: ''; position: absolute; top: 16px; left: 50%; width: 50%; height: 2px; background: #e2e8f0; z-index: 1; margin-left: 20px; }
.mbbaf-progress-step.is-active:not(:last-child)::after { background: linear-gradient(90deg, #22d3ee, #a78bfa); }
.mbbaf-progress-circle { width: 32px; height: 32px; border-radius: 50%; background: #e2e8f0; color: #64748b; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; transition: all .3s ease; position: relative; z-index: 2; }
.mbbaf-progress-step.is-active .mbbaf-progress-circle { background: linear-gradient(135deg, #22d3ee, #a78bfa); color: #fff; box-shadow: 0 4px 12px rgba(99,102,241,.3); }
.mbbaf-progress-step.is-completed .mbbaf-progress-circle { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.mbbaf-progress-label { font-size: 12px; font-weight: 600; color: #64748b; text-align: center; }
.mbbaf-progress-step.is-active .mbbaf-progress-label { color: #0b1220; }

/* Fahrzeugarten */
.mbbaf-vehicle-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 20px 0; align-items: stretch; }
.mbbaf-vehicle-type { cursor: pointer; display: flex; }
.mbbaf-vehicle-type input { display: none; }
.mbbaf-vehicle-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; background: #fff; border: 2px solid rgba(15,23,42,.08); transition: all .2s ease; width: 100%; }
.mbbaf-vehicle-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(2,6,23,0.08); border-color: rgba(99,102,241,.2); }
.mbbaf-vehicle-type input:checked + .mbbaf-vehicle-card { border-color: #6366f1; background: linear-gradient(180deg, #f8faff, #fff); box-shadow: 0 12px 32px rgba(99,102,241,.15); }
.mbbaf-vehicle-icon { font-size: 32px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e0e7ff, #c7d2fe); border-radius: 12px; flex-shrink: 0; }
.mbbaf-vehicle-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mbbaf-vehicle-name { font-size: 16px; font-weight: 700; color: #0b1220; }
.mbbaf-vehicle-desc { font-size: 13px; color: #64748b; }

/* Anzahl Fahrzeuge */
.mbbaf-vehicle-count { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin: 20px 0; }
.mbbaf-count-option { cursor: pointer; }
.mbbaf-count-option input { display: none; }
.mbbaf-count-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; border-radius: 16px; background: #fff; border: 2px solid rgba(15,23,42,.08); transition: all .2s ease; text-align: center; }
.mbbaf-count-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(2,6,23,0.08); border-color: rgba(99,102,241,.2); }
.mbbaf-count-option input:checked + .mbbaf-count-card { border-color: #6366f1; background: linear-gradient(180deg, #f8faff, #fff); box-shadow: 0 12px 32px rgba(99,102,241,.15); }
.mbbaf-count-number { font-size: 24px; font-weight: 800; color: #0b1220; }
.mbbaf-count-label { font-size: 13px; color: #64748b; font-weight: 600; }

/* Intervall-Optionen */
.mbbaf-interval-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; align-items: stretch; }
.mbbaf-interval-option { cursor: pointer; display: flex; }
.mbbaf-interval-option input { display: none; }
.mbbaf-interval-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: #fff; border: 2px solid rgba(15,23,42,.08); transition: all .2s ease; text-align: center; position: relative; width: 100%; }
.mbbaf-interval-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(2,6,23,0.08); border-color: rgba(99,102,241,.2); }
.mbbaf-interval-option input:checked + .mbbaf-interval-card { border-color: #6366f1; background: linear-gradient(180deg, #f8faff, #fff); box-shadow: 0 12px 32px rgba(99,102,241,.15); transform: translateY(-2px) scale(1.05); border-width: 3px; }
.mbbaf-interval-name { font-size: 16px; font-weight: 700; color: #0b1220; }
.mbbaf-interval-desc { font-size: 13px; color: #64748b; }

/* Empfehlung für alle 2 Wochen */
.mbbaf-interval-recommended .mbbaf-interval-card { border-color: #10b981; background: linear-gradient(180deg, #f0fdf4, #fff); border-width: 3px; }
.mbbaf-interval-recommended .mbbaf-interval-card:hover { border-color: #059669; transform: translateY(-3px) scale(1.02); }
.mbbaf-interval-recommended input:checked + .mbbaf-interval-card { border-color: #059669; background: linear-gradient(180deg, #ecfdf5, #f0fdf4); box-shadow: 0 20px 50px rgba(16,185,129,.35); transform: translateY(-6px) scale(1.12); border-width: 5px; }
.mbbaf-interval-recommended input:checked + .mbbaf-interval-card .mbbaf-interval-name { color: #059669; font-weight: 900; font-size: 18px; }
.mbbaf-interval-recommended input:checked + .mbbaf-interval-card .mbbaf-interval-desc { color: #047857; font-weight: 700; }
.mbbaf-recommendation-badge { position: absolute; top: -12px; right: -12px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 16px; box-shadow: 0 6px 16px rgba(16,185,129,.4); animation: mbbaf-pulse-green 2s infinite; }
@keyframes mbbaf-pulse-green { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* Warnung für einmalig */
.mbbaf-interval-warning .mbbaf-interval-card { border-color: #f59e0b; background: linear-gradient(180deg, #fffbeb, #fff); border-width: 3px; }
.mbbaf-interval-warning .mbbaf-interval-card:hover { border-color: #d97706; transform: translateY(-3px) scale(1.02); }
.mbbaf-interval-warning input:checked + .mbbaf-interval-card { border-color: #dc2626; background: linear-gradient(180deg, #fef2f2, #fffbeb); box-shadow: 0 20px 50px rgba(220,38,38,.35); transform: translateY(-6px) scale(1.12); border-width: 5px; }
.mbbaf-interval-warning input:checked + .mbbaf-interval-card .mbbaf-interval-name { color: #dc2626; font-weight: 900; font-size: 18px; }
.mbbaf-interval-warning input:checked + .mbbaf-interval-card .mbbaf-interval-desc { color: #991b1b; font-weight: 700; }
.mbbaf-warning-badge { position: absolute; top: -12px; right: -12px; background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 16px; box-shadow: 0 6px 16px rgba(245,158,11,.4); }
.mbbaf-warning-text { font-size: 12px; color: #92400e; font-style: italic; margin-top: 8px; padding: 8px; background: rgba(245,158,11,.1); border-radius: 8px; }

/* Method-Optionen */
.mbbaf-method-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 20px 0; }
.mbbaf-method-option { cursor: pointer; }
.mbbaf-method-option input { display: none; }
.mbbaf-method-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; background: #fff; border: 2px solid rgba(15,23,42,.08); transition: all .2s ease; }
.mbbaf-method-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(2,6,23,0.08); border-color: rgba(99,102,241,.2); }
.mbbaf-method-option input:checked + .mbbaf-method-card { border-color: #6366f1; background: linear-gradient(180deg, #f8faff, #fff); box-shadow: 0 12px 32px rgba(99,102,241,.15); }
.mbbaf-method-icon { font-size: 32px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e0e7ff, #c7d2fe); border-radius: 12px; }
.mbbaf-method-info { display: flex; flex-direction: column; gap: 4px; }
.mbbaf-method-name { font-size: 16px; font-weight: 700; color: #0b1220; }
.mbbaf-method-desc { font-size: 13px; color: #64748b; }

/* Schritt-Navigation */
.mbbaf-step-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(15,23,42,.08); }
.mbbaf-step-actions-center { justify-content: center; }
.mbbaf-step-btn { padding: 12px 24px; border-radius: 12px; border: none; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.mbbaf-step-back { background: #f1f5f9; color: #475569; }
.mbbaf-step-back:hover { background: #e2e8f0; transform: translateY(-1px); }
.mbbaf-step-next, .mbbaf-step-submit { background: linear-gradient(135deg, #0ea5e9, #6366f1 50%, #8b5cf6); color: #fff; box-shadow: 0 8px 24px rgba(99,102,241,.35); }
.mbbaf-step-next:hover, .mbbaf-step-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(99,102,241,.45); }

/* Zusammenfassung */
.mbbaf-summary { background: linear-gradient(180deg, #f8fafc, #fff); border-radius: 16px; padding: 20px; margin: 20px 0; border: 1px solid rgba(15,23,42,.06); }
.mbbaf-summary-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(15,23,42,.06); }
.mbbaf-summary-item:last-child { border-bottom: none; }
.mbbaf-summary-label { font-weight: 600; color: #475569; }
.mbbaf-summary-value { font-weight: 700; color: #0b1220; }
.mbbaf-price-estimate { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border-radius: 12px; padding: 16px; margin: 16px 0 0; border: 1px solid rgba(14,165,233,.2); }
.mbbaf-price-estimate .mbbaf-summary-label { color: #0369a1; }
.mbbaf-price-estimate .mbbaf-summary-value { color: #0c4a6e; font-size: 14px; font-weight: 600; }


