@font-face {
  font-family: "Rubik";
  src: url("Font/Rubik-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("Font/Rubik-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

[data-seitenmenue] {
  --menue-gruen: #007377;
  --menue-orange: #ffab59;
  min-height: 3.5rem;
}

.menue-taste {
  position: fixed;
  inset: 0.5rem 1rem auto auto;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 0;
  background: #eeeeec;
  color: #202020;
  font: 2rem / 1 Arial, sans-serif;
  cursor: pointer;
}

#seitenmenue {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 4.5rem max(1.5rem, 7vw) 2rem;
  overflow: auto;
  border: 0;
  background: var(--menue-gruen);
  color: white;
  font-family: Rubik, Arial, sans-serif;
}

html:has(#seitenmenue[open]) {
  overflow: hidden;
}

#seitenmenue .menue-taste {
  background: var(--menue-gruen);
  color: white;
}

#seitenmenue nav {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 500;
}

#seitenmenue a {
  display: block;
  padding-block: 0.15em;
  color: white;
  background: transparent;
  text-decoration: none;
}

#seitenmenue a:is([aria-current], :hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-color: var(--menue-orange);
  text-underline-offset: 0.15em;
}

.menue-rechtliches {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin-top: 1.5rem;
  font-size: 1.125rem;
}

.menue-rechtliches a {
  align-content: center;
  min-height: 44px;
}

[data-seitenmenue] :focus-visible {
  outline: 3px solid var(--menue-orange);
  outline-offset: 2px;
}

/* Größe und Position entsprechen dem Logo auf der Startseite. */
#seitenmenue .menue-logo {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 6rem;
  pointer-events: none;
}

#seitenmenue .menue-logo img {
  display: block;
  width: 100%;
  height: auto;
}

#seitenmenue nav {
  box-sizing: border-box;
  padding-bottom: 7rem;
}

@media (min-width: 48rem) {
  #seitenmenue .menue-logo {
    right: 3rem;
    bottom: 1.5rem;
    width: 9rem;
  }

  #seitenmenue nav {
    padding-bottom: 9rem;
  }
}
.menue-taste {
  border-radius: 50%;
  background: var(--hintergrund, #eeeeec);
}