.legal-hero {
  display: flex;
  align-items: center;
  width: 100%;
  height: 750px;
  background: url("../assets/img/backgrounds/skills-background.webp") bottom
    center / 115% 115% no-repeat;

  @media (max-width: 1000px) {
    height: 400px;
    padding-top: 10rem;
  }
}

.legal-hero__title {
  color: var(--base-color-bright);
  font-size: clamp(1.5rem, 7.5vw, 6.25rem);
  line-height: 1;
}

.legal {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 4rem;
  line-height: 1.7;
  overflow-wrap: break-word;

  @media (max-width: 750px) {
    min-height: calc(100vh - 400px);
  }

  & h2 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }

  & h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
  }

  & p,
  & li {
    margin-bottom: 0.75rem;
  }

  & site-footer {
    margin-top: auto;
  }
}

.legal__text--de {
  html[lang="en"] & {
    display: none;
  }
}

.legal__text--en {
  display: none;

  html[lang="en"] & {
    display: block;
  }
}
