/* LEBE BEWUSST KATEGORIEN CAROUSEL */
.lb-categories-carousel-wrapper {
    margin-top: 40px;
    margin-bottom: -20px;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
}

.lb-categories-section-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.lb-categories-carousel-container {
    position: relative;
    margin-bottom: 30px;
}

.lb-categories-swiper {
    overflow: hidden;
    padding: 0 10px 60px 10px; /* Space for pagination */
}

/* Verstecke Standard Swiper Navigation ::after */
.lb-categories-carousel-container .swiper-button-prev::after,
.lb-categories-carousel-container .swiper-button-next::after {
    display: none !important;
}

.lb-category-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lb-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lb-category-card.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid #191970;
    font-weight: 700;
    opacity: 1;
    /* Verstärke die Hintergrundfarbe für aktive Kategorie - kräftigere Farbe */
    filter: brightness(1.15) saturate(1.3);
    /* Zusätzliche Verstärkung durch Overlay */
    position: relative;
}

.lb-category-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    background: rgba(25, 25, 112, 0.1); /* Leichtes Overlay in Primärfarbe */
    pointer-events: none;
}

/* Kategorien-Farben werden jetzt zentral in elementor.css verwaltet */

.lb-category-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

/* Responsive Schriftgrößen für Flex Grid */
@media (max-width: 1024px) {
    .lb-categories-flex-grid .lb-category-name {
        font-size: 13px;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .lb-categories-flex-grid .lb-category-name {
        font-size: 12px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .lb-categories-flex-grid .lb-category-name {
        font-size: 11px;
        line-height: 1.2;
    }
}

/* Navigation mit Gelb-Orange Gradient */
.lb-categories-prev,
.lb-categories-next {
    position: absolute;
    top: 22%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #F09819 0%, #EDDE5D 51%, #F09819 100%);
    background-size: 200% auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
    box-shadow: 0 4px 15px rgba(240, 152, 25, 0.3);
}

.lb-categories-prev {
    left: -25px;
}

.lb-categories-next {
    right: -25px;
}

.lb-categories-prev:hover,
.lb-categories-next:hover {
    background-position: right center;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(240, 152, 25, 0.4);
}

.lb-categories-prev.swiper-button-disabled,
.lb-categories-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Pagination mit Gelb-Orange */
.lb-categories-pagination {
    bottom: 20px !important;
    text-align: center;
}

.lb-categories-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.lb-categories-pagination .swiper-pagination-bullet-active {
    background: #F09819;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .lb-categories-prev,
    .lb-categories-next {
        width: 44px;
        height: 44px;
    }
    
    .lb-categories-prev {
        left: -22px;
    }
    
    .lb-categories-next {
        right: -22px;
    }
    
    .lb-category-card {
        height: 60px;
        padding: 10px 12px;
    }
    
    .lb-category-name {
        font-size: 11px;
    }
    
    .lb-categories-section-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .lb-categories-swiper {
        padding: 0 5px 60px 5px;
    }
    
    .lb-categories-prev,
    .lb-categories-next {
        display: none; /* Hide on very small screens, use swipe */
    }
    
    .lb-category-card {
        height: 50px;
        padding: 8px 8px;
    }
    
    .lb-category-name {
        font-size: 10px;
        letter-spacing: 0.2px;
    }
    
    .lb-categories-section-title {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

/* FLEX GRID LAYOUT STYLES */
.lb-categories-flex-container {
    position: relative;
    margin-bottom: 30px;
}

.lb-categories-flex-grid {
    display: flex;
    flex-wrap: wrap;
    /* gap wird dynamisch über PHP gesetzt (space_between Einstellung) */
    justify-content: center;
    align-items: stretch;
}

.lb-categories-flex-grid .lb-category-card {
    box-sizing: border-box;
    min-height: 60px;
    padding: 12px 8px;
}

/* Responsive Flex Grid - kleinere Karten auf kleineren Bildschirmen */
@media (max-width: 1024px) {
    .lb-categories-flex-grid .lb-category-card {
        min-height: 65px;
        padding: 12px 8px;
    }
}

@media (max-width: 768px) {
    .lb-categories-flex-grid .lb-category-card {
        min-height: 60px;
        padding: 10px 6px;
    }
}

@media (max-width: 480px) {
    .lb-categories-flex-grid .lb-category-card {
        min-height: 55px;
        padding: 8px 6px;
    }
}

