@font-face {
  font-family: "PP Right Grotesk";
  src:
    url("../fonts/PPRightGrotesk-WideMedium.woff2") format("woff2"),
    url("../fonts/PPRightGrotesk-WideMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Right Grotesk";
  src:
    url("../fonts/PPRightGrotesk-WideBlack.woff2") format("woff2"),
    url("../fonts/PPRightGrotesk-WideBlack.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #6cdaff;
  color: #000;
  font-family: "PP Right Grotesk", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  opacity: 0.7;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  width: 100%;
}

.hero__image--desktop {
  display: none;
}

.hero__image--mobile {
  display: block;
  width: 100%;
}

.content {
  flex: 1;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.content__col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.content p {
  margin: 0;
}

.content .highlight {
  font-weight: 900;
}

.footer {
  padding: 0 1.5rem 2rem;
  font-size: 0.875rem;
  text-align: left;
}

.footer--home {
  max-width: 90rem;
  margin: 0 auto;
  width: 100%;
}

/* Impressum */
.page--legal .content {
  display: block;
  max-width: 72rem;
  padding: 3rem 1.5rem 4rem;
}

.page--legal .content h1 {
  margin: 0 0 2rem;
  font-size: 1em;
  font-weight: 900;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1em;
  font-weight: 900;
}

.legal-section p {
  margin: 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }

  .hero__image--desktop {
    display: block;
    width: 100%;
  }

  .hero__image--mobile {
    display: none;
  }

  .content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3.5rem 3.5rem 5rem;
  }

  .content__col--right {
    padding-top: calc(1lh + 1.75rem);
  }

  .footer {
    text-align: right;
    padding: 0 3.5rem 2.5rem;
  }

  .page--legal .content {
    padding: 4rem 3.5rem;
  }
}
