.menu {
  z-index: 100;
  position: fixed;
  top: 3%;
  width: calc(100% - 1px);
}
.menu a {
  color: #000;
}
.menu ul {
  list-style: none;
}
.menu .menu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 3em;
  padding-inline: clamp(1em, 5vw, 3em);
  width: inherit;
}
.menu .logo-wrap {
  width: 2.011em;
  width: clamp(1.67em, 2vw, 2.011em);
  aspect-ratio: 0.785/1;
}
.menu .logo-wrap img {
  width: 100%;
  height: 100%;
}
.menu .menu-wrap .toggler {
  position: absolute;
  top: 0;
  right: 3%;
  z-index: 104;
  cursor: pointer;
  width: 3em;
  height: 3em;
  opacity: 0;
}
.menu .menu-wrap .hamburger {
  position: relative;
  z-index: 103;
  width: 1.7em;
  height: 1.7em;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
.menu .menu-wrap .hamburger > div {
  position: relative;
  flex: none;
  width: inherit;
  height: 2px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease;
}
.menu .menu-wrap .hamburger > div::before,
.menu .menu-wrap .hamburger > div::after {
  content: "";
  position: absolute;
  top: -350%;
  width: inherit;
  height: 2px;
  background-color: inherit;
}
.menu .menu-wrap .hamburger > div::after {
  top: 350%;
}
.menu .menu-wrap .menu-show {
  transform: translateX(-100%);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 102;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.menu .menu-wrap .menu-show > div {
  background-color: #fff;
  padding-inline: clamp(1.9em, 2vw, 4em);
  padding-top: 5em;
  height: 100svh;
  overflow: hidden;
}
.menu .menu-wrap .menu-show > div > div {
  height: 100%;
  margin: auto;
  transition: opacity 0.5s ease-in;
}
.menu .menu-wrap .menu-show .menu-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10%;
}
.menu .menu-wrap .menu-show .menu-panel .panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-self: center;
  justify-content: start;
  -moz-column-gap: 2em;
       column-gap: 2em;
  width: 100%;
  padding-inline: 15em;
  padding-inline: clamp(2em, 8vw, 15em);
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a {
  display: flex;
  gap: 2%;
  stroke: #000;
  color: #000;
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .arrow {
  display: flex;
  justify-content: flex-start;
  padding-block: 1em;
  padding-block: clamp(0.3em, 2vw, 1em);
  width: 5em;
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .arrow .arrow-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 3em;
  height: 2px;
  background-color: #000;
  transition: width 0.4s ease;
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .arrow:hover .arrow-right {
  width: 5em;
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .arrow svg {
  width: 1.6em;
  stroke-width: 2px;
  color: #000;
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .button-font {
  width: 55%;
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a:hover .arrow-right {
  width: 100%;
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel .start-php {
  transition: all 0.5s ease-in;
}
.menu .menu-wrap .menu-show .menu-panel .left-side-of-panel .projekt-php {
  transition: all 0.5s ease-in;
}
.menu .menu-wrap .menu-show .menu-panel .right-side-of-panel h2 {
  transition: all 0.5s ease-in;
}
.menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul {
  margin-left: 0;
}
.menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul li {
  padding-bottom: 1.5em;
  padding-bottom: clamp(0.8em, 5vw, 1.5em);
}
.menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul li a span {
  display: flex;
  gap: 10%;
  justify-content: baseline;
  align-items: center;
}
.menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul li a span img {
  width: 1.66em;
  width: clamp(1.11em, 10vw, 1.66em);
  aspect-ratio: 0.76;
  scale: 1;
  transition: scale 0.6s ease-in;
}
.menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul li:hover a span img {
  scale: 1.6;
}
.menu .menu-wrap .menu-show .menu-panel .informations {
  display: flex;
  gap: 100%;
  margin-right: auto;
  margin-left: clamp(2em, 7vw, 15em);
}
.menu .menu-wrap .toggler:checked + .hamburger > div {
  transform: rotate(135deg);
}
.menu .menu-wrap .toggler:checked + .hamburger > div:before,
.menu .menu-wrap .toggler:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}
.menu .menu-wrap .toggler:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}
.menu .menu-wrap .toggler:checked ~ .menu-show {
  animation: fadeInAnimation ease-in 0.5s forwards;
}
@keyframes fadeInAnimation {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes fadeOutAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 1110px) {
  .menu .menu-wrap .toggler {
    position: absolute;
    top: 0;
    right: 4%;
    z-index: 104;
    cursor: pointer;
    width: 3em;
    height: 3em;
    opacity: 0;
  }
  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
      visibility: hidden;
      width: 1%;
    }
    100% {
      opacity: 100%;
      visibility: visible;
      width: 100%;
    }
  }
  @keyframes fadeOutAnimation {
    0% {
      opacity: 1;
      visibility: visible;
      width: 100%;
    }
    100% {
      opacity: 0;
      visibility: hidden;
      width: 1%;
    }
  }
}
@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: 3%;
    width: calc(100% - 1px);
  }
  .menu a {
    color: #000;
  }
  .menu ul {
    list-style: none;
  }
  .menu .menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 3em;
    padding-inline: clamp(1em, 5vw, 3em);
    z-index: 100;
    overflow: hidden;
    width: inherit;
  }
  .menu .logo-wrap {
    width: 2.011em;
    width: clamp(1.67em, 2vw, 2.011em);
    aspect-ratio: 0.785/1;
  }
  .menu .logo-wrap img {
    width: 100%;
    height: 100%;
  }
  .menu .menu-wrap .toggler {
    position: absolute;
    top: 0;
    right: 5%;
    z-index: 104;
    cursor: pointer;
    width: 3em;
    height: 3em;
    opacity: 0;
  }
  .menu .menu-wrap .hamburger {
    z-index: 103;
    width: 1.7em;
    height: 1.7em;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
  }
  .menu .menu-wrap .hamburger > div {
    position: relative;
    flex: none;
    width: inherit;
    height: 2px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s ease;
  }
  .menu .menu-wrap .hamburger > div::before,
  .menu .menu-wrap .hamburger > div::after {
    content: "";
    position: absolute;
    top: -350%;
    width: inherit;
    height: 2px;
    background-color: inherit;
  }
  .menu .menu-wrap .hamburger > div::after {
    top: 350%;
  }
  .menu .menu-wrap .menu-show {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 102;
    width: 100%;
    height: 100svh;
    overflow: hidden;
    animation: fadeOutAnimation ease-in 0.5s forwards;
    opacity: 0;
    visibility: hidden;
    scroll-snap-stop: always;
  }
  .menu .menu-wrap .menu-show > div {
    overflow: hidden;
    background-color: #fff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100svh;
  }
  .menu .menu-wrap .menu-show > div > div {
    height: 100svh;
    margin: auto;
    transition: opacity 0.5s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel {
    overflow: hidden;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 10%;
  }
  .menu .menu-wrap .menu-show .menu-panel .panel {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    gap: 3em;
    width: 100%;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel {
    width: 100%;
    display: flex;
    justify-self: center;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a {
    width: 100%;
    display: flex;
    gap: 5%;
    stroke: #000;
    color: #000;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a h2 {
    width: 30%;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .arrow {
    display: flex;
    justify-content: flex-start;
    padding-block: 1em;
    padding-block: clamp(0.3em, 2vw, 1em);
    width: 4em;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .arrow .arrow-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 2.5em;
    height: 2px;
    background-color: #000;
    transition: width 0.4s ease;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .arrow:hover .arrow-right {
    width: 5em;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .arrow svg {
    width: 1.6em;
    stroke-width: 2px;
    color: #000;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a .button-font {
    width: 55%;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel a:hover .arrow-right {
    width: 100%;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel .start-php {
    transition: all 0.8s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .left-side-of-panel .projekt-php {
    transition: all 0.9s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: center;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel h2 {
    transition: all 0.8s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul {
    margin-left: 0;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul li {
    padding-bottom: 1.5em;
    padding-bottom: clamp(0.8em, 5vw, 1.5em);
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul li a span {
    display: flex;
    gap: 1em;
    justify-content: baseline;
    align-items: center;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul li a span img {
    width: 1.66em;
    width: clamp(1.11em, 10vw, 1.66em);
    aspect-ratio: 0.76;
    scale: 1;
    transition: scale 0.6s ease;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul li:hover a span img {
    scale: 1.6;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul .stadtebau-php {
    transition: all 0.8s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul .architektur-php {
    transition: all 0.9s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul .zusammenleben-php {
    transition: all 1s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul .okologie-php {
    transition: all 1.1s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul .mobilitat-php {
    transition: all 1.2s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul .energieefizient-php {
    transition: all 1.3s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .right-side-of-panel ul .digitalisierung-php {
    transition: all 1.4s ease-in;
  }
  .menu .menu-wrap .menu-show .menu-panel .informations {
    display: none;
  }
  .menu .menu-wrap .toggler:checked + .hamburger > div {
    transform: rotate(135deg);
  }
  .menu .menu-wrap .toggler:checked + .hamburger > div:before,
  .menu .menu-wrap .toggler:checked + .hamburger > div:after {
    top: 0;
    transform: rotate(90deg);
  }
  .menu .menu-wrap .toggler:checked:hover + .hamburger > div {
    transform: rotate(225deg);
  }
  .menu .menu-wrap .toggler:checked ~ .menu-show {
    animation: fadeInAnimation ease-in 0.5s forwards;
    visibility: visible;
    opacity: 1;
  }
  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
      visibility: hidden;
      width: 1%;
    }
    100% {
      opacity: 100%;
      visibility: visible;
      width: 100%;
    }
  }
  @keyframes fadeOutAnimation {
    0% {
      opacity: 1;
      visibility: visible;
      width: 100%;
    }
    100% {
      opacity: 0;
      visibility: hidden;
      width: 1%;
    }
  }
}