/* ============================================================
   Sub-Navigation (wiederverwendbar)
   Integriert in den Header-Gradient, mit highlight-Akzentlinie
   ============================================================ */

.subnav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    z-index: 20;
}

.subnav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--highlight-color);
}

.subnav .container {
    position: relative;
}

.subnav__scroll {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
}

.subnav__scroll::-webkit-scrollbar {
    display: none;
}

.subnav__label {
    display: none;
}

.subnav__item {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.75rem 1.1rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.subnav__scroll .subnav__item:first-of-type {
    padding-left: 0;
}

.subnav__item:hover {
    color: rgba(255,255,255,0.85);
}

.subnav__item--active {
    color: #fff;
    font-weight: 700;
    border-bottom-color: #fff;
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 767px) {
    .subnav__item {
        font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
    }
}
