/* Individuelle Style-Ergänzungen Internetseite edp: */

html, body {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    display: none; 
}

.navbar-toggler {
    border: none !important;
    background: none;
    font-size: 2rem;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
}   

#header-slider {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 75px; /* Platz für die Navbar */
    width: 100%;
    height: auto; /* Passt die Höhe automatisch an */
}

.header-slider-xs {
    min-height: 300px;
}

.header-slider-sm {
    min-height: 500px;
}

.header-slider-md {
    min-height: 700px;
}

.header-slider-lg {
    min-height: 900px;
}

@media (max-width: 768px) {
    #header-slider {
        min-height: 450px; /* Reduzierte Höhe für Smartphones */
    }
}

@media (max-width: 1366px) and (min-width: 769px) {
    #header-slider {
        min-height: 650px; /* Angepasste Höhe für iPad Pro und ähnliche Geräte */
    }
}

.menu-content {
    margin-top: 50px;
}

.menu-item {
    position: relative;
    color: black !important;
}

.menu-item a {
    color: black !important;
    text-decoration: none;
}

.menu-item a:hover {
    color: var(--menu-item-hover-color, var(--bs-dark)) !important;
}

#megaMenu .menu-item > .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#megaMenu .menu-item:hover > .submenu {
    display: block;
}

.navbar-toggler-icon {
    transition: transform 0.3s ease;
}

#megaMenu {
    position: fixed;
    top: 100px; /* An Höhe Navbar anzupassen */
    left: 0;
    width: 100%;
    z-index: 1050;
    overflow-y: scroll; /* Ermöglicht Scrollen */
    scrollbar-width: none; /* Versteckt die Scrollbar in Firefox */
    -ms-overflow-style: none; /* Versteckt die Scrollbar in Internet Explorer */
    max-height: calc(100vh - 100px); /* Begrenzung auf Bildschirmhöhe */
    padding-bottom: 2px; /* Hinzugefügt, um den unteren Rand sauber zu machen */
}

#header-slider {
    margin-top: 75px; /* Platz für die Navbar */
}