/* BRAND OBEN */
.brand {
    text-align: center;
    margin-top: 20px;
}

.brand img {
    height: 60px;
}

.brand .subline {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #666;
}

/* HEADER */
.main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    margin-top: 15px;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* NAV CONTAINER */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* NAVIGATION */
.nav-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex: 1;
    /* WICHTIG: zentriert die Nav */
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
}

.premium-badge {
    color: #444;
    font-weight: 500;
}

/* RECHTE SEITE */
.menu-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-menu-trigger img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ec4899;
    cursor: pointer;
}


.notif-icon {
    position: relative;
    font-size: 1.4rem;
    color: #444;
}

.notif-badge {
    color: #ff0000;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: -5px;
    display: none;
    /* versteckt wenn 0 */
}


.notif-badge {
    transition: opacity 0.2s ease;
}

body.dark .premium-badge {
    color: #eee;
}

/* MOBILE */
@media (max-width: 900px) {

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: calc(100% - 40px);
        padding: 20px;
        background: #fff;
        border-bottom: 1px solid #eee;
        flex-direction: column;
        gap: 15px;
        display: none;
        z-index: 99999;
    }

    .nav-links.show {
        display: flex;
    }

    /* Menü rechts – exakt wie Desktop */
    .menu-right {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
        /* WICHTIG: schiebt alles nach rechts */
    }

    /* Reihenfolge exakt wie Desktop */
    .dark-toggle {
        order: 1;
    }

    .notif-icon {
        order: 2;
    }

    .avatar-menu-trigger {
        order: 3;
    }

    /* Burger komplett ausblenden */
    .burger {
        display: none !important;
    }
}
