/* Grundlegende Seiteneinstellungen */
:root {
  color-scheme: light;
  --background: #ffffff;
  --text: #222222;
  --link: #555555;
  --link-hover: #000000;
  --content-width: 900px;
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 150ms ease;
}

a:hover {
  color: var(--link-hover);
}

a:focus-visible {
  color: var(--link-hover);
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Startseite */
.landing-page {
  overflow-x: hidden;
}

.landing {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 32px 20px;
}

.landing__content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.landing__logo {
  display: block;
  width: min(100%, 600px);
  max-height: 60vh;
  object-fit: contain;
  height: auto;
}

.landing__link {
  margin-top: 40px;
  font-size: 0.9375rem;
}

/* Impressum */
.legal-page {
  padding: clamp(28px, 6vw, 72px) 20px;
}

.legal-page__container {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.back-link {
  display: inline-block;
  margin-bottom: clamp(36px, 6vw, 64px);
  font-size: 0.9375rem;
}

.legal-content h1 {
  margin: 0 0 1.5em;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.legal-content h2 {
  margin: 2.25em 0 0.65em;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.3;
}

.legal-content p {
  margin: 0 0 1.35em;
}

@media (max-width: 640px) {
  .landing {
    padding-inline: 24px;
  }

  .landing__logo {
    width: min(100%, 520px);
  }

  .legal-page {
    padding-inline: 24px;
  }
}
