/* =============================================================
   KW Vorbestellung — KönigShield-Funnel
   Mobile-first 5-Step Reskin (Mockup 2026-05-21).
   Geladen wenn /polterschild-vorbestellen/ den FF-Shortcode enthält.
   ============================================================= */

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

/* ---------- Token-Fallbacks (falls Theme keine kw-Tokens setzt) ---------- */
.kw-vbst-funnel {
  --kw-bordeaux:        #97233F;
  --kw-bordeaux-dark:   #7A1C33;
  --kw-bordeaux-light:  #B02A4A;
  --kw-sand:            #C2A684;
  --kw-sand-light:      #E2D2BB;
  --kw-cream:           #F5F0EB;
  --kw-cream-dark:      #EDE5DC;
  --kw-bg-alt:          #FDFBF9;
  --kw-white:           #FFFFFF;
  --kw-body-text:       #1A1A1A;
  --kw-text-muted:      #3D3D3D;
  --kw-text-light:      #585858;
  --kw-border:          #E0D2BC;
  --kw-success:         #2D6A4F;
  --kw-warning:         #B8860B;
  --kw-error:           #C4243B;
  --kw-shadow-sm:       0 2px 8px rgba(0,0,0,0.08);
  --kw-shadow-md:       0 8px 24px rgba(0,0,0,0.12);
  --kw-radius:          12px;
  --kw-transition:      0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --kw-font-display:    "Josefin Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --kw-font-body:       "PT Serif", Georgia, serif;
}

/* ---------- Funnel-Wrapper (injected via wizard.js around FF form) ---------- */
.kw-vbst-funnel {
  font-family: var(--kw-font-body);
  color: var(--kw-body-text);
  -webkit-text-size-adjust: 100%;
}
.kw-vbst-funnel * { box-sizing: border-box; }
.kw-vbst-funnel img { max-width: 100%; display: block; }
.kw-vbst-funnel button { font-family: inherit; cursor: pointer; }

.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;
}

/* ---------- Countdown banner ---------- */
.fn-countdown {
  background: var(--kw-body-text);
  color: #fff;
  padding: 10px 16px;
  margin: 0 -16px 0;
}
.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; margin: 0 -32px; }
  .fn-countdown-inner { font-size: 13px; }
  .fn-countdown-label, .fn-countdown-value, .fn-countdown-date { font-size: 14px; }
  .fn-countdown-date { display: inline; }
}

/* ---------- Hero ---------- */
.fn-hero { padding: 28px 0 8px; }
.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 ---------- */
.fn-stepper { margin: 18px 0 22px; }
.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;
  width: 20%;
  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 !important; }
  .fn-stepper-track { display: none !important; }
  .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 head ---------- */
.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 ---------- */
.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 (radio-card based) ---------- */
.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;
  margin: 0;
}
.fn-product:hover { border-color: rgba(151,35,63,0.4); }
.fn-product:has(input:checked),
.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:has(input:checked) .fn-product-radio,
.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 ---------- */
.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 ---------- */
.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 ---------- */
.fn-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 720px) { .fn-pkg-grid { gap: 12px; } }

.fn-pkg {
  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: 18px 8px 14px;
  cursor: pointer;
  transition: all var(--kw-transition);
  gap: 2px;
  margin: 0;
}
.fn-pkg:hover { border-color: rgba(151,35,63,0.4); }
.fn-pkg:has(input:checked),
.fn-pkg.is-selected {
  border-color: var(--kw-bordeaux);
  background: #fff;
  box-shadow: 0 8px 24px rgba(151,35,63,0.12);
}
.fn-pkg-deposit {
  font-family: var(--kw-font-display);
  font-size: 32px; font-weight: 700;
  color: var(--kw-body-text);
  letter-spacing: -1px;
  line-height: 1;
}
.fn-pkg-deposit small {
  font-size: 18px; font-weight: 600;
  margin-left: 1px;
  color: var(--kw-text-muted);
}
.fn-pkg:has(input:checked) .fn-pkg-deposit,
.fn-pkg.is-selected .fn-pkg-deposit { color: var(--kw-bordeaux); }
.fn-pkg:has(input:checked) .fn-pkg-deposit small,
.fn-pkg.is-selected .fn-pkg-deposit small { color: var(--kw-bordeaux); }

.fn-pkg-label {
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px;
  color: var(--kw-text-muted);
  margin-top: 4px;
}
.fn-pkg:has(input:checked) .fn-pkg-label,
.fn-pkg.is-selected .fn-pkg-label { color: var(--kw-body-text); }

.fn-pkg-voucher {
  font-family: var(--kw-font-body);
  font-size: 11px;
  color: var(--kw-text-muted);
  margin-top: 6px;
  line-height: 1.3;
  min-height: 28px;
  padding: 0 4px;
}
@media (min-width: 720px) {
  .fn-pkg { padding: 22px 12px 18px; }
  .fn-pkg-deposit { font-size: 40px; }
  .fn-pkg-deposit small { font-size: 22px; }
  .fn-pkg-voucher { font-size: 12px; }
}

/* ---------- Accessory 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);
  margin: 0;
}
.fn-acc:hover { border-color: rgba(151,35,63,0.4); }
.fn-acc:has(input:checked),
.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);
}
.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:has(input:checked) .fn-acc-check,
.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:has(input:checked) .fn-acc-check svg,
.fn-acc.is-selected .fn-acc-check svg { opacity: 1; }

/* ---------- 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);
  margin: 0;
}
.fn-dealer:hover { border-color: rgba(151,35,63,0.4); }
.fn-dealer:has(input:checked),
.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:has(input:checked) .fn-dealer-pin,
.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;
  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; }
.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:has(input:checked) .fn-dealer-radio,
.fn-dealer.is-selected .fn-dealer-radio {
  border-color: var(--kw-bordeaux);
  background: var(--kw-bordeaux);
  box-shadow: inset 0 0 0 4px #fff;
}

/* ---------- Review (Confirm step) ---------- */
.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-pay-methods {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0;
}
.fn-pay-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 12px;
  background: var(--kw-cream);
  border: 1px solid var(--kw-border);
  border-radius: 6px;
  color: var(--kw-body-text);
}
.fn-pay-info {
  font-family: var(--kw-font-body);
  font-size: 13px; line-height: 1.5;
  color: var(--kw-text-muted);
  background: var(--kw-cream);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
}

/* ---------- Sticky mobile summary bar ---------- */
.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);
  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-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);
}

/* ---------- 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;
}

/* =============================================================
   FluentForms-specific overrides + funnel-page-padding
   ============================================================= */

.kw-vbst-funnel .ff-form-loading { min-height: 200px; }

/* Hide FF's native progress bar/header — we render our own .fn-stepper instead */
.kw-vbst-funnel .ff-step-header,
.kw-vbst-funnel .ff-el-progress,
.kw-vbst-funnel .ff_progress_bar,
.kw-vbst-funnel .ff-el-progress-bar,
.kw-vbst-funnel .step-wrapper-progress,
.kw-vbst-funnel .ff_progress_titles { display: none !important; }

/* FF wraps each form step in a wrapper — give it air */
.kw-vbst-funnel .ff_step_container,
.kw-vbst-funnel .ff-step-container { padding: 0; }

/* Step body — card-like container */
.kw-vbst-funnel .ff-step-body {
  background: #fff;
  border: 1px solid var(--kw-border);
  border-radius: var(--kw-radius);
  padding: 24px 20px;
  box-shadow: var(--kw-shadow-sm);
  margin-bottom: 100px;
}
@media (min-width: 720px) {
  .kw-vbst-funnel .ff-step-body { padding: 36px 40px; margin-bottom: 0; }
}

/* FF inputs (text/email/tel/select) */
.kw-vbst-funnel .ff-el-form-control input[type="text"],
.kw-vbst-funnel .ff-el-form-control input[type="email"],
.kw-vbst-funnel .ff-el-form-control input[type="tel"],
.kw-vbst-funnel .ff-el-form-control input[type="number"],
.kw-vbst-funnel .ff-el-input--content input,
.kw-vbst-funnel .ff-el-form-control select {
  font-family: var(--kw-font-body) !important;
  font-size: 16px !important;
  padding: 13px 14px !important;
  min-height: 52px !important;
  border: 1.5px solid var(--kw-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--kw-body-text) !important;
  width: 100% !important;
  box-shadow: none !important;
  -webkit-appearance: none; appearance: none;
}
.kw-vbst-funnel .ff-el-form-control input:focus,
.kw-vbst-funnel .ff-el-form-control select:focus {
  outline: none !important;
  border-color: var(--kw-bordeaux) !important;
  box-shadow: 0 0 0 3px rgba(151,35,63,0.12) !important;
}

/* FF labels */
.kw-vbst-funnel .ff-el-input--label label {
  font-family: var(--kw-font-display) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--kw-text-muted) !important;
}

/* FF step navigation buttons */
.kw-vbst-funnel .ff-btn-next,
.kw-vbst-funnel .ff-btn-prev,
.kw-vbst-funnel .ff-btn-submit {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--kw-font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: 1.3px;
  padding: 14px 22px !important;
  min-height: 52px !important;
  border-radius: 8px !important;
  border: 0 !important;
  cursor: pointer;
  transition: all var(--kw-transition);
}
.kw-vbst-funnel .ff-btn-next,
.kw-vbst-funnel .ff-btn-submit {
  background: var(--kw-bordeaux) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(151,35,63,0.25);
}
.kw-vbst-funnel .ff-btn-next:hover,
.kw-vbst-funnel .ff-btn-submit:hover {
  background: var(--kw-bordeaux-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(151,35,63,0.35);
}
.kw-vbst-funnel .ff-btn-prev {
  background: transparent !important;
  color: var(--kw-text-muted) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none !important;
}
.kw-vbst-funnel .ff-btn-prev:hover { color: var(--kw-bordeaux) !important; }

/* Step-nav bar layout */
.kw-vbst-funnel .step_action_wrapper,
.kw-vbst-funnel .ff-step-nav,
.kw-vbst-funnel .ff_btn_wrapper {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--kw-border);
}

/* FF wraps all radio options in a single .ff-el-input--content div.
   Apply the grid layout there directly (display:contents has spotty grid support). */
.kw-vbst-funnel .fn-product-grid,
.kw-vbst-funnel .fn-pkg-grid,
.kw-vbst-funnel .fn-acc-grid { display: block; }
.kw-vbst-funnel .fn-product-grid > .ff-el-input--content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kw-vbst-funnel .fn-pkg-grid > .ff-el-input--content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 720px) {
  .kw-vbst-funnel .fn-pkg-grid > .ff-el-input--content { gap: 12px; }
}
.kw-vbst-funnel .fn-acc-grid > .ff-el-input--content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 600px) {
  .kw-vbst-funnel .fn-acc-grid > .ff-el-input--content { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* FF wraps each radio/checkbox in a DIV (not a label) — so we need the input to
   cover the entire card area to receive clicks. Visually transparent + on top. */
.kw-vbst-funnel .fn-product input[type="radio"],
.kw-vbst-funnel .fn-pkg input[type="radio"],
.kw-vbst-funnel .fn-dealer input[type="radio"],
.kw-vbst-funnel .fn-acc input[type="checkbox"] {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* Range-slider %-suffix */
.kw-vbst-slider-wrap .ff_range_value::after { content: ' %'; }

/* GDPR checkboxes as squares */
.kw-vbst-funnel .ff-el-form-check input[type="checkbox"] {
  appearance: auto;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  accent-color: var(--kw-bordeaux);
  cursor: pointer;
}

/* Hidden-fields wrapper completely hidden */
.kw-vbst-hidden-wrap,
.ff-el-form-control-wrapper.kw-vbst-hidden-wrap { display: none !important; }

/* Stripe card element */
.kw-vbst-funnel .ff_stripe_card_element {
  border: 1.5px solid var(--kw-border);
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

/* =============================================================
   Coupon-Check-Page (kw_vbst_coupon_check shortcode)
   Stand-alone, eigene Optik.
   ============================================================= */
.kw-main .kw-vbst-check,
.kw-vbst-check {
  display: block !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 2rem auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}
.kw-vbst-check__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--kw-cream, #fff8f0);
  border: 1px solid var(--kw-bordeaux, #97233F);
  border-radius: 6px;
  padding: 20px;
}
.kw-vbst-check__form label {
  font-weight: 600;
  color: var(--kw-bordeaux, #97233F);
}
.kw-vbst-check__form input[type="text"] {
  font-family: ui-monospace, "DejaVu Sans Mono", monospace;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-transform: uppercase;
}
.kw-vbst-check__form button {
  margin-top: 4px;
  padding: 12px 18px;
  background: var(--kw-bordeaux, #97233F);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.kw-vbst-check__form button:hover { background: var(--kw-bordeaux-dark, #7A1C33); }
.kw-vbst-check__result {
  margin-top: 20px;
  padding: 24px;
  border-radius: 6px;
  text-align: center;
}
.kw-vbst-check__result.is-loading { color: #666; }
.kw-vbst-check__result.is-valid {
  background: #f0fff4;
  border: 2px solid #2e7d32;
  color: #1b5e20;
}
.kw-vbst-check__result.is-invalid {
  background: #fff5f5;
  border: 2px solid #b71c1c;
  color: #b71c1c;
}
.kw-vbst-check__badge {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.kw-vbst-check__code {
  font-family: ui-monospace, "DejaVu Sans Mono", monospace;
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin: 4px 0 8px;
  color: var(--kw-bordeaux, #97233F);
}
.kw-vbst-check__type { font-size: 0.95rem; margin-bottom: 14px; opacity: 0.85; }
.kw-vbst-check__haendler { font-size: 1rem; }
.kw-vbst-check__haendler span { display: block; font-size: 0.85rem; opacity: 0.7; margin-bottom: 2px; }
.kw-vbst-check__hint { font-size: 0.95rem; }
