#hamburger-menu {
    padding: 10px;
    position: relative;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
    display: block;
    width: 50px;
    background-color: #68bb54;
}
  
#hamburger-menu .bar {
    height: 3px;
    width: 100%;
    display: block;
    margin: 6px auto;
    position: relative;
    background-color: #F9FAFA;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
  
#hamburger-menu.menu-open .bar:nth-of-type(1) {
    -moz-transform: translateY(9px) rotate(45deg);
    -ms-transform: translateY(9px) rotate(45deg);
    -webkit-transform: translateY(9px) rotate(45deg);
    transform: translateY(9px) rotate(45deg);
}

#hamburger-menu.menu-open .bar:nth-of-type(2) {
    opacity: 0;
}

#hamburger-menu.menu-open .bar:nth-of-type(3) {
    -moz-transform: translateY(-9px) rotate(-45deg);
    -ms-transform: translateY(-9px) rotate(-45deg);
    -webkit-transform: translateY(-9px) rotate(-45deg);
    transform: translateY(-9px) rotate(-45deg);
}

#hamburger-menu .bar:nth-of-type(1) {
    -moz-animation: rotateR 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
    -webkit-animation: rotateR 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
    animation: rotateR 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
}
#hamburger-menu .bar:nth-of-type(2) {
    -moz-animation: fade 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
    -webkit-animation: fade 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
    animation: fade 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}
#hamburger-menu .bar:nth-of-type(3) {
    -moz-animation: rotateL 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
    -webkit-animation: rotateL 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
    animation: rotateL 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
}

.mobile-menu-container {
    width: 100%;
}

.mobile-menu-container #mobile-menu ul,
.mobile-menu-container #mobile-menu ul li {
    list-style: none;
    padding: 0;
}

.mobile-menu-container #mobile-menu {
    background-color: #F9FAFA;
    box-shadow: -5px 10px 15px -15px rgba(0, 0, 0, 0.2)
}

.mobile-menu-container #mobile-menu {
    padding: 1.556rem 1.167rem;
    position: fixed;
    top: 140px;
    right: 0;
    left: 0;
    width: 100%;
}

.mobile-menu-container #mobile-menu {
    max-height: 0; /* Initiale Höhe auf 0 setzen */
    visibility: hidden;
    opacity: 0;
    overflow: hidden; /* Verhindert, dass Inhalte außerhalb der Höhe angezeigt werden */
    transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;

}

.mobile-menu-container #mobile-menu .sub-menu {
    max-height: 0; /* Initiale Höhe auf 0 setzen */
    visibility: hidden;
    opacity: 0;
    overflow: hidden; /* Verhindert, dass Inhalte außerhalb der Höhe angezeigt werden */
    transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
    width: 100%;
}


#mobile-menu .menu-item.menu-item-has-children > a {
    cursor: pointer;
}

#mobile-menu a {
    color: #00132C;
    font-size: 1.333rem;
}

#mobile-menu ul.menu > li.menu-item {
    padding-bottom: 1.667rem;
}

#mobile-menu ul.menu > li.menu-item ul.sub-menu li{
    padding-bottom: 1.167rem;
}

#mobile-menu ul.menu > li.menu-item ul.sub-menu li:first-of-type{
    padding-top: 1.167rem;
}

#mobile-menu ul.menu > .menu-item > a {
    font-weight: 700;
}

#mobile-menu .menu-item.menu-item-has-children > a:after {
    content: "";
    display: inline-block;
    width: 20px; /* Breite des SVG */
    height: 10px; /* Höhe des SVG */
    margin-left: 10px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgMTYgOCIgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTEgMy41QzAuNzIzODU4IDMuNSAwLjUgMy43MjM4NiAwLjUgNEMwLjUgNC4yNzYxNCAwLjcyMzg1OCA0LjUgMSA0LjVWMy41Wk0xNS4zNTM2IDQuMzUzNTVDMTUuNTQ4OCA0LjE1ODI5IDE1LjU0ODggMy44NDE3MSAxNS4zNTM2IDMuNjQ2NDVMMTIuMTcxNiAwLjQ2NDQ2NkMxMS45NzYzIDAuMjY5MjA0IDExLjY1OTcgMC4yNjkyMDQgMTEuNDY0NSAwLjQ2NDQ2NkMxMS4yNjkyIDAuNjU5NzI4IDExLjI2OTIgMC45NzYzMTEgMTEuNDY0NSAxLjE3MTU3TDE0LjI5MjkgNEwxMS40NjQ1IDYuODI4NDNDMTEuMjY5MiA3LjAyMzY5IDExLjI2OTIgNy4zNDAyNyAxMS40NjQ1IDcuNTM1M0MxMS42NTk3IDcuNzMwOCAxMS45NzYzIDcuNzMwOCAxMi4xNzE2IDcuNTM1M0wxNS4zNTM2IDQuMzUzNTVaTTEgNC41SDE1VjMuNUgxVjQuNVoiIGZpbGw9IiMwMDEzMkMiLz48L3N2Zz4=');
    background-size: contain;
    background-repeat: no-repeat;
}

#mobile-menu ul#menu-header-mobile-nl .wpml-ls-item {
    display: none !important;
}

#mobile-menu .mobile-footer > div {
    padding: 0 1.167rem;
}

#mobile-menu .mobile-footer .mobile-language-switch {
	display: flex;
	gap: 10px;
}

#mobile-menu .mobile-footer .mobile-language-switch a {
    text-decoration: underline;
	
}

#mobile-menu .mobile-footer {
    display: flex;
    flex-direction: row;
    margin-top: 1.167rem;
    justify-content: center;
    align-items: center;
}

#mobile-menu .mobile-footer .mobile-kontakt a{
    font-size: 14px;
    font-weight: 700;
    color: var(--e-global-color-6a383ca);
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-accent);
    border-radius: 50px 50px 50px 50px;
    background-color: var(--e-global-color-accent);
    padding: 15px 15px 15px 15px;
    display: inline-block;
    line-height: 1;
    text-align: center;
    transition: all .3s;
}

#mobile-menu .mobile-footer .mobile-kontakt a:hover{
    background-color: #02010100;
    color: var(--e-global-color-text);
}

.mobile-menu-container #mobile-menu.active,
.mobile-menu-container #mobile-menu .sub-menu.active { 
    max-height: 500px; /* Schätze eine maximale Höhe für dein Menü */
    visibility: visible;
    opacity: 1;
}
