/* ============================================
   CATEGORY PAGE – PREMIUM FILTER LEISTE
   ============================================ */

/* Wrapper der Kategorie-Leiste */
.category-bar-wrapper {
    position: sticky;
    top: 70px;
    z-index: 1020;
    background: #fff;
    padding-top: .3rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid #e5e5e5;
}

/* Horizontale Scroll-Leiste */
.category-bar {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    white-space: nowrap;
    padding: .5rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

/* Fade-Shadows links/rechts */
.category-bar-wrapper::before,
.category-bar-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.category-bar-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.category-bar-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* Kategorie-Chips */
.category-chip {
    display: inline-block;
    padding: .45rem .9rem;
    border-radius: 50px;
    background: #f2f2f2;
    color: #333;
    font-weight: 500;
    font-size: .9rem;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid #e0e0e0;
}

.category-chip:hover {
    background: #e8e8e8;
    color: #000;
}

.category-chip.active {
    background: #007bff;
    color: #fff !important;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.4);
}

/* ============================================
   CATEGORY HERO BLOCK
   ============================================ */

.category-hero {
    background: linear-gradient(135deg, #f8faff 0%, #eef2f7 100%);
    border-radius: 16px;
    padding: 40px 45px;
    border: 1px solid #e2e6ec;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

.category-hero-inner {
    max-width: 900px;
}

.category-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: #000;
    border-left: 6px solid #0d6efd;
    padding-left: 16px;
    line-height: 1.2;
}

.category-hero-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #333;
    margin: 0;
}

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

@media (max-width: 768px) {
    .category-hero {
        padding: 25px 25px;
    }

    .category-hero-title {
        font-size: 1.9rem;
        padding-left: 12px;
    }

    .category-hero-text {
        font-size: 1.05rem;
    }
}
