:root {
  --yellow: #f5c400;
  --yellow-dark: #5a4600;
  --ink: #131210;
  --paper: #fff;
  --zone: #f1f0ea;
  --line: #dad8ce;
  --muted: #6e6a60;
  --cyan: #37b0e6;
  --sans: "Fira Sans", Arial, sans-serif;
  --cond: "Fira Sans Condensed", "Fira Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings:
    "tnum" 1,
    "lnum" 1;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Kopfbereich ---------- */

.masthead {
  background: var(--yellow);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid rgba(19, 18, 16, 0.22);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 19px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 8px;
}
.brand-mark svg {
  width: 21px;
  height: 21px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  border-bottom: 1px solid transparent;
  padding: 5px 0;
}
.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--ink);
}
.language {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(19, 18, 16, 0.45);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.page-head {
  padding: 74px 0 60px;
}
.page-head .eyebrow {
  margin: 0 0 14px;
  color: var(--yellow-dark);
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.page-head h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--cond);
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.page-head .lede {
  max-width: 52ch;
  margin: 24px 0 0;
  color: var(--yellow-dark);
  font-size: 18px;
  line-height: 1.55;
}

/* ---------- Inhalt ---------- */

.doc {
  padding: 84px 0 104px;
}
.doc .shell {
  width: min(760px, calc(100% - 48px));
  margin-left: max(24px, calc((100% - 1180px) / 2));
}
.doc section {
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.doc section:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.doc section + section {
  margin-top: 44px;
}
.doc h2 {
  margin: 0 0 20px;
  font-family: var(--cond);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.doc h2 .num {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.doc h3 {
  margin: 30px 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.doc p,
.doc li {
  margin: 0 0 15px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #332f29;
}
.doc ul {
  margin: 0 0 15px;
  padding-left: 20px;
}
.doc li {
  margin-bottom: 7px;
}
.doc address {
  margin: 0 0 15px;
  font-size: 16.5px;
  font-style: normal;
  line-height: 1.62;
}
.doc a:not(.button) {
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.doc a:not(.button):hover {
  border-color: var(--ink);
}
.doc strong {
  font-weight: 700;
}

.fill {
  padding: 1px 5px;
  background: rgba(245, 196, 0, 0.42);
  border-bottom: 1px dashed var(--yellow-dark);
  font-weight: 600;
}

.callout {
  margin: 0 0 15px;
  padding: 22px 24px;
  background: var(--zone);
  border-left: 4px solid var(--yellow);
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout .callout-title {
  margin-bottom: 8px;
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  background: #2d2a25;
  transform: translateY(-2px);
}

/* ---------- Fuß ---------- */

footer {
  padding: 25px 0;
  background: var(--ink);
  color: #c9c4b8;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  border-bottom: 1px solid transparent;
}
.footer-links a:hover,
.footer-links a[aria-current="page"] {
  border-color: #c9c4b8;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .shell,
  .doc .shell {
    width: min(100% - 40px, 520px);
    margin-left: auto;
    margin-right: auto;
  }
  .topbar {
    padding: 18px 0;
    gap: 16px;
  }
  .nav {
    gap: 16px;
    font-size: 13px;
  }
  .brand span:last-child {
    display: none;
  }
  .page-head {
    padding: 48px 0 42px;
  }
  .page-head h1 {
    font-size: clamp(42px, 13vw, 64px);
  }
  .page-head .lede {
    font-size: 16.5px;
  }
  .doc {
    padding: 56px 0 72px;
  }
  .doc section {
    padding-top: 34px;
  }
  .doc section + section {
    margin-top: 34px;
  }
  .footer-inner {
    flex-direction: column;
  }
}
