/* Nordpixel — minimale Lesbarkeit-CSS fuer Legal-Seiten.
   Keine externen Fonts, kein JS. Funktioniert auch ohne Netz. */

:root {
  --bg: #fdfcfa;
  --ink: #1c2433;
  --muted: #5a6478;
  --accent: #1E2D4A;
  --rule: #e6e2d8;
  --max-width: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
}
.site-header .brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-decoration: none;
}
.site-nav a {
  margin-left: 18px;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav a:first-child { margin-left: 0; }

/* Content */
.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.content h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--accent);
}
.content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2em 0 0.5em;
  padding-top: 0.5em;
  border-top: 1px solid var(--rule);
  letter-spacing: -0.01em;
}
.content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5em 0 0.4em;
}
.content p { margin: 0 0 1em; }
.content ul, .content ol { margin: 0 0 1em; padding-left: 1.4em; }
.content li { margin: 0.2em 0; }
.content blockquote {
  margin: 1em 0;
  padding: 0.6em 1em;
  background: #fff;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 0.95em;
}
.content code {
  background: #f2efe9;
  padding: 1px 5px;
  border-radius: 3px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.92em;
  background: #fff;
}
.content th, .content td {
  border: 1px solid var(--rule);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.content th {
  background: #f6f3ed;
  font-weight: 600;
}

/* Footer */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.site-footer a { color: var(--muted); }

/* Print: schlank, ohne Header/Footer-Nav */
@media print {
  .site-header, .site-footer { display: none; }
  .content { max-width: none; padding: 0; }
  body { font-size: 11pt; }
}

/* Reduced motion / dark mode preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181f;
    --ink: #e8e6e0;
    --muted: #9aa2b3;
    --accent: #8fb3ff;
    --rule: #2a2f3a;
  }
  .content blockquote { background: #1c2129; color: var(--ink); }
  .content code { background: #1c2129; color: var(--ink); }
  .content table { background: transparent; }
  .content th { background: #1c2129; }
}
