/* Theme „Campus Editorial“ – Papier, Serifen-Überschriften, Waldgrün und Messing */
:root {
  --bg: #faf6ee;
  --surface: #fffdf8;
  --text: #1f2a24;
  --muted: #5e6a62;
  --border: #e4dccb;
  --accent: #1d5c46;
  --accent-ink: #fffdf8;
  --accent-soft: #e6efe9;
  --brass: #b0802b;
  --radius: 6px;
  --max: 1000px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131714;
    --surface: #1a201c;
    --text: #ece6d8;
    --muted: #a8ad9f;
    --border: #2f3830;
    --accent: #8fd1b0;
    --accent-ink: #0f1f17;
    --accent-soft: rgba(143, 209, 176, .12);
    --brass: #e0b45a;
  }
}
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); }
h1, h2, h3, .logo { font-family: var(--serif); }
h1 { font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.2rem); letter-spacing: -.01em; line-height: 1.12; }
h2 { font-weight: 700; font-size: 1.55rem; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
h3 { font-weight: 700; }
header.site { background: var(--bg); border-bottom: 3px double var(--border); }
.logo { font-size: 1.35rem; font-weight: 700; }
.logo span { color: var(--brass); }
nav.main a { color: var(--text); padding: 2px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--brass); }
.lead { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.badge { background: transparent; color: var(--brass); border: 1px solid var(--brass); border-radius: 2px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.card, .panel, .toc, section.faq details {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); box-shadow: none;
}
a.card { transition: border-color .2s, background .2s; }
a.card:hover { border-top-color: var(--brass); background: color-mix(in srgb, var(--surface) 70%, var(--accent-soft)); }
a.card h3 { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brass) 50%, transparent); text-underline-offset: 4px; }
.card .icon { filter: grayscale(.2); }
.btn { border-radius: 2px; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.btn.secondary { border-color: var(--accent); }
.note { border-left: 4px solid var(--brass); border-radius: 0; background: var(--accent-soft); }
table th { font-family: var(--serif); font-size: .95rem; border-bottom: 2px solid var(--text); }
blockquote { font-family: var(--serif); font-style: italic; border-left: 3px solid var(--brass); margin-left: 0; padding-left: 16px; }
footer.site { background: var(--bg); border-top: 3px double var(--border); }
.card p, .card h3 { overflow-wrap: break-word; hyphens: auto; }
