/* =============================================================
   KönigShield Vorbestell-Funnel — Mobile-First
   Erbt Tokens aus colors_and_type.css / kw-styles.css.
   ============================================================= */

@import url("./colors_and_type.css");

/* === GLOBAL RESET / PAGE === */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--kw-bg-alt); }
body { font-family: var(--kw-font-body); color: var(--kw-body-text); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Visually-hidden helper — for real <input> tags inside styled <label> cards (Fluent Forms-ready) */
.fn-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* === CHECKOUT HEADER ===
   Reduzierter Header — nur Logo, Trust-Strip, Telefon. Keine Navigation
   im Checkout (Konversions-Best-Practice). */
.fn-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--kw-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.fn-header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.fn-header-logo img { width: 130px; height: auto; }
.fn-header-trust {
  display: none;  /* zu eng auf mobile, Logo + Phone reichen */
  align-items: center; gap: 6px;
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 600;
  color: var(--kw-text-muted);
  letter-spacing: 0.3px;
}
.fn-header-trust svg { color: var(--kw-success); }
.fn-header-phone {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 700;
  color: var(--kw-bordeaux);
  text-decoration: none;
}

@media (min-width: 720px) {
  .fn-header-inner { padding: 14px 32px; }
  .fn-header-logo img { width: 170px; }
  .fn-header-trust { display: inline-flex; font-size: 12px; }
}

/* === COUNTDOWN BANNER ===
   Schmal, sand-Hintergrund, durchgehend sichtbar — kein Marketing-Schrei,
   aber präsent in jedem Schritt. */
.fn-countdown {
  background: var(--kw-body-text);
  color: #fff;
  padding: 10px 16px;
}
.fn-countdown-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: var(--kw-font-display);
  font-size: 12px; letter-spacing: 0.3px;
}
.fn-countdown-pulse {
  display: inline-flex; flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--kw-bordeaux-light);
  animation: fn-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(176,42,74,0.7);
}
@keyframes fn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(176,42,74,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(176,42,74,0); }
}
.fn-countdown-label { opacity: 0.7; font-weight: 400; font-family: var(--kw-font-body); font-size: 13px; }
.fn-countdown-value { color: var(--kw-sand); font-weight: 700; font-size: 13px; }
.fn-countdown-date { margin-left: auto; opacity: 0.5; font-weight: 400; font-family: var(--kw-font-body); font-size: 12px; display: none; }

@media (min-width: 720px) {
  .fn-countdown { padding: 12px 32px; }
  .fn-countdown-inner { font-size: 13px; }
  .fn-countdown-label, .fn-countdown-value, .fn-countdown-date { font-size: 14px; }
  .fn-countdown-date { display: inline; }
}

/* === PAGE LAYOUT === */
.fn-page { min-height: 100vh; display: flex; flex-direction: column; }
.fn-main { flex: 1; }
.fn-shell {
  max-width: 1280px; margin: 0 auto;
  padding: 0 16px 200px;  /* bottom-padding für sticky summary bar mobile */
}
@media (min-width: 720px) {
  .fn-shell { padding: 0 32px 80px; }
}
@media (min-width: 1024px) {
  .fn-shell {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
    padding-bottom: 80px;
  }
}

/* === HERO HEADLINE STRIP (mobile + desktop) === */
.fn-hero {
  padding: 28px 0 8px;
  grid-column: 1 / -1;
}
.fn-hero-overline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--kw-bordeaux);
  margin-bottom: 10px;
}
.fn-hero-overline::before {
  content: ''; width: 24px; height: 2px;
  background: var(--kw-bordeaux); border-radius: 1px;
}
.fn-hero h1 {
  font-family: var(--kw-font-display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 8px;
  color: var(--kw-body-text);
}
.fn-hero-sub {
  font-family: var(--kw-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--kw-text-muted);
  margin: 0;
  max-width: 540px;
}
@media (min-width: 720px) {
  .fn-hero { padding: 40px 0 12px; }
  .fn-hero h1 { font-size: clamp(36px, 5vw, 48px); }
  .fn-hero-sub { font-size: 17px; }
}

/* === STEPPER ===
   Mobile: kompakter Counter "Schritt 2 / 5" + dünne Progress-Linie.
   Desktop: numerische Pills mit Label nebeneinander. */
.fn-stepper {
  margin: 18px 0 22px;
  grid-column: 1 / -1;
}
.fn-stepper-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--kw-font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--kw-text-muted);
}
.fn-stepper-meta-current { color: var(--kw-bordeaux); }
.fn-stepper-track {
  height: 4px;
  background: var(--kw-border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.fn-stepper-fill {
  position: absolute; inset: 0 auto 0 0;
  background: var(--kw-bordeaux);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}
.fn-stepper-tabs { display: none; }

@media (min-width: 720px) {
  .fn-stepper { margin: 28px 0 32px; }
  .fn-stepper-meta { display: none; }
  .fn-stepper-track { display: none; }
  .fn-stepper-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    position: relative;
  }
  .fn-stepper-tab {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px 12px 12px;
    border: 0; background: transparent;
    text-align: left;
    border-top: 3px solid var(--kw-border);
    transition: border-color var(--kw-transition);
    min-width: 0;
  }
  .fn-stepper-tab-num {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--kw-cream-dark);
    color: var(--kw-text-muted);
    font-family: var(--kw-font-display);
    font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--kw-transition);
  }
  .fn-stepper-tab-label {
    font-family: var(--kw-font-display);
    font-size: 13px; font-weight: 600;
    color: var(--kw-text-muted);
    line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .fn-stepper-tab.is-done { border-top-color: var(--kw-bordeaux); cursor: pointer; }
  .fn-stepper-tab.is-done .fn-stepper-tab-num { background: var(--kw-bordeaux); color: #fff; }
  .fn-stepper-tab.is-done .fn-stepper-tab-label { color: var(--kw-body-text); }
  .fn-stepper-tab.is-current { border-top-color: var(--kw-bordeaux); }
  .fn-stepper-tab.is-current .fn-stepper-tab-num {
    background: var(--kw-bordeaux); color: #fff;
    box-shadow: 0 0 0 4px rgba(151,35,63,0.15);
  }
  .fn-stepper-tab.is-current .fn-stepper-tab-label { color: var(--kw-body-text); }
}

/* === STEP CARD (container für die Step-Inhalte) === */
.fn-step {
  background: #fff;
  border: 1px solid var(--kw-border);
  border-radius: var(--kw-radius);
  padding: 24px 20px;
  box-shadow: var(--kw-shadow-sm);
}
@media (min-width: 720px) {
  .fn-step { padding: 36px 40px; }
}

.fn-step-head { margin-bottom: 24px; }
.fn-step-eyebrow {
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px;
  color: var(--kw-bordeaux);
  margin: 0 0 8px;
}
.fn-step h2 {
  font-family: var(--kw-font-display);
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 700; line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 8px;
  color: var(--kw-body-text);
}
.fn-step-lead {
  font-family: var(--kw-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--kw-text-muted);
  margin: 0;
}

/* === SECTION LABEL inside step === */
.fn-section { margin-top: 28px; }
.fn-section:first-child { margin-top: 0; }
.fn-section-label {
  font-family: var(--kw-font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--kw-body-text);
  margin: 0 0 12px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.fn-section-label-hint {
  font-family: var(--kw-font-body);
  font-size: 12px; font-weight: 400;
  color: var(--kw-text-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* === PRODUCT PICKER (Schritt 1, Größe) ===
   Reduziert: nur Größe + Preis. Kein Bild, keine Specs. */
.fn-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fn-product {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: var(--kw-bg-alt);
  border: 2px solid var(--kw-border);
  border-radius: var(--kw-radius);
  padding: 28px 16px;
  cursor: pointer;
  transition: all var(--kw-transition);
  min-height: 130px;
  gap: 8px;
}
.fn-product:hover { border-color: rgba(151,35,63,0.4); }
.fn-product.is-selected {
  border-color: var(--kw-bordeaux);
  background: #fff;
  box-shadow: 0 8px 24px rgba(151,35,63,0.12);
}
.fn-product-name {
  font-family: var(--kw-font-display);
  font-size: 28px; font-weight: 700;
  color: var(--kw-body-text);
  line-height: 1;
  letter-spacing: -0.3px;
}
.fn-product-price-now {
  font-family: var(--kw-font-display);
  font-size: 17px; font-weight: 700;
  color: var(--kw-bordeaux);
  letter-spacing: -0.2px;
  line-height: 1;
}
.fn-product-radio {
  position: absolute; top: 12px; right: 12px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--kw-border);
  background: #fff;
  transition: all var(--kw-transition);
}
.fn-product.is-selected .fn-product-radio {
  border-color: var(--kw-bordeaux);
  background: var(--kw-bordeaux);
  box-shadow: inset 0 0 0 3px #fff;
}

/* === DELIVERY CALLOUT — Frühbucher-Versprechen "Lieferung November 2026" === */
.fn-delivery-callout {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--kw-body-text);
  color: #fff;
  padding: 16px 18px;
  border-radius: var(--kw-radius);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.fn-delivery-callout::before {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px;
  background: var(--kw-bordeaux);
  opacity: 0.6;
  border-radius: 50%;
  filter: blur(40px);
}
.fn-delivery-callout-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--kw-bordeaux);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative; z-index: 1;
}
.fn-delivery-callout > div {
  position: relative; z-index: 1;
  font-family: var(--kw-font-body);
  font-size: 13px; line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.fn-delivery-callout strong {
  font-family: var(--kw-font-display);
  font-size: 15px; font-weight: 700;
  color: var(--kw-sand);
  letter-spacing: 0.2px;
}

/* === SAVINGS BANNER — am Ende Step 1 dick auf den Tisch === */
.fn-savings-banner {
  margin-top: 24px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #97233F 0%, #7A1C33 100%);
  color: #fff;
  border-radius: var(--kw-radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(151,35,63,0.25);
}
.fn-savings-banner::before {
  content: '';
  position: absolute; left: -60px; top: -60px;
  width: 200px; height: 200px;
  background: var(--kw-sand);
  opacity: 0.1;
  border-radius: 50%;
}
.fn-savings-banner::after {
  content: '';
  position: absolute; right: -40px; bottom: -40px;
  width: 160px; height: 160px;
  background: var(--kw-sand);
  opacity: 0.06;
  border-radius: 50%;
}
.fn-savings-banner-label {
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--kw-sand);
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.fn-savings-banner-amount {
  font-family: var(--kw-font-display);
  font-size: clamp(38px, 9vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin: 0 0 10px;
  position: relative; z-index: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.fn-savings-banner-breakdown {
  font-family: var(--kw-font-body);
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.88);
  position: relative; z-index: 1;
  max-width: 460px;
  margin: 0 auto;
}
.fn-savings-banner-plus {
  display: inline-block;
  margin: 0 8px;
  font-family: var(--kw-font-display);
  font-weight: 700;
  color: var(--kw-sand);
}

/* === PACKAGE PICKER — vertikal gestapelt, jede Karte als Row === */
.fn-pkg-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fn-pkg {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--kw-bg-alt);
  border: 2px solid var(--kw-border);
  border-radius: var(--kw-radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--kw-transition);
}
.fn-pkg:hover { border-color: rgba(151,35,63,0.4); }
.fn-pkg.is-selected {
  border-color: var(--kw-bordeaux);
  background: #fff;
  box-shadow: 0 8px 24px rgba(151,35,63,0.12);
}

.fn-pkg-percent {
  flex-shrink: 0;
  width: 68px;
  display: flex; align-items: baseline; justify-content: center;
  font-family: var(--kw-font-display);
  color: var(--kw-text-muted);
  letter-spacing: -1px;
  transition: color var(--kw-transition);
}
.fn-pkg-percent-num { font-size: 36px; font-weight: 700; line-height: 1; }
.fn-pkg-percent-sym { font-size: 20px; font-weight: 600; margin-left: 1px; }
.fn-pkg.is-selected .fn-pkg-percent { color: var(--kw-bordeaux); }

.fn-pkg-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.fn-pkg-label {
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--kw-body-text);
}
.fn-pkg-benefits {
  display: flex; flex-direction: column;
  gap: 1px;
}
.fn-pkg-discount {
  font-family: var(--kw-font-display);
  font-size: 15px; font-weight: 700;
  color: var(--kw-bordeaux);
  letter-spacing: 0;
}
.fn-pkg-voucher {
  font-family: var(--kw-font-body);
  font-size: 12.5px;
  color: var(--kw-text-muted);
  line-height: 1.3;
}

.fn-pkg-radio {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--kw-border);
  background: #fff;
  transition: all var(--kw-transition);
}
.fn-pkg.is-selected .fn-pkg-radio {
  border-color: var(--kw-bordeaux);
  background: var(--kw-bordeaux);
  box-shadow: inset 0 0 0 4px #fff;
}

/* === BUTTONS / CTAs === */
.fn-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.fn-nav-primary-desktop { display: none; }
@media (min-width: 1024px) {
  /* Issue #695: Weiter/Zurück Desktop direkt unter Bezahlungsüberblick sichtbar
     halten. Sticky-Bottom im Viewport, damit Buttons immer ohne Scroll erreichbar
     sind — auch wenn Step-Body sehr lang ist. Mobile bleibt unberührt. */
  .fn-nav {
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid var(--kw-border);
    border-radius: var(--kw-radius);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--kw-shadow-md);
    position: sticky;
    bottom: 20px;
    z-index: 5;
  }
  .fn-nav-primary-desktop { display: inline-flex; }
}
.fn-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.3px;
  padding: 14px 22px;
  min-height: 52px;
  border-radius: 8px;
  border: 0;
  text-decoration: none;
  transition: all var(--kw-transition);
  cursor: pointer;
}
.fn-btn-primary {
  background: var(--kw-bordeaux);
  color: #fff;
  box-shadow: 0 4px 16px rgba(151,35,63,0.25);
  flex: 1;
  max-width: 280px;
}
.fn-btn-primary:hover {
  background: var(--kw-bordeaux-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(151,35,63,0.35);
}
.fn-btn-primary:disabled,
.fn-btn-primary.is-disabled {
  background: var(--kw-cream-dark);
  color: var(--kw-text-light);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.fn-btn-ghost {
  background: transparent;
  color: var(--kw-text-muted);
  border: 0;
  padding: 14px 12px;
}
.fn-btn-ghost:hover { color: var(--kw-bordeaux); }

/* === ACCESSORY CHECKBOX CARDS === */
.fn-acc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 600px) { .fn-acc-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

.fn-acc {
  position: relative;
  display: flex; align-items: stretch; gap: 12px;
  background: var(--kw-bg-alt);
  border: 2px solid var(--kw-border);
  border-radius: var(--kw-radius);
  padding: 14px;
  cursor: pointer;
  transition: all var(--kw-transition);
}
.fn-acc:hover { border-color: rgba(151,35,63,0.4); }
.fn-acc.is-selected {
  border-color: var(--kw-bordeaux);
  background: rgba(151,35,63,0.04);
}
.fn-acc-thumb {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--kw-cream-dark);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--kw-text-light);
  overflow: hidden;
}
.fn-acc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.fn-acc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fn-acc-name {
  font-family: var(--kw-font-display);
  font-size: 15px; font-weight: 700;
  color: var(--kw-body-text);
  line-height: 1.2;
}
.fn-acc-desc {
  font-family: var(--kw-font-body);
  font-size: 12px; line-height: 1.4;
  color: var(--kw-text-muted);
}
.fn-acc-price {
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 700;
  color: var(--kw-bordeaux);
  margin-top: 4px;
}
.fn-acc-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 4px;
  border: 2px solid var(--kw-border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  align-self: flex-start;
  margin-top: 2px;
  transition: all var(--kw-transition);
}
.fn-acc.is-selected .fn-acc-check {
  background: var(--kw-bordeaux);
  border-color: var(--kw-bordeaux);
}
.fn-acc-check svg { opacity: 0; color: #fff; transition: opacity 0.15s; }
.fn-acc.is-selected .fn-acc-check svg { opacity: 1; }

/* === FORM === */
.fn-form { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) {
  .fn-form { grid-template-columns: 1fr 1fr; }
  .fn-form-full { grid-column: 1 / -1; }
}
.fn-field { display: flex; flex-direction: column; gap: 6px; }
.fn-field label {
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.3px;
  color: var(--kw-text-muted);
}
.fn-field input,
.fn-field select {
  font-family: var(--kw-font-body);
  font-size: 16px; /* 16px verhindert iOS-Zoom */
  padding: 13px 14px;
  min-height: 52px;
  border: 1.5px solid var(--kw-border);
  border-radius: 8px;
  background: #fff;
  color: var(--kw-body-text);
  transition: border-color var(--kw-transition);
  -webkit-appearance: none; appearance: none;
}
.fn-field input:focus,
.fn-field select:focus {
  outline: none;
  border-color: var(--kw-bordeaux);
  box-shadow: 0 0 0 3px rgba(151,35,63,0.12);
}
.fn-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* === DEALER PICKER === */
.fn-dealer-suggest {
  background: linear-gradient(135deg, rgba(151,35,63,0.04) 0%, rgba(151,35,63,0.0) 100%);
  border: 1.5px solid rgba(151,35,63,0.15);
  border-radius: var(--kw-radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.fn-dealer-suggest-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--kw-bordeaux);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.fn-dealer-suggest-body {
  font-family: var(--kw-font-body);
  font-size: 13px; line-height: 1.4;
  color: var(--kw-body-text);
}
.fn-dealer-suggest-body strong { font-family: var(--kw-font-display); font-weight: 700; }

.fn-dealer-list { display: flex; flex-direction: column; gap: 10px; }
.fn-dealer {
  position: relative;
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff;
  border: 2px solid var(--kw-border);
  border-radius: var(--kw-radius);
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--kw-transition);
}
.fn-dealer:hover { border-color: rgba(151,35,63,0.4); }
.fn-dealer.is-selected {
  border-color: var(--kw-bordeaux);
  background: rgba(151,35,63,0.03);
}
.fn-dealer-badge {
  position: absolute; top: -8px; left: 14px;
  background: var(--kw-bordeaux);
  color: #fff;
  font-family: var(--kw-font-display);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
}
.fn-dealer-pin {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--kw-cream);
  color: var(--kw-bordeaux);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.fn-dealer.is-selected .fn-dealer-pin { background: var(--kw-bordeaux); color: #fff; }

.fn-dealer-body { flex: 1; min-width: 0; }
.fn-dealer-name {
  font-family: var(--kw-font-display);
  font-size: 16px; font-weight: 700;
  color: var(--kw-body-text);
  margin: 0 0 2px;
}
.fn-dealer-addr {
  font-family: var(--kw-font-body);
  font-size: 13px; line-height: 1.4;
  color: var(--kw-text-muted);
  margin: 0 0 6px;
}
.fn-dealer-meta {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  font-family: var(--kw-font-body);
  font-size: 12px; color: var(--kw-text-light);
}
.fn-dealer-meta strong { color: var(--kw-body-text); font-weight: 700; }

/* Region-Pill: zeigt Bundesland des Händlers (subtil, kein lautes Tag) */
.fn-dealer-region {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--kw-cream-dark, rgba(151,35,63,0.06));
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--kw-body-text);
  text-transform: uppercase;
}

/* Match-Highlight: Händler im Kunden-Bundesland bekommen kleinen Bordeaux-Balken links */
.fn-dealer.is-match-region {
  border-color: var(--kw-bordeaux-light, #B02A4A);
  background: linear-gradient(to right, rgba(151,35,63,0.04) 0, transparent 60%);
}
.fn-dealer.is-match-region .fn-dealer-region {
  background: var(--kw-bordeaux, #97233F);
  color: #fff;
}

/* Step-Meta: kleine Zeile unter Lead, "X Händler in Bundesland · Y weitere" */
.fn-step-meta {
  margin: 8px 0 0;
  font-family: var(--kw-font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--kw-text-muted);
  text-transform: uppercase;
}
.fn-step-meta strong { color: var(--kw-bordeaux, #97233F); font-weight: 700; }

/* holzquelle Brand-Markup (immer klein, Poppins) — site-weit, hier nochmal
   defensiv falls Theme-CSS nicht geladen ist. */
.kw-holzquelle {
  font-family: 'Poppins', var(--kw-font-display);
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0;
}

/* Holzquelle-Brand-Tokens — offizielles Forest/Hunter Green
 *   --hq-forest  #2C4B3A (Hauptgrün, Pills, Headings)
 *   --hq-hunter  #4A6B4E (heller Akzent, Hover)
 *   --hq-mist    abgemischtes 8%-Tint als Slot-Hintergrund
 */
.fn-bonus-slot {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #eaf0ec;            /* hq-mist */
  border: 1px solid #c5d4c8;
  border-radius: 8px;
}
.fn-bonus-slot-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: #fff; border-radius: 50%;
  color: #2C4B3A;                 /* hq-forest */
  flex-shrink: 0;
}
.fn-bonus-slot-text {
  flex: 1;
  font-family: var(--kw-font-display);
  font-size: 15px; font-weight: 600;
  color: var(--kw-body-text);
}

/* Gratis-Pill: holzquelle-Forest-Green Badge (offizielle Brand-Farbe) */
.fn-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.fn-pill--free {
  background: #2C4B3A;            /* hq-forest */
  color: #fff;
}

/* Bonus-Card (Step 2 oben bei Holzquelle-Edition) — locked, immer dabei */
.fn-acc.is-bonus {
  background: rgba(151,35,63,0.06);
  border-color: var(--kw-bordeaux-light, #B02A4A);
  cursor: default;
  pointer-events: none;
  margin-bottom: 8px;
}
.fn-acc-price--free {
  color: var(--kw-bordeaux, #97233F);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fn-acc-check--locked {
  background: var(--kw-bordeaux, #97233F);
  color: #fff;
  border-color: var(--kw-bordeaux, #97233F);
}

/* Sidebar-Hinweis bei Holzquelle-Edition (analog zu fn-summary-voucher) */
.fn-summary-holzquelle {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 12px; padding: 12px;
  background: rgba(151,35,63,0.06);
  border-left: 3px solid var(--kw-bordeaux, #97233F);
  border-radius: 4px;
  font-family: var(--kw-font-body);
  font-size: 13px;
  color: var(--kw-body-text);
  line-height: 1.4;
}
.fn-summary-holzquelle svg { flex-shrink: 0; color: var(--kw-bordeaux, #97233F); margin-top: 2px; }
.fn-summary-holzquelle small { display: block; margin-top: 2px; color: var(--kw-text-muted); font-size: 11px; }

/* Such-Feld: Step 4 Volltext-Filter (Name/Ort/PLZ/Region) */
.fn-search {
  position: relative;
  display: flex; align-items: center;
  margin: 0 0 16px;
  background: #fff;
  border: 1px solid var(--kw-border);
  border-radius: 8px;
  transition: border-color var(--kw-transition), box-shadow var(--kw-transition);
}
.fn-search:focus-within {
  border-color: var(--kw-bordeaux, #97233F);
  box-shadow: 0 0 0 3px rgba(151,35,63,0.12);
}
.fn-search-icon {
  flex-shrink: 0;
  margin: 0 0 0 12px;
  color: var(--kw-text-muted);
}
.fn-search-input {
  flex: 1;
  border: 0; outline: none;
  background: transparent;
  padding: 12px 12px;
  font-family: var(--kw-font-body);
  font-size: 15px;
  color: var(--kw-body-text);
}
.fn-search-input::placeholder { color: var(--kw-text-muted); }
.fn-search-clear {
  flex-shrink: 0;
  margin-right: 6px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 0; background: var(--kw-bg-alt, #f0eee8);
  color: var(--kw-text-muted);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: all var(--kw-transition);
}
.fn-search-clear:hover { background: var(--kw-bordeaux); color: #fff; }

/* Empty-State: keine Händler im gewählten Land */
.fn-empty {
  padding: 24px;
  border: 1px dashed var(--kw-border);
  border-radius: 8px;
  background: var(--kw-bg-alt, #fafaf7);
  font-family: var(--kw-font-body);
  color: var(--kw-text-muted);
  text-align: center;
}
.fn-empty a { color: var(--kw-bordeaux); font-weight: 700; }
.fn-dealer-radio {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--kw-border);
  background: #fff;
  transition: all var(--kw-transition);
  margin-top: 8px;
}
.fn-dealer.is-selected .fn-dealer-radio {
  border-color: var(--kw-bordeaux);
  background: var(--kw-bordeaux);
  box-shadow: inset 0 0 0 4px #fff;
}

/* === CONFIRM STEP — Summary review === */
.fn-review {
  display: flex; flex-direction: column; gap: 10px;
}
.fn-review-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--kw-border);
  font-family: var(--kw-font-body);
}
.fn-review-row:last-child { border-bottom: 0; }
.fn-review-row-label {
  font-size: 13px;
  color: var(--kw-text-muted);
}
.fn-review-row-value {
  font-family: var(--kw-font-display);
  font-size: 14px; font-weight: 600;
  color: var(--kw-body-text);
  text-align: right;
}
.fn-review-edit {
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--kw-bordeaux);
  background: none; border: 0; padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fn-stripe-info {
  font-family: var(--kw-font-body);
  font-size: 14px; line-height: 1.55;
  color: var(--kw-text-muted);
  background: var(--kw-cream);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0 0;
}

.fn-check-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  font-family: var(--kw-font-body);
  font-size: 14px; line-height: 1.5;
  color: var(--kw-body-text);
  cursor: pointer;
}
.fn-check-row input { display: none; }
.fn-check-box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 4px;
  border: 2px solid var(--kw-border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--kw-transition);
}
.fn-check-row.is-checked .fn-check-box {
  background: var(--kw-bordeaux);
  border-color: var(--kw-bordeaux);
}
.fn-check-box svg { color: #fff; opacity: 0; transition: opacity 0.15s; }
.fn-check-row.is-checked .fn-check-box svg { opacity: 1; }
.fn-check-row a { color: var(--kw-bordeaux); }

/* === SUMMARY BONUS (Gutschein-Wert prominent) === */
.fn-summary-bonus {
  margin: 12px -22px 0;
  padding: 14px 22px;
  background: linear-gradient(135deg, #97233F 0%, #7A1C33 100%);
  color: #fff;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.fn-summary-bonus::before {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 120px; height: 120px;
  background: var(--kw-sand);
  opacity: 0.08;
  border-radius: 50%;
}
.fn-summary-bonus-label {
  font-family: var(--kw-font-display);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px;
  color: var(--kw-sand);
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.fn-summary-bonus-value {
  font-family: var(--kw-font-display);
  font-size: 28px; font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.fn-summary-bonus-note {
  font-family: var(--kw-font-body);
  font-size: 11.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
  position: relative; z-index: 1;
}

/* === SUMMARY SIDEBAR (Desktop) === */
.fn-summary-strike {
  text-decoration: line-through;
  text-decoration-color: var(--kw-bordeaux);
  text-decoration-thickness: 1.5px;
  color: var(--kw-text-light) !important;
  font-weight: 400 !important;
}
.fn-summary-savings {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, rgba(151,35,63,0.95) 0%, rgba(122,28,51,0.95) 100%);
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 14px -22px 0;
}
.fn-summary-savings-label {
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--kw-sand);
}
.fn-summary-savings-value {
  font-family: var(--kw-font-display);
  font-size: 22px; font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.fn-summary-delivery {
  display: flex; align-items: center; gap: 8px;
  margin: 10px -22px 0;
  padding: 10px 22px;
  background: var(--kw-cream);
  border-top: 1px dashed var(--kw-border);
  border-bottom: 1px dashed var(--kw-border);
  font-family: var(--kw-font-body);
  font-size: 12.5px;
  color: var(--kw-body-text);
  font-weight: 600;
}
.fn-summary-delivery svg { color: var(--kw-bordeaux); flex-shrink: 0; }

.fn-summary-side {
  display: none;
}
@media (min-width: 1024px) {
  .fn-summary-side {
    display: block;
    position: sticky; top: 110px;
    background: #fff;
    border: 1px solid var(--kw-border);
    border-radius: var(--kw-radius);
    overflow: hidden;
    box-shadow: var(--kw-shadow-md);
  }
}
.fn-summary-head {
  background: var(--kw-body-text);
  color: #fff;
  padding: 18px 22px;
}
.fn-summary-head-label {
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  opacity: 0.6;
  margin: 0 0 4px;
}
.fn-summary-head-product {
  font-family: var(--kw-font-display);
  font-size: 20px; font-weight: 700;
  color: var(--kw-sand);
  line-height: 1.15;
}
.fn-summary-body { padding: 20px 22px; }
.fn-summary-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--kw-font-body);
  font-size: 14px;
  padding: 6px 0;
  color: var(--kw-text-muted);
}
.fn-summary-line strong { font-family: var(--kw-font-display); font-weight: 600; color: var(--kw-body-text); }
.fn-summary-line.is-discount strong { color: var(--kw-bordeaux); }
.fn-summary-divider { height: 1px; background: var(--kw-border); margin: 10px 0; }
.fn-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0 4px;
  border-top: 2px solid var(--kw-body-text);
  margin-top: 8px;
}
.fn-summary-total-label {
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--kw-body-text);
}
.fn-summary-total-value {
  font-family: var(--kw-font-display);
  font-size: 26px; font-weight: 700;
  color: var(--kw-bordeaux);
  letter-spacing: -0.3px;
}
.fn-summary-deposit-note {
  font-family: var(--kw-font-body);
  font-size: 12px;
  color: var(--kw-text-muted);
  margin-top: 4px;
  text-align: right;
}
.fn-summary-voucher {
  margin: 14px -22px -20px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(184,134,11,0.10) 0%, rgba(184,134,11,0.03) 100%);
  border-top: 1px dashed rgba(184,134,11,0.4);
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--kw-font-body);
  font-size: 13px; line-height: 1.4;
  color: var(--kw-body-text);
}
.fn-summary-voucher-icon { flex-shrink: 0; color: #B8860B; }
.fn-summary-voucher strong { font-family: var(--kw-font-display); }

/* === STICKY BOTTOM SUMMARY (Mobile) === */
.fn-summary-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #fff;
  border-top: 1px solid var(--kw-border);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
  transform: translateY(0);
  transition: transform 0.3s var(--kw-transition);
}
@media (min-width: 1024px) {
  .fn-summary-mobile { display: none; }
}
.fn-summary-mobile-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
}
.fn-summary-mobile-text { flex: 1; min-width: 0; }
.fn-summary-mobile-label {
  font-family: var(--kw-font-display);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.3px;
  color: var(--kw-text-muted);
  margin: 0 0 2px;
}
.fn-summary-mobile-amount {
  font-family: var(--kw-font-display);
  font-size: 22px; font-weight: 700;
  color: var(--kw-bordeaux);
  letter-spacing: -0.3px;
  line-height: 1;
}
.fn-summary-mobile-amount small {
  font-family: var(--kw-font-body);
  font-size: 11px; font-weight: 400;
  color: var(--kw-text-muted);
  margin-left: 6px;
  letter-spacing: 0;
}
.fn-summary-mobile-toggle {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--kw-cream);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--kw-text-muted);
  transition: transform var(--kw-transition);
}
.fn-summary-mobile.is-open .fn-summary-mobile-toggle { transform: rotate(180deg); }

.fn-summary-mobile-cta {
  flex-shrink: 0;
}
.fn-summary-mobile-cta .fn-btn {
  padding: 12px 18px;
  min-height: 44px;
  font-size: 12px;
}

.fn-summary-mobile-sheet {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--kw-transition);
}
.fn-summary-mobile.is-open .fn-summary-mobile-sheet {
  max-height: 50vh;
  overflow-y: auto;
}
.fn-summary-mobile-sheet-inner {
  padding: 4px 16px 16px;
  border-top: 1px dashed var(--kw-border);
}

/* === SUMMARY-CARD im Confirm-Step (mobile) === */
.fn-summary-card {
  background: var(--kw-cream);
  border-radius: var(--kw-radius);
  padding: 18px;
  margin-bottom: 20px;
}
@media (min-width: 1024px) {
  /* desktop confirm step already shows sidebar; hide inline card to avoid double */
  .fn-summary-card { display: none; }
}

/* === SUCCESS PAGE === */
.fn-success {
  background: #fff;
  border: 1px solid var(--kw-border);
  border-radius: var(--kw-radius);
  padding: 40px 24px;
  text-align: center;
  max-width: 640px; margin: 24px auto 80px;
  font-style: normal;
}
.fn-success * { font-style: normal; }
.fn-success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  background: var(--kw-success);
  color: #fff;
  border-radius: 50%;
  margin-bottom: 20px;
}
.fn-success h2 {
  font-family: var(--kw-font-display);
  font-size: 28px; font-weight: 700;
  margin: 0 0 12px;
  text-transform: none;
  letter-spacing: 0;
}
.fn-success p,
.fn-success .fn-success-lead {
  font-family: var(--kw-font-body);
  font-size: 15px; line-height: 1.6;
  color: var(--kw-text-muted);
  margin: 0 0 18px;
}
.fn-success-lead strong { color: var(--kw-text); font-weight: 700; }

.fn-success-list {
  margin: 24px 0 18px;
  padding: 16px 0;
  border-top: 1px solid var(--kw-border);
  border-bottom: 1px solid var(--kw-border);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fn-success-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--kw-font-body);
  font-size: 14px;
  line-height: 1.5;
}
.fn-success-row dt {
  color: var(--kw-text-light);
  font-weight: 400;
  flex: 0 0 auto;
  margin: 0;
}
.fn-success-row dd {
  margin: 0;
  text-align: right;
  color: var(--kw-text);
  word-break: break-word;
}
.fn-success-row dd strong { font-weight: 700; color: var(--kw-text); }

@media (max-width: 520px) {
  .fn-success-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .fn-success-row dd { text-align: left; }
}

.fn-success-contact {
  font-size: 13px !important;
  margin-top: 16px !important;
}

/* === SMALL HELPERS === */
.fn-hr {
  height: 1px; background: var(--kw-border);
  margin: 24px 0;
  border: 0;
}
.fn-help {
  font-family: var(--kw-font-body);
  font-size: 12px; line-height: 1.5;
  color: var(--kw-text-light);
  margin: 8px 0 0;
}
.fn-error {
  font-family: var(--kw-font-body);
  font-size: 13px;
  color: var(--kw-error);
  margin-top: 6px;
}
