/**********************************************************************
HEADER 
**********************************************************************/

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(253,252,251,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--accent-light);
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link img {
    height: 58px;
    display: block;
}

/**********************************************************************
DESKTOP NAVIGATION
**********************************************************************/

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 78px;
    gap: 8px;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
    transition: color .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/**********************************************************************
DROPDOWN MENU
**********************************************************************/

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--accent-light);
    box-shadow: var(--shadow-soft);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 2000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-item {
    display: block;
    padding: 10px 22px;
    text-decoration: none;
    font-size: .9rem;
    color: var(--text);
    transition: .2s ease;
}

.dropdown-item:hover {
    background: rgba(182,140,90,.08);
    color: var(--accent);
}


/**********************************************************************
CHEVRON ICON (PFEILE)
**********************************************************************/

.drop-icon {
    font-size: .75rem;
    opacity: .6;
    transition: transform .25s ease;
}

.has-dropdown:hover .drop-icon {
    transform: rotate(180deg);
}


/**********************************************************************
SOCIAL ICONS
**********************************************************************/

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-social {
    font-size: 1.6rem;
    color: var(--text);
    opacity: .7;
    transition: .25s ease;
}

.header-social:hover {
    opacity: 1;
    color: var(--accent);
}


/**********************************************************************
MOBILE MENU BUTTON
**********************************************************************/

.menu-toggle,
.menu-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text);
    cursor: pointer;
    transition:
        transform .35s cubic-bezier(.4,0,.2,1),
        opacity .2s ease;
}

.menu-toggle {
    display: none;
}

.menu-toggle.active {
    transform: rotate(90deg);
}

.menu-close.active {
    transform: rotate(180deg);
}

/**********************************************************************
MOBILE SIDEBAR
**********************************************************************/

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 290px;
    height: 100vh;
    background: var(--bg);
    padding: 0;
    transition: left .35s ease;
    z-index: 10001;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.is-active {
    left: 0;
}

.sidebar-header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px 12px 22px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 10px rgba(0,0,0,.03);
}

.sidebar-logo {
    height: 44px;
}


/**********************************************************************
SIDEBAR NAV STRUCTURE
**********************************************************************/

.nav-group {
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 22px 24px 22px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 4px;
    font-size: .98rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
    border-radius: 6px;
    transition: .2s ease;
}

.sidebar-nav a i {
    width: 18px;
    text-align: center;
}


/* HOVER */

.sidebar-nav a:hover {
    background: rgba(182,140,90,.08);
    color: var(--accent);
}


/* ACTIVE PAGE */

.sidebar-nav a.active {
    color: var(--accent);
    font-weight: 600;
}


/**********************************************************************
VISUAL DIVIDER
**********************************************************************/

.nav-divider {
    height: 1px;
    background: rgba(0,0,0,.08);
    margin: 8px 0;
    opacity: .6;
}


/**********************************************************************
OVERLAY
**********************************************************************/

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 10000;
}

.sidebar-overlay.is-active {
    opacity: 1;
    visibility: visible;
}


/**********************************************************************
RESPONSIVE BREAKPOINT
**********************************************************************/

@media (max-width: 950px) {

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

}