/* Autohaus Ausber — Konfigurator-Funnel. Optik am Original-Multistep orientiert.
   Markenfarbe Rot rgb(209,46,70) aus der Plattform-Konfiguration (--color-border). */
.ausber-funnel {
  --abf-accent: rgb(209,46,70);
  --abf-accent-dark: rgb(176,37,57);
  --abf-text: #222;
  --abf-card-bg: #f6f6f7;
  --abf-border: #e4e4e7;
  --abf-radius: 6px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  font-family: var(--font-kit-text-font, inherit);
  color: var(--abf-text);
  text-align: center;
  box-sizing: border-box;
}
.ausber-funnel *, .ausber-funnel *::before, .ausber-funnel *::after { box-sizing: border-box; }

.ausber-funnel .abf-step__title {
  font-family: var(--font-kit-header-font, inherit);
  font-weight: var(--font-kit-header-font-weight, 700);
  font-size: 26px;
  line-height: 1.3;
  margin: 18px 0 10px;
  color: var(--abf-text);
}
.ausber-funnel .abf-step__desc {
  font-size: 16px;
  color: #666;
  margin: 0 0 22px;
}

/* Auswahl-Karten */
.ausber-funnel .abf-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 22px 0 6px;
}
.ausber-funnel .abf-cards--hint { animation: abf-shake .5s; }
@keyframes abf-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.ausber-funnel .abf-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  min-height: 96px;
  padding: 20px 22px;
  background: var(--abf-card-bg);
  border: 1px solid var(--abf-border);
  border-radius: var(--abf-radius);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
  font-family: inherit;
  color: var(--abf-text);
  text-align: center;
  line-height: 1.35;
}
.ausber-funnel .abf-card:hover {
  border-color: var(--abf-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.ausber-funnel .abf-card--selected {
  border-color: var(--abf-accent);
  box-shadow: 0 0 0 2px var(--abf-accent);
  background: rgba(209,46,70,.05);
}
.ausber-funnel .abf-card__label { font-size: 15px; }

/* Zahlen-Eingabe mit Einheit */
.ausber-funnel .abf-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 4px;
  max-width: 360px;
}
.ausber-funnel .abf-input--number { text-align: right; max-width: 220px; }
.ausber-funnel .abf-number__unit { font-size: 17px; font-weight: 600; color: #444; white-space: nowrap; }

/* Formularfelder */
.ausber-funnel .abf-field { margin-bottom: 14px; text-align: left; }
.ausber-funnel .abf-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.ausber-funnel .abf-req { color: var(--abf-accent); }
.ausber-funnel .abf-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--abf-text);
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: var(--abf-radius);
  outline: none;
  transition: border-color .15s;
}
.ausber-funnel .abf-input:focus { border-color: var(--abf-accent); }
.ausber-funnel .abf-input--invalid { border-color: #e04141; }

.ausber-funnel .abf-error { color: #e04141; font-size: 14px; min-height: 20px; margin: 4px 0 6px; }

/* Button */
.ausber-funnel .abf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-kit-header-font, inherit);
  color: #fff;
  background: var(--abf-accent);
  border: none;
  border-radius: var(--abf-radius);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.ausber-funnel .abf-btn:hover { background: var(--abf-accent-dark); }
.ausber-funnel .abf-btn:active { transform: translateY(1px); }
.ausber-funnel .abf-btn--submit { width: 100%; }

/* Finish */
.ausber-funnel .abf-step--finish { text-align: center; }
.ausber-funnel .abf-check {
  width: 84px;
  height: 84px;
  margin: 10px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(209,46,70,.12);
  color: var(--abf-accent);
}

@media (max-width: 680px) {
  .ausber-funnel .abf-step__title { font-size: 21px; }
  .ausber-funnel .abf-cards { flex-direction: column; align-items: center; }
  .ausber-funnel .abf-card { width: 100%; min-height: 72px; }
}
