/* ========================================
Sortiment Slider - Full Width
======================================== */

.fullwidth-slider.sortiment-slider {
    position: relative;
    width: 100%;
    overflow: visible;
  /*  background-color: #FFFFFF;*/
    padding: 60px 0;
    margin-top: -382px;
    padding-bottom: 314px;
    z-index: 20;
}

/* Swiper Container */
.sortiment-swiper {
    width: 100%;
    height: 800px;
    position: relative;
    padding: 0 !important;
    overflow: visible !important; /* Wichtig für seitliche Slides */
    z-index: 20;
}

.swiper-wrapper {
    align-items: center;
}

/* Einzelnes Slide */
.swiper-slide {
    width: 1448px; /* Feste Breite wie gewünscht */
    height: auto;
    opacity: 1; /* Volle Deckkraft */
    transition: opacity 0.3s ease;
    z-index: 20;
}

/* Aktives Slide */
.swiper-slide-active {
    opacity: 1;
    z-index: 10;
}

/* Slide Image Container */
.slide-image {
    position: relative;
    width: 100%;
    height: 800px;
    border-radius: 20px;
    overflow: hidden;
  /*  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);*/
    z-index: 20;
}


/* Bild - Vollständig ohne Beschnitt */
.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}


/* ========================================
   Badge - Oben Rechts
   ======================================== */

.slide-badge {
    position: absolute;
    top: 18px;
    right: 42px;
    color: #ffffff;
    padding: 8px 0;
    padding-right: -12px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    white-space: nowrap;
    background: transparent;


}

/*  Rote Linie hinter dem Text */
.slide-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px; /* ✅ Geht links über Text hinaus */
    right: -12px; /* ✅ Geht rechts über Text hinaus */
    height: 12px; /* ✅ Linienhöhe */
    background: #e73331;
    border-radius: 6px;
    transform: translateY(0%);
    z-index: -1; /* ✅ Hinter Text */
}

/* ========================================
   Slide Header - Oben Rechts unter Badge
   ======================================== */

.slide-header {
    position: absolute;
    top: 80px; /* Unter dem Badge */
    right: 30px;
    max-width: 600px;
    text-align: right;
    z-index: 10;
    color: #ffffff;
}

/* Headline */
.slide-headline {
    font-size: 2.25rem;
    font-weight: 200;
    line-height: 1.2;
    margin: 0 0 3px 0;
    color: #ffffff;
}


/* Subline */
.slide-subline {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
}




/* ========================================
   Navigation
   ======================================== */

.swiper-button-prev,
.swiper-button-next {
    color: #ffffff;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    z-index: 30;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 24px;
}

/* Navigation außerhalb */
@media (min-width: 1200px) {
    .swiper-button-prev {
        left: 20px;
    }

    .swiper-button-next {
        right: 20px;
    }
}

/* Pagination */
.swiper-pagination {
    bottom: 30px !important;
    z-index: 30;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
    width: 32px;
    border-radius: 6px;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1600px) {
    .fullwidth-slider.sortiment-slider {
        padding-bottom: 200px;

    }

    .swiper-slide {
        width: 1300px;
    }

    .slide-image {
        height: 700px;
    }


}

@media (max-width: 1400px) {
    .fullwidth-slider.sortiment-slider {
        padding-bottom: 150px;

    }

    .swiper-slide {
        width: 1100px;
    }

    .slide-image {
        height: 650px;
    }

}

@media (max-width: 1200px) {
    .fullwidth-slider.sortiment-slider {
        overflow: hidden;
        max-width: 100vw;
    }

    .sortiment-swiper {
        overflow: hidden !important;
    }

    .swiper-slide {
        width: 900px;
        max-width: 90vw;
    }


    .slide-image {
        height: 600px;
        border-radius: 15px;
    }

    .slide-badge {
        top: 48px;
    }
    .slide-header {
        top: 95px;
    }

    .slide-headline {
        font-size: 1.75rem;
    }

    .slide-subline {
        font-size: 1.1rem;
    }

}

@media (max-width: 991px) {
    .fullwidth-slider.sortiment-slider {
     /*   padding-bottom: 50px;
        overflow: hidden;
        width: 100%;
        max-width: 100vw;*/
        display: none;
    }

    .sortiment-swiper {
        overflow: hidden !important;
        width: 100%;
        margin: 0;
    }

    .swiper-slide {
        width: 700px;
        max-width: 90vw;
    }

    .slide-image {
        height: 500px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 50px;
        height: 50px;
    }
 }

/* Mobile: Normaler Slider */
@media (max-width: 768px) {
    .fullwidth-slider.sortiment-slider {
     /*   padding-bottom: 0px;
        overflow: hidden;
        width: 100%;
        max-width: 100vw;*/
    }


    .sortiment-swiper {
        overflow: hidden !important;
        width: 100%;
        margin: 0;
    }

    .swiper-slide {
        width: 100% !important;
        max-width: 100%;
    }

    .slide-image {
        height: 450px;
        border-radius: 10px;
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }


    /* Produkt-Labels ausblenden */
    .product-labels {
        display: none;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .fullwidth-slider.sortiment-slider {
      /* overflow: hidden;
        max-width: 100vw;*/
    }

    .sortiment-swiper {
        overflow: hidden !important;
    }

    .slide-image {
        height: 380px;
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }

}

/* ========================================
   Hover-Effekt für Labels
   ======================================== */

.product-label {
    transition: all 0.3s ease;
}

.product-label:hover {
    transform: scale(1.1);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    pointer-events: auto;
}