/* Hauptkategorien (H2) */
.category-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.08em;   /* breiter */
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
}

/* Unterkategorien (H3) */
.subcategory-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.04em;   /* enger */
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* --- Sticky Navigation --- */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;          /* heller Hintergrund */
    padding: 1.2rem 5%;
    border-bottom: 0.1rem solid #ddd;
}

/* --- Horizontal + rechtsbündig --- */
.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --- Menüelemente --- */
.main-nav ul li {
    font-size: 1.175rem;
    font-weight: 500;
    color: #000000;               /* schwarze Schrift */
}

/* --- Pipes zwischen Menüpunkten --- */
.main-nav ul li:not(:last-child)::after {
    content: "|";
     margin: 0 1.4rem;
    color: #666;
    font-size: 1.325 rem;
}

/* --- Links --- */
.main-nav ul li a {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 0.3rem;
    transition: all 0.25s ease;
    opacity: 0.85;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* --- Hover: invertierte Farben --- */
.main-nav ul li a:hover {
    opacity: 1;
    color: #ffffff;               /* Text wird weiß */
    background-color: #000000;    /* Hintergrund wird schwarz */
    padding: 0.6rem 1.2rem;
    border-radius: 0.2rem;
    text-decoration-color: #ffffff;
}