/* Gemeinsame Grundlage für Startseite und Rechtstexte: lokale Schriften, Basis, Header, Footer. */
@font-face {
  font-family: 'Albert Sans';
  src: url('../fonts/Albert_Sans/AlbertSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader/Newsreader-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #000;
  color: #E6E6E6;
  font-family: 'Albert Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #E6E6E6; text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: #FFFFFF; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid #62A878; outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Bausteine */
.page { min-height: 100vh; background: #000; overflow-x: clip; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.eyebrow { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.14em; color: #6A6A6A; text-transform: uppercase; }
.eyebrow--sm { font-size: 11px; }
.muted { color: #8A8A8A; }
.body-text { font-size: 15px; line-height: 1.55; color: #8A8A8A; }
.h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.serif { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 300; }
.card { border: 1px solid #1F1F1F; border-radius: 24px; background: #0A0A0A; }
.ring { position: absolute; left: 50%; border-radius: 50%; border: 1.5px solid #1C1C1C; pointer-events: none; box-shadow: 0 -40px 160px rgba(63,122,85,0.10); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  border: none; border-radius: 14px; background: #3F7A55; color: #F2F2F2; font-weight: 500; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn-primary:hover { background: #46875E; color: #FFFFFF; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #141414; }
.site-header .wrap { height: 72px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo span { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.main-nav a, .footer-nav a { color: #8A8A8A; }
.main-nav a:hover, .footer-nav a:hover { color: #E6E6E6; }

/* Footer */
.site-footer { border-top: 1px solid #141414; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-right: auto; font-size: 14px; color: #8A8A8A; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }

@media (max-width: 480px) {
  .site-header .wrap { height: 64px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
