/* Open Monolith — Corporate Stylesheet
   Papier/Ink/Akzent Farbsystem, hell + dunkel via prefers-color-scheme */

/* Selbst gehostete Google Fonts (DSGVO: keine Verbindung zu Google-Servern).
   Lizenz: SIL Open Font License 1.1, siehe fonts/LICENSE-NOTE.txt */

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-black-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-black-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/source-sans-3-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/source-sans-3-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f4f4f2;
  --paper-raised: #ffffff;
  --ink: #1b1e1c;
  --ink-soft: #4b504c;
  --accent: #177a4c;
  --line: #d8d8d4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17191b;
    --paper-raised: #1f2224;
    --ink: #e8eae7;
    --ink-soft: #a9aead;
    --accent: #4cc08a;
    --line: #303434;
  }
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  text-decoration-thickness: 2px;
}

.wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header + Wordmark */

header.site {
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0 1.5rem;
}

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.wordmark {
  font-family: "Archivo Black", "Arial Black", Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  color: var(--accent);
}

nav.main {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
}

nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
}

nav.main a:hover,
nav.main a[aria-current="page"] {
  color: var(--accent);
}

/* Main content */

main {
  padding: 3rem 0 4rem;
}

main h1 {
  font-family: "Archivo Black", "Arial Black", Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

main h2 {
  font-family: "Archivo Black", "Arial Black", Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  margin: 2.75rem 0 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

main h2:first-of-type {
  margin-top: 2.5rem;
}

main p {
  margin: 0 0 1.1rem;
  color: var(--ink);
}

main .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

main ul {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}

main li {
  margin-bottom: 0.5rem;
}

main strong {
  font-weight: 600;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.25rem 1.35rem;
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.status {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  margin-top: 0.75rem;
}

.legal-block {
  margin-bottom: 1.75rem;
}

.legal-block h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 2rem;
}

address {
  font-style: normal;
}

.hinweis {
  border-left: 4px solid var(--accent);
  background: var(--paper-raised);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.hinweis p {
  margin: 0;
}

.hinweis p + p {
  margin-top: 0.75rem;
}

/* Footer */

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

footer.site nav a {
  color: var(--ink-soft);
  margin-left: 1.25rem;
}

footer.site nav a:first-child {
  margin-left: 0;
}

footer.site nav a:hover {
  color: var(--accent);
}

@media (max-width: 480px) {
  footer.site .wrap {
    flex-direction: column;
  }

  footer.site nav a:first-child {
    margin-left: 0;
  }
}
