/* Schriften: lokal eingebunden (keine Anfragen an Google Fonts) */
@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/red-hat-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Text";
  src: url("fonts/red-hat-text-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Markenfarben aus dem Logo-Set */
:root {
  --green: #1E3A2F;
  --sage: #4E5E56;
  --gold: #C99A2E;
  --mist: #E2EAE5;

  --bg: #F6F7F3;
  --text: var(--green);
  --muted: var(--sage);
  --faint: #6F7C75;
  --rule: #D6DDD8;
  --accent: var(--gold);
  --link: var(--green);

  --display: "Red Hat Display", system-ui, sans-serif;
  --body: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--green);
    --text: #FFFFFF;
    --muted: var(--mist);
    --faint: #A9BBB1;
    --rule: #355446;
    --link: #FFFFFF;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Startseite: zentrierte Visitenkarte */
.card {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 16px 32px;
}

.card .logo { display: block; width: min(320px, 72vw); height: auto; }

.divider {
  width: 56px;
  height: 3px;
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  margin: 36px 0 28px;
}

.pitch { color: var(--muted); max-width: 28em; margin: 0; }

.contact {
  margin: 32px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.legal {
  margin-top: 72px;
  font-size: 14px;
  color: var(--faint);
}
.legal a { color: var(--faint); text-decoration-thickness: 1px; text-decoration-color: var(--rule); }
.legal a:hover { color: var(--text); text-decoration-color: var(--accent); }

/* Unterseiten: Impressum, Datenschutz */
.page { max-width: 680px; margin: 0 auto; padding: 40px 16px 64px; }

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.page-header .logo-link { text-decoration: none; line-height: 0; }
.page-header .logo { width: 128px; height: auto; }
.page-header .back { font-size: 15px; }

.page h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 6vw, 38px);
  line-height: 1.15;
  margin: 40px 0 8px;
}
.page h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 18px;
}

.page h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  margin: 36px 0 6px;
}

.page p, .page address { color: var(--muted); font-style: normal; margin: 0 0 12px; }
.page .stand { margin-top: 48px; font-size: 14px; color: var(--faint); }

.page-footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
.page-footer a { color: var(--faint); text-decoration-thickness: 1px; text-decoration-color: var(--rule); }
.page-footer a:hover { color: var(--text); text-decoration-color: var(--accent); }
