@media screen and (max-width: 768px) {
    /* Desktop-Menü ausblenden */
    #site-navigation {
        display: none !important;
    }

    /* Hamburger sichtbar */
    #top {
    	float: right;
    	position: static;
    	width: 45px;
    	height: 45px;
    	padding-top: 4px;
  	padding-bottom: 2.5pc;
	opacity: .7;
    }

    #mobile-nav-open-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    #mobile-nav-open-btn .nav-row {
        display: block;
        width: 30px;
        height: 4px;
        background: #ffffff; /* Weiße Linien für Sichtbarkeit auf blauem Header */
        margin: 6px 0;
    }

    /* Responsives Menü – exakt blau #4382c3 mit weißem Text */
    #mobile-nav {
        position: absolute;
        top: 0;
        left: -100%;
        width: 70%;
        max-width: 300px;
        height: 100%;
        background: #4382c3; /* Deine exakte blaue Farbe */
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: inset -1.5em 0 1.5em -.75em rgba(0,0,0,.25);
    }

    #mobile-nav.open {
        left: 0;
    }

    #mobile-nav .block {
        padding: 40px 10px 20px;
    }

    #mobile-nav ul.menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #mobile-nav li {
        padding: 8px 7px;
    	font-weight: 400;
    	color: #fff;
    	font-size: 14px;
/*	border-top: 1px solid rgba(255,255,255,0.1); */
    	display: block;
  	line-height: 25px;
  	outline: none;
position: relative; /* notwendig für Pseudo-Elemente */
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1); /* Durchgehende Linie als Box-Shadow */
    }

    #mobile-nav a {
        color: #ffffff; /* Weißer Text */
        text-decoration: none;
        padding: 15px 0;
    }

    #mobile-nav a:hover {
        color: #ffffff;
    }

    #mobile-nav .sub-menu {
        display: none;
        padding-left: 0.5px;
    }

    #mobile-nav li.open .sub-menu {
        display: inline;
        padding-left: 0.5px;

    }

    #mobile-nav-close-btn {
    text-indent: 0;
    color: #fff;
    font-size: 24px;
    text-align: center;
    padding: 0;
    width: 30px;
    height: 30px;
    top: -50px;
    left: 30px;
    line-height: 25px;
    border-radius: 100%;
    border: 2px solid #fff;
    background: rgba(0, 0, 0, .3);
    opacity: 1;
    margin-left: 30px;
    margin-bottom: 20px;
  }

    /* Overlay */
    #mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    #mobile-nav.open ~ #mobile-nav-overlay {
        display: block;
    }

    /* WHMCS-Menü sichtbar und anklickbar */
    .navbar-nav, .main-navbar-wrapper, .navbar-collapse {
        pointer-events: auto !important;
    }
}

/* Desktop: Responsives Menü verstecken */
@media screen and (min-width: 769px) {
    #top, #mobile-nav, #mobile-nav-overlay {
        display: none !important;
    }
}
