/* Mobile-Menü Styles */

/* Hamburger-Menü Icon */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 8px;
    flex-shrink: 0;
    order: 1; /* Hamburger kommt zuerst (links) */
}

.hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    background-color: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Navigation Styling für mobile Ansicht */
@media (max-width: 767px) {
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    /* Kompakter Header mit Transparenz */
    header {
        padding: 0.75rem 1rem;
        min-height: 60px;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none; /* Überschreibt Desktop-Einstellungen */
        transform: none; /* Überschreibt Desktop-Einstellungen */
        border-radius: 0; /* Keine abgerundeten Ecken auf mobile */
        box-sizing: border-box;
    }
    
    /* Header-Content Container für mobile anpassen */
    .header-content {
        display: flex;
        justify-content: flex-end; /* Logo rechts ausrichten */
        align-items: center;
        flex-grow: 1;
        position: relative;
        order: 2; /* Header-Content kommt nach dem Hamburger */
    }
    
    /* Logo Container rechts positionieren */
    .logo-container {
        position: static;
        margin: 0;
        flex-shrink: 0;
    }
    
    .logo {
        max-width: 30px;
        height: auto;
    }
    
    /* Navigation verstecken und positionieren */
    nav {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin: 0;
        list-style: none;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    nav a {
        padding: 12px 10px;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background-color: rgba(248, 249, 250, 0.9);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    /* Pakete-Überschrift hervorheben */
    .dropdown-menu a strong {
        color: #2e7d32;
        font-weight: 700;
    }
    
    /* Eingerückte Pakete-Links */
    .dropdown-menu a[href*="pack.html"]:not([href="trinity-pack.html"]:first-of-type) {
        padding-left: 20px;
        font-size: 0.9em;
        color: #555;
    }
}

/* Animation für das Hamburger-Icon - klassisches X */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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