/* Basis-Layout */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 90%;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 30px;
    left: 10px;
}

.hamburger-menu div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

/* Dropdown-Menü (Desktop) */
.dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #444;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
}

/* Moderner Header im Dropdown-Menü */
.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75em 1em;
    background: linear-gradient(135deg, #3a3a3a, #555);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Linker Bereich im Header: enthält den Titel und das Navisymbol */
.dropdown-header-left {
    display: flex;
    align-items: center;
}

.dropdown-title {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
}

.nav-symbol {
    font-size: 2rem;
    color: #fff;
    margin-left: 0.5em;
}

/* Moderner Close-Button */
.close-button {
    font-size: 2.5rem;
    color: #ff4d4d;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close-button:hover {
    transform: scale(1.1);
    color: #ff1a1a;
}

/* Menülinks im Dropdown */
.dropdown-menu a {
    color: #fff;
    padding: 12px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #555;
}

/* Mobile Styles */
@media (max-width: 960px) {

    .container {
        display: none;
    }

    .hamburger-menu {
        display: flex;
        z-index: 2000;
        position: fixed;
        top: 20px;
        left: 10px;
        flex-direction: column;
        cursor: pointer;
        background-color: transparent;
        padding: 10px;
    }

    .hamburger-menu div {
        width: 25px;
        height: 3px;
        background-color: #000;
        margin: 4px 0;
    }

    .dropdown-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        background-color: #f0f0f0;
        position: fixed;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        z-index: 2000;
        border-radius: 8px;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .dropdown-header {
        background: linear-gradient(135deg, #bbb, #ddd);
        border-bottom: 1px solid rgba(0,0,0,0.15);
        padding: 0.75em 1em;
    }

    .dropdown-header-left {
        display: flex;
        align-items: center;
    }

    .dropdown-title {
        font-size: 1.8rem;
        color: #333;
    }

    .nav-symbol {
        font-size: 2rem;
        color: #333;
        margin-left: 0.5em;
    }

    .close-button {
        font-size: 3rem;
        color: #ff4d4d;
    }

    .dropdown-menu a {
        color: #333;
        padding: 15px;
        text-decoration: none;
        text-align: center;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        box-sizing: border-box;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .Platzhalter {
        margin: 5rem 0.5rem;
    }
}
