/* =====================================================================
   Franke Baustoffe - professionelles Custom-Design
   Wird nach dem Basis-Theme geladen und ueberschreibt Akzente/Typografie
   ===================================================================== */

/* --- Markenfarben & Kontraste --- */
:root,
html {
  --jw-content-color-link: #c4001d;
  --jw-content-color-accent: #c4001d;
  --jw-content-color: #4a5058;
  --jw-heading-color: #1c2230;
  --jw-heading-color-accent: #c4001d;
  --jw-heading-color-link: #c4001d;
  --jw-line-color-separator: #e8eaee;
  --jw-accent-container-background-color: #c4001d;
  --jw-accent-container-background-color-tint: #a50018;
  --jw-accent-container-content-color: #ffffff;
  --jw-secondary-surface-background-color: #f6f7f9;
  --jw-secondary-surface-content-color: #4a5058;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(196, 0, 29, 0.16); }

a:focus-visible,
button:focus-visible,
.jw-btn:focus-visible {
  outline: 3px solid rgba(196, 0, 29, 0.45);
  outline-offset: 2px;
}

/* --- Vorschauleiste ausblenden --- */
.jw-bottom-bar__container,
.jw-bottom-bar__spacer { display: none !important; }

/* --- Typografie --- */
h1, h2, h3, h4, h5, h6,
.jw-heading-130, .jw-heading-100, .jw-heading-85, .jw-heading-70,
.jw-header-title, .jw-slideshow-title {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--jw-heading-color);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.jw-heading-200, .jw-heading-130 { font-weight: 800; letter-spacing: -0.02em; }

p, li, .jw-element-imagetext-text, label, .jw-credits {
  line-height: 1.75;
  text-wrap: pretty;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  orphans: 3;
  widows: 3;
}

/* --- Links --- */
.jw-element-imagetext-text a {
  text-underline-offset: 3px;
  text-decoration-color: rgba(196, 0, 29, 0.35);
}
.jw-element-imagetext-text a:hover { text-decoration-color: #c4001d; }

/* --- Buttons --- */
.jw-btn {
  border-radius: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12),
              0 3px 8px rgba(196, 0, 29, 0.20) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease, color 0.18s ease;
}
.jw-btn:hover,
.jw-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.16),
              0 5px 12px rgba(196, 0, 29, 0.30) !important;
}
.jw-btn .jw-btn-caption { padding-top: 1px; padding-bottom: 1px; }

/* --- Bilder --- */
.jw-element-image__image { border-radius: 12px; }
.jw-element-image img { box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08); }

/* --- Anfrage-Buttons --- */
.fb-anfrage {
  align-items: center;
  gap: 10px !important;
  margin-top: 18px !important;
}
.fb-anfrage a {
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12),
              0 3px 8px rgba(196, 0, 29, 0.20) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.fb-anfrage a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.16),
              0 5px 12px rgba(196, 0, 29, 0.30) !important;
}

/* --- Produktkarten: nur echte Produktraster (3+ Spalten) als Karten --- */
@media not (max-width: 640px) {
  .jw-columns:has(> .jw-column:nth-child(3)):has(.fb-anfrage) {
    margin-left: -18px;
    margin-right: -18px;
  }
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage) {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin-left: 18px;
  margin-right: 18px;
  background: #ffffff;
  border: 1px solid #eceef2;
  border-radius: 16px;
  padding: 26px 26px 28px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.07);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage) > .jw-element-imagetext-text:last-child {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage) .fb-anfrage {
  margin-top: auto !important;
  padding-top: 20px;
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage):hover {
  box-shadow: 0 20px 46px rgba(16, 24, 40, 0.13);
  transform: translateY(-4px);
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage) .jw-element-image {
  overflow: hidden;
  border-radius: 12px;
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage) .jw-element-image__image {
  transition: transform 0.4s ease;
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage):hover .jw-element-image__image {
  transform: scale(1.05);
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage) .jw-heading-85 {
  position: relative;
  padding-bottom: 10px;
}
.jw-columns:has(> .jw-column:nth-child(3)) > .jw-column:has(.fb-anfrage) .jw-heading-85::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #c4001d;
}

/* --- Header: sticky, beim Scrollen weich ausblenden --- */
.block-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06),
              0 6px 24px rgba(16, 24, 40, 0.05);
  transition: transform 0.45s ease, box-shadow 0.3s ease;
}
.block-header.fb-header--hidden {
  transform: translateY(-100%);
  box-shadow: none;
}
.jw-header-title { letter-spacing: -0.02em; }
.jw-menu-link {
  font-weight: 600;
  position: relative;
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease,
              box-shadow 0.25s ease, transform 0.25s ease;
}

/* --- Menüpunkt: Hintergrund leuchtet rot, nur bei Hover --- */
.jw-menu-is-desktop .jw-menu > .jw-menu-item > .jw-menu-link:hover,
.jw-menu-is-desktop .jw-menu > .jw-menu-item.jw-menu-is-hover > .jw-menu-link,
.jw-menu-is-mobile .jw-menu > .jw-menu-item > .jw-menu-link:hover {
  background-color: #c4001d;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(196, 0, 29, 0.42);
}
.jw-menu-is-desktop .jw-menu > .jw-menu-item > .jw-menu-link:hover,
.jw-menu-is-desktop .jw-menu > .jw-menu-item.jw-menu-is-hover > .jw-menu-link {
  transform: translateY(-2px);
}

/* Aktive Seite: Menüpunkt ist sofort rot markiert (schon vor dem Laden des Menue-JS) */
.jw-menu .jw-menu-item.jw-menu-is-active > .jw-menu-link {
  background-color: #c4001d;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(196, 0, 29, 0.42);
}
@media (prefers-reduced-motion: reduce) {
  .jw-menu-link { transition: none; }
}

/* --- Obere Kontaktleiste --- */
.fb-topbar {
  background: #1c2230;
  color: #ffffff;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  will-change: opacity, transform;
}
.fb-topbar__inner {
  max-width: var(--simple-brick-max-width, 1200px);
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  justify-content: center;
}
.fb-topbar a { color: #ffffff; text-decoration: none; font-weight: 600; }
.fb-topbar a:hover { color: #ff8a9a; }
.fb-topbar__dot { opacity: 0.4; }

/* --- Professioneller Footer --- */
.fb-footer { padding: 30px 0 12px; }
.fb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px 40px;
  max-width: 1070px;
  margin: 0 auto;
  text-align: left;
}
.fb-footer__logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 10px;
}
.fb-footer__claim { font-size: 14.5px; opacity: 0.86; margin: 0; }
.fb-footer h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ffffff;
  margin: 0 0 12px;
}
.fb-footer p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.7; }
.fb-footer__col a {
  color: #e9e9e9;
  text-decoration: none;
  transition: color 0.15s ease;
}
.fb-footer__col a:hover { color: #ff8a9a; text-decoration: underline; }
.fb-footer__social { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 14px; }
.fb-footer__social a { font-weight: 600; }

/* --- Kontaktbereich (Alt) --- */
.fb-contact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fb-contact a:hover { color: #ffb3bd; }

/* --- Formulare --- */
.jw-element-form input,
.jw-element-form textarea,
.jw-element-form select {
  border-radius: 8px !important;
  border: 1px solid #dfe2e7 !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.jw-element-form input:focus,
.jw-element-form textarea:focus,
.jw-element-form select:focus {
  border-color: #c4001d !important;
  box-shadow: 0 0 0 3px rgba(196, 0, 29, 0.12) !important;
  outline: none;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .fb-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fb-topbar { font-size: 12px; }
  .fb-topbar__inner { gap: 4px 12px; padding: 6px 12px; }
  .fb-topbar__hide-sm { display: none; }
  .jw-columns > .jw-column:has(.fb-anfrage) { padding: 18px; }
}
@media (max-width: 560px) {
  .fb-footer__grid { grid-template-columns: 1fr; }
}

/* --- Anfrage-Dialog --- */
html.fb-modal-open { overflow: hidden; }
.fb-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fb-modal[hidden] { display: none; }
.fb-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
  backdrop-filter: blur(2px);
}
.fb-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow: auto;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(16, 24, 40, 0.35);
  padding: 28px 28px 24px;
  animation: fb-modal-in 0.22s ease-out;
}
@keyframes fb-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.fb-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f2f4;
  color: #1c2230;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.fb-modal__close:hover { background: #e4e6ea; }
.fb-modal__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: #1c2230;
  margin: 0 0 6px;
}
.fb-modal__product {
  margin: 0 0 18px;
  color: #4a5058;
  font-size: 15px;
  line-height: 1.5;
}
.fb-modal__product[hidden] { display: none; }
.fb-modal__form { display: flex; flex-direction: column; gap: 14px; }
.fb-modal__field { display: flex; flex-direction: column; gap: 6px; }
.fb-modal__label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1c2230;
}
.fb-modal__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: #1c2230;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fb-modal__input:focus {
  border-color: #c4001d !important;
  box-shadow: 0 0 0 3px rgba(196, 0, 29, 0.12) !important;
  outline: none;
}
.fb-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.fb-btn--primary {
  background: #c4001d;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(196, 0, 29, 0.28);
}
.fb-btn--primary:hover { background: #a50018; transform: translateY(-1px); }
.fb-btn--ghost {
  background: #f6f7f9;
  color: #1c2230;
  border: 1px solid #e2e5ea;
}
.fb-btn--ghost:hover { background: #eceef2; }
.fb-modal__hint {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #7a828e;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .fb-modal { padding: 12px; }
  .fb-modal__dialog { padding: 22px 18px 18px; }
}

/* --- Karten-Buttons: "Mehr erfahren" und "Anfrage senden" gleich groß --- */
.jw-btn-container:has(> a.jw-btn + a.jw-btn) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.jw-btn-container:has(> a.jw-btn + a.jw-btn) > a.jw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  margin-left: 0 !important;
}

/* =====================================================================
   Clean-Pass: Marken-Rot konsequent, einheitliche Flaechen & Details
   Das Webador-Theme nutzt sein eigenes Standardrot (#dc2626) in
   Akzent-/Schattierungs-Streifen und Boxen. Hier auf die Markenfarbe
   (#c4001d) und die restliche Typografie vereinheitlicht.
   ===================================================================== */

/* Akzent-Streifen (roter CTA-Bereich) -> Markenrot */
.jw-strip--color-accent,
:root .jw-box.jw-box--color-accent {
  --jw-background-color: #c4001d;
  --jw-background-color-tint: #a50018;
  --jw-secondary-container-background-color: #a50018;
  --jw-secondary-container-background-color-tint: #8f0015;
  --jw-secondary-surface-background-color: #a50018;
  --jw-secondary-surface-content-color: #ffffff;
}

/* Schattierte Streifen/Boxen -> neutraler Hintergrund, dunkle Titel, Marken-Rot */
.jw-strip--color-shaded,
:root .jw-box.jw-box--color-shaded {
  --jw-background-color: #f6f7f9;
  --jw-background-color-tint: #eceef2;
  --jw-content-color: #4a5058;
  --jw-content-color-link: #c4001d;
  --jw-content-color-accent: #c4001d;
  --jw-heading-color: #1c2230;
  --jw-heading-color-accent: #c4001d;
  --jw-heading-color-link: #c4001d;
  --jw-accent-container-background-color: #c4001d;
  --jw-accent-container-background-color-tint: #a50018;
}

/* Standard-Boxen -> Marken-Rot statt Theme-Rot */
:root .jw-box.jw-box--color-default {
  --jw-content-color: #4a5058;
  --jw-heading-color: #1c2230;
  --jw-content-color-link: #c4001d;
  --jw-content-color-accent: #c4001d;
  --jw-heading-color-accent: #c4001d;
  --jw-heading-color-link: #c4001d;
  --jw-accent-container-background-color: #c4001d;
  --jw-accent-container-background-color-tint: #a50018;
}

/* Boxen als satte Karten */
.jw-box {
  border-radius: 16px;
  border: 1px solid #eceef2;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.07);
  padding: 24px 22px;
}

/* Listen im Inhalt */
.jw-element-imagetext-text ul,
.jw-element-imagetext-text ol {
  margin: 0.75em 0;
  padding-left: 1.25em;
}
.jw-element-imagetext-text li { margin: 0.3em 0; }
.jw-element-imagetext-text li::marker { color: #c4001d; font-weight: 700; }

/* Formularfelder erben die Website-Schrift */
.jw-element-form input,
.jw-element-form textarea,
.jw-element-form select {
  font-family: inherit;
  color: inherit;
}

/* Sekundaerer (Outline-)Button sauber */
.jw-btn--style-border {
  background-color: transparent !important;
  box-shadow: none !important;
}
.jw-btn--style-border .jw-btn-caption { color: inherit; }

/* --- Rechtsseiten (Impressum, Datenschutz) --- */
.fb-legal {
  max-width: 820px;
  margin: 0 auto;
}
.fb-legal h2 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.25;
  margin: 1.7em 0 0.5em;
  color: var(--jw-heading-color);
}
.fb-legal h2:first-child { margin-top: 0; }
.fb-legal h3 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: 16.5px;
  margin: 1.3em 0 0.3em;
  color: var(--jw-heading-color);
}
.fb-legal p,
.fb-legal li {
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 0.85em;
}
.fb-legal address {
  font-style: normal;
  line-height: 1.75;
  margin: 0 0 1em;
}
.fb-legal a { color: #c4001d; }

/* --- Cookie-Consent: Banner, Einstellungen, Kategorien --- */
html.fb-consent-open { overflow: hidden; }
.fb-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #1c2230;
  color: #ffffff;
  box-shadow: 0 -10px 34px rgba(16, 24, 40, 0.28);
}
.fb-consent[hidden] { display: none; }
.fb-consent__inner {
  max-width: var(--simple-brick-max-width, 1200px);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}
.fb-consent__text {
  margin: 0;
  flex: 1 1 430px;
  font-size: 14px;
  line-height: 1.6;
  color: #e9eaee;
}
.fb-consent__text a { color: #ff8a9a; text-decoration: underline; }
.fb-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fb-consent .fb-btn { font-size: 14px; padding: 10px 16px; box-shadow: none; }
.fb-consent .fb-btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.fb-consent .fb-btn--ghost:hover { background: rgba(255, 255, 255, 0.20); }
.fb-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fb-consent-modal[hidden] { display: none; }
.fb-consent-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
  backdrop-filter: blur(2px);
}
.fb-consent-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow: auto;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(16, 24, 40, 0.35);
  padding: 28px 28px 24px;
  animation: fb-modal-in 0.22s ease-out;
}
.fb-consent-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f2f4;
  color: #1c2230;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.fb-consent-modal__close:hover { background: #e4e6ea; }
.fb-consent-modal__title {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.015em;
  color: #1c2230;
  margin: 0 0 8px;
}
.fb-consent-modal__intro {
  margin: 0 0 18px;
  color: #4a5058;
  font-size: 14.5px;
  line-height: 1.6;
}
.fb-consent-cat {
  border: 1px solid #eceef2;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 12px;
}
.fb-consent-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fb-consent-cat__name { font-weight: 700; color: #1c2230; font-size: 15px; }
.fb-consent-cat__badge {
  font-size: 12px;
  font-weight: 700;
  color: #0a7d3c;
  background: rgba(10, 125, 60, 0.10);
  border-radius: 999px;
  padding: 3px 10px;
}
.fb-consent-cat__desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #5b6472;
}
.fb-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.fb-switch input { opacity: 0; width: 0; height: 0; }
.fb-switch__slider {
  position: absolute;
  inset: 0;
  background: #cfd3da;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}
.fb-switch__slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.fb-switch input:checked + .fb-switch__slider { background: #c4001d; }
.fb-switch input:checked + .fb-switch__slider::before { transform: translateX(20px); }
.fb-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
@media (max-width: 560px) {
  .fb-consent__inner { padding: 14px; }
  .fb-consent__actions { width: 100%; }
  .fb-consent__actions .fb-btn { flex: 1 1 auto; }
  .fb-consent-modal__dialog { padding: 22px 18px 18px; }
  .fb-consent-modal__actions .fb-btn { flex: 1 1 auto; }
}

/* --- Produktgalerie im Shop-Stil --- */
.fb-gallery {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}
.fb-gallery__head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}
.fb-gallery__h1 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--jw-heading-color);
  margin: 0 0 12px;
}
.fb-gallery__intro {
  font-size: 16px;
  line-height: 1.7;
  color: #5b6472;
  margin: 0;
}
.fb-shop__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
}
.fb-shop__filters { display: flex; flex-wrap: wrap; gap: 7px; }
.fb-shop__filter {
  appearance: none;
  border: 1px solid #e7e9ee;
  background: #ffffff;
  color: #3b4250;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.fb-shop__filter:hover { border-color: #c4001d; color: #c4001d; }
.fb-shop__filter.is-active { background: #c4001d; border-color: #c4001d; color: #ffffff; }
.fb-shop__tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fb-shop__search input {
  width: 200px;
  box-sizing: border-box;
  border: 1px solid #e7e9ee;
  border-radius: 9px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13.5px;
  color: #1c2230;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fb-shop__search input:focus {
  border-color: #c4001d;
  box-shadow: 0 0 0 3px rgba(196, 0, 29, 0.1);
  outline: none;
}
.fb-shop__sort {
  border: 1px solid #e7e9ee;
  border-radius: 9px;
  padding: 9px 10px;
  font: inherit;
  font-size: 13.5px;
  color: #3b4250;
  background: #ffffff;
  cursor: pointer;
}
.fb-shop__sort:focus { border-color: #c4001d; outline: none; }
.fb-shop__count { margin: 0 0 20px; font-size: 13px; color: #8a92a0; }
.fb-shop__empty { text-align: center; color: #8a92a0; font-size: 15px; padding: 48px 0; }

.fb-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 22px;
}
.fb-product {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.fb-product:hover {
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.10);
  transform: translateY(-3px);
  border-color: #e4e6ea;
}
.fb-product__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f7f8fa;
  overflow: hidden;
}
.fb-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.fb-product:hover .fb-product__media img { transform: scale(1.04); }
.fb-product__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 15px 16px;
}
.fb-product__title {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--jw-heading-color);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fb-product__price {
  font-weight: 800;
  font-size: 16px;
  color: #c4001d;
  margin: 0 0 13px;
}
.fb-product .fb-anfrage { margin: 0 !important; padding: 0; }
.fb-product__cta.jw-btn {
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9px 14px !important;
  border: 1.5px solid #c4001d !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #c4001d !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.fb-product__cta.jw-btn:hover {
  background: #c4001d !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}
.fb-gallery__cat { margin: 44px 0 0; }
.fb-gallery__h2 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.3vw, 25px);
  letter-spacing: -0.015em;
  color: var(--jw-heading-color);
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 11px;
}
.fb-gallery__h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #c4001d;
}
.fb-pricelist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px 18px;
}
.fb-pricelist__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 11px;
  padding: 11px 14px;
}
.fb-pricelist__name { font-weight: 600; color: #1c2230; flex: 1 1 auto; font-size: 14px; }
.fb-pricelist__price { font-weight: 800; color: #c4001d; white-space: nowrap; font-size: 14px; }
.fb-pricelist__cta { flex: 0 0 auto; }
.fb-pricelist__cta .jw-btn {
  border: 1.5px solid #c4001d !important;
  background: transparent !important;
  color: #c4001d !important;
  box-shadow: none !important;
  border-radius: 9px !important;
  padding: 7px 12px !important;
  font-size: 12.5px !important;
}
.fb-pricelist__cta .jw-btn:hover { background: #c4001d !important; color: #ffffff !important; }
.fb-gallery__note {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: #8a92a0;
}
@media (max-width: 640px) {
  .fb-gallery { padding: 34px 16px 56px; }
  .fb-shop__search input { width: 100%; }
  .fb-shop__tools { width: 100%; }
  .fb-shop__search { flex: 1 1 auto; }
  .fb-shop__sort { flex: 0 0 auto; }
  .fb-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fb-pricelist { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .fb-products { grid-template-columns: 1fr; }
}
/* --- Produktgalerie (Projektgalerie) --- */
body[data-jouwweb-page="38482407"] { background: #f4f5f7; }
body[data-jouwweb-page="38482407"] .jw-background { background-color: #f4f5f7; }

.fb-gallery {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px 84px;
}
.fb-gallery__head {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 30px;
  text-align: center;
}
.fb-gallery__eyebrow {
  display: inline-block;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4001d;
  background: rgba(196, 0, 29, 0.08);
  border: 1px solid rgba(196, 0, 29, 0.14);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 16px;
}
.fb-gallery__h1 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--jw-heading-color);
  margin: 0 0 14px;
}
.fb-gallery__intro {
  font-size: 16.5px;
  line-height: 1.7;
  color: #5b6472;
  margin: 0;
}

.fb-shop__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #edeff2;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.05);
  margin: 0 0 16px;
}
.fb-shop__filters { display: flex; flex-wrap: wrap; gap: 7px; }
.fb-shop__filter {
  appearance: none;
  border: 1px solid #e7e9ee;
  background: #ffffff;
  color: #3b4250;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.fb-shop__filter:hover { border-color: #c4001d; color: #c4001d; }
.fb-shop__filter.is-active { background: #c4001d; border-color: #c4001d; color: #ffffff; box-shadow: 0 8px 18px rgba(196, 0, 29, 0.25); }
.fb-shop__tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fb-shop__search input {
  width: 210px;
  box-sizing: border-box;
  border: 1px solid #e7e9ee;
  border-radius: 9px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13.5px;
  color: #1c2230;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fb-shop__search input:focus { border-color: #c4001d; box-shadow: 0 0 0 3px rgba(196, 0, 29, 0.1); outline: none; }
.fb-shop__sort {
  border: 1px solid #e7e9ee;
  border-radius: 9px;
  padding: 9px 10px;
  font: inherit;
  font-size: 13.5px;
  color: #3b4250;
  background: #ffffff;
  cursor: pointer;
}
.fb-shop__sort:focus { border-color: #c4001d; outline: none; }
.fb-shop__count { margin: 0 0 20px; font-size: 13px; color: #8a92a0; }
.fb-shop__empty { text-align: center; color: #8a92a0; font-size: 15px; padding: 48px 0; }

.fb-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.fb-product {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #edeff2;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.fb-product:hover {
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  transform: translateY(-4px);
  border-color: #e4e6ea;
}
.fb-product__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #f4f5f7;
  overflow: hidden;
}
.fb-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.fb-product:hover .fb-product__media img { transform: scale(1.05); }
.fb-product__chip {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1c2230;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 4px 9px;
}
.fb-product__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 15px 16px 17px;
}
.fb-product__title {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--jw-heading-color);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.fb-product__price {
  font-weight: 800;
  font-size: 16.5px;
  color: #c4001d;
  margin: 0 0 14px;
}
.fb-product__cta.jw-btn {
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9px 14px !important;
  border: 1.5px solid #c4001d !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #c4001d !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.fb-product__cta.jw-btn .jw-btn-caption::after { content: " \2192"; }
.fb-product__cta.jw-btn:hover {
  background: #c4001d !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

.fb-gallery__cat { margin: 54px 0 0; }
.fb-gallery__h2 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.3vw, 25px);
  letter-spacing: -0.015em;
  color: var(--jw-heading-color);
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 11px;
}
.fb-gallery__h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #c4001d;
}
.fb-pricelist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px 18px;
}
.fb-pricelist__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: #ffffff;
  border: 1px solid #edeff2;
  border-radius: 12px;
  padding: 11px 14px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.04);
}
.fb-pricelist__name { font-weight: 600; color: #1c2230; flex: 1 1 auto; font-size: 14px; }
.fb-pricelist__price { font-weight: 800; color: #c4001d; white-space: nowrap; font-size: 14px; }
.fb-pricelist__cta { flex: 0 0 auto; }
.fb-pricelist__cta .jw-btn {
  border: 1.5px solid #c4001d !important;
  background: transparent !important;
  color: #c4001d !important;
  box-shadow: none !important;
  border-radius: 9px !important;
  padding: 7px 12px !important;
  font-size: 12.5px !important;
}
.fb-pricelist__cta .jw-btn:hover { background: #c4001d !important; color: #ffffff !important; }

.fb-gallery__cta {
  margin: 56px 0 0;
  padding: 40px 28px;
  text-align: center;
  background: linear-gradient(135deg, #1c2230 0%, #2b3342 100%);
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 22px 50px rgba(16, 24, 40, 0.18);
}
.fb-gallery__cta h2 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(21px, 2.6vw, 28px);
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 10px;
}
.fb-gallery__cta p { max-width: 620px; margin: 0 auto 22px; color: #c7ccd6; font-size: 15.5px; line-height: 1.6; }
.fb-gallery__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fb-gallery__cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: background-color 0.16s ease, transform 0.16s ease;
}
.fb-gallery__cta-primary { background: #c4001d; color: #ffffff; box-shadow: 0 10px 24px rgba(196, 0, 29, 0.35); }
.fb-gallery__cta-primary:hover { background: #a50018; transform: translateY(-2px); }
.fb-gallery__cta-ghost { background: rgba(255, 255, 255, 0.08); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.28); }
.fb-gallery__cta-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.fb-gallery__note {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: #8a92a0;
}
@media (max-width: 640px) {
  .fb-gallery { padding: 0 16px 60px; }
  .fb-gallery__head { padding: 40px 0 24px; }
  .fb-shop__tools { width: 100%; }
  .fb-shop__search { flex: 1 1 auto; }
  .fb-shop__search input { width: 100%; }
  .fb-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fb-pricelist { grid-template-columns: 1fr; }
  .fb-gallery__cta { padding: 32px 20px; }
}
@media (max-width: 420px) {
  .fb-products { grid-template-columns: 1fr; }
}

/* --- Rote Akzente in der Galerie --- */
body[data-jouwweb-page="38482407"] .fb-gallery__eyebrow {
  background: #c4001d;
  border-color: #c4001d;
  color: #ffffff;
}
.fb-gallery__h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c4001d, #e04646);
  margin: 18px auto 0;
}
.fb-shop__panel { border-top: 3px solid #c4001d; }
.fb-product { position: relative; }
.fb-product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: #c4001d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.fb-product:hover::before { transform: scaleX(1); }
.fb-pricelist__item {
  border-left: 3px solid #f0f1f4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fb-pricelist__item:hover {
  border-left-color: #c4001d;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}
.fb-gallery__cta { border-top: 4px solid #c4001d; }
.fb-gallery__cta h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: #c4001d;
  margin: 12px auto 0;
}

/* --- Konfigurator --- */
body[data-jouwweb-page="38482410"] { background: #f4f5f7; }
body[data-jouwweb-page="38482410"] .jw-background { background-color: #f4f5f7; }
.fb-config { max-width: 1220px; margin: 0 auto; padding: 0 20px 84px; }
.fb-config__head { max-width: 760px; margin: 0 auto; padding: 56px 0 30px; text-align: center; }
.fb-config__h1 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--jw-heading-color);
  margin: 0 0 14px;
}
.fb-config__intro { font-size: 16.5px; line-height: 1.7; color: #5b6472; margin: 0; }
.fb-config__h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c4001d, #e04646);
  margin: 18px auto 0;
}
.fb-config__layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.fb-config__step {
  background: #ffffff;
  border: 1px solid #edeff2;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 0 0 18px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.05);
}
.fb-config__step h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--jw-heading-color);
  margin: 0 0 16px;
}
.fb-config__step h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #c4001d;
  color: #ffffff;
  font-size: 13px;
  flex: 0 0 auto;
}
.fb-config select,
.fb-config textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e7e9ee;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14.5px;
  color: #1c2230;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fb-config select:focus,
.fb-config textarea:focus { border-color: #c4001d; box-shadow: 0 0 0 3px rgba(196, 0, 29, 0.1); outline: none; }
.fb-config__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-chip {
  appearance: none;
  border: 1px solid #e7e9ee;
  background: #ffffff;
  color: #3b4250;
  font: inherit;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.fb-chip:hover { border-color: #c4001d; color: #c4001d; }
.fb-chip.is-active { background: #c4001d; border-color: #c4001d; color: #ffffff; }
.fb-config__checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.fb-check {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e7e9ee;
  border-radius: 10px;
  padding: 11px 13px;
  cursor: pointer;
  font-size: 14px;
  color: #3b4250;
  transition: border-color 0.15s ease;
}
.fb-check:hover { border-color: #c4001d; }
.fb-check input { width: 18px; height: 18px; accent-color: #c4001d; }
.fb-config__hint { margin: 10px 0 0; font-size: 12.5px; color: #8a92a0; }
.fb-config__summary { position: sticky; top: 24px; }
.fb-config__card {
  background: #ffffff;
  border: 1px solid #edeff2;
  border-top: 3px solid #c4001d;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}
.fb-config__card h3 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--jw-heading-color);
  margin: 0 0 14px;
}
.fb-config__img { width: 100%; border-radius: 12px; margin: 0 0 14px; display: block; background: #f4f5f7; aspect-ratio: 4 / 3; object-fit: cover; }
.fb-config__list { margin: 0 0 16px; }
.fb-config__list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1f2f5; font-size: 13.5px; }
.fb-config__list dt { color: #8a92a0; margin: 0; }
.fb-config__list dd { margin: 0; color: #1c2230; font-weight: 600; text-align: right; }
.fb-config__total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 6px; }
.fb-config__total span { font-size: 14px; color: #5b6472; }
.fb-config__total strong { font-size: 22px; color: #c4001d; font-weight: 800; }
.fb-config__request.jw-btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
  margin-top: 10px;
  background: #c4001d !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(196, 0, 29, 0.3) !important;
  padding: 13px 18px !important;
  font-size: 15px !important;
}
.fb-config__request.jw-btn:hover { background: #a50018 !important; transform: none !important; }
.fb-config__warranty { margin: 2px 0 0; font-size: 12px; color: #8a92a0; line-height: 1.5; text-align: right; }
.fb-config__note { margin: 10px 0 0; font-size: 12px; color: #8a92a0; line-height: 1.5; text-align: center; }
@media (max-width: 860px) {
  .fb-config { padding: 0 16px 60px; }
  .fb-config__head { padding: 40px 0 24px; }
  .fb-config__layout { grid-template-columns: 1fr; }
  .fb-config__summary { position: static; }
}

/* --- Konfigurator: adaptive Vorschau --- */
.fb-config__preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 14px;
  background: #f4f5f7;
  aspect-ratio: 4 / 3;
  transition: background-color 0.25s ease;
}
.fb-config__preview .fb-config__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  display: block;
  transition: filter 0.3s ease;
}
.fb-config__preview-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1c2230;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 5px 11px;
}
.fb-chip { display: inline-flex; align-items: center; }
.fb-chip__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* WICHTIG: gefilterte Produkte wirklich ausblenden (display:flex der Karte würde [hidden] sonst überschreiben) */
.fb-product[hidden] { display: none; }

/* --- Dauerhafter Button: Cookie-Einstellungen --- */
.fb-consent-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2500;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #1c2230;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.28);
  transition: transform 0.16s ease, background-color 0.16s ease;
}
.fb-consent-fab:hover { background: #c4001d; transform: translateY(-2px); }
.fb-consent-fab:focus-visible { outline: 3px solid rgba(196, 0, 29, 0.45); outline-offset: 2px; }
@media (max-width: 560px) { .fb-consent-fab { left: 12px; bottom: 12px; } }

/* --- Cookie-Fenster größer / prominenter --- */
.fb-consent-modal__dialog {
  max-width: 820px;
  padding: 36px 40px 32px;
  border-radius: 18px;
}
.fb-consent-modal__title { font-size: 27px; margin-bottom: 10px; }
.fb-consent-modal__intro { font-size: 15.5px; margin-bottom: 22px; }
.fb-consent-cat { padding: 18px 20px; margin-bottom: 14px; }
.fb-consent-cat__name { font-size: 16px; }
.fb-consent-cat__desc { font-size: 14.5px; }
.fb-consent-modal__actions { margin-top: 20px; gap: 12px; }
.fb-consent-modal__actions .fb-btn { padding: 12px 22px; font-size: 15px; }
@media (max-width: 640px) {
  .fb-consent-modal__dialog { padding: 26px 20px 22px; }
  .fb-consent-modal__title { font-size: 22px; }
  .fb-consent-modal__actions .fb-btn { flex: 1 1 auto; }
}

/* =====================================================================
   Startseite - Kratki-inspiriertes, helles Produkt-Layout
   ===================================================================== */
/* Theme-Rot konsequent auf Marken-Rot abbilden */
:root, html, body {
  --jw-accent-container-background-color: #c4001d;
  --jw-accent-container-background-color-tint: #a50018;
  --jw-content-color-accent: #c4001d;
  --jw-heading-color-accent: #c4001d;
  --jw-swatch--accent-color: #c4001d;
  --jw-swatch--accent-color--button-hover: #a50018;
  --jw-swatch--heading-color: #1c2230;
  --jw-swatch--paragraph-link-color: #c4001d;
}

.fb-home { overflow: hidden; background: #ffffff; }
.fb-home-inner { max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.fb-home-sec { padding: 76px 0; }
.fb-home-sec--shaded { background: #f5f6f8; }

.fb-home-head { max-width: 720px; margin: 0 0 40px; }
.fb-home-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.fb-home-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.fb-home-head--row > div { max-width: 640px; }
.fb-home-eyebrow {
  display: inline-block;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4001d;
  background: rgba(196, 0, 29, 0.07);
  border: 1px solid rgba(196, 0, 29, 0.14);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 16px;
}
.fb-home-h2 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #14181f;
  margin: 0 0 12px;
}
.fb-home-sub { font-size: 16px; line-height: 1.7; color: #5b6472; margin: 0; }
.fb-home-link {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 14.5px;
  color: #c4001d;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid rgba(196, 0, 29, 0.25);
  padding-bottom: 2px;
}
.fb-home-link:hover { border-bottom-color: #c4001d; }

/* --- Hero --- */
.fb-hero { position: relative; background: #14181f; overflow: hidden; }
.fb-hero__slides { position: relative; height: min(76vh, 600px); min-height: 460px; }
.fb-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
  background-color: #14181f;
  overflow: hidden;
}
.fb-hero__slide.is-active { opacity: 1; visibility: visible; }
.fb-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fb-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 14, 20, 0.86) 0%, rgba(10, 14, 20, 0.62) 42%, rgba(10, 14, 20, 0.12) 100%);
}
.fb-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.fb-hero__eyebrow {
  display: inline-block;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  background: #c4001d;
  border-radius: 999px;
  padding: 7px 15px;
  margin: 0 0 18px;
}
.fb-hero__title {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 20px;
  max-width: 760px;
}
.fb-hero__text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 0 30px;
}
.fb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.fb-hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
}
.fb-hero__badges li {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 14px;
  backdrop-filter: blur(3px);
}
.fb-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 9px;
}
.fb-hero__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background-color 0.2s ease, width 0.2s ease;
}
.fb-hero__dot.is-active { background: #ffffff; width: 30px; }

/* --- Button-Varianten --- */
.fb-btn--lg { padding: 14px 24px; font-size: 15.5px; border-radius: 11px; }
.fb-btn--light { background: #ffffff; color: #c4001d; }
.fb-btn--light:hover { background: #f4f5f7; transform: translateY(-1px); }
.fb-btn--outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.fb-btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #ffffff; }

/* --- USP-Bar --- */
.fb-uspbar { background: #ffffff; border-bottom: 1px solid #eceef2; }
.fb-uspbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.fb-uspbar__item { display: flex; align-items: center; gap: 13px; }
.fb-uspbar__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(196, 0, 29, 0.08);
  color: #c4001d;
}
.fb-uspbar__icon svg { width: 23px; height: 23px; }
.fb-uspbar__item strong {
  display: block;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #14181f;
}
.fb-uspbar__item span { font-size: 13px; color: #6b7280; }

/* --- Kategorien (3 gross) --- */
.fb-cats3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.fb-cat3 {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  background: #f1f2f4;
  border: 1px solid #eceef2;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.fb-cat3:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(16, 24, 40, 0.16); }
.fb-cat3__media { position: absolute; inset: 0; }
.fb-cat3__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.fb-cat3:hover .fb-cat3__media img { transform: scale(1.05); }
.fb-cat3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 16, 24, 0.88) 0%, rgba(12, 16, 24, 0.34) 55%, rgba(12, 16, 24, 0.04) 100%);
}
.fb-cat3__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fb-cat3__count {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: #c4001d;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 4px;
}
.fb-cat3__name {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 23px;
  color: #ffffff;
  line-height: 1.15;
}
.fb-cat3__text { font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }
.fb-cat3__cta { margin-top: 8px; font-size: 14px; font-weight: 700; color: #ffffff; }

.fb-catlinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: center; }
.fb-catlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #3b4250;
  background: #ffffff;
  border: 1px solid #e7e9ee;
  border-radius: 999px;
  padding: 9px 16px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.fb-catlink:hover { border-color: #c4001d; color: #c4001d; }
.fb-catlink span {
  font-size: 11.5px;
  font-weight: 700;
  color: #c4001d;
  background: rgba(196, 0, 29, 0.08);
  border-radius: 999px;
  padding: 2px 8px;
}

/* --- Featured --- */
.fb-products--home { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* --- Finder --- */
.fb-finder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fb-finder__card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eceef2;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fb-finder__card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(16, 24, 40, 0.12); }
.fb-finder__media { display: block; aspect-ratio: 16 / 10; background: #f4f5f7; overflow: hidden; }
.fb-finder__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-finder__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.fb-finder__body strong {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #14181f;
}
.fb-finder__body span { font-size: 14px; color: #c4001d; font-weight: 600; }

/* --- Split / About --- */
.fb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fb-split__copy p { font-size: 16px; line-height: 1.75; color: #4a5058; margin: 0 0 20px; }
.fb-split__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.fb-split__list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; color: #3b4250; }
.fb-split__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(196, 0, 29, 0.12) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjYzQwMDFkIiBzdHJva2Utd2lkdGg9IjMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTUgMTJsNCA0TDE5IDYiLz48L3N2Zz4=") center / 12px 12px no-repeat;
}
.fb-split__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fb-split__media { border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px rgba(16, 24, 40, 0.16); }
.fb-split__media img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* --- CTA --- */
.fb-cta { background: linear-gradient(120deg, #c4001d 0%, #a50018 100%); color: #ffffff; }
.fb-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 52px;
  padding-bottom: 52px;
}
.fb-cta h2 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}
.fb-cta p { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 620px; }
.fb-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

/* --- Kontakt --- */
.fb-contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.fb-contact-form { background: #f8f9fb; border: 1px solid #eceef2; border-radius: 18px; padding: 28px; }
.fb-contact-form .jw-element-form-group { margin-bottom: 16px; }
.fb-contact-form .jw-element-form-label { display: block; font-weight: 700; font-size: 13.5px; color: #14181f; margin-bottom: 6px; }
.fb-contact-form .form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dfe2e8;
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  background: #ffffff;
  color: #14181f;
}
.fb-contact-form textarea.form-control { min-height: 130px; resize: vertical; }
.fb-contact-form .form-control:focus { border-color: #c4001d; outline: none; box-shadow: 0 0 0 3px rgba(196, 0, 29, 0.1); }
.fb-contact-info .jw-map-wrapper { border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.fb-contact-info__title {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #14181f;
  margin: 0 0 8px;
}
.fb-contact-info p { font-size: 15px; line-height: 1.7; color: #4a5058; margin: 0; }

/* --- Responsive --- */
@media (max-width: 980px) {
  .fb-home-sec { padding: 58px 0; }
  .fb-uspbar__inner { grid-template-columns: repeat(2, 1fr); }
  .fb-cats3 { grid-template-columns: 1fr 1fr; }
  .fb-finder { grid-template-columns: 1fr; }
  .fb-split { grid-template-columns: 1fr; gap: 34px; }
  .fb-split__media { order: -1; }
  .fb-home-head--row { flex-direction: column; align-items: flex-start; }
  .fb-cta__inner { flex-direction: column; align-items: flex-start; }
  .fb-contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .fb-hero__slides { height: 620px; }
  .fb-hero__slide::before { background: linear-gradient(180deg, rgba(10, 14, 20, 0.45) 0%, rgba(10, 14, 20, 0.86) 100%); }
  .fb-hero__actions { flex-direction: column; align-items: stretch; }
  .fb-hero__actions .fb-btn { width: 100%; }
  .fb-uspbar__inner { grid-template-columns: 1fr; gap: 14px; }
  .fb-cats3 { grid-template-columns: 1fr; }
  .fb-products--home { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fb-cta__actions { width: 100%; }
  .fb-cta__actions .fb-btn { width: 100%; }
  .fb-contact-form { padding: 20px; }
}
@media (max-width: 420px) {
  .fb-products--home { grid-template-columns: 1fr; }
}

/* =====================================================================
   Fensterkonfigurator (/fensterkonfigurator) – Premium Wizard
   ===================================================================== */
body[data-jouwweb-page="90000002"] {
  --wiz-ink: #0f1720;
  --wiz-ink-2: #1b2532;
  --wiz-muted: #6b7482;
  --wiz-soft: #98a1ae;
  --wiz-line: #e7eaf0;
  --wiz-line-2: #eef1f5;
  --wiz-surface: #ffffff;
  --wiz-canvas: #f5f6f8;
  --wiz-accent: #b8001a;
  --wiz-accent-2: #970014;
  background: var(--wiz-canvas);
}
body[data-jouwweb-page="90000002"] .jw-background { background-color: var(--wiz-canvas); }

.fb-wiz { max-width: 1280px; margin: 0 auto; padding: 0 24px 100px; }

.fb-wiz__h1 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--wiz-ink);
  margin: 0 0 14px;
}
.fb-wiz__h1::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wiz-accent), #e14b5e);
  margin: 20px auto 0;
}
.fb-wiz__intro { font-size: 16px; line-height: 1.7; color: var(--wiz-muted); margin: 0; }
.fb-wiz__trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 22px 0 0; padding: 0; }
.fb-wiz__trust li { position: relative; padding-left: 24px; font-size: 13.5px; font-weight: 600; color: var(--wiz-ink-2); }
.fb-wiz__trust li::before { content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--wiz-accent); }
.fb-wiz__trust li::after { content: ""; position: absolute; left: 5px; top: 4px; width: 6px; height: 3px; border-left: 2px solid #ffffff; border-bottom: 2px solid #ffffff; transform: rotate(-45deg); }

/* --- Hero --- */
.fb-wiz__hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 28px 0 26px;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  background: #0b111a;
  box-shadow: 0 40px 70px -40px rgba(15, 23, 32, 0.6);
}
.fb-wiz__hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fb-wiz__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 22, 0.12) 0%, rgba(10, 15, 22, 0.5) 52%, rgba(10, 15, 22, 0.9) 100%),
    linear-gradient(100deg, rgba(10, 15, 22, 0.86) 0%, rgba(10, 15, 22, 0.34) 58%, rgba(10, 15, 22, 0.02) 100%);
}
.fb-wiz__hero-inner { position: relative; z-index: 1; padding: 48px 54px 46px; max-width: 780px; }
.fb-wiz__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: #ffb3bd; margin-bottom: 18px;
}
.fb-wiz__eyebrow-line { width: 36px; height: 1.5px; background: linear-gradient(90deg, #ff5a72, rgba(255, 90, 114, 0)); }
.fb-wiz__hero .fb-wiz__h1 { color: #ffffff; text-align: left; margin: 0 0 14px; font-size: clamp(31px, 4vw, 52px); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3); }
.fb-wiz__hero .fb-wiz__h1::after { margin: 20px 0 0; width: 64px; background: linear-gradient(90deg, #ff5a72, #ff9aa8); }
.fb-wiz__hero .fb-wiz__intro { color: rgba(255, 255, 255, 0.86); max-width: 600px; }
.fb-wiz__hero-stats {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.fb-wiz__hero-stat { display: flex; flex-direction: column; }
.fb-wiz__hero-stat-num { font-family: "Montserrat", "Open Sans", system-ui, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: #ffffff; }
.fb-wiz__hero-stat-txt { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.6); margin-top: 3px; }

/* --- Fortschritt --- */
.fb-wiz__track { height: 3px; border-radius: 999px; background: #e9edf2; overflow: hidden; margin: 0 0 18px; }
.fb-wiz__track span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--wiz-accent), #e14b5e); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }

.fb-wiz__progress { display: flex; gap: 0; overflow-x: auto; padding: 4px 2px 26px; scrollbar-width: thin; }
.fb-wiz__pip {
  position: relative; flex: 1 0 auto; min-width: 104px; max-width: 184px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: none; border: 0; padding: 0 8px; cursor: pointer; font: inherit;
}
.fb-wiz__pip::after {
  content: ""; position: absolute; top: 16px; left: calc(50% + 20px); width: calc(100% - 40px); height: 2px;
  background: var(--wiz-line); z-index: 0; transition: background-color 0.2s ease;
}
.fb-wiz__pip:last-child::after { display: none; }
.fb-wiz__pip-num {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #ffffff; border: 1.5px solid var(--wiz-line); color: var(--wiz-soft);
  font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 2px rgba(15, 23, 32, 0.04);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.fb-wiz__pip-label { font-size: 11.5px; font-weight: 700; line-height: 1.3; text-align: center; color: var(--wiz-soft); transition: color 0.2s ease; }
.fb-wiz__pip:hover .fb-wiz__pip-num { border-color: var(--wiz-accent); color: var(--wiz-accent); }
.fb-wiz__pip.is-done .fb-wiz__pip-num { background: var(--wiz-ink); border-color: var(--wiz-ink); color: #ffffff; }
.fb-wiz__pip.is-done::after { background: var(--wiz-ink); }
.fb-wiz__pip.is-done .fb-wiz__pip-label { color: var(--wiz-ink-2); }
.fb-wiz__pip.is-active .fb-wiz__pip-num { background: var(--wiz-accent); border-color: var(--wiz-accent); color: #ffffff; box-shadow: 0 0 0 5px rgba(184, 0, 26, 0.14); }
.fb-wiz__pip.is-active .fb-wiz__pip-label { color: var(--wiz-ink); }

/* --- Förderbanner --- */
.fb-wiz__promo {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(90deg, #fff8f0, #fffdfa);
  border: 1px solid #f6e2c8; border-radius: 16px; padding: 14px 20px; margin: 0 0 26px;
}
.fb-wiz__promo-badge { background: linear-gradient(135deg, #f08a24, #d9700f); color: #ffffff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 8px; }
.fb-wiz__promo-text { font-size: 13.5px; color: #6f4a17; font-weight: 600; flex: 1; min-width: 220px; }
.fb-wiz__promo-link { font-size: 13px; font-weight: 800; color: var(--wiz-accent); white-space: nowrap; text-decoration: none; border-bottom: 1px solid rgba(184, 0, 26, 0.3); padding-bottom: 1px; }

/* --- Layout --- */
.fb-wiz__layout { display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 30px; align-items: start; }
.fb-wiz__main { min-width: 0; }
.fb-wiz__step {
  background: var(--wiz-surface); border: 1px solid var(--wiz-line); border-radius: 20px;
  padding: 32px 34px 34px;
  box-shadow: 0 1px 2px rgba(15, 23, 32, 0.04), 0 22px 46px -26px rgba(15, 23, 32, 0.2);
}
.fb-wiz__qmeta { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wiz-accent); }
.fb-wiz__q {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif; font-weight: 800;
  font-size: clamp(21px, 2.3vw, 28px); line-height: 1.2; letter-spacing: -0.02em; color: var(--wiz-ink); margin: 0 0 10px;
}
.fb-wiz__hint { font-size: 14.5px; line-height: 1.7; color: var(--wiz-muted); margin: 0 0 26px; max-width: 760px; }
.fb-wiz__multihint { margin: 16px 0 0; font-size: 12.5px; color: var(--wiz-soft); }

/* --- Auswahlkarten --- */
.fb-wiz__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 16px; }
.fb-wiz__card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  border: 1px solid var(--wiz-line); background: #ffffff; border-radius: 16px; padding: 0; overflow: hidden;
  cursor: pointer; font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.fb-wiz__card:hover { border-color: #cfd6df; box-shadow: 0 18px 36px -20px rgba(15, 23, 32, 0.35); transform: translateY(-3px); }
.fb-wiz__card.is-active { border-color: var(--wiz-ink); box-shadow: 0 0 0 1.5px var(--wiz-ink), 0 18px 36px -20px rgba(15, 23, 32, 0.35); }
.fb-wiz__card-media { position: relative; display: block; aspect-ratio: 16 / 11; background: #eef1f4; overflow: hidden; }
.fb-wiz__card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fb-wiz__card:hover .fb-wiz__card-media img { transform: scale(1.05); }
.fb-wiz__card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 22, 0.08), rgba(10, 15, 22, 0) 42%); pointer-events: none; }
.fb-wiz__card-noimg { display: block; width: 100%; height: 100%; background: #eef1f4; }
.fb-wiz__card-tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: rgba(15, 23, 32, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #ffffff; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.fb-wiz__card-badge { position: absolute; left: 12px; top: 12px; z-index: 1; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--wiz-ink); font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); }
.fb-wiz__card.is-active .fb-wiz__card-badge { background: var(--wiz-accent); color: #ffffff; }
.fb-wiz__card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 17px 18px; }
.fb-wiz__card-label { font-weight: 800; font-size: 14.5px; line-height: 1.35; letter-spacing: -0.01em; color: var(--wiz-ink); }
.fb-wiz__card.is-active .fb-wiz__card-label { color: var(--wiz-accent); }
.fb-wiz__card-desc { font-size: 12.5px; line-height: 1.55; color: var(--wiz-muted); }
.fb-wiz__card-check {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.9); border: 1.5px solid rgba(15, 23, 32, 0.12);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.fb-wiz__card.is-active .fb-wiz__card-check { background: var(--wiz-ink); border-color: var(--wiz-ink); }
.fb-wiz__card.is-active .fb-wiz__card-check::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border-right: 2.5px solid #ffffff; border-bottom: 2.5px solid #ffffff; transform: rotate(45deg); }

/* --- Größen --- */
.fb-wiz__size { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; }
.fb-wiz__size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.fb-wiz__size-item {
  position: relative; display: flex; flex-direction: column; gap: 3px; text-align: left;
  border: 1px solid var(--wiz-line); background: #ffffff; border-radius: 14px; padding: 13px 15px;
  cursor: pointer; font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.fb-wiz__size-item:hover { border-color: #cfd6df; transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(15, 23, 32, 0.35); }
.fb-wiz__size-item.is-active { border-color: var(--wiz-ink); box-shadow: 0 0 0 1.5px var(--wiz-ink); }
.fb-wiz__size-code { font-weight: 800; font-size: 14.5px; letter-spacing: 0.01em; color: var(--wiz-ink); }
.fb-wiz__size-item.is-active .fb-wiz__size-code { color: var(--wiz-accent); }
.fb-wiz__size-dim { font-size: 12.5px; color: var(--wiz-muted); font-variant-numeric: tabular-nums; }
.fb-wiz__size-price { font-size: 12px; font-weight: 700; color: var(--wiz-soft); margin-top: 2px; }
.fb-wiz__size-preview { position: sticky; top: 24px; }

/* --- Vorschau --- */
.fb-wiz__preview { position: relative; border-radius: 16px; overflow: hidden; background: #eef1f4; aspect-ratio: 4 / 3; box-shadow: 0 22px 44px -28px rgba(15, 23, 32, 0.45); }
.fb-wiz__preview svg { width: 100%; height: 100%; display: block; }
.fb-wiz__preview-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.3s ease; animation: fbWizImg 0.45s ease; }
@keyframes fbWizImg { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.fb-wiz__preview-chip { position: absolute; left: 12px; bottom: 12px; background: rgba(15, 23, 32, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #ffffff; font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.fb-wiz__preview-ctx { position: absolute; left: 12px; top: 12px; right: 12px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--wiz-ink); font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.fb-wiz__preview-empty { display: flex; align-items: center; justify-content: center; height: 100%; padding: 24px; text-align: center; font-size: 13px; color: var(--wiz-soft); }
.fb-wiz__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 18px; }
.fb-wiz__thumb { position: relative; flex: 0 0 auto; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 1px solid var(--wiz-line); background: #f4f5f7; }
.fb-wiz__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-wiz__thumb-label { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 32, 0.78); color: #ffffff; font-size: 9px; font-weight: 700; line-height: 1.3; padding: 3px 5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- Navigation --- */
.fb-wiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.fb-wiz__navbtn {
  font: inherit; font-weight: 800; font-size: 14px; letter-spacing: 0.01em; padding: 13px 26px;
  border-radius: 12px; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.fb-wiz__navbtn--primary { background: var(--wiz-ink); color: #ffffff; box-shadow: 0 14px 28px -14px rgba(15, 23, 32, 0.7); }
.fb-wiz__navbtn--primary:hover { background: #000000; transform: translateY(-1px); }
.fb-wiz__navbtn--ghost { background: #ffffff; border-color: var(--wiz-line); color: var(--wiz-ink-2); }
.fb-wiz__navbtn--ghost:hover { border-color: var(--wiz-ink); color: var(--wiz-ink); }
.fb-wiz__navbtn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* --- Zusammenfassung (Sidebar) --- */
.fb-wiz__aside { position: sticky; top: 24px; }
.fb-wiz__sumcard {
  position: relative; overflow: hidden;
  background: #ffffff; border: 1px solid var(--wiz-line); border-radius: 20px; padding: 24px 24px 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 32, 0.04), 0 32px 64px -36px rgba(15, 23, 32, 0.4);
}
.fb-wiz__sumcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--wiz-accent), #e14b5e); }
.fb-wiz__sumcard h3 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif; font-weight: 800;
  font-size: 17px; letter-spacing: -0.01em; color: var(--wiz-ink); margin: 0 0 14px;
}
.fb-wiz__sumhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
.fb-wiz__sumhead h3 { margin: 0; }
.fb-wiz__summeta { margin: -6px 0 14px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wiz-soft); }
.fb-wiz__summeta.is-complete { color: #1f9d55; }
.fb-wiz__reset { border: 1px solid var(--wiz-line); background: #ffffff; color: var(--wiz-muted); font: inherit; font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease; }
.fb-wiz__reset:hover { border-color: var(--wiz-accent); color: var(--wiz-accent); }
.fb-wiz__sumlist { margin: 0 0 16px; }
.fb-wiz__sumlist div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--wiz-line-2); font-size: 13px; }
.fb-wiz__sumlist dt { color: var(--wiz-muted); margin: 0; }
.fb-wiz__sumlist dd { margin: 0; color: var(--wiz-ink); font-weight: 700; text-align: right; overflow-wrap: anywhere; }

.fb-wiz__qty { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 4px; border-top: 1px solid var(--wiz-line-2); margin-top: 4px; }
.fb-wiz__qty > span { font-size: 13.5px; font-weight: 600; color: var(--wiz-muted); }
.fb-wiz__qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--wiz-line); border-radius: 10px; overflow: hidden; background: #ffffff; }
.fb-wiz__qty-ctrl button { width: 36px; height: 36px; border: 0; background: #ffffff; color: var(--wiz-ink); font-size: 18px; line-height: 1; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.fb-wiz__qty-ctrl button:hover { background: var(--wiz-ink); color: #ffffff; }
.fb-wiz__qty-ctrl input { width: 48px; height: 36px; border: 0; text-align: center; font: inherit; font-weight: 800; color: var(--wiz-ink); -moz-appearance: textfield; }
.fb-wiz__qty-ctrl input::-webkit-outer-spin-button,
.fb-wiz__qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.fb-wiz__total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 4px; }
.fb-wiz__total span { font-size: 13.5px; font-weight: 600; color: var(--wiz-muted); }
.fb-wiz__total strong { font-size: 26px; color: var(--wiz-accent); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fb-wiz__totalnote { margin: 4px 0 0; font-size: 11.5px; color: #b26b00; }
.fb-wiz__warranty { margin: 8px 0 0; font-size: 11.5px; color: var(--wiz-soft); }
.fb-wiz__sum-trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; font-size: 11.5px; font-weight: 600; color: var(--wiz-muted); }
.fb-wiz__sum-trust svg { flex: 0 0 auto; color: var(--wiz-accent); }

.fb-wiz__request.jw-btn {
  width: 100%; box-sizing: border-box; justify-content: center; text-align: center; margin-top: 14px;
  background: var(--wiz-accent) !important; color: #ffffff !important; border: 0 !important; border-radius: 12px !important;
  box-shadow: 0 18px 34px -16px rgba(184, 0, 26, 0.75) !important;
  padding: 14px 20px !important; font-size: 15px !important; font-weight: 800 !important; letter-spacing: 0.01em;
}
.fb-wiz__request.jw-btn:hover { background: var(--wiz-accent-2) !important; transform: translateY(-1px) !important; }
.fb-wiz__request.is-disabled { opacity: 0.45; pointer-events: none; }
.fb-wiz__note-text { margin: 12px 0 0; font-size: 11px; color: var(--wiz-soft); line-height: 1.55; text-align: center; }

/* --- Review --- */
.fb-wiz__review-card { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.fb-wiz__review-media { border-radius: 16px; overflow: hidden; background: #eef1f4; aspect-ratio: 4 / 3; box-shadow: 0 22px 44px -28px rgba(15, 23, 32, 0.45); }
.fb-wiz__review-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-wiz__review-body h3 { font-family: "Montserrat", "Open Sans", system-ui, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; margin: 0 0 4px; color: var(--wiz-ink); }
.fb-wiz__review-sub { margin: 0 0 18px; font-size: 12.5px; color: var(--wiz-soft); }
.fb-wiz__review-list { margin: 0 0 18px; }
.fb-wiz__review-list div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--wiz-line-2); font-size: 13.5px; }
.fb-wiz__review-list dt { color: var(--wiz-muted); margin: 0; }
.fb-wiz__review-list dd { margin: 0; font-weight: 700; color: var(--wiz-ink); text-align: right; overflow-wrap: anywhere; }
.fb-wiz__review-price { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--wiz-line); }
.fb-wiz__review-price span { font-size: 13.5px; font-weight: 600; color: var(--wiz-muted); }
.fb-wiz__review-price strong { font-size: 28px; color: var(--wiz-accent); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fb-wiz__note-label { display: block; font-size: 12.5px; font-weight: 800; color: var(--wiz-ink-2); margin: 8px 0; }
.fb-wiz__note { width: 100%; box-sizing: border-box; border: 1px solid var(--wiz-line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 14px; resize: vertical; color: var(--wiz-ink); background: #ffffff; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.fb-wiz__note:focus { outline: none; border-color: var(--wiz-accent); box-shadow: 0 0 0 3px rgba(184, 0, 26, 0.1); }

/* --- Step-Animation / Skeleton --- */
.fb-wiz__step { animation: fbWizIn 0.32s ease; }
@keyframes fbWizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fb-wiz__skeleton .fb-wiz__sk-line { display: block; width: 70%; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #eef1f4, #e2e7ec, #eef1f4); background-size: 200% 100%; animation: fbWizShimmer 1.2s infinite; margin: 0 0 12px; }
.fb-wiz__sk-line--short { width: 40% !important; }
.fb-wiz__sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.fb-wiz__sk-cards span { height: 150px; border-radius: 12px; background: linear-gradient(90deg, #eef1f4, #e2e7ec, #eef1f4); background-size: 200% 100%; animation: fbWizShimmer 1.2s infinite; }
@keyframes fbWizShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- Mobile Zusammenfassungsleiste --- */
.fb-wiz__bar { display: none; }

/* --- Auswahl-Animation --- */
.fb-wiz__card.is-picked,
.fb-wiz__size-item.is-picked { animation: fbWizPick 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), fbWizRing 0.6s ease-out; }
@keyframes fbWizPick { 0% { transform: scale(0.96); } 55% { transform: scale(1.02); } 100% { transform: scale(1); } }
@keyframes fbWizRing { 0% { box-shadow: 0 0 0 0 rgba(184, 0, 26, 0.45); } 100% { box-shadow: 0 0 0 14px rgba(184, 0, 26, 0); } }
.fb-wiz__card.is-picked .fb-wiz__card-check::after { animation: fbWizCheck 0.32s ease 0.06s both; }
@keyframes fbWizCheck { from { opacity: 0; transform: rotate(45deg) scale(0.3); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
.fb-wiz__total strong.is-bump { animation: fbWizBump 0.5s ease; }
@keyframes fbWizBump { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .fb-wiz__step,
  .fb-wiz__preview-img,
  .fb-wiz__track span,
  .fb-wiz__card.is-picked,
  .fb-wiz__size-item.is-picked,
  .fb-wiz__card.is-picked .fb-wiz__card-check::after,
  .fb-wiz__total strong.is-bump,
  .fb-wiz__card-media img,
  .fb-wiz__hero-slide { animation: none !important; transition: none !important; }
}

/* --- Hero-Slider --- */
.fb-wiz__hero-slides { position: absolute; inset: 0; background: #10151d; }
.fb-wiz__hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.fb-wiz__hero-slide.is-1 { opacity: 1; }
.fb-wiz__hero-slide.is-2 { animation: fbWizHeroFade 18s infinite 0s; }
.fb-wiz__hero-slide.is-3 { animation: fbWizHeroFade 18s infinite 6s; }
.fb-wiz__hero-slide.is-4 { animation: fbWizHeroFade 18s infinite 12s; }
@keyframes fbWizHeroFade { 0% { opacity: 0; } 5% { opacity: 1; } 28% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; } }

/* --- Inspirations-Galerie --- */
.fb-wiz__inspo { max-width: 1280px; margin: 0 auto; padding: 24px 24px 96px; }
.fb-wiz__inspo-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.fb-wiz__inspo-eyebrow { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wiz-accent); margin-bottom: 10px; }
.fb-wiz__inspo-h2 { font-family: "Montserrat", "Open Sans", system-ui, sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; color: var(--wiz-ink); margin: 0 0 10px; }
.fb-wiz__inspo-sub { font-size: 15px; line-height: 1.7; color: var(--wiz-muted); margin: 0; }
.fb-wiz__inspo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fb-wiz__inspo-item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #eef1f4; }
.fb-wiz__inspo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fb-wiz__inspo-item:hover img { transform: scale(1.06); }
.fb-wiz__inspo-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(180deg, rgba(12, 16, 24, 0), rgba(12, 16, 24, 0.78)); color: #ffffff; font-size: 13px; font-weight: 700; }

/* --- Realistische Produkt-Galerie (Abschluss) --- */
.fb-wiz__real { margin-top: 28px; border-top: 1px solid var(--wiz-line-2); padding-top: 24px; }
.fb-wiz__real-title { font-family: "Montserrat", "Open Sans", system-ui, sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--wiz-ink); margin: 0 0 16px; }
.fb-wiz__real-main { border-radius: 16px; overflow: hidden; background: #eef1f4; aspect-ratio: 4 / 3; box-shadow: 0 22px 44px -28px rgba(15, 23, 32, 0.45); }
.fb-wiz__real-main img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fbWizImg 0.35s ease; }
.fb-wiz__real-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fb-wiz__real-thumb { width: 86px; height: 66px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #eef1f4; transition: border-color 0.15s ease, transform 0.15s ease; }
.fb-wiz__real-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-wiz__real-thumb:hover { transform: translateY(-2px); }
.fb-wiz__real-thumb.is-active { border-color: var(--wiz-accent); }
.fb-wiz__real-note { margin: 12px 0 0; font-size: 12px; color: var(--wiz-soft); }

/* --- Responsive --- */
@media (max-width: 1040px) {
  .fb-wiz__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
}
@media (max-width: 980px) {
  .fb-wiz__layout { grid-template-columns: 1fr; }
  .fb-wiz__aside { position: static; }
  .fb-wiz__size { grid-template-columns: 1fr; }
  .fb-wiz__size-preview { position: static; max-width: 440px; }
  .fb-wiz__review-card { grid-template-columns: 1fr; }
  .fb-wiz__review-media { max-width: 400px; }
  .fb-wiz__hero { min-height: 400px; }
  .fb-wiz__hero-inner { padding: 38px 34px 38px; }
  .fb-wiz__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--wiz-line); border-radius: 16px; padding: 10px 14px;
    box-shadow: 0 18px 44px -18px rgba(15, 23, 32, 0.45);
  }
  .fb-wiz__bar-info { display: flex; flex-direction: column; }
  .fb-wiz__bar-info span { font-size: 11px; color: var(--wiz-soft); }
  .fb-wiz__bar-info strong { font-size: 19px; color: var(--wiz-accent); font-weight: 800; font-variant-numeric: tabular-nums; }
  .fb-wiz__bar-btn { background: var(--wiz-ink); color: #ffffff; border: 0; font: inherit; font-weight: 800; font-size: 14px; padding: 12px 18px; border-radius: 12px; cursor: pointer; }
  .fb-wiz { padding-bottom: 116px; }
  .fb-wiz__inspo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fb-wiz { padding: 0 16px 76px; }
  .fb-wiz__step { padding: 22px 18px 24px; border-radius: 16px; }
  .fb-wiz__hero { min-height: 340px; border-radius: 18px; margin: 18px 0 20px; }
  .fb-wiz__hero-inner { padding: 28px 22px; }
  .fb-wiz__hero-stats { gap: 12px 24px; margin-top: 24px; }
  .fb-wiz__hero-stat-num { font-size: 17px; }
  .fb-wiz__cards { grid-template-columns: 1fr 1fr; }
  .fb-wiz__size-grid { grid-template-columns: 1fr 1fr; }
  .fb-wiz__navbtn { flex: 1; text-align: center; padding: 13px 16px; }
  .fb-wiz__sk-cards { grid-template-columns: 1fr 1fr; }
  .fb-wiz__inspo { padding: 16px 16px 84px; }
  .fb-wiz__inspo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fb-wiz__real-main { aspect-ratio: 3 / 4; }
  .fb-wiz__real-thumb { width: 68px; height: 52px; }
}
@media (max-width: 400px) {
  .fb-wiz__cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-wiz__real-main img { animation: none !important; }
}

/* =====================================================================
   Startseite - Scroll-Reveal & zusaetzliche Animationen
   ===================================================================== */
:root {
  --fb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fb-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Scroll-Reveal (Richtung/Staerke ueber CSS-Variablen) --- */
html.fb-reveal-ready .fb-reveal {
  --fb-reveal-x: 0;
  --fb-reveal-y: 34px;
  --fb-reveal-scale: 1;
  --fb-reveal-blur: 5px;
  --fb-reveal-dur: 0.85s;
  opacity: 0;
  transform: translate3d(var(--fb-reveal-x), var(--fb-reveal-y), 0) scale(var(--fb-reveal-scale));
  will-change: opacity, transform;
}
html.fb-reveal-ready .fb-reveal--left { --fb-reveal-x: -46px; --fb-reveal-y: 0; }
html.fb-reveal-ready .fb-reveal--right { --fb-reveal-x: 46px; --fb-reveal-y: 0; }
html.fb-reveal-ready .fb-reveal--zoom { --fb-reveal-y: 0; --fb-reveal-scale: 0.93; }
html.fb-reveal-ready .fb-reveal--fade { --fb-reveal-y: 0; --fb-reveal-blur: 0; }
html.fb-reveal-ready .fb-reveal--noblur { --fb-reveal-blur: 0; }
html.fb-reveal-ready .fb-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  animation: fbReveal var(--fb-reveal-dur) var(--fb-ease) backwards;
  animation-delay: var(--fb-reveal-delay, 0ms);
}
html.fb-reveal-ready .fb-reveal.is-done { will-change: auto; }
@keyframes fbReveal {
  from { opacity: 0; transform: translate3d(var(--fb-reveal-x), var(--fb-reveal-y), 0) scale(var(--fb-reveal-scale)); filter: blur(var(--fb-reveal-blur)); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

/* --- Hero: Inhalt gestaffelt einblenden + sanfter Ken-Burns-Zoom --- */
.fb-hero__slide .fb-hero__content > * {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(6px);
}
.fb-hero__slide.is-active .fb-hero__content > * {
  animation: fbHeroIn 0.8s var(--fb-ease) both;
}
.fb-hero__slide.is-active .fb-hero__content > *:nth-child(1) { animation-delay: 0.08s; }
.fb-hero__slide.is-active .fb-hero__content > *:nth-child(2) { animation-delay: 0.20s; }
.fb-hero__slide.is-active .fb-hero__content > *:nth-child(3) { animation-delay: 0.32s; }
.fb-hero__slide.is-active .fb-hero__content > *:nth-child(4) { animation-delay: 0.44s; }
.fb-hero__slide.is-active .fb-hero__content > *:nth-child(5) { animation-delay: 0.56s; }
@keyframes fbHeroIn {
  from { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(6px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
.fb-hero__slide.is-active { animation: fbHeroZoom 9s var(--fb-ease-soft) both; }
@keyframes fbHeroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

/* --- Hero-Badges sanft schweben + aktiver Punkt pulsiert --- */
.fb-hero__badges li { animation: fbBadgeFloat 5s var(--fb-ease-soft) infinite; }
.fb-hero__badges li:nth-child(2) { animation-delay: 0.7s; }
.fb-hero__badges li:nth-child(3) { animation-delay: 1.4s; }
@keyframes fbBadgeFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -4px, 0); } }
.fb-hero__dot.is-active { animation: fbDotPulse 2.6s ease-in-out infinite; }
@keyframes fbDotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2); } }

/* --- USP-Icons heben an --- */
.fb-uspbar__icon { transition: transform 0.4s var(--fb-ease), background-color 0.35s ease, color 0.35s ease, box-shadow 0.4s ease; }
.fb-uspbar__item:hover .fb-uspbar__icon { transform: translate3d(0, -3px, 0) rotate(-4deg); background: #c4001d; color: #ffffff; box-shadow: 0 12px 22px -12px rgba(196, 0, 29, 0.7); }
.fb-uspbar__icon svg { transition: transform 0.4s var(--fb-ease); }
.fb-uspbar__item:hover .fb-uspbar__icon svg { transform: scale(1.08); }

/* --- Kategorie-Chips & Karten --- */
.fb-catlink { transition: border-color 0.15s ease, color 0.15s ease, transform 0.25s var(--fb-ease), box-shadow 0.25s ease; }
.fb-catlink:hover { transform: translate3d(0, -2px, 0); box-shadow: 0 12px 22px -16px rgba(16, 24, 40, 0.5); }
.fb-cat3__count { transition: transform 0.3s var(--fb-ease); }
.fb-cat3__cta { transition: transform 0.3s var(--fb-ease); }
.fb-cat3:hover .fb-cat3__count { transform: translate3d(0, -2px, 0); }
.fb-cat3:hover .fb-cat3__cta { transform: translate3d(4px, 0, 0); }

/* --- Finder- & Split-Bilder --- */
.fb-finder__media img { transition: transform 0.6s var(--fb-ease); }
.fb-finder__card:hover .fb-finder__media img { transform: scale(1.06); }
.fb-split__media { transition: transform 0.45s var(--fb-ease), box-shadow 0.45s ease; }
.fb-split__media:hover { transform: translate3d(0, -4px, 0) scale(1.01); box-shadow: 0 30px 60px rgba(16, 24, 40, 0.22); }

/* --- CTA mit wanderndem Verlauf --- */
.fb-cta { background-size: 200% 200%; animation: fbCtaShift 14s ease infinite; }
@keyframes fbCtaShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

@media (prefers-reduced-motion: reduce) {
  html.fb-reveal-ready .fb-reveal,
  html.fb-reveal-ready .fb-reveal.is-visible { opacity: 1 !important; transform: none !important; animation: none !important; will-change: auto !important; }
  .fb-hero__slide .fb-hero__content > *,
  .fb-hero__slide.is-active .fb-hero__content > * { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .fb-hero__slide.is-active,
  .fb-hero__badges li,
  .fb-hero__dot.is-active,
  .fb-cta { animation: none !important; }
  .fb-uspbar__item:hover .fb-uspbar__icon,
  .fb-uspbar__item:hover .fb-uspbar__icon svg,
  .fb-catlink:hover,
  .fb-cat3:hover .fb-cat3__count,
  .fb-cat3:hover .fb-cat3__cta,
  .fb-finder__card:hover .fb-finder__media img,
  .fb-split__media:hover { transform: none !important; }
}

/* =====================================================================
   Premium-Feinschliff - cineastische Reveals, Parallaxe, Sheen
   ===================================================================== */
:root {
  --fb-ease-lux: cubic-bezier(0.19, 1, 0.22, 1);
  --fb-ease-lux-2: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* --- Langsamere, edlere Reveal-Bewegung --- */
html.fb-reveal-ready .fb-reveal {
  --fb-reveal-dur: 1s;
  --fb-reveal-y: 42px;
  --fb-reveal-blur: 6px;
}
html.fb-reveal-ready .fb-reveal.is-visible {
  animation-timing-function: var(--fb-ease-lux);
}

/* --- Bilder cineastisch nachziehen (Media-Reveal) --- */
html.fb-reveal-ready .fb-reveal--media:not(.is-visible) .fb-cat3__media img,
html.fb-reveal-ready .fb-reveal--media:not(.is-visible) .fb-finder__media img,
html.fb-reveal-ready .fb-reveal--media:not(.is-visible) .fb-split__media img,
html.fb-reveal-ready .fb-reveal--media:not(.is-visible) .fb-product__media img { transform: scale(1.14); }
html.fb-reveal-ready .fb-reveal--media.is-visible .fb-cat3__media img,
html.fb-reveal-ready .fb-reveal--media.is-visible .fb-finder__media img,
html.fb-reveal-ready .fb-reveal--media.is-visible .fb-split__media img,
html.fb-reveal-ready .fb-reveal--media.is-visible .fb-product__media img {
  animation: fbMediaZoom 1.5s var(--fb-ease-lux) backwards;
}
@keyframes fbMediaZoom { from { transform: scale(1.14); } to { transform: scale(1); } }

/* --- Eyebrow: feine Letter-Spacing-Animation beim Einblenden --- */
html.fb-reveal-ready .fb-reveal .fb-home-eyebrow {
  letter-spacing: 0.02em;
  transition: letter-spacing 1s var(--fb-ease-lux) 0.12s;
}
html.fb-reveal-ready .fb-reveal.is-visible .fb-home-eyebrow { letter-spacing: 0.14em; }

/* --- Buttons: luxuriöser Licht-Sheen --- */
.fb-btn--primary,
.fb-btn--light,
.fb-btn--outline-light { position: relative; overflow: hidden; }
.fb-btn--primary::after,
.fb-btn--light::after,
.fb-btn--outline-light::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -140%;
  width: 55%;
  height: 160%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 0.8s var(--fb-ease-lux);
}
.fb-btn--light::after {
  background: linear-gradient(100deg, rgba(196, 0, 29, 0) 0%, rgba(196, 0, 29, 0.14) 50%, rgba(196, 0, 29, 0) 100%);
}
.fb-btn--primary:hover::after,
.fb-btn--light:hover::after,
.fb-btn--outline-light:hover::after { left: 150%; }

/* --- Kategorie-Karten: Licht-Sweep über das Bild --- */
.fb-cat3__media { overflow: hidden; }
.fb-cat3__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0) 68%);
  transform: translateX(-125%);
  transition: transform 1s var(--fb-ease-lux);
  pointer-events: none;
}
.fb-cat3:hover .fb-cat3__media::after { transform: translateX(125%); }

/* --- Produktbilder: dezenten Sheen bei Hover --- */
.fb-product__media { position: relative; overflow: hidden; }
.fb-product__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 65%);
  transform: translateX(-125%);
  transition: transform 0.9s var(--fb-ease-lux);
  pointer-events: none;
}
.fb-product:hover .fb-product__media::after { transform: translateX(125%); }

/* --- Hero: sanfte Parallaxe des Inhalts --- */
.fb-hero__content {
  transform: translate3d(0, var(--fb-hero-parallax, 0px), 0);
  will-change: transform;
}

/* --- Scroll-Fortschrittsanzeige --- */
.fb-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
}
.fb-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c4001d 0%, #e14b5e 55%, #ff9aa8 100%);
  box-shadow: 0 0 12px rgba(196, 0, 29, 0.55), 0 0 4px rgba(225, 75, 94, 0.6);
  transition: width 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
  html.fb-reveal-ready .fb-reveal--media:not(.is-visible) .fb-cat3__media img,
  html.fb-reveal-ready .fb-reveal--media:not(.is-visible) .fb-finder__media img,
  html.fb-reveal-ready .fb-reveal--media:not(.is-visible) .fb-split__media img,
  html.fb-reveal-ready .fb-reveal--media:not(.is-visible) .fb-product__media img { transform: none !important; }
  html.fb-reveal-ready .fb-reveal--media.is-visible .fb-cat3__media img,
  html.fb-reveal-ready .fb-reveal--media.is-visible .fb-finder__media img,
  html.fb-reveal-ready .fb-reveal--media.is-visible .fb-split__media img,
  html.fb-reveal-ready .fb-reveal--media.is-visible .fb-product__media img { animation: none !important; }
  .fb-cat3__media::after,
  .fb-product__media::after,
  .fb-btn--primary::after,
  .fb-btn--light::after,
  .fb-btn--outline-light::after { display: none !important; }
  .fb-hero__content { transform: none !important; }
  .fb-progress { display: none !important; }
}

/* --- Preis-Transparenz: UVP / MwSt. / Einbau (v30) --- */
.fb-product__price { margin-bottom: 4px; }
.fb-product__vat { display: block; font-size: 11.5px; font-weight: 700; color: #0a7d34; margin-bottom: 12px; }
.fb-product__vat span { font-weight: 600; color: #8a919c; }
.fb-gallery__price-note { margin: 12px auto 0; max-width: 780px; font-size: 13px; line-height: 1.6; color: #6b7280; text-align: center; }
.fb-gallery__price-note strong { color: #0a7d34; }
.fb-price-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 14px; font-size: 12.5px; color: #6b7280; }
.fb-price-legend span::before { content: "\2713"; color: #c4001d; font-weight: 800; margin-right: 6px; }
.fb-config__vat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #0a7d34; background: rgba(10, 125, 52, 0.09); border-radius: 999px; padding: 4px 10px; }

/* --- Topbar: Konto-Link (oben rechts) --- */
.fb-topbar__account { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fb-topbar__account:hover { color: #ff8a9a; }
.fb-topbar__account svg { width: 15px; height: 15px; flex: 0 0 auto; }
@media (max-width: 640px) { .fb-topbar__account { margin-left: 0; } .fb-topbar__account span { display: none; } }
