/* Gemeinsame Styles für Impressum und Datenschutz – Tokens wie auf der Startseite (index.html) */

/* ---------- Schriften (lokal gehostet) ---------- */
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --ink: #0a0a0b;
  --surface: #2a2a2c;
  --surface-2: #212123;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f4f2ee;
  --muted: #b4b2ad;
  --muted-2: #9b9995;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header { background: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.brand-name { font-family: var(--serif); font-size: 1.25rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.btn:hover { border-color: var(--text); }

@media (max-width: 420px) {
  .brand-name { display: none; }
}

/* ---------- Inhalt ---------- */
.legal {
  width: min(100% - 2 * var(--gutter), 760px);
  margin-inline: auto;
  padding-block: clamp(56px, 8vw, 96px);
}
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--muted);
}
.legal h1 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  hyphens: auto;
  overflow-wrap: break-word;
}
.legal .intro { margin: 0; font-size: 1.0625rem; color: var(--muted); }
.legal h2 {
  margin: 48px 0 12px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.2;
}
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 1.2em; }
.legal li + li { margin-top: 4px; }
.legal strong { font-weight: 600; color: var(--text); }
.legal address { margin: 0 0 12px; font-style: normal; color: var(--text); }
.legal a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.2s;
}
.legal a:hover { text-decoration-color: var(--text); }
.legal .stand { margin-top: 48px; font-size: 0.875rem; color: var(--muted-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 0.8125rem;
  color: var(--muted-2);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover,
.footer-legal a[aria-current="page"] { color: var(--text); }
