/* Tagwerk, Impressum und Datenschutz: dieselben Farben, Schriften und
   Pixel-Ecken wie die Startseite (website/index.html). */
:root {
  --paper: #edf1e2;
  --paper-2: #e2e8d2;
  --panel: #f7f9f0;
  --ink: #1f3a2e;
  --ink-2: #4b6455;
  --line: #c3cfb2;
  --lantern: #f2c14e;
  --lantern-deep: #d9a22b;
  --focus: #1f3a2e;
  --step: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121a1f; --paper-2: #18232a; --panel: #1b272e; --ink: #e6ecdd; --ink-2: #aebba8;
    --line: #2d3d36; --focus: #f2c14e;
  }
}
:root[data-theme="dark"] {
  --paper: #121a1f; --paper-2: #18232a; --panel: #1b272e; --ink: #e6ecdd; --ink-2: #aebba8;
  --line: #2d3d36; --focus: #f2c14e;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Pixelify Sans", "Courier New", monospace; font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.35rem; font-weight: 500; margin: 2rem 0 0.4rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap.schmal { width: min(760px, 100% - 2.5rem); }
.lead { font-size: 1.25rem; color: var(--ink-2); }
.px {
  clip-path: polygon(0 var(--step), var(--step) var(--step), var(--step) 0, calc(100% - var(--step)) 0,
    calc(100% - var(--step)) var(--step), 100% var(--step), 100% calc(100% - var(--step)),
    calc(100% - var(--step)) calc(100% - var(--step)), calc(100% - var(--step)) 100%, var(--step) 100%,
    var(--step) calc(100% - var(--step)), 0 calc(100% - var(--step)));
}
.btn {
  --step: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Pixelify Sans", "Courier New", monospace; font-weight: 700; font-size: 1.15rem;
  padding: 0.75rem 1.4rem 0.85rem; border: 0; cursor: pointer; text-decoration: none;
  background: var(--lantern); color: #1f2a20; box-shadow: inset 0 -5px 0 var(--lantern-deep);
}
.btn:hover { background: #f6cd68; }
.btn:focus-visible { outline: none; box-shadow: inset 0 -5px 0 var(--lantern-deep), inset 0 0 0 3px #1f2a20; }

/* Kopf: wie das mitlaufende Menü der Startseite unterhalb des Hero */
.top { position: sticky; top: 0; z-index: 20; background: rgba(31, 58, 46, 0.97); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.brand img { display: block; height: 40px; width: auto; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)); }
.brand:focus-visible { outline: 3px solid #fffbe8; outline-offset: 3px; }
.top nav { display: flex; align-items: center; gap: 1.4rem; }
.top nav a:not(.btn) { color: #fffbe8; text-decoration: none; font-weight: 700; white-space: nowrap; }
.top nav a:not(.btn):hover { text-decoration: underline; }
.top nav a:focus-visible { outline: 3px solid #fffbe8; outline-offset: 3px; }
.top .btn { font-size: 1rem; padding: 0.5rem 1rem 0.6rem; }

/* Rechtstext */
.recht { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.recht h2 { margin-top: 2.4rem; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.recht h3 { margin-top: 1.6rem; }
.recht address { font-style: normal; }
.recht .stand { color: var(--ink-2); font-size: 0.95rem; margin-top: 2.4rem; }
footer { padding: 2.5rem 0 3rem; font-size: 0.98rem; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer nav { display: flex; gap: 1.4rem; }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }
