/* ========================================
   myschaumstoff v2 - Custom CSS
   Redesign 2025 basierend auf Brandbook
   ======================================== */

/* ========================================
   SCHRIFTEN - Poppins (lokal gehostet, DSGVO-konform)
   ======================================== */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/poppins-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/poppins-300i.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400i.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/poppins-800.woff2') format('woff2');
}

/* ========================================
   CSS VARIABLEN
   ======================================== */

:root {
    /* Brand-Farben (Hauptmarke) */
    --wg-yellow: #FFB300;
    --wg-yellow-hover: #E6A200;
    --wg-yellow-light: rgba(255, 179, 0, 0.1);

    /* Sub-Brand-Farben */
    --wg-liegetraeume: #394583;    /* Mitternachtsblau - Matratzen */
    --wg-wohlfuehlen: #2BA6C4;     /* Eisblau - Orthopaedie */
    --wg-myraumklang: #2D6CB0;     /* Himmelblau - Akustik */

    /* Neutral-Farben
       --wg-dark:     Button-Text auf Gelb, dunkle Flaechen (Banner, Footer)
       --wg-gray-900: Headlines
       --wg-gray-600: Fliesstext, Beschreibungen
       --wg-gray-500: Dezenter Text, Labels
       --wg-gray-400: Inaktive Elemente, Platzhalter
       --wg-gray-200: Borders, Trennlinien
       --wg-gray-50:  Helle Hintergruende (FAQ, Hover)
       --wg-white:    Weiss (Cards, Modals, Standard-BG)
       .bg-light-section: Section-Hintergrund rgba(250,250,250,0.5) — separat definiert */
    --wg-dark: #1a1a1a;
    --wg-gray-900: #171717;
    --wg-gray-600: #525252;
    --wg-gray-500: #737373;
    --wg-gray-400: #a3a3a3;
    --wg-gray-200: #e5e5e5;
    --wg-gray-50: #fafafa;
    --wg-white: #ffffff;

    /* Snackys-Variablen ueberschreiben */
    --brand: var(--wg-yellow);
    --btn-pr-b: var(--wg-yellow);
    --btn-pr-b-h: var(--wg-yellow-hover);
    --btn-pr-r: var(--wg-yellow);
    --btn-pr-r-h: var(--wg-yellow-hover);
    --btn-pr-t: var(--wg-white);
}

/* ========================================
   MEGA-MENÜ
   Snackys setzt col-sm-3/col-lg-3 (4 pro Reihe) in categories_mega.tpl.
   Override auf 6 pro Reihe (16.67%) via CSS statt Template-Kopie.
   ======================================== */

.mega-categories > div.col-sm-3 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
}
.mega-categories > div.col-lg-3 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
}

/* ========================================
   TYPOGRAFIE
   ======================================== */

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300; /* Light fuer Fliesstext */
    color: var(--wg-gray-900);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 800; /* ExtraBold fuer Headlines */
    line-height: 1.2;
    color: var(--wg-gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Negativtext (hell auf dunkel) */
.text-on-dark,
.hero-section h1,
.hero-section h2,
.hero-section p {
    font-weight: 400; /* Regular */
}

.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Bootstrap Utilities die Snackys nicht laedt */
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }

/* ========================================
   LAYOUT
   ======================================== */

.section-padding {
    padding: 2rem 0 !important;
}

.section-padding-sm {
    padding: 2rem 0 !important;
}

.section-padding-lg {
    padding: 6rem 0 !important;
}

.bg-light-section {
    background-color: rgba(250, 250, 250, 0.5) !important;
}

/* Index Page Wrapper - bricht aus mw-container aus */
.index-wrapper {
    padding-top: 0;
}

.index-wrapper section {
    margin-bottom: 0;
}

body:has(.index-wrapper) #content-wrapper.mw-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body:has(.index-wrapper) #content-wrapper > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body:has(.index-wrapper) #content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

body:has(.index-wrapper) #content-wrapper {
    padding-top: 0 !important;
}

/* Fix: Swatch-Bilder (Variationen) sichtbar machen */
.var-it .swatches .btn-default.btn-img {
    display: inline-block !important;
    padding: .25rem !important;
}

/* 404 Page — mw-container aufheben */
body.error404 #content-wrapper.mw-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.error404 #content-wrapper > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.error404 #content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

/* Landing Page Wrapper */
.landing-schaumstoff,
.landing-matratzen,
.landing-polster,
.landing-akustik {
    overflow: hidden;
    width: 100%;
}

/* Tab-Bereich auf Produktseiten: Snackys begrenzt auf --wdt-tab (1200px), wir heben das auf */
#tab-wp {
    max-width: none !important;
}

/* Container Seitenabstaende und Max-Width */
.container {
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Produktliste / Snackys mw-container ebenfalls auf 1800px */
#content-wrapper.mw-container {
    max-width: 1800px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

@media (min-width: 576px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    #content-wrapper.mw-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (min-width: 992px) {
    .container {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
    #content-wrapper.mw-container {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
}

@media (min-width: 1800px) {
    .container {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
    #content-wrapper.mw-container {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
}

/* Row/Column Spacing */
.index-wrapper .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.index-wrapper .row > [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* B2B Banner volle Breite */
.b2b-banner {
    width: 100%;
    margin: 0;
}

/* Vertical Margins */
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.bg-dark-section {
    background-color: var(--wg-gray-900);
}

.bg-yellow-section {
    background-color: var(--wg-yellow);
}


/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 3rem 0 !important;
    overflow: hidden;
    width: 100%;
}

/* Full-Width Hero - Edge-to-Edge */
.hero-section-fullwidth {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 4rem 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Hero Fullscreen - bricht aus ALLEN Containern aus */
.hero-fullscreen {
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 5rem 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    box-sizing: border-box !important;
}

/* Hero-Fullscreen Container-Regeln:
   Nur fuer Seiten wo der Hero INNERHALB #content-wrapper liegt (Ueber-uns, About).
   Diese werden ueber body[id*="eber"] / body[id*="about"] weiter unten gesteuert.
   Kein generisches body:has(.hero-fullscreen) mehr — das bricht Hybrid-Landingpages
   wo der Hero VOR dem content-wrapper per {include} eingefuegt wird. */

/* Wenn Hero in .ueber-uns-page ist, Parent-Container anpassen */
.ueber-uns-page {
    overflow-x: visible !important;
}

.hero-fullscreen {
    margin-top: 0 !important;
}

/* Breadcrumb margin-bottom für Hero-Fullscreen Seiten entfernen */
body:has(.hero-fullscreen) #bc-w {
    margin-bottom: 0 !important;
}

/* Ueber-uns: mw-container aufheben fuer fullwidth Hintergründe.
   Selector nutzt .ueber-uns-page Wrapper aus dem TPL. */
body:has(.ueber-uns-page) #bc-w {
    margin-bottom: 0 !important;
}

body:has(.ueber-uns-page) #content-wrapper.mw-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body:has(.ueber-uns-page) #content-wrapper > .row {
    margin: 0 !important;
}

body:has(.ueber-uns-page) #content {
    padding: 0 !important;
    margin-top: 0 !important;
}

body:has(.ueber-uns-page) #content-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.hero-fullscreen h1 {
    color: var(--wg-white) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .hero-fullscreen h1 {
        font-size: 3rem;
    }
}

.hero-fullscreen p {
    color: var(--wg-white) !important;
    font-size: 1.125rem;
    opacity: 0.9;
}

.hero-section-fullwidth h1 {
    color: var(--wg-white) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .hero-section-fullwidth h1 {
        font-size: 3rem;
    }
}

.hero-section-fullwidth p {
    color: var(--wg-white) !important;
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ========================================
   OVERLAY SYSTEM (wiederverwendbar)
   ======================================== */

/* Basis-Klasse für Sections mit Overlay */
.overlay-dark,
.overlay-darker {
    position: relative !important;
    isolation: isolate;
}

.overlay-dark::before,
.overlay-darker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.overlay-dark::before {
    background-color: rgba(0, 0, 0, 0.35);
}

.overlay-darker::before {
    background-color: rgba(0, 0, 0, 0.65);
}

/* Content innerhalb von Overlay-Sections */
.overlay-dark > .container,
.overlay-darker > .container,
.overlay-dark > .hero-content,
.overlay-darker > .hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wg-white);
    margin-bottom: 1rem;
}

.hero-tagline .accent {
    color: var(--wg-yellow);
}

.hero-section h1 {
    color: var(--wg-white) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

.hero-section p {
    color: var(--wg-white) !important;
    font-size: 1.125rem;
    max-width: 600px;
    opacity: 0.9;
}

/* Hero Produktbild */
.hero-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Hero mit Cover-Foto (JPG) statt freigestelltem PNG */
.hero-section .hero-image-col .hero-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    min-height: 300px;
}
.hero-section.hero-compact {
    max-height: 600px;
}
.hero-compact .hero-image-col {
    overflow: hidden;
    border-radius: 0.5rem;
}
@media (max-width: 991px) {
    .hero-section .hero-image-col .hero-cover-img {
        max-height: 300px;
    }
    .hero-section.hero-compact {
        max-height: none;
    }
}

/* Hero Split Layout */
.hero-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero-split .hero-text {
    width: 100%;
    padding: 2rem;
}

.hero-split .hero-image {
    width: 100%;
}

@media (min-width: 992px) {
    .hero-split .hero-text {
        width: 50%;
        padding: 4rem;
    }
    .hero-split .hero-image {
        width: 50%;
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn:not(.sl-ar) {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    padding: 0.875rem 1.5rem !important;
    border-radius: 0.5rem !important;
    border: 2px solid transparent !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    position: relative !important;
    vertical-align: middle !important;
}

.btn-primary {
    background-color: var(--wg-yellow) !important;
    border-color: var(--wg-yellow) !important;
    color: var(--wg-white) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--wg-yellow-hover) !important;
    border-color: var(--wg-yellow-hover) !important;
    color: var(--wg-white) !important;
}

.btn.btn-outline {
    background-color: transparent !important;
    border: 2px solid var(--wg-gray-900) !important;
    color: var(--wg-gray-900) !important;
}

.btn.btn-outline:hover,
.btn.btn-outline:focus {
    border-color: var(--wg-yellow) !important;
    color: var(--wg-yellow) !important;
    background-color: transparent !important;
}

.btn.btn-outline-light {
    background-color: transparent !important;
    border: 2px solid var(--wg-white) !important;
    color: var(--wg-white) !important;
}

.btn.btn-outline-light:hover,
.btn.btn-outline-light:focus {
    border-color: var(--wg-yellow) !important;
    color: var(--wg-yellow) !important;
    background-color: transparent !important;
}

.btn-lg {
    padding: 1rem 2rem !important;
    font-size: 1.125rem !important;
}

.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

/* Button mit Icon (nur in eigenen Sections, nicht Snackys-Elemente) */
.landing-page .btn svg,
.hero-section .btn svg,
.polster-hint-section .btn svg,
.use-case-section .btn svg,
.contact-banner .btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   SECTION HEADER (Überschrift + Button)
   ======================================== */

.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1rem;
}

.section-header-content {
    flex: 1;
    min-width: 200px;
}

.section-header-action {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header-action {
        width: 100%;
    }
}

/* ========================================
   FEATURE CARDS
   ======================================== */

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-card .icon-box {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wg-white);
    border-radius: 0.75rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card .icon-box svg {
    width: 2rem;
    height: 2rem;
    color: var(--wg-yellow);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--wg-gray-900);
}

.feature-card p {
    color: var(--wg-gray-600);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Feature Cards - weniger Abstand auf Mobile */
@media (max-width: 575px) {
    .feature-card {
        padding: 1rem 1rem;
    }

    .feature-card .icon-box {
        margin-bottom: 1rem;
    }

    /* Spalten mit Feature-Cards: weniger margin-bottom */
    .section-header + .row > .col-12.mb-4 {
        margin-bottom: 0.5rem !important;
    }
}

/* Feature Cards auf dunklem Hintergrund */
.bg-dark-section .feature-card h3 {
    color: var(--wg-white);
}

.bg-dark-section .feature-card p {
    color: var(--wg-gray-400);
}

/* ========================================
   PRODUCT TILES (Image Tiles)
   ======================================== */

.product-tile {
    position: relative;
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
}

.product-tile::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.product-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-tile:hover img {
    transform: scale(1.05);
}

.product-tile .tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.product-tile .tile-tags {
    margin-bottom: 0.5rem;
}

.product-tile .tile-tag {
    display: inline-block;
    color: var(--wg-white);
    margin-right: 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

.product-tile .tile-tag svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    vertical-align: middle;
}

.product-tile .tile-title {
    color: var(--wg-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
    text-decoration: none;
}

.product-tile:hover .tile-title {
    color: var(--wg-yellow);
}

/* Tile Sizes */
.product-tile-sm { height: 18rem; }
.product-tile-md { height: 24rem; }
.product-tile-lg { height: 30rem; }
.product-tile-full { height: 100%; min-height: 24rem; }

/* ========================================
   DARK PRODUCT CARDS (Schaumstoff-Seite)
   ======================================== */

.dark-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.dark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.dark-card > * {
    position: relative;
    z-index: 1;
}

.dark-card .card-title {
    text-align: center;
    color: var(--wg-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 1rem 0;
    margin: 0;
}

.dark-card .card-image {
    text-align: center;
    padding: 1.5rem 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-card .card-image img {
    max-width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: contain;
}

.dark-card .checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.dark-card .checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--wg-white);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.dark-card .checklist .check-icon {
    color: var(--wg-yellow);
    flex-shrink: 0;
    margin-top: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
}

.dark-card .btn {
    margin-top: auto;
}

/* ========================================
   STATS BOX (Ueber uns)
   ======================================== */

.stats-box {
    background: var(--wg-white);
    border: 1px solid var(--wg-gray-200);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.stats-item {
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stats-item:not(:last-child) {
    border-right: 1px solid var(--wg-gray-200);
}

.stats-label {
    color: var(--wg-gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.stats-value {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wg-yellow);
    line-height: 1;
}

.stats-value span {
    font-size: 1.5rem;
}

@media (max-width: 991px) {
    .stats-box {
        flex-direction: column;
    }
    .stats-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--wg-gray-200);
    }
}

/* ========================================
   IMAGE GALLERY (Ueber uns)
   ======================================== */

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--wg-gray-900);
}

/* ========================================
   MISSION/VISION SECTION
   ======================================== */

.accent-section {
    position: relative;
    padding-left: 2rem;
}

.accent-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 2rem;
    background: var(--wg-yellow);
    border-radius: 2px;
}

.accent-section h3 {
    margin-bottom: 1rem;
}

.accent-section p {
    color: var(--wg-gray-600);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-section {
    background-color: var(--wg-gray-50);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--wg-white);
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    color: var(--wg-gray-900);
    gap: 1rem;
}

.faq-question .chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--wg-gray-500);
}

.faq-item.open .faq-question {
    color: var(--wg-yellow);
}

.faq-item.open .chevron {
    transform: rotate(180deg);
    color: var(--wg-yellow);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--wg-gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
}

/* ========================================
   CONTACT BANNER
   ======================================== */

.contact-banner {
    background-color: var(--wg-gray-50);
    padding: 3rem 0;
}

.contact-cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: var(--wg-white);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.contact-card .icon-box {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background-color: var(--wg-yellow-light);
    border-radius: 0.75rem;
}

.contact-card .icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--wg-yellow);
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--wg-gray-600);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.contact-card a {
    color: var(--wg-gray-900);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--wg-yellow);
}

/* ========================================
   STAR RATING
   ======================================== */

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
}

.star-rating svg {
    width: 1rem;
    height: 1rem;
    fill: var(--wg-yellow);
}

.star-rating .rating-text {
    margin-left: 0.5rem;
    font-weight: 700;
    color: var(--wg-gray-900);
}

/* ========================================
   CTA BANNER
   ======================================== */

.cta-banner {
    background-color: var(--wg-gray-900);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 1rem;
}

.cta-banner h2 {
    color: var(--wg-white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--wg-gray-400);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-banner .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}


/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial-card {
    background: var(--wg-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-card .quote {
    font-size: 1.0625rem;
    color: var(--wg-gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--wg-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--wg-gray-600);
}

.testimonial-card .author-info .name {
    font-weight: 600;
    color: var(--wg-gray-900);
}

.testimonial-card .author-info .meta {
    font-size: 0.875rem;
    color: var(--wg-gray-500);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-yellow { color: var(--wg-yellow) !important; }
.text-white { color: var(--wg-white) !important; }
.text-dark { color: var(--wg-gray-900) !important; }
.text-muted { color: var(--wg-gray-600) !important; }

.bg-yellow { background-color: var(--wg-yellow) !important; }
.bg-white { background-color: var(--wg-white) !important; }
.bg-dark { background-color: var(--wg-gray-900) !important; }
.bg-light { background-color: var(--wg-gray-50) !important; }

.rounded-lg { border-radius: 0.75rem !important; }
.rounded-xl { border-radius: 1rem !important; }
.rounded-2xl { border-radius: 1.5rem !important; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important; }
.shadow { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important; }
.shadow-lg { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important; }

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}

/* ========================================
   TESTIMONIAL SLIDER
   ======================================== */

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 0 3rem;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--wg-white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wg-yellow);
    color: var(--wg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 1rem;
}

.testimonial-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-card p {
    color: var(--wg-gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.testimonial-card .star-rating svg {
    width: 16px;
    height: 16px;
}

/* Slider Navigation */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wg-white);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wg-gray-600);
    transition: all 0.2s ease;
    z-index: 10;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--wg-yellow);
    color: var(--wg-white);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

@media (max-width: 991px) {
    .testimonial-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .testimonial-slider {
        padding: 0 2.5rem;
    }

    .testimonial-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   CATEGORY CARDS
   ======================================== */

.category-row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.category-card {
    position: relative;
    display: block;
    height: 450px;
    overflow: hidden;
    border-radius: 0.75rem;
}

.category-card .category-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-bg {
    transform: scale(1.05);
}

.category-card .category-hover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 3;
}

.category-card:hover .category-hover-img {
    opacity: 1;
    transform: translateY(0);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    transition: background 0.3s ease;
    z-index: 2;
}

.category-card:hover .category-overlay {
    background: rgba(0,0,0,0.75);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 4;
}

.category-label {
    display: block;
    color: var(--wg-white);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.category-title {
    color: var(--wg-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0;
    transition: color 0.2s;
}

.category-card:hover .category-title {
    color: var(--wg-yellow);
}

@media (max-width: 767px) {
    .category-card {
        height: 320px;
    }

    .category-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 767px) {
    .section-padding {
        padding: 2.5rem 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero-section {
        min-height: 400px;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .product-tile-sm,
    .product-tile-md {
        height: 16rem;
    }

    .stats-value {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

}

/* ========================================
   FOOTER OVERRIDES
   ======================================== */

/* Alten JTL/Snackys Footer ausblenden */
#footer {
    display: none !important;
}

/* Kopf-Linkgruppe oben ausblenden (gehoert in den Footer) */
.list-inline:has(> .dropdown > a[href*="Impressum"]),
#hdr-tp .list-inline {
    display: none !important;
}

/* === Custom Site Footer === */

.site-footer .container {
    display: block;
}

.site-footer {
    background-color: var(--wg-white);
    color: var(--wg-gray-600);
    font-family: 'Poppins', sans-serif;
    padding: 3.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.7;
    border-top: 1px solid var(--wg-gray-200);
}

.site-footer a {
    color: var(--wg-gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--wg-yellow-hover);
}

/* Logo */
.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo img {
    height: 44px;
    width: auto;
}

/* Logo: bereits schwarz mit gelber Raute, kein Filter nötig */

/* Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wg-gray-50);
    color: var(--wg-gray-500);
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    background: var(--wg-yellow);
    color: var(--wg-dark);
}

.footer-social a svg {
    fill: currentColor;
}

/* Spalten-Heading */
.footer-heading {
    color: var(--wg-gray-900);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

/* Link-Listen */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--wg-gray-500);
    font-size: 0.8125rem;
}

.footer-links a:hover {
    color: var(--wg-yellow);
}

/* Kontakt-Adresse */
.footer-contact {
    font-style: normal;
    color: var(--wg-gray-500);
    font-size: 0.8125rem;
}

.footer-contact p {
    margin-bottom: 0.15rem;
}

.footer-contact .mt-3 {
    margin-top: 1rem !important;
}

.footer-hours {
    color: var(--wg-gray-500);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Zahlungsarten */
.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-payments span {
    display: flex;
    align-items: center;
}

/* Footer Columns Spacing */
.footer-col {
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .footer-col {
        margin-bottom: 0;
    }
}

/* === Copyright Bar === */

/* Snackys Zahlungsarten-Balken ausblenden (eigene im Footer) */
#pay-f { display: none !important; }

/* Seitenkorb: PayPal-iFrames unter das Overlay zwingen */
.cart-menu .dark-bg {
    z-index: 100 !important;
}
body.open-cart [id^="zoid-paypal-buttons"] iframe,
body.open-cart .paypal-button-container {
    z-index: 1 !important;
    position: relative;
}

/* Snackys-Bug: .img-ct.icon SVG in Buttons abgeschnitten
   Ursache: .img-ct hat overflow:hidden + :before mit padding-top:100%
   In kleinen Buttons (btn-sm) reicht der Platz nicht */
.input-group-btn .btn .img-ct.icon {
    overflow: visible !important;
    min-width: 1rem;
    min-height: 1rem;
}
.input-group-btn .btn .img-ct.icon:before {
    display: none !important;
}
.input-group-btn .btn .img-ct.icon > svg {
    position: relative !important;
    width: 1rem !important;
    height: 1rem !important;
}

.footer-bottom {
    border-top: 1px solid var(--wg-gray-200);
    margin-top: 2.5rem;
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.footer-copyright {
    color: var(--wg-gray-500);
    font-size: 0.75rem;
    margin: 0;
}

.footer-vat {
    display: block;
    margin-top: 0.15rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.footer-legal a {
    color: var(--wg-gray-500);
    font-size: 0.75rem;
}

.footer-legal a:hover {
    color: var(--wg-yellow);
}

/* ========================================
   HEADER OVERRIDES
   ======================================== */

#logo a img {
    max-height: 60px;
}

.mgm-fw .mm-mainlink {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* ========================================
   PRODUCT TICKER BANNER
   ======================================== */

.product-ticker {
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 0;
    margin-top: 3rem;
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 2;
}

.product-ticker::before,
.product-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.product-ticker::before {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
}

.product-ticker::after {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 0.5rem;
    color: var(--wg-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
}

.ticker-item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--wg-yellow);
    border-radius: 50%;
    margin: 0 1rem;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .ticker-item {
        padding: 0 1rem;
        font-size: 0.875rem;
    }

    .ticker-track {
        animation-duration: 20s;
    }
}

/* ========================================
   CONTACT BANNER DARK
   ======================================== */

.contact-banner-dark {
    padding: 3rem 0;
}

.contact-banner-dark h2 {
    margin-bottom: 2rem;
}

.contact-card-white {
    background: var(--wg-white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    min-height: 200px;
}

.contact-card-white h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-card-white .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.contact-card-white p {
    margin-bottom: 0.25rem;
    line-height: 1.5;
    font-size: 0.875rem;
}

.contact-card-white a {
    color: inherit;
    text-decoration: none;
}

.contact-card-white a:hover {
    color: var(--wg-yellow);
}

.contact-item:first-of-type {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-card-white .social-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 2px solid var(--wg-yellow);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background: var(--wg-yellow);
}

.social-icon-link:hover svg {
    fill: #fff;
}

/* ========================================
   FEATURE CARDS LIGHT (heller Hintergrund)
   ======================================== */

.feature-card-light {
    max-width: 280px;
    margin: 0 auto;
}

.feature-card-light .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--wg-white);
    border-radius: 0.5rem;
}

.feature-card-light h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.feature-card-light p {
    color: var(--wg-gray-600);
    line-height: 1.75;
}

/* ========================================
   BESTSELLER BADGE
   ======================================== */

.bestseller-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 80px;
    height: auto;
    z-index: 5;
}

/* ========================================
   CONTACT BANNER BG
   ======================================== */

.contact-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contact-banner .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   SOCIAL ICONS (Kontakt)
   ======================================== */

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 2px solid var(--wg-yellow);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--wg-yellow);
}

.social-icon:hover svg {
    fill: #fff !important;
}

/* ========================================
   TEXT UTILITIES
   ======================================== */

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-xl-right {
    text-align: right;
}

@media (max-width: 1199px) {
    .text-xl-right {
        text-align: left;
    }
}

/* ========================================
   UEBER UNS PAGE STYLES
   ======================================== */

/* Page Wrapper */
.ueber-uns-page {
    overflow-x: clip;
    width: 100%;
    background-color: var(--wg-gray-50);
}

/* Durchgehend hellgrauer Hintergrund */
.ueber-uns-page section {
    background-color: transparent;
}

.ueber-uns-page section.bg-light-section {
    background-color: transparent !important;
}

/* Font Italic */
.font-italic {
    font-style: italic;
}

/* ========================================
   STATS BOX ENHANCED
   ======================================== */

.stats-box-enhanced {
    background: var(--wg-white);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.stats-item-enhanced {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.stats-item-enhanced::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: var(--wg-gray-200);
}

.col-lg-3:last-child .stats-item-enhanced::after {
    display: none;
}

.stats-icon {
    margin-bottom: 0.75rem;
}

.stats-item-enhanced .stats-value {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wg-gray-900);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-item-enhanced .stats-label {
    color: var(--wg-gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 991px) {
    .stats-item-enhanced::after {
        display: none;
    }

    .stats-item-enhanced {
        border-bottom: 1px solid var(--wg-gray-200);
    }

    .col-6:nth-child(3) .stats-item-enhanced,
    .col-6:nth-child(4) .stats-item-enhanced {
        border-bottom: none;
    }

    .stats-item-enhanced .stats-value {
        font-size: 2rem;
    }
}

/* ========================================
   GALLERY GRID (Made in Würzburg)
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-grid-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 350px;
}

.gallery-grid-item.gallery-grid-wide {
    grid-column: span 2;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-item.gallery-grid-wide {
        grid-column: span 1;
    }

    .gallery-grid-item {
        height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid-item.gallery-grid-wide {
        grid-column: span 2;
    }
}

/* ========================================
   GALLERY ITEMS (Legacy)
   ======================================== */

.gallery-item-new {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
}

.gallery-item-new img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-new:hover img {
    transform: scale(1.03);
}

.gallery-item-lg img {
    height: 320px;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--wg-gray-900);
    max-width: calc(100% - 2rem);
    backdrop-filter: blur(4px);
}

/* ========================================
   MISSION & VISION CARDS
   ======================================== */

.mission-vision-card {
    background: var(--wg-gray-50);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

/* Row für Mission/Vision gleiche Höhe */
.mission-vision-row {
    display: flex;
    align-items: stretch;
}

.mission-vision-row > [class*="col-"] {
    display: flex;
}

.mission-vision-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.mv-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--wg-white);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.2);
}

/* ========================================
   DEPARTMENT SLIDER
   ======================================== */

.department-slider {
    position: relative;
    overflow: hidden;
    padding: 0 3rem;
}

.department-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.department-slide {
    padding: 0.5rem;
    box-sizing: border-box;
}

.department-card {
    background: var(--wg-white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.department-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.department-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.department-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.department-card-tags {
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
    color: var(--wg-gray-500);
    line-height: 1.5;
}

/* Department Slider Navigation - verwendet gleiche Styles wie Testimonials */
.department-slider .slider-prev,
.department-slider .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wg-white);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wg-gray-600);
    transition: all 0.2s ease;
    z-index: 10;
}

.department-slider .slider-prev:hover,
.department-slider .slider-next:hover {
    background: var(--wg-yellow);
    color: var(--wg-white);
}

.department-slider .slider-prev {
    left: 0;
}

.department-slider .slider-next {
    right: 0;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--wg-gray-600);
}

.check-circle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--wg-yellow);
    position: relative;
}

.check-circle::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Team Masonry Gallery */
.team-masonry {
    display: flex;
    gap: 1rem;
}

.masonry-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.masonry-col img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-col img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .team-masonry {
        display: block;
        columns: 2;
        column-gap: 1rem;
    }

    .masonry-col {
        display: contents;
    }

    .masonry-col img {
        margin-bottom: 1rem;
        break-inside: avoid;
    }
}

/* ========================================
   KARRIERE BANNER ENHANCED
   ======================================== */

.career-banner-enhanced {
    position: relative;
}

.career-banner-enhanced h2 {
    font-size: 2rem;
}

.benefit-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.625rem 1rem;
    color: var(--wg-white);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.benefit-badge:hover {
    background: rgba(255, 179, 0, 0.2);
    border-color: var(--wg-yellow);
}

@media (max-width: 991px) {
    .benefit-badges {
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .career-banner-enhanced h2 {
        font-size: 1.5rem;
    }

    .gallery-caption {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .gallery-item-lg img {
        height: 220px;
    }

    .benefit-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
    }

    .mission-vision-card {
        padding: 1.5rem;
    }
}

/* ========================================
   QUALITY CARDS (Schaumstoff Zuschnitt)
   ======================================== */

.quality-card {
    background: var(--wg-white);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--wg-gray-200);
}

.quality-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.quality-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--wg-yellow-light);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
}

.quality-icon svg {
    color: var(--wg-yellow);
}

.quality-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--wg-gray-900);
}

.quality-card p {
    font-size: 0.9375rem;
    color: var(--wg-gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quality-badge {
    display: inline-block;
    background: var(--wg-gray-50);
    color: var(--wg-gray-600);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
}

/* ========================================
   FORM LIST (Schaumstoff Formen)
   ======================================== */

.form-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 1rem;
}

.form-list .check-icon {
    color: var(--wg-yellow);
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   PRODUCT COMPARISON CARDS
   ======================================== */

.product-comparison-section {
    padding: 2rem 0;
    background-color: rgba(249, 250, 251, 0.5);
}

.product-comparison-section .section-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.product-comparison-section .section-tagline .accent {
    color: var(--wg-yellow);
}

.product-comparison-section .section-headline {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--wg-dark);
}

.product-comparison-section .section-subline {
    font-size: 1.125rem;
    text-align: center;
    color: var(--wg-gray-600);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Product Card */
.product-card {
    background: var(--wg-white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-card-header {
    background: var(--wg-dark);
    color: var(--wg-white);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.product-card-header .product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--wg-yellow);
    color: var(--wg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
}

.product-card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--wg-white);
}

.product-card-header .product-subtitle {
    font-size: 1rem;
    color: var(--wg-gray-400);
    margin: 0;
}

.product-card-header .product-height {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.product-card-header .product-height svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--wg-yellow);
}

.product-card-image {
    padding: 2rem;
    background: var(--wg-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card-image .new-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--wg-yellow);
    color: var(--wg-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* .bestseller verwendet jetzt gleiches Design wie .new-badge */

.product-card-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-card-body {
    padding: 1.5rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-body .layer-info {
    background: var(--wg-gray-50);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    min-height: 7.5rem;
}

.product-card-body .layer-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wg-gray-600);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-card-body .layer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.product-card-body .layer-item:last-child {
    margin-bottom: 0;
}

.product-card-body .layer-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.product-card-body .layer-dot.gel {
    background: #3B82F6;
}

.product-card-body .layer-dot.hybrid {
    background: #5EAAA8;
}

.product-card-body .layer-dot.kaltschaum {
    background: #C4A97D;
}

.product-card-body .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.product-card-body .feature-list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.625rem;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--wg-gray-600);
    background: var(--wg-gray-50);
    border-radius: 0.5rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.product-card-body .feature-list li:hover {
    background: var(--wg-yellow-light);
    transform: translateX(4px);
}

.product-card-body .feature-list li:last-child {
    margin-bottom: 0;
}

.product-card-body .feature-list li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--wg-yellow);
    flex-shrink: 0;
}

.product-card-body .feature-list li strong {
    color: var(--wg-dark);
}

.product-card-footer {
    margin-top: auto;
}

.product-card-footer .btn {
    width: 100%;
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.product-card-footer .btn-group-vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.product-card-footer .btn-group-vertical .btn {
    margin: 0 !important;
}

.product-card-footer .btn-group-vertical .btn + .btn {
    margin-top: 0.625rem !important;
}

.product-card-footer .btn-group-vertical .btn {
    border-radius: 0.375rem !important;
}

.btn.btn-secondary-outline {
    background-color: transparent !important;
    border: 2px solid var(--wg-gray-900) !important;
    color: var(--wg-gray-900) !important;
}

.btn.btn-secondary-outline:hover,
.btn.btn-secondary-outline:focus {
    border-color: var(--wg-yellow) !important;
    color: var(--wg-yellow) !important;
    background-color: transparent !important;
    transform: translateY(-2px) !important;
}

/* Shared Features Box - Dark Style */
.shared-features-box {
    background: var(--wg-dark);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-top: 3rem;
}

.shared-features-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--wg-white);
}

.shared-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .shared-features-grid {
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
    }
}

.shared-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shared-feature-item .icon-circle {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 179, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shared-feature-item .icon-circle svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--wg-yellow);
}

.shared-feature-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--wg-gray-400);
}

/* Decision Helper */
.decision-helper {
    background: var(--wg-dark);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--wg-white);
}

.decision-helper h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--wg-white);
}

.decision-helper p {
    color: var(--wg-gray-400);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.decision-helper .decision-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.decision-helper .decision-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.decision-helper .decision-item svg {
    color: var(--wg-yellow);
    width: 1.25rem;
    height: 1.25rem;
}

.decision-helper .decision-item strong {
    color: var(--wg-yellow);
}

/* Responsive */
@media (max-width: 991px) {
    .product-comparison-section .section-headline {
        font-size: 1.75rem;
    }

    .product-card-header h3 {
        font-size: 1.5rem;
    }

    .shared-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .product-comparison-section {
        padding: 3rem 0;
    }

    .shared-features-grid {
        grid-template-columns: 1fr;
    }

    .decision-helper .decision-items {
        flex-direction: column;
    }
}

/* ========================================
   SORTIMENT CARDS (Unterkategorien)
   ======================================== */

.sortiment-card {
    display: flex;
    flex-direction: column;
    background: var(--wg-white);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    text-decoration: none !important;
    color: var(--wg-dark) !important;
    border: 1px solid var(--wg-gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.sortiment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
    color: var(--wg-dark) !important;
}

.sortiment-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--wg-yellow);
    color: var(--wg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    z-index: 2;
}

.sortiment-card-img {
    background: var(--wg-gray-50);
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.sortiment-card-img img {
    max-width: 100%;
    max-height: 180px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.sortiment-card-img:has(.sortiment-card-cover) {
    padding: 0;
    min-height: auto;
}

.sortiment-card-img img.sortiment-card-cover {
    width: 100%;
    height: 300px;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
}

.landing-matratzen .sortiment-card-img img {
    max-height: 300px;
}

.sortiment-card:hover .sortiment-card-img img {
    transform: scale(1.05);
}

.sortiment-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sortiment-card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 0 0.625rem;
    color: var(--wg-dark);
}

.sortiment-card-desc {
    font-size: 0.9rem;
    color: var(--wg-gray-600);
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.sortiment-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.sortiment-card-tags span {
    display: inline-block;
    background: var(--wg-gray-50);
    color: var(--wg-gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
}

.sortiment-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--wg-dark);
    margin-top: auto;
    transition: color 0.2s ease;
}

.sortiment-card-link svg {
    transition: transform 0.2s ease;
}

.sortiment-card:hover .sortiment-card-link {
    color: var(--wg-yellow-hover);
}

.sortiment-card:hover .sortiment-card-link svg {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .sortiment-card-img {
        min-height: 180px;
        padding: 1.5rem 1rem;
    }

    .sortiment-card-img img {
        max-height: 150px;
    }
}

@media (max-width: 575px) {
    .sortiment-card-body {
        padding: 1.25rem;
    }

    .sortiment-card-body h3 {
        font-size: 1.125rem;
    }
}

/* ========================================
   USE CASE CARDS (Anwendungs-Kacheln)
   ======================================== */

.use-case-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0;
    background: var(--wg-white);
    border-radius: 0.75rem;
    padding: 1.25rem;
    height: 100%;
    text-decoration: none !important;
    color: var(--wg-dark) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--wg-gray-200);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.use-case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--wg-gray-200);
    text-decoration: none !important;
    color: var(--wg-dark) !important;
}

.use-case-card-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.875rem;
    flex: 1;
}

.use-case-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 0.625rem;
    background: var(--wg-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon svg {
    width: 28px;
    height: 28px;
    color: var(--wg-gray-600);
}

.use-case-card:hover .use-case-icon {
    background: var(--wg-yellow-light);
}

.use-case-card:hover .use-case-icon svg {
    color: var(--wg-yellow-hover);
}

.use-case-card-text {
    display: flex;
    flex-direction: column;
}

.use-case-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.125rem;
    color: var(--wg-dark);
}

.use-case-subtitle {
    font-size: 0.8125rem;
    color: var(--wg-gray-500);
    margin: 0;
    line-height: 1.3;
}

.use-case-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.75rem;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--wg-gray-600) !important;
    background: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.use-case-btn svg {
    transition: transform 0.2s ease;
}

.use-case-card:hover .use-case-btn {
    color: var(--wg-yellow-hover) !important;
}

.use-case-card:hover .use-case-btn svg {
    transform: translateX(3px);
}

@media (max-width: 575px) {
    .use-case-card {
        padding: 1rem;
    }

    .use-case-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .use-case-icon svg {
        width: 22px;
        height: 22px;
    }

    .use-case-title {
        font-size: 0.9375rem;
    }

    .use-case-btn {
        font-size: 0.75rem;
    }
}

/* ========================================
   POLSTER HINT - Pattern Interrupt
   ======================================== */

.polster-hint-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: rgba(249, 250, 251, 0.5);
}

.polster-hint-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(155deg, #1c1f1f 0%, #1c1f1f 58%, transparent 58%);
    z-index: 0;
}

.polster-hint-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
    max-width: 1100px;
    margin: 0 auto;
}

.polster-hint-image {
    flex: 0 0 500px;
    max-width: 500px;
}

.polster-hint-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.polster-hint-content {
    flex: 1;
}

.polster-hint-tag {
    display: inline-block;
    background: var(--wg-yellow);
    color: var(--wg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.polster-hint-content h3 {
    color: var(--wg-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.polster-hint-content h3 em {
    color: var(--wg-yellow);
    font-style: normal;
}

.polster-hint-content p {
    color: var(--wg-gray-400);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    max-width: 480px;
}

.polster-hint-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--wg-yellow);
    color: var(--wg-dark) !important;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.polster-hint-cta:hover {
    background: var(--wg-yellow-hover);
    transform: translateY(-2px);
    color: var(--wg-dark) !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .polster-hint-bg {
        background: var(--wg-dark);
    }

    .polster-hint-inner {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .polster-hint-image {
        flex: none;
        max-width: 100%;
    }

    .polster-hint-content p {
        max-width: none;
    }

    .polster-hint-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .polster-hint-inner {
        padding: 2rem 1rem;
    }

    .polster-hint-image {
        max-width: 100%;
    }

    .polster-hint-content h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
   PROFI-KONFIGURATOR HINT - Pattern Interrupt
   ======================================== */

.profi-hint-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: rgba(249, 250, 251, 0.5);
}

.profi-hint-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(155deg, #1c1f1f 0%, #1c1f1f 58%, transparent 58%);
    z-index: 0;
}

.profi-hint-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
    max-width: 1100px;
    margin: 0 auto;
}

.profi-hint-image {
    flex: 0 0 500px;
    max-width: 500px;
}

.profi-hint-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.profi-hint-content {
    flex: 1;
}

.profi-hint-tag {
    display: inline-block;
    background: var(--wg-yellow);
    color: var(--wg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.profi-hint-content h3 {
    color: var(--wg-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.profi-hint-content h3 em {
    color: var(--wg-yellow);
    font-style: normal;
}

.profi-hint-content p {
    color: var(--wg-gray-400);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    max-width: 520px;
}

.profi-hint-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem !important;
    color: var(--wg-gray-500) !important;
    margin-bottom: 1.5rem !important;
}

.profi-hint-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--wg-yellow);
}

.profi-hint-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--wg-yellow) !important;
    border: 1px solid var(--wg-yellow) !important;
    color: var(--wg-white) !important;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.25rem;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.profi-hint-cta:hover {
    background: var(--wg-yellow-hover) !important;
    border-color: var(--wg-yellow-hover) !important;
    transform: translateY(-2px);
    color: var(--wg-white) !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .profi-hint-bg {
        background: var(--wg-dark);
    }

    .profi-hint-inner {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .profi-hint-content {
        text-align: center;
    }

    .profi-hint-content p {
        max-width: none;
        margin-left: 0;
    }

    .profi-hint-notice {
        justify-content: center;
    }

    .profi-hint-image {
        flex: none;
        max-width: 100%;
        order: -1;
    }

    .profi-hint-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .profi-hint-inner {
        padding: 2rem 1rem;
    }

    .profi-hint-image {
        max-width: 100%;
    }

    .profi-hint-content h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
   POLSTER UNTERKAT - Festigkeit, Stoff, Qualität Cards
   ======================================== */

.festigkeit-card {
    background: var(--wg-white);
    border-radius: 1rem;
    border: 1px solid var(--wg-gray-200);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.festigkeit-img {
    margin-bottom: 1rem;
}

.festigkeit-img img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.festigkeit-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.festigkeit-card p {
    color: var(--wg-gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Stoff-Karten */
.stoff-card {
    background: var(--wg-white);
    border-radius: 1rem;
    border: 1px solid var(--wg-gray-200);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stoff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stoff-card-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.stoff-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stoff-card-body {
    padding: 1.25rem;
}

.stoff-card-body h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: 0.375rem;
}

.stoff-card-body p {
    color: var(--wg-gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Stoff-Card Zoom Button */
.stoff-card-img {
    position: relative;
}

.stoff-card-zoom {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wg-dark);
    transition: background 0.2s ease, transform 0.2s ease;
    opacity: 0;
    z-index: 2;
}

.stoff-card:hover .stoff-card-zoom {
    opacity: 1;
}

.stoff-card-zoom:hover {
    background: var(--wg-yellow);
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .stoff-card-zoom {
        opacity: 1;
    }
}

/* Stoff Lightbox Modal */
.stoff-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
}

.stoff-modal-content {
    position: relative;
    max-width: min(800px, 75vh);
    background: var(--wg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    cursor: default;
}

.stoff-modal-content img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.stoff-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    background: var(--wg-white);
    color: var(--wg-dark);
    border: 1px solid var(--wg-gray-200);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.stoff-modal-close:hover {
    background: var(--wg-gray-50);
    border-color: var(--wg-gray-200);
}

.stoff-modal-label {
    text-align: center;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

/* ========================================
   STOFF-STRIP (kompakte Kreise)
   ======================================== */
.stoff-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    padding-bottom: 1.5rem;
}

.stoff-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 140px;
    text-align: center;
}

.stoff-strip-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--wg-gray-200);
    transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.stoff-strip-item:hover .stoff-strip-circle {
    border-color: var(--wg-yellow);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(255, 179, 0, 0.25);
}

.stoff-strip-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stoff-strip-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--wg-dark);
    line-height: 1.3;
}

.stoff-strip-desc {
    font-size: 0.8125rem;
    color: var(--wg-gray-500);
    line-height: 1.3;
}

@media (max-width: 575px) {
    .stoff-strip {
        gap: 1.5rem 1.25rem;
    }

    .stoff-strip-item {
        width: 90px;
    }

    .stoff-strip-circle {
        width: 80px;
        height: 80px;
    }

    .stoff-strip-name {
        font-size: 0.8125rem;
    }

    .stoff-strip-desc {
        font-size: 0.75rem;
    }
}

/* Qualitätsmerkmale Cards */
.quality-card {
    background: var(--wg-white);
    border-radius: 1rem;
    border: 1px solid var(--wg-gray-200);
    padding: 2rem;
    height: 100%;
}

.quality-icon {
    width: 56px;
    height: 56px;
    background: var(--wg-gray-50);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.quality-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.quality-card p {
    color: var(--wg-gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   STICKY SHOWROOM INFO-BOX
   ======================================== */

.showroom-sticky-box {
    position: fixed;
    right: -320px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    background: var(--wg-white);
    border-radius: 1rem 0 0 1rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 1000;
    transition: right 0.4s ease;
}

.showroom-sticky-box.visible {
    right: 0;
}

.showroom-sticky-box.hidden {
    right: -320px !important;
}

.showroom-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--wg-gray-400);
    cursor: pointer;
    line-height: 1;
}

.showroom-close:hover {
    color: var(--wg-gray-600);
}

.showroom-icon {
    width: 3rem;
    height: 3rem;
    background: var(--wg-yellow-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.showroom-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--wg-yellow);
}

.showroom-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--wg-dark);
    margin-bottom: 0.5rem;
}

.showroom-content p {
    font-size: 0.875rem;
    color: var(--wg-gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.showroom-content .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hide on mobile */
@media (max-width: 991px) {
    .showroom-sticky-box {
        display: none;
    }
}

/* ========================================
   HYBRID LANDING PAGE - POLSTER
   ======================================== */

/* Compact Hero */
.hero-compact {
    padding: 2rem 0;
}

.hero-compact h1 {
    font-size: 2rem;
}

@media (min-width: 992px) {
    .hero-compact {
        padding: 3rem 0;
    }
    .hero-compact h1 {
        font-size: 2.5rem;
    }
}

/* Hero Image - auf Smartphone verstecken */
.hero-compact .hero-image {
    display: block;
}

@media (max-width: 575px) {
    .hero-compact .hero-image {
        display: none;
    }
}

/* Config Steps */
.config-steps {
    max-width: 900px;
    margin: 0 auto;
}

.config-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--wg-white);
    border-radius: 1rem;
    height: 100%;
    position: relative;
}

.config-step .step-number {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.75rem;
    height: 1.75rem;
    background: var(--wg-yellow);
    color: var(--wg-dark);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.config-step .step-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: var(--wg-yellow);
}

.config-step .step-icon svg {
    width: 100%;
    height: 100%;
}

.config-step h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.config-step p {
    font-size: 0.8125rem;
    color: var(--wg-gray-500);
    margin: 0;
}

/* Fabric Grid */
.fabric-card {
    text-align: center;
}

.fabric-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fabric-card span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wg-gray-600);
}

/* CTA Konfigurator */
.cta-konfigurator {
    background: var(--wg-dark);
}

.cta-konfigurator .cta-box {
    padding: 3rem 2rem;
}

.cta-konfigurator h2 {
    color: var(--wg-white);
}

.cta-konfigurator .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Mini Features */
.mini-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mini-feature svg {
    width: 2rem;
    height: 2rem;
    color: var(--wg-yellow);
}

.mini-feature span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wg-gray-600);
}

/* ========================================
   SIDEBAR SLIDER-ARROWS FIX
   Base-CSS setzt .btn { position: relative !important },
   das bricht die Snackys Slider-Arrow-Positionierung.
   ======================================== */

.ar-ct-m .ar-ct .sl-ar.btn {
    position: absolute !important;
    padding: 0.5rem 0.8rem !important;
    display: block !important;
}

/* ========================================
   FORM VALIDATION FIX
   Snackys setzt .form-error-msg auf position: absolute,
   mit Poppins-Schrift werden Meldungen breiter/höher
   und überlappen das nächste Feld. Wir setzen sie
   in den normalen Flow zurück.
   ======================================== */

.form-group .form-error-msg {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: block;
    margin-top: 0.25rem;
    padding: 0.15rem 0;
    background: none;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gestaffeltes Einblenden fuer Cards */
.fade-in-up[data-delay="1"] { transition-delay: 0.1s; }
.fade-in-up[data-delay="2"] { transition-delay: 0.2s; }
.fade-in-up[data-delay="3"] { transition-delay: 0.3s; }
.fade-in-up[data-delay="4"] { transition-delay: 0.4s; }
.fade-in-up[data-delay="5"] { transition-delay: 0.5s; }

/* Reduced Motion: Animation deaktivieren */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   TOPPER-BERATER MINI-QUIZ
   ======================================== */

.topper-quiz-section {
    padding: 4rem 0;
    background-color: rgba(249, 250, 251, 0.5);
}

/* Intro (linke Spalte) */
.tq-intro-text {
    font-size: 1rem;
    color: var(--wg-gray-600);
    line-height: 1.7;
}

/* Quiz Container (rechte Spalte) — schwebend, kein Kasten */
.tq-container {
    padding: 1rem 0;
    position: relative;
    min-height: 250px;
}

/* Progress Dots */
.tq-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.tq-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--wg-gray-200);
    background: transparent;
    transition: all .3s ease;
    flex-shrink: 0;
}

.tq-dot.active,
.tq-dot.done {
    border-color: var(--wg-yellow);
    background: var(--wg-yellow);
}

.tq-connector {
    width: 32px;
    height: 2px;
    background: var(--wg-gray-200);
    flex-shrink: 0;
}

/* Steps */
.tq-step {
    display: none;
    animation: tqFadeIn .3s ease;
}

.tq-step.active {
    display: block;
}

@keyframes tqFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tq-question {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--wg-gray-900);
}

/* Option Buttons */
.tq-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.tq-option {
    flex: 1;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1rem;
    border: none;
    border-radius: .75rem;
    background: var(--wg-dark);
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 500;
    color: var(--wg-white);
}

.tq-option svg {
    width: 28px;
    height: 28px;
    color: var(--wg-yellow);
}

.tq-option small {
    font-weight: 400;
    color: var(--wg-gray-400);
}

.tq-option:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.tq-option:active {
    transform: translateY(0);
}

/* ── Ergebnis: Ranking aller 3 Materialien ── */
.tq-results-wrapper {
    animation: tqFadeIn .4s ease;
}

.tq-results-headline {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--wg-gray-900);
}

.tq-ranking {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* Rank Card: horizontal layout */
.tq-rank-card {
    display: flex;
    align-items: stretch;
    background: var(--wg-white);
    border: 2px solid var(--wg-gray-200);
    border-radius: .75rem;
    overflow: hidden;
    transition: all .3s ease;
}

/* Rank 1: Hervorgehoben */
.tq-rank-card.tq-rank-1 {
    border-color: var(--wg-yellow);
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* Rank 2: Gute Alternative */
.tq-rank-card.tq-rank-2 {
    opacity: .85;
    border-color: var(--wg-gray-200);
}

.tq-rank-card.tq-rank-2:hover {
    opacity: 1;
}

/* Rank 3: Weniger geeignet */
.tq-rank-card.tq-rank-3 {
    opacity: .55;
    border-color: var(--wg-gray-200);
}

.tq-rank-card.tq-rank-3:hover {
    opacity: .85;
}

/* Badge Spalte */
.tq-rank-badge {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem .5rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--wg-gray-50);
    color: var(--wg-gray-500);
    min-width: 36px;
}

.tq-rank-1 .tq-rank-badge {
    background: var(--wg-yellow);
    color: #000;
}

.tq-rank-2 .tq-rank-badge {
    background: var(--wg-gray-200);
    color: var(--wg-gray-600);
}

/* Body */
.tq-rank-body {
    flex: 1;
    padding: 1rem 1.25rem;
}

.tq-rank-header {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .35rem;
}

.tq-rank-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--wg-gray-900);
}

.tq-rank-subtitle {
    font-size: .85rem;
    color: var(--wg-gray-500);
    font-style: italic;
}

.tq-bestseller-badge {
    display: inline-block;
    background: var(--wg-yellow);
    color: #000;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .15rem .5rem;
    border-radius: 2rem;
    line-height: 1.4;
}

.tq-rank-desc {
    font-size: .85rem;
    color: var(--wg-gray-600);
    margin-bottom: .75rem;
    line-height: 1.5;
}

.tq-rank-ctas {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.tq-rank-ctas .btn-sm {
    font-size: .8rem;
    padding: .35rem .75rem;
}

/* Nochmal starten */
.tq-restart {
    display: block;
    margin: 1.25rem auto 0;
    background: none;
    border: none;
    color: var(--wg-gray-500);
    cursor: pointer;
    font-size: .85rem;
    text-decoration: underline;
    font-family: inherit;
    padding: .5rem;
}

.tq-restart:hover {
    color: var(--wg-gray-900);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .tq-intro {
        text-align: center;
    }

    .tq-intro h2 {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .topper-quiz-section {
        padding: 2.5rem 0;
    }

    .tq-options {
        flex-direction: column;
        align-items: stretch;
    }

    .tq-option {
        max-width: none;
        flex-direction: row;
        padding: 1rem;
    }

    .tq-option svg {
        width: 24px;
        height: 24px;
    }

    .tq-question {
        font-size: 1.05rem;
    }

    .tq-rank-card {
        flex-direction: column;
    }

    .tq-rank-badge {
        writing-mode: horizontal-tb;
        min-width: auto;
        padding: .4rem .75rem;
        font-size: .7rem;
    }

    .tq-rank-ctas {
        flex-direction: column;
    }

    .tq-rank-ctas .btn-sm {
        text-align: center;
    }
}


/* ========================================
   KONFIGURATOR ABOVE-CONTENT
   Hero + Mini-Features oberhalb des Konfigurators.
   Bricht aus der Snackys .mw-container/.col-12 Hierarchie aus.
   ======================================== */

/* === Polster-Konfigurator Header (minimal) === */
.polster-konfig-header {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    padding: 0.5rem 0 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0;
}

.polster-konfig-h1 {
    color: var(--wg-dark, #1a1a1a);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.625rem;
}

.polster-konfig-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: #666;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.polster-konfig-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.polster-konfig-trust svg {
    color: var(--wg-yellow, #f5c518);
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .polster-konfig-trust {
        gap: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .polster-konfig-h1 {
        font-size: 1.25rem;
    }
}

/* === Polster-Konfigurator Below: Breakout + Container-Fix === */

/* Breakout: Sections aus der Snackys col-12 Spalte befreien */
.polster-konfig-below {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Fix: paper.css setzt global .container { display: flex } —
   das zerstört jedes Bootstrap-Container-Layout außerhalb des Konfigurators.
   Hier setzen wir .container in unseren Content-Bereichen zurück. */
.polster-konfig-below .container,
.konfig-below-content .container,
.contact-banner .container,
.faq-section .container {
    display: block;
}

/* === Zuschnitt-Konfigurator Hero === */
.konfig-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    overflow: hidden;
}

a.konfig-hero-rating {
    text-decoration: none;
}
a.konfig-hero-rating:hover {
    text-decoration: none;
    opacity: 0.85;
}
.konfig-hero-rating .rating,
.konfig-hero-rating .rating-count {
    color: #fff;
}
.konfig-hero-rating .rating .star {
    color: #FFB300;
}
.konfig-hero-rating-count {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-left: 0.35rem;
}

a.polster-konfig-rating {
    text-decoration: none;
}
a.polster-konfig-rating:hover {
    text-decoration: none;
    opacity: 0.85;
}
.polster-konfig-rating .rating .star {
    color: #FFB300;
}
.polster-konfig-rating-count {
    color: var(--wg-gray-500, #737373);
    font-size: 0.875rem;
    margin-left: 0.35rem;
}


/* 3-Schritt Anleitung im Hero */
.konfig-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

.konfig-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--wg-white);
}

.konfig-step-nr {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wg-yellow);
    color: var(--wg-dark);
    font-weight: 700;
    font-size: 1.125rem;
}

.konfig-step strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--wg-white);
    margin-bottom: 0.125rem;
}

.konfig-step > div > span {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

.konfig-step-preset {
    opacity: 0.5;
}

.konfig-step-preset .konfig-step-nr {
    background: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}

/* Hero Steps-Spalte: Abstand via Bootstrap mt-3 mt-lg-0 im Template */

/* Möbel-Icons im Hero */
.konfig-use-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.konfig-use-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.konfig-use-icon svg {
    height: 36px;
    width: auto;
    stroke: var(--wg-yellow);
    opacity: 0.9;
}

.konfig-use-icon span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.konfig-more-plus {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,0.35);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
}

.konfig-use-more > span:last-child {
    opacity: 0.6;
}

/* Mengen-Buttons (Snackys qty-btns): Icons zentrieren + sichtbar */
.qty-btns .btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    overflow: visible;
}

.qty-btns .btn .icon svg {
    width: 14px;
    height: 14px;
    overflow: visible;
}

/* Mini-Features direkt unter Hero: Breakout + Snackys-Fix */
.konfig-hero + .section-padding-sm {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.konfig-hero + .section-padding-sm .container {
    display: block;
}


/* ========================================
   KONFIGURATOR BELOW-CONTENT
   Sections unterhalb des Zuschnitt-Konfigurators
   Bricht aus der Snackys .mw-container/.col-12 Hierarchie aus
   ======================================== */

.konfigurator-below-content {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 2rem;
}

.konfigurator-below-content.bg-light-section {
    margin-top: 0;
}

/* Snackys setzt .container auf display:flex im Produktdetail-Kontext,
   das bricht das Bootstrap-Row-Verhalten. Zurücksetzen auf block. */
.konfigurator-below-content .container {
    display: block;
}

