* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 17px;
}

@media screen and (max-width: 820px) {
  html {
    font-size: calc(15px + 6 * ((100vw - 320px) / 680));
  }
}


/* =========================
   MENÜBUTTON
========================= */

.menu-logo {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);

  width: 8rem;
  height: 8rem;

  border: 0;
  padding: 0;
  background: transparent;

  cursor: pointer;
  z-index: 1000;

  filter: drop-shadow(
    0 0.8em 0.9em rgba(0, 0, 0, 0.3)
  );

  animation: menu-pulse 1.8s ease-in-out infinite;
}

.menu-logo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.menu-logo:hover {
  animation-play-state: paused;
}

/* Logo ausblenden, wenn Menü geöffnet ist */

.menu-logo.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  animation: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}


@keyframes menu-pulse {
  0%,
  100% {
    transform:
      translateX(-50%)
      translateY(0)
      scale(1);
  }

  50% {
    transform:
      translateX(-50%)
      translateY(-10%)
      scale(1.1);
  }
}

.menu-overlay .main-menu,
.menu-overlay .meta-menu,
.menu-overlay .social-icons
{
  opacity: 0;

  transition:
    opacity 0.3s ease;
}
.menu-logo,
.menu-overlay.is-open .main-menu,
.menu-overlay.is-open .meta-menu,
.menu-overlay.is-open .social-icons
{
  opacity: 1;
  transition-delay: 0.35s;
}

/* =========================
   OVERLAY
========================= */

.menu-overlay {
  position: fixed;
  inset: 0;

  display: block;

  min-height: 100dvh;
  overflow: hidden;

  background: #000;
  color: #fff;

  z-index: 900;

  clip-path: circle(
    0 at 50% calc(100% - 6.5rem)
  );

  -webkit-clip-path: circle(
    0 at 50% calc(100% - 6.5rem)
  );

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    clip-path 0.8s ease,
    opacity 0s linear 0.8s,
    visibility 0s linear 0.8s;

  will-change: clip-path;
}

.menu-overlay.is-open {
  clip-path: circle(
    150vmax at 50% calc(100% - 6.5rem)
  );

  -webkit-clip-path: circle(
    150vmax at 50% calc(100% - 6.5rem)
  );

  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    clip-path 0.8s ease,
    opacity 0s linear 0s,
    visibility 0s linear 0s;
}


/* =========================
   CLOSE-BUTTON
========================= */

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 3rem;
  height: 3rem;

  border: 0;
  border-radius: 50%;
  padding: 0;

  background-color: #fff;

  cursor: pointer;
  z-index: 1001;

  transform: translate(0, 0) scale(1);

  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.menu-close:hover {
  transform: translate(-10%, 10%) scale(1.3);
  /* background-color: #aaa; */
}

.menu-close img {
  display: block;

  width: 65%;
  height: 65%;

  object-fit: contain;
}

.menu-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 0.25rem;
}


/* =========================
   HAUPTMENÜ
========================= */

.main-menu {
  position: absolute;
  top: 1rem;
  left: 1rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-menu a {
  display: block;

  font-family:
    "PP Neue Montreal",
    Arial,
    sans-serif;

  font-size: 5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: -0.025em;
  word-break: break-word;

  color: #fff;
  text-decoration: none;

  transition:
    font-size 0.3s ease,
    color 0.3s ease;
}

.main-menu a:hover {
  font-size: 5.5rem;
  /* color: #aaaaaa; */
}


/* =========================
   META-MENÜ
========================= */

.meta-menu {
  position: absolute;
  left: 45%;
  bottom: 1rem;

  display: flex;
  flex-direction: column;
  align-items: left;

  text-align: left;
}

.meta-menu a {
  font-family:
    "PP Neue Montreal",
    Arial,
    sans-serif;

  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: -0.025em;

  color: #fff;
  text-decoration: none;

  cursor: pointer;

  transition:
    font-size 0.3s ease,
    color 0.3s ease;
}

.meta-menu a:hover {
  font-size: 1.8rem;
}


/* =========================
   SPRACHE
========================= */

.lang-switch {
  position: absolute;
  left:1rem;
  right: auto;
  bottom: 1rem;

  font-family:
    "PP Neue Montreal",
    Arial,
    sans-serif;

  font-size: 5rem;
  line-height: 0.8;
  font-weight: 800;

  letter-spacing: -0.06em;

  color: #fff;
  text-decoration: none;

  transition:
    font-size 0.3s ease,
    color 0.3s ease;
}

.lang-switch:hover {
  font-size: 5.5rem;
  /* color: #aaaaaa; */
}


/* =========================
   SOCIAL MEDIA
========================= */

.social-icons {
  position: absolute;
  right: 1rem;
  bottom: 1rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 0;
  margin: 0;
}

.social-icons a {
  display: block;

  width: auto;
  height: auto;

  font-family:
    "PP Neue Montreal",
    Arial,
    sans-serif;

  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: -0.025em;

  color: #fff;
  text-decoration: none;

  transition:
    font-size 0.3s ease,
    color 0.3s ease;
}

.social-icons a:hover {
  font-size: 1.8rem;
  /* color: #aaaaaa; */
}


/* =========================
   MOBILE
========================= */

@media (max-width: 48rem) {
  .menu-overlay {
    overflow-y: auto;
  }

  .meta-menu {
    left: 1rem;
    bottom: 12rem;

    transform: none;
  }

  .main-menu a{
    font-size: 3.6rem;
  }

  .lang-switch a{
    font-size: 3.6rem;
  }

  .social-icons {
    left: 1rem;
    bottom: 8rem;
  }

  .menu-close{
    top: auto;
    bottom: 1rem;
    right: 1rem;

    width: 4rem;
    height: 4rem;
  }
}