.menu-wrap {
  position: relative;
  z-index: 1;
}
.menu-wrap .toggler:checked ~ .rechts {
  visibility: visible;
}
.rechts {
  background-color: white;
  position: fixed;
  top: 0;
  left: 35%;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  width: 65%;
  text-align: center;
}

.rechts img {
  width: 200px;
}

.rechts h4 {
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.45em;
  color: #C8C8C8;
}

.rechts h1 {font-size: 35px;
text-align: center;
letter-spacing: 0.155em;
color: #ADADAD;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
position: absolute;
width: 100%;
}
.menu-wrap .toggler:checked ~  .rechts h1 {
  animation: rechtsh1 2s forwards;
}

@keyframes rechtsh1 {
  from {
    margin-left: 1000px;
    opacity: 0;
  }
  to {
    margin-left: 0px;
    opacity: 1;
  }
}

.menu-wrap .toggler:checked ~  .rechts img {
  animation: logo2 3s forwards;
}

.menu-wrap .toggler:checked ~  .rechts h4 {
  animation: h4menu 1s;
}

@keyframes h4menu {
  from {
    margin-top: -200px;
  }
  to {
    margin-top: 27px;
  }
}


@keyframes logo2 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.menu-wrap .toggler {
  position: relative;
  top: 0;
  left: 0;
  z-index: 2;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
}

@keyframes toggler {
  from {
    margin-left: -200px;
  }
  to {
    margin-left: 0;
  }
}

.menu-wrap .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  padding: 1rem;
  background: #A0A0A0
  display: flex;
  align-items: center;
  justify-content: center;
  animation: toggler 1s ease-in;
}


.menu-wrap .hamburger > .eins {
  position: absolute;
  flex: none;
  width: 50%;
  height: 1px;
  background: #A0A0A0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  border-radius: 15px;
    opacity: 0;
}
.menu-wrap .toggler:hover + .hamburger > .eins {
  opacity: 0;
}

.menu-wrap .toggler:hover + .hamburger > .zwei {
  margin-top: -4px;
}

.menu-wrap .toggler:hover + .hamburger > .drei {
  margin-top: 4px;
}

.menu-wrap .hamburger > .zwei {
  position: absolute;
  flex: none;
  width: 70%;
  height: 2px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  border-radius: 15px;
  margin-top: -6px;
}

.menu-wrap .hamburger > .drei {
  position: absolute;
  flex: none;
  width: 50%;
  height: 2px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  border-radius: 15px;
  margin-top: 6px;
}




.menu-wrap .toggler:checked + .hamburger > .eins {
  opacity: 0;
}

.menu-wrap .toggler:checked + .hamburger > .zwei {
  transform: rotate(135deg);
  background: white;
  height: 1px;
    margin-top: 10px;
    width: 50%;
}


.menu-wrap .toggler:checked + .hamburger > .drei {
  transform: rotate(-135deg);
  background: white;
  height: 1px;
  margin-top: 10px;
}



.menu-wrap .toggler:checked ~ .menu {
  visibility: visible;
}


.menu-wrap .toggler:checked ~ .menu > div {
  transform: scale(1);
  transition-duration: var(--menu-speed);
}

.menu-wrap .toggler:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}

.menu-wrap .menu {
  background-color: black;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35%;
}



.menu-wrap .menu > div {
  height: 100%;
  width: 100%;
  display: flex;
  flex: none;
  align-items: left;
  justify-content: center;
  transform: scale(0);
}

.menu-wrap .menu > div > div {
  text-align: center;
  width: 300px;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-50%);
}

.menu-wrap .menu > div > div > ul > li {
  list-style: none;
  color: #848484;
  font-size: 1.5rem;
  padding: 1rem;
  text-align: left;
  flex: wrap;
  justify-content: center;
}

.menu-wrap .menu > div > div > ul > li > a {
  color: white;
  text-decoration: none;
  transition: color 0.4s ease;
  font-size: 35px;
  opacity: 1;
  float: none;
  transition: opacity 0.8s ease-in-out;
  opacity: 0.5;
}

.menu-wrap .menu > div > div > ul > li > a:hover {
  opacity: 0.3;
}



.menu-wrap .toggler:checked ~ .home {
  animation: home 2s;
}
@media screen and (max-width: 1024px) {

.menu-wrap .menu {
  width: 40%;
}
.rechts {
  width: 60%;
  left: 40%;
}
}

@media screen and (max-width: 480px) {

.menu-wrap .menu {
  width: 100%;
}

}
