/* Header Module - EINZEILIG */
/* Logo links, Menu rechts */

.header {
    background: #ffffff;
    position: relative;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 60px;
}

/* Logo - Links oben */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.nav-logo:hover {
    text-decoration: none;
}

.logo {
    width: 48px;
    height: 48px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(199deg) brightness(104%) contrast(107%);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1E90FF;
    margin-left: 0.2rem;
    letter-spacing: -0.025em;
}

/* Desktop Menu - Rechts */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1E90FF;
}

.nav-user {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

/* Hamburger - Versteckt auf Desktop */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #1E90FF;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: rgba(30, 144, 255, 0.1);
}

.mobile-menu .btn {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
}

/* Responsive - Mobile Menu */
@media (max-width: 768px) {
    /* Desktop Menu verstecken */
    .nav-menu {
        display: none;
    }
    
    /* Hamburger anzeigen */
    .hamburger {
        display: flex;
    }
    
    /* Adjust logo size on mobile */
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    /* Better nav spacing on mobile */
    .nav {
        padding: 0.75rem 0;
        height: auto;
        min-height: 60px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-logo {
        gap: 0.3rem;
    }
}
