:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #101114;
  --ink: #101114;
  --muted: #7b7e86;
  --border: #c8c9cd;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

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

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}

a {
  color: inherit;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 2rem 1.5rem 0;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
}

.language-switch {
  display: inline-flex;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

header p,
header a {
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

header p {
  font-size: 0.9375rem;
}

header a {
  color: var(--ink);
  font-size: 0.8125rem;
  text-underline-offset: 0.25rem;
  transition: opacity 160ms ease;
}

header a:hover,
header a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible,
footer a:hover,
footer a:focus-visible {
  opacity: 0.7;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 4rem 1.5rem 0;
}

/* Typografie greift nur, falls das Logo nicht lädt und der alt-Text erscheint. */
.wordmark {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.wordmark img {
  display: block;
  width: clamp(15.5rem, 46vw, 38rem);
  height: auto;
}

.intro {
  max-width: 47.5rem;
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.desktop-break {
  display: none;
}

.columns {
  display: grid;
  gap: 3rem 1.5rem;
  margin-top: 4rem;
  padding: 0 1.5rem;
}

.column h2 {
  margin: 0;
  border-bottom: 4px solid var(--ink);
  padding-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.column li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.references {
  display: grid;
  gap: 1.5rem;
  margin-top: 6rem;
  padding: 3.5rem 1.5rem;
  background: var(--foreground);
  color: var(--background);
}

.references h2 {
  margin: 0;
  color: rgb(255 255 255 / 0.6);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reference-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.reference-content p {
  margin: 0;
}

.reference-copy {
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.reference-note {
  color: rgb(255 255 255 / 0.6);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-top: 0.5rem;
  border: 1px solid rgb(255 255 255 / 0.6);
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 160ms ease;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin: 6rem 1.5rem 0;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 4.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.7;
}

footer p {
  margin: 0;
}

footer .imprint-heading {
  margin-bottom: 0.375rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

footer .funding-note {
  max-width: 68.75rem;
}

footer a {
  color: var(--ink);
  transition: opacity 160ms ease;
}

@media (min-width: 48rem) {
  header,
  .hero,
  .columns {
    padding-right: 4rem;
    padding-left: 4rem;
  }

  .hero {
    padding-top: 6rem;
  }

  .columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 6rem;
  }

  .references {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-top: 8rem;
    padding-right: 4rem;
    padding-left: 4rem;
  }

  .references h2 {
    grid-column: span 3;
  }

  .reference-content {
    grid-column: 4 / -1;
  }

  footer {
    margin-right: 4rem;
    margin-left: 4rem;
  }

  .desktop-break {
    display: initial;
  }
}

@media (min-width: 56rem) {
  .reference-note {
    white-space: nowrap;
  }
}
