/* =========================================================
   Fahnenmasten Konfigurator – Neuaufbau (2026-05-20)
   Scope: .kf2 + .kf2-sticky (alles andere unberührt)
   ========================================================= */

.kf2,
.kf2 *,
.kf2 *::before,
.kf2 *::after,
.kf2-sticky,
.kf2-sticky * {
  box-sizing: border-box;
}

.kf2 {
  --c-primary: #1d4ed8;
  --c-primary-dark: #1e40af;
  --c-primary-light: #eff4ff;
  --c-accent: #ea580c;
  --c-accent-dark: #c2410c;
  --c-text: #0f172a;
  --c-muted: #64748b;
  --c-border: #e2e8f0;
  --c-bg: #f8fafc;
  --c-card: #ffffff;
  --c-ok: #16a34a;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --s-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --s-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --s-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  padding: 32px 16px 120px 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  .kf2 { padding: 48px 24px 60px 24px; }
}

.kf2-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

/* ----- Intro ----- */
.kf2-intro {
  text-align: center;
  margin-bottom: 28px;
}
.kf2-intro h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: var(--c-text);
  letter-spacing: -0.02em;
}
.kf2-intro p {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .kf2-intro h1 { font-size: 38px; }
  .kf2-intro p { font-size: 17px; }
}

/* ----- Grid: Stage links / Steps rechts (Desktop) ----- */
.kf2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 992px) {
  .kf2-grid {
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
    gap: 36px;
    align-items: start;
  }
}

/* ----- Stage ----- */
.kf2-stage {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--s-md);
  padding: 20px;
  position: sticky;
  top: 16px;
}
@media (max-width: 991px) {
  .kf2-stage { position: static; }
}

.kf2-stage-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #cfe6ff 0%, #eaf3ff 70%, #f1f5f9 100%);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.kf2-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  z-index: 1;
}
.kf2-stage-mast {
  position: relative;
  z-index: 2;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}

/* Background picker */
.kf2-bg-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.kf2-bg-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: var(--r-sm);
  background: var(--c-bg);
  border: 1.5px solid transparent;
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  line-height: 1.1;
}
.kf2-bg-btn i { font-size: 18px; }
.kf2-bg-btn:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
}
.kf2-bg-btn.is-active {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.kf2-artikel {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--c-bg);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kf2-artikel-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-muted);
  font-weight: 600;
}
.kf2-artikel strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  word-break: break-word;
}

/* ----- Steps ----- */
.kf2-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kf2-step {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: var(--s-sm);
}

.kf2-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.kf2-step-num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kf2-step-title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--c-text);
}
.kf2-info {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  border: 1px solid var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.kf2-info:hover { background: var(--c-primary); color: #fff; }

/* ----- Options Grid ----- */
.kf2-opts {
  display: grid;
  gap: 8px;
}
.kf2-opts-3 { grid-template-columns: repeat(3, 1fr); }
.kf2-opts-4 { grid-template-columns: repeat(2, 1fr); }
.kf2-opts-6 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 480px) {
  .kf2-opts-4 { grid-template-columns: repeat(4, 1fr); }
  .kf2-opts-6 { grid-template-columns: repeat(6, 1fr); }
}

.kf2-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 60px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.kf2-opt img {
  max-width: 100%;
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 4px;
}
.kf2-opt-label { font-size: 13px; line-height: 1.2; }
.kf2-opt-big   { font-size: 20px; font-weight: 800; line-height: 1; color: var(--c-text); }
.kf2-opt-unit  { font-size: 11px; color: var(--c-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }

.kf2-opt:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
}
.kf2-opt.is-active {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.kf2-opt.is-active .kf2-opt-big { color: var(--c-primary-dark); }
.kf2-opt.is-active::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.kf2-opt.is-disabled {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: line-through;
}
.kf2-opt.is-disabled:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}
.kf2-opt-pill { min-height: 56px; }
.kf2-opt-pill .kf2-opt-big { font-size: 22px; }

/* ----- Summary ----- */
.kf2-summary {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-radius: var(--r-md);
  padding: 20px;
  color: #fff;
  box-shadow: var(--s-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kf2-sum-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.kf2-qty {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kf2-qty-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  font-weight: 600;
}
.kf2-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(8px);
}
.kf2-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  color: var(--c-primary);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.1s ease;
}
.kf2-qty-btn:hover { background: #fff; transform: scale(1.05); }
.kf2-qty-btn:active { transform: scale(0.95); }
.kf2-qty-input {
  width: 44px;
  text-align: center;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  -moz-appearance: textfield;
  outline: none;
}
.kf2-qty-input::-webkit-outer-spin-button,
.kf2-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.kf2-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.kf2-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  font-weight: 600;
}
.kf2-price-brutto {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.kf2-price-netto {
  font-size: 12px;
  opacity: 0.9;
}
.kf2-price-netto a {
  color: #fff;
  text-decoration: underline;
}

.kf2-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--c-accent);
  color: #fff !important;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
  transition: all 0.15s ease;
  cursor: pointer;
  border: 0;
}
.kf2-cta:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.5);
}
.kf2-cta i { font-size: 18px; }

/* ----- USPs ----- */
.kf2-usps {
  list-style: none;
  padding: 0;
  margin: 32px 0 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px)  { .kf2-usps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px)  { .kf2-usps { grid-template-columns: repeat(6, 1fr); } }

.kf2-usps li {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  box-shadow: var(--s-sm);
}
.kf2-usps i {
  color: var(--c-ok);
  font-size: 18px;
  flex: 0 0 auto;
}

/* ----- Banner ----- */
.kf2-banner {
  display: block;
  max-width: 600px;
  margin: 24px auto;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--s-md);
  transition: transform 0.15s ease;
}
.kf2-banner:hover { transform: translateY(-2px); }
.kf2-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- SEO ----- */
.kf2-seo {
  max-width: 800px;
  margin: 40px auto 0 auto;
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.7;
}
.kf2-seo h2 { font-size: 22px; font-weight: 800; margin: 0 0 16px 0; }
.kf2-seo h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px 0; color: var(--c-primary-dark); }
.kf2-seo p  { margin: 0 0 12px 0; }
.kf2-seo ul { padding-left: 20px; margin: 0 0 12px 0; }
.kf2-seo li { margin: 4px 0; }

/* ----- Sticky Bottom Bar (Mobile) ----- */
.kf2-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
}
@media (min-width: 992px) {
  .kf2-sticky { display: none; }
}

.kf2-sticky-price {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.kf2-sticky-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  font-weight: 600;
  line-height: 1;
}
.kf2-sticky-value {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.kf2-sticky-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ea580c;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.35);
  white-space: nowrap;
}
.kf2-sticky-cta:hover { background: #c2410c; }

/* ----- a11y ----- */
.kf2-opt:focus-visible,
.kf2-bg-btn:focus-visible,
.kf2-cta:focus-visible,
.kf2-info:focus-visible,
.kf2-qty-btn:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.5);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .kf2 *, .kf2-sticky * { transition: none !important; animation: none !important; }
}

/* ----- Body padding for sticky bar ----- */
@media (max-width: 991px) {
  body { padding-bottom: 78px !important; }
}

/* =========================================================
   FORTSCHRITT
   ========================================================= */
.kf2-progress {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--c-muted);
  box-shadow: var(--s-sm);
}
.kf2-progress-text strong {
  color: var(--c-text);
  font-weight: 800;
}
.kf2-progress-bar {
  width: 80px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  display: inline-block;
}
.kf2-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* =========================================================
   PRESETS
   ========================================================= */
.kf2-presets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 24px 0 0 0;
  padding: 16px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--s-sm);
}
.kf2-presets-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-muted);
  grid-column: 1 / -1;
  margin-bottom: 2px;
}
@media (min-width: 600px) {
  .kf2-presets { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .kf2-presets { grid-template-columns: auto repeat(4, 1fr); align-items: stretch; }
  .kf2-presets-label { grid-column: auto; align-self: center; margin-bottom: 0; }
}
.kf2-preset {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-text);
  text-decoration: none !important;
  transition: all 0.15s ease;
  cursor: pointer;
}
.kf2-preset:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
  transform: translateY(-1px);
}
.kf2-preset i {
  font-size: 22px;
  color: var(--c-primary);
  flex: 0 0 auto;
  width: 28px;
  text-align: center;
}
.kf2-preset span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.kf2-preset strong {
  font-size: 14px;
  color: var(--c-text);
}
.kf2-preset small {
  font-size: 11px;
  color: var(--c-muted);
  margin-top: 2px;
}

/* =========================================================
   STAGE: Lieferzeit-Badge, Mensch-Silhouette, Toggle
   ========================================================= */
.kf2-delivery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 163, 74, 0.95);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
  z-index: 5;
}
.kf2-delivery-badge i { font-size: 11px; }

.kf2-person-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  box-shadow: var(--s-sm);
  transition: all 0.15s ease;
  font-family: var(--font);
}
.kf2-person-toggle:hover { background: #fff; transform: translateY(-1px); }
.kf2-person-toggle.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary-dark);
  color: #fff;
}

.kf2-person {
  position: absolute;
  bottom: 4%;
  left: 50%;
  /* Skaliert relativ zur Mast-Höhe — Mast nimmt ~92% Höhe ein,
     Mensch ist 1,75m ≈ Mast-Höhe / Mast_m * 1,75 */
  --kf2-person-h: calc(92% * 1.75 / var(--kf2-mast-h, 7));
  height: var(--kf2-person-h);
  width: auto;
  z-index: 3;
  transform: translateX(calc(-50% - 60px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.kf2-stage-frame.show-person .kf2-person {
  opacity: 0.85;
  visibility: visible;
}

/* =========================================================
   WARENKORB-BUTTON
   ========================================================= */
.kf2-cart-form {
  margin: 0;
}
.kf2-cart-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  background: #ffffff;
  color: var(--c-text);
  border: 2px solid #ffffff;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
  text-align: left;
  font-family: var(--font);
  line-height: 1.2;
}
.kf2-cart-btn span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kf2-cart-btn small {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-muted);
  text-transform: none;
  letter-spacing: 0;
}
.kf2-cart-btn i {
  font-size: 20px;
  color: var(--c-primary);
}
.kf2-cart-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.kf2-cart-btn:hover small,
.kf2-cart-btn:hover i {
  color: rgba(255, 255, 255, 0.9);
}
.kf2-cart-btn:active { transform: translateY(0); }

/* =========================================================
   SECONDARY ACTIONS (Telefon, Teilen, PDF)
   ========================================================= */
.kf2-secondary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.kf2-sec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none !important;
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.kf2-sec:hover { background: rgba(255, 255, 255, 0.22); }
.kf2-sec i { font-size: 16px; }
.kf2-sec-phone {
  text-align: left;
  font-weight: 600;
}
.kf2-sec-phone span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.kf2-sec-phone small {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.kf2-sec-phone strong {
  font-size: 16px;
  font-weight: 800;
}
.kf2-sec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.kf2-sec-btn {
  justify-content: center;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

/* =========================================================
   TRUST / Reviews
   ========================================================= */
.kf2-trust {
  margin-top: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
}
.kf2-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 1px;
}
.kf2-trust-text strong { font-weight: 800; }

/* =========================================================
   CROSS-SELL
   ========================================================= */
.kf2-crosssell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1.5px solid #fcd34d;
  border-radius: var(--r-md);
  text-decoration: none !important;
  color: var(--c-text) !important;
  transition: all 0.15s ease;
  cursor: pointer;
  box-shadow: var(--s-sm);
}
.kf2-crosssell:hover {
  transform: translateY(-2px);
  box-shadow: var(--s-md);
  border-color: #f59e0b;
}
.kf2-cs-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.kf2-cs-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kf2-cs-body strong { font-size: 15px; color: #78350f; }
.kf2-cs-body small  { font-size: 13px; color: #92400e; }
.kf2-cs-arrow {
  color: #92400e;
  font-size: 14px;
  flex: 0 0 auto;
}

/* =========================================================
   TOOLTIP für disabled Options
   ========================================================= */
.kf2-opt.is-disabled {
  position: relative;
}
.kf2-opt.is-disabled[title]:hover::before {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: normal;
  max-width: 240px;
  width: max-content;
  z-index: 100;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
  line-height: 1.4;
  pointer-events: none;
}
.kf2-opt.is-disabled[title]:hover::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0f172a;
  z-index: 100;
}

/* =========================================================
   SHARE POPOVER
   ========================================================= */
.kf2-share-pop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: kf2-fade-in 0.15s ease;
}
.kf2-share-pop-inner {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  position: relative;
}
.kf2-share-pop h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--c-text);
}
.kf2-share-pop p {
  margin: 0 0 16px 0;
  font-size: 13px;
  color: var(--c-muted);
}
.kf2-share-link-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.kf2-share-input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  font-size: 13px;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  min-width: 0;
}
.kf2-share-copy {
  padding: 10px 16px;
  background: var(--c-primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}
.kf2-share-copy.is-ok { background: var(--c-ok); }
.kf2-share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.kf2-share-actions a {
  padding: 10px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  color: var(--c-text) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.kf2-share-actions a:hover { background: var(--c-primary-light); border-color: var(--c-primary); }
.kf2-share-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 24px;
  color: var(--c-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  line-height: 1;
}
.kf2-share-close:hover { background: var(--c-bg); }

@keyframes kf2-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   DATENBLATT (Print)
   ========================================================= */
.kf2-datasheet { display: none; }

@media print {
  /* Alles außer dem Datenblatt komplett aus dem Layout nehmen,
     sonst entstehen leere Folge-Seiten. */
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  body > *:not(.kf2-datasheet) { display: none !important; }
  .modal-backdrop, .modal { display: none !important; }

  .kf2-datasheet {
    display: block !important;
    position: static !important;
    width: 100%;
    padding: 18mm 14mm;
    background: #fff;
    font-family: var(--font);
    color: #0f172a;
    page-break-inside: avoid;
  }
  @page { size: A4; margin: 0; }
  .kf2-ds-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 3px solid #1d4ed8;
    padding-bottom: 12px;
    margin-bottom: 24px;
  }
  .kf2-ds-head h1 {
    font-size: 22px;
    margin: 0 0 4px 0;
    color: #1e40af;
    font-weight: 800;
  }
  .kf2-ds-head p { margin: 0; color: #64748b; font-size: 12px; }
  .kf2-ds-logo { font-size: 14px; font-weight: 700; text-align: right; color: #1e40af; }
  .kf2-ds-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
  .kf2-ds-img { text-align: center; }
  .kf2-ds-img img { max-width: 100%; height: auto; max-height: 280px; }
  .kf2-ds-table { width: 100%; border-collapse: collapse; }
  .kf2-ds-table th, .kf2-ds-table td {
    text-align: left; padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0; font-size: 14px;
  }
  .kf2-ds-table th { width: 40%; font-weight: 600; color: #475569; }
  .kf2-ds-total th, .kf2-ds-total td { font-size: 18px; font-weight: 800; color: #1d4ed8; }
  .kf2-ds-foot { margin-top: 24px; font-size: 11px; color: #64748b; border-top: 1px solid #e2e8f0; padding-top: 12px; }
  .kf2-ds-foot p { margin: 2px 0; }
  .kf2-ds-url { word-break: break-all; }
}

/* =========================================================
   MODALS — Redesign passend zum Konfigurator
   ========================================================= */
body .modal-backdrop.in {
  opacity: 0.55 !important;
  background: #0f172a !important;
}
body .modal { padding-right: 0 !important; }
body .modal-dialog {
  margin: 20px auto !important;
  padding: 0 12px;
  max-width: 720px;
}
@media (min-width: 768px) {
  body .modal-dialog { margin: 32px auto !important; }
  body .modal-dialog.modal-lg { max-width: 960px; width: 95% !important; }
}

body .modal-content,
body .modal .modal-content,
body #anfrage .modal-content {
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25), 0 8px 16px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  max-height: calc(100vh - 40px);
  display: flex !important;
  flex-direction: column;
}
@media (min-width: 768px) {
  body .modal-content { max-height: calc(100vh - 64px); }
}

body .modal-header,
body #anfrage .modal-header {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-bottom: 0 !important;
  padding: 16px 56px 16px 24px !important;
  position: relative;
  min-height: 0 !important;
  flex: 0 0 auto;
}
body .modal-header .modal-title,
body #anfrage .modal-header .modal-title,
body .modal-header h2.modal-title,
body .modal-header h4.modal-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin: 0 !important;
  padding-right: 40px;
  line-height: 1.3 !important;
}
@media (min-width: 768px) {
  body .modal-header .modal-title,
  body #anfrage .modal-header .modal-title,
  body .modal-header h2.modal-title,
  body .modal-header h4.modal-title { font-size: 22px !important; }
}

/* Close button — neutral, kein Bild-PNG */
body .modal-header .close,
body #anfrage .modal-header .close {
  position: absolute !important;
  top: 50% !important;
  right: 16px !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 0 !important;
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  padding: 0 !important;
  transition: background 0.15s ease;
}
body .modal-header .close:hover,
body #anfrage .modal-header .close:hover {
  background: rgba(255, 255, 255, 0.35) !important;
}
body .modal-header .close img { display: none !important; }
body .modal-header .close::before {
  content: "×";
  font-size: 24px;
  line-height: 1;
}

body .modal-body {
  padding: 20px 24px !important;
  background: #ffffff !important;
  font-size: 14px;
  color: #0f172a;
  line-height: 1.55;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  body .modal-body { padding: 24px 28px !important; font-size: 15px; }
}
body .modal-body::-webkit-scrollbar { width: 8px; }
body .modal-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
body .modal-body::-webkit-scrollbar-track { background: transparent; }

body .modal-body h3,
body .modal-body h4 {
  font-weight: 700;
  color: #1e40af;
  margin: 18px 0 8px 0;
  font-size: 16px;
}
body .modal-body h3:first-child,
body .modal-body h4:first-child { margin-top: 0; }
body .modal-body p { margin: 0 0 12px 0; }
body .modal-body img.img-responsive {
  border-radius: 10px;
  margin-bottom: 12px;
}
body .modal-body a {
  color: #1d4ed8;
  text-decoration: underline;
}
body .modal-body a:hover { color: #1e40af; }

/* Anfrageformular-spezifisch */
body #anfrage .modal-body {
  background: #f8fafc !important;
}
body #anfrage .modal-body > .row > .col-md-12 > div[style*="border: 1px solid #959595"] {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
body #anfrage .modal-body div[style*="border-left"][style*="dotted"] {
  border-left: 3px solid #1d4ed8 !important;
  padding-left: 14px !important;
  margin: 8px 0;
}
body #anfrage .modal-body input[type="text"],
body #anfrage .modal-body input[type="email"],
body #anfrage .modal-body input[type="tel"],
body #anfrage .modal-body input[type="number"],
body #anfrage .modal-body textarea,
body #anfrage .modal-body select {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  font-size: 15px !important;
  color: #0f172a !important;
  font-family: inherit !important;
  transition: all 0.15s ease;
  box-shadow: none !important;
  margin-bottom: 10px;
}
body #anfrage .modal-body input[type="text"]:focus,
body #anfrage .modal-body input[type="email"]:focus,
body #anfrage .modal-body input[type="tel"]:focus,
body #anfrage .modal-body input[type="number"]:focus,
body #anfrage .modal-body textarea:focus,
body #anfrage .modal-body select:focus {
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15) !important;
  outline: 0 !important;
}
body #anfrage .modal-body textarea { min-height: 110px; resize: vertical; }

body #anfrage .modal-body input[type="submit"],
body #anfrage .modal-body button[type="submit"],
body #anfrage .modal-body .btn-primary {
  background: #ea580c !important;
  border: 0 !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35) !important;
  transition: all 0.15s ease;
  width: auto !important;
}
body #anfrage .modal-body input[type="submit"]:hover,
body #anfrage .modal-body button[type="submit"]:hover,
body #anfrage .modal-body .btn-primary:hover {
  background: #c2410c !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.45) !important;
}
body #anfrage .modal-body .btn-default {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

body #anfrage .confirm-message {
  font-size: 20px;
  font-weight: 700;
  color: #16a34a;
  display: block;
  margin: 16px 0;
}

/* Labels */
body #anfrage .modal-body label {
  font-weight: 600;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 4px;
  display: inline-block;
}

/* Check-Icons in Übersicht */
body #anfrage .modal-body i.fa-check {
  color: #16a34a !important;
  margin-right: 6px;
}

/* Anfrage: Input-Group-Addons (alte bootstrap-Icons) entfernen */
body #anfrage .input-group {
  display: block !important;
  width: 100% !important;
  margin-bottom: 12px;
  position: relative;
}
body #anfrage .input-group-addon {
  display: none !important;
}
/* Pflichtfeld-Stern als rotes Badge oben-rechts am Input wiederherstellen */
body #anfrage .input-group:has(.input-group-addon span[style*="#FF0004"])::after {
  content: "Pflichtfeld";
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 10px;
  color: #dc2626;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  pointer-events: none;
  opacity: 0.7;
}
body #anfrage .input-group:has(.input-group-addon span[style*="#FF0004"]) .form-control {
  padding-right: 90px !important;
}
body #anfrage .input-group .form-control {
  width: 100% !important;
  border-radius: 8px !important;
}

/* Captcha-Block als hervorgehobene Karte */
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) {
  margin: 16px 0 !important;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) > .inputGroupContainer {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
  border-radius: 12px;
  padding: 16px 18px !important;
  position: relative;
  display: block !important;
  font-size: 14px;
  color: #78350f;
  line-height: 1.4;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) > .inputGroupContainer::before {
  content: "🔒 Sicherheitsabfrage";
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #78350f;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
/* Original "Sicherheitsabfrage: Bitte ..." Text aus dem Textknoten ausblenden */
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) > .inputGroupContainer {
  font-size: 0;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) > .inputGroupContainer::before {
  font-size: 14px;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) > .inputGroupContainer::after {
  content: "Bitte das Rechenergebnis im Feld eingeben.";
  display: block;
  font-size: 13px;
  color: #92400e;
  margin: 0 0 12px 0;
  font-weight: 500;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) .input-group {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 12px;
  flex-wrap: wrap;
}
/* Captcha-Image addon — sichtbar machen, Icon und Stern davor verstecken */
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) .input-group-addon {
  display: inline-flex !important;
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) .input-group-addon:first-child {
  display: none !important;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) .input-group-addon img[src*="captcha"] {
  display: block !important;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 6px 10px;
  height: auto;
  max-height: 48px;
  filter: contrast(1.1);
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) input[name="sicherheitscode"] {
  width: 100px !important;
  height: 44px !important;
  font-size: 18px !important;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: none !important;
  border: 1.5px solid #fde68a !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  padding: 0 8px !important;
  margin: 0 !important;
  flex: 0 0 100px;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) input[name="sicherheitscode"]:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}
/* Hint und Pflichtfeld-Marker am Ende des Captcha-Containers */
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) > .inputGroupContainer > span[style*="#FF0004"] {
  display: block !important;
  font-size: 11px !important;
  color: #b45309 !important;
  margin-top: 10px;
  font-weight: 600;
}
/* Den freien Text-Hint "z.b. 20-2 = 18" verstecken (er steht als textnode neben dem input) */
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) .input-group {
  /* Wir können textnodes nicht direkt verstecken, aber font-size:0 + Reset auf Kindern */
  font-size: 0;
}
body #anfrage .modal-body .form-group:has(input[name="sicherheitscode"]) .input-group > * {
  font-size: 14px;
}

/* --- Datenschutz / DSGVO Einwilligung als saubere Karte --- */
body #anfrage .modal-body .col-md-12:has(> input[name="prog"]) {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px !important;
  margin: 14px 0 !important;
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
body #anfrage .modal-body .col-md-12:has(> input[name="prog"]):hover {
  border-color: #1d4ed8;
  background: #eff4ff;
}
body #anfrage .modal-body .col-md-12:has(> input[name="prog"]:checked) {
  border-color: #1d4ed8;
  background: #eff4ff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
body #anfrage .modal-body input[name="prog"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0 0 !important;
  accent-color: #1d4ed8;
  cursor: pointer;
}
body #anfrage .modal-body .col-md-12:has(> input[name="prog"]) a {
  color: #1d4ed8 !important;
  font-weight: 600;
  text-decoration: underline;
}
body #anfrage .modal-body .col-md-12:has(> input[name="prog"]) br + br {
  display: none;
}
body #anfrage .modal-body .col-md-12:has(> input[name="prog"]) br {
  content: "";
  display: block;
  margin: 6px 0;
}

/* Anfrage: kompaktere Übersichts-Box */
body #anfrage .modal-body > .row > .col-md-12:first-child > div {
  padding: 14px 18px !important;
  font-size: 13px;
  line-height: 1.5;
}
body #anfrage .modal-body > .row > .col-md-12:first-child b { font-size: 14px; }

/* 2-Spalten-Formular auf Desktop */
@media (min-width: 768px) {
  body #anfrage .modal-body form .row,
  body #anfrage .modal-body > form .col-md-12 > .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
  }
  body #anfrage .modal-body form .col-md-6,
  body #anfrage .modal-body form .col-sm-6,
  body #anfrage .modal-body form .col-xs-12.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 8px !important;
  }
  body #anfrage .modal-body form .col-md-12 { padding: 0 8px !important; }
}

/* Modal-Bilder kleiner machen damit weniger Scrollen */
body #masttype .modal-body img.img-responsive,
body #hissartmodal .modal-body img.img-responsive,
body #befestigungmodal .modal-body img.img-responsive,
body #maststaerkemodal .modal-body img.img-responsive,
body #masthoehemodal .modal-body img.img-responsive {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 8px auto;
  display: block;
}

/* Loading-State während AJAX */
.kf2-wrap.is-loading {
  position: relative;
  pointer-events: none;
}
.kf2-wrap.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 100;
  pointer-events: none;
  backdrop-filter: blur(1px);
  animation: kf2-loading-fade 0.2s ease;
}
.kf2-wrap.is-loading .kf2-stage,
.kf2-wrap.is-loading .kf2-steps {
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
@keyframes kf2-loading-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.kf2-wrap.is-loading::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1d4ed8, transparent);
  background-size: 200% 100%;
  z-index: 9999;
  animation: kf2-loading-bar 1s linear infinite;
}
@keyframes kf2-loading-bar {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* =========================================================
   MOBILE-OVERFLOW-GUARD 2026-06-08 (defensiv, nur ≤991px)
   Verhindert horizontalen Seiten-Überlauf -> kein "Desktop
   auf dem Handy". Rollback: diesen Block entfernen.
   ========================================================= */
@media (max-width: 991px) {
  .kf2, .kf2-wrap { max-width: 100%; overflow-x: hidden; }
  /* Grid-/Flex-Kinder duerfen unter ihre Inhaltsbreite schrumpfen */
  .kf2-grid, .kf2-stage, .kf2-steps, .kf2-step,
  .kf2-summary, .kf2-sum-row, .kf2-qty, .kf2-price { min-width: 0; }
  /* Bilder nie breiter als ihr Container */
  .kf2 img:not(.kf2-stage-mast) { max-width: 100%; }
  /* langer Artikelname/Preis bricht statt zu ueberlaufen */
  .kf2-artikel strong, .kf2-price-brutto { overflow-wrap: anywhere; }
}

/* =========================================================
   MOBILE OVERLAY-BUTTONS 2026-06-08 (Icon-only, verdecken
   das Vorschaubild nicht mehr). Rollback: Block entfernen.
   ========================================================= */
@media (max-width: 600px) {
  .kf2-delivery-badge span,
  .kf2-person-toggle span { display: none; }
  .kf2-delivery-badge,
  .kf2-person-toggle { padding: 9px; gap: 0; }
  .kf2-delivery-badge i,
  .kf2-person-toggle i { font-size: 14px; }
  .kf2-delivery-badge { top: 8px; left: 8px; }
  .kf2-person-toggle  { top: 8px; right: 8px; }
}
