
    /* Grundlayout Menü */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

}



/* MM Menü-Container container oberhalb das original */
.menu-container {
    width: 100%;
    /*max-width: 1200px;*/
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,.95); /*zuvor Schwarz*/
    color: white;
    z-index: 10;
    position: sticky;
    top: 0px;
    /* max-height: 80vh;
    overflow-y: auto; */
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 360px;
}
.logo img {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 360px;
}
.kontaktTop{
    font-size: 1em;
    color: #f2f2f2;
    background-color: #161940;
    padding: 7px;
    text-align: center;
}
.kontaktTop a{
    text-decoration: none;
    color: #3486b8;
}
.kontaktTop span{
    color: inherit;
}


/* Menü-Links */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
    position: relative;
    z-index: 10;
}

nav ul li a {
    color: #07334f; /*zuvor white*/
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
}

nav ul li a:hover {
    background-color: rgba(87, 87, 87, 0.26); /*zuvor Schwarz #575757*/
    /*border-top:2px solid #07334f;*/
    color: red;


}

/* Dropdown-Menü (Dienstleistungen) */
nav ul li ul {
    display: none; /* Standardmäßig verstecken */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #bfbebe; /*zuvor Schwarz*/
    list-style: none;
    padding: 0;
    margin: 0;
    width: 200px;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Hover-Effekt für Desktop */
nav ul li:hover > ul {
    display: block; /* Dropdown sichtbar bei Hover (Desktop) */
}
/*Steuerung Dropdownmenü öffnen/schließen siehe @media*/
    .hauptP {
    }

/* Pfeil für Dropdown nur bei "Dienstleistungen" */
nav ul li.dropdown > a::after {
    content: ' ▼'; /* Pfeil nur bei "Dienstleistungen" */
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s;
}

/* Pfeil dreht sich bei Klick auf "Dienstleistungen" (Desktop) */
nav ul li.open > a::after {
    transform: rotate(180deg); /* Drehen des Pfeils bei Aktivierung */
}

/* Hamburger-Menü */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #a41541; /*zuvor white, dann #3486b8*/
    margin: 4px 0;
}

/* Responsives Menü */
@media (max-width: 768px) {
    .menu-container {
        width: 100%;
    }
    /* Menü anpassen, damit es scrolbar wird */
    .scroll-menu  {
        max-height: 60%;  /* Je nach Bedarf kannst du den Wert anpassen */
        overflow-y: auto;  /* Scrollen erlauben */
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        /*top: 45px;*/
        left: 0;
        background-color: #bfbebe; /*zuvor Schwarz*/

    }

    nav ul li {
        margin: 5px 0; /*Abstand zwischen Menüpunkten*/
        padding: 2px 0; /*Um das Objekt (Kästen werden z.B. größer) */
    }
    /* logo bleibt stehen
    .logo {
        position: fixed;
        top: 10px;
        left: 10px;
        display: flex;
        z-index: 10;
    }*/
    .hamburger {
        position: fixed;
        top: 1px;
        right: 10px;
        display: flex;
        z-index: 10;
    }

    nav.active ul {
        display: flex;
    }

    /* Dropdown für mobile Ansicht - immer versteckt */
    nav ul li.dropdown ul {
        display: none; /* Standardmäßig verborgen */
        position: static;
        width: 100%;
        margin-top: 5px;
    }

    nav ul li.open.dropdown ul {
        display: block; /* Dropdown sichtbar bei Klick */
        overflow-y: auto;
        max-height: 35vh;
    }

    nav ul li a {
        padding: 0px 0;
        font-size: 1.2em;
    }

    /* Pfeil für Dropdown im mobilen Menü */
    nav ul li.dropdown > a::after {
        content: ' ▼'; /* Pfeil nur bei "Dienstleistungen" */
        font-size: 0.9em;
        margin-left: 5px;
    }

    nav ul li.open.dropdown a.hauptP::after {
        content: ' -'; /* Pfeil nur bei "Dienstleistungen" */
        font-size: 0.9em;
        margin-left: 5px;
    }
}
/*Ende Responsive Menü */