/* === Filter Bar === */
#filter-bar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: var(--filter-height);
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 999;
    display: flex;
    align-items: center;
    padding: 0 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

#filter-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    width: 100%;
}

#filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 2px solid transparent;
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    user-select: none;
    flex-shrink: 0;
}

.filter-pill:hover {
    background: #eee;
}

.filter-pill.active {
    color: #fff;
    border-color: transparent;
}

.filter-pill .pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.filter-pill .pill-count {
    background: rgba(255,255,255,0.3);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 2px;
}

.filter-pill.active .pill-count {
    background: rgba(255,255,255,0.3);
}

.filter-pill:not(.active) .pill-count {
    background: rgba(0,0,0,0.08);
}

/* "Alle" toggle */
.filter-pill-all {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.filter-pill-all:hover {
    background: var(--primary-light);
}

.filter-pill-all.inactive {
    background: #f5f5f5;
    color: #666;
}
