/* --- NAVIGATION HAUPTCONTAINER --- */
.peng_nav_container {
    width: 100%;
    background-color: #000000;
    box-sizing: border-box;
    font-family: inherit;
}

/* Die Leiste für die Hauptkategorien */
/* .peng_nav_menu_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    width: 100%;
    background-color: #0b0021;
} */

.peng_nav_menu_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    width: 100%;
    background-color: #0b0021;
}

.peng_nav_menu_bar_br {
    width: 100%;
    box-sizing: border-box;
    background-image: url('../images/2_Logo_Nav_BG.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}




/* Einzelne Kategorie (Oberste Ebene) - Kein erzwungenes flex: 1 mehr! */
.peng_nav_category_item {
    position: relative;
    display: inline-block;
}

/* Der Kategorie-Button: Richtet sich exakt nach dem Text + Padding */
.peng_nav_category_btn {
    display: inline-block;
    width: auto;
    padding: 7px 5px;
    background: linear-gradient(to bottom, #004b9b, #1e0361);
    color: #00d9ff;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    border-right: 2px solid #000000;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: 6px;
}

.peng_nav_category_btn:hover {
    background: linear-gradient(to bottom, #8437bd, #240c45);
    color: #ffc2db;
}

/* --- DROPDOWN CONTAINER FÜR SUBS --- */
.peng_nav_dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #161031;
    border: 1px solid #007eff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.8);
    z-index: 999;
    box-sizing: border-box;
}

.peng_nav_category_item:hover .peng_nav_dropdown {
    display: block;
}

/* Einzelne Sub-Seiten Links im Dropdown */
.peng_nav_sub_link {
    display: block;
    padding: 10px 15px;
    color: #dfdfdf;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #004c9a;
    transition: background 0.5s ease, color 0.5s ease;
}

.peng_nav_sub_link:last-child {
    border-bottom: none;
}

.peng_nav_sub_link:hover {
    background-color: #241a4d;
    color: #ffca00;
    /* padding-left: 20px; */
}


/* --- MOBIL NAVIGATION & HAMBURGER --- */
/* --- MOBIL NAVIGATION DESIGN (VÖLLIG ENTGELTET) --- */
.peng_mob_wrapper {
    display: none;
    width: 100%;
    background-color: #000;
    box-sizing: border-box;
}

.peng_mob_toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    margin: 10px;
    z-index: 1000;
}

.peng_mob_toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffca00;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* .peng_mob_drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    box-sizing: border-box;
    padding: 60px 15px 20px 15px;
    overflow-y: auto;
    z-index: 999;
} */

.peng_mob_drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    box-sizing: border-box;
    padding: 70px 15px 20px 15px; /* Oben genug Platz für den fetten Schließen-Button */
    overflow-y: auto;
    z-index: 999;
}

.peng_mob_drawer.active {
    display: block;
}

.peng_mob_item {
    margin-bottom: 8px;
    border-bottom: 1px solid #8a0101;
}

.peng_mob_btn {
    width: 100%;
    background: linear-gradient(to bottom, #a95725, #890000);
    color: #ffbf00;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 15px;
    text-align: left;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.peng_mob_btn::after {
    content: "+";
    font-size: 18px;
    font-weight: bold;
}

.peng_mob_item.open .peng_mob_btn::after {
    content: "-";
}

.peng_mob_content {
    display: none;
    background-color: #161031;
    padding: 5px 0;
    box-sizing: border-box;
    flex-direction: column;
}

.peng_mob_item.open .peng_mob_content {
    display: flex;
}

.peng_mob_link {
    display: block;
    padding: 10px 20px;
    color: #dbdbdb;
    background-color: #3f0031;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #ff00c6;
}

.peng_mob_link:hover {
    background-color: #3f0031;
    color: #dbdbdb;
}

/* Steuerung über Media-Query: Entweder Desktop ODER Mobil anzeigen */
@media screen and (max-width: 768px) {
    .peng_nav_container {
        display: none;
    }
    .peng_mob_wrapper {
        display: block;
    }
}

/* Der Schließen-Button (Kreuz) - Fett, groß und perfekt zu treffen */
.peng_mob_close_btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffca00;
    font-size: 48px; /* Deutlich vergrößert */
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 10px; /* Mehr Touch-Fläche um das Kreuz herum */
    z-index: 1000;
}

.peng_mob_close_btn:hover {
    color: #ffffff;
}