/* Menu  © admotion*/

#menu {  z-index: 998; background: var(--gruen);height: 100vh; width: 350px; right: -360px; top: 0; transition: 0.3s ease-out; position: fixed; padding: 100px 25px;}
#menu.open {right: 0;}
#menu li { padding: 5px 0; border-bottom: 1px solid var(--gelb); }
#menu li a { padding: 10px 0px; text-transform: uppercase; color: white; font-size: 18px;}
#menu li a:hover { color: var(--gelb); }
#menu li.active a { color: var(--gelb); font-weight: 700;}



#adresse-mobile {margin-top: 80px;}

/* Hamburger Menu */

#menu-small { z-index: 1000;
  width: 42px;
  height: 42px;
  position: fixed; right: 5%; top: 17px;
  background: white; border-radius: 100%;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#menu-small span {
  display: block;
  position: absolute;
  height: 2px; border-radius: 10px;
  width: 60%;
  background: var(--gelb);
  border-radius: 0px;
  opacity: 1;
  left: 20%;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}


#menu-small span:nth-child(1) {
  top: 30%;
}

#menu-small span:nth-child(2),#menu-small span:nth-child(3) {
  top: calc(50% - 2px);
}

#menu-small span:nth-child(4) {
  top: 63%;
}

#menu-small.open span:nth-child(1) {
  top: calc(50% - 2px);
  width: 0%;
  left: 50%;
}

#menu-small.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#menu-small.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#menu-small.open span:nth-child(4) {
  top: calc(50% - 1px);
  width: 0%;
  left: 50%;
}

@media(min-width:768px) {
    
}
@media(min-width:1250px) {
    #menu-small { display: none; }
#menu { z-index: 998; background: none;height: auto; width: auto; right: auto; top: auto; position: relative; padding:0; transition: 0;}
    #menu ul { display: flex; gap: 50px;}
  #adresse-mobile {display: none;}
  #menu li {padding: 0; border: 0;}
  #menu a {font-size: 1em;}
}
