/* Gemeinsame Gestaltung für Impressum und Datenschutz */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  color-scheme: light;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --paper: #f3f1ec;
  --ink: #141413;
  --muted: #5f5d58;
  --line: rgba(20, 20, 19, 0.12);
  --accent: #c4472b;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(16px, 3.2vw, 48px);
  --gutter: clamp(12px, 1.6vw, 24px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0e0e0d; --ink: #ecebe6; --muted: #9b998f;
    --line: rgba(236, 235, 230, 0.13); --accent: #e0694a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e0e0d; --ink: #ecebe6; --muted: #9b998f;
  --line: rgba(236, 235, 230, 0.13); --accent: #e0694a;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }

.wrap { max-width: 1520px; margin: 0 auto; padding: 0 var(--pad); }
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

.mono {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}

header { border-bottom: 1px solid var(--line); }
header .cols { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 500; }
.tools { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.back { text-decoration: none; white-space: nowrap; }

main { padding: clamp(56px, 10vh, 120px) 0 clamp(80px, 14vh, 160px); }
.head { margin-bottom: clamp(40px, 8vh, 88px); row-gap: 16px; }
.head .mono { grid-column: span 3; padding-top: 1.2em; }
h1 {
  grid-column: 4 / span 9;
  font-weight: 300; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
}
h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.block { border-top: 1px solid var(--line); padding: 28px 0 36px; row-gap: 12px; }
.block h2 {
  grid-column: span 3;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  padding-top: .35em;
}
.block .txt { grid-column: 4 / span 7; max-width: 68ch; }
.txt p + p, .txt p + ul, .txt ul + p { margin-top: .9em; }
.txt ul { padding-left: 1.1em; }
.txt li + li { margin-top: .35em; }
.txt strong { font-weight: 500; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.4; }

footer { border-top: 1px solid var(--line); padding: 22px 0 28px; }
footer .cols { row-gap: 10px; }
footer .a { grid-column: span 6; }
footer .b { grid-column: 7 / span 6; text-align: right; display: flex; gap: 24px; justify-content: flex-end; }
footer a { text-decoration: none; }

@media (max-width: 760px) {
  .head .mono, h1, .block h2, .block .txt { grid-column: 1 / -1; }
  footer .a, footer .b { grid-column: 1 / -1; text-align: left; justify-content: flex-start; }
}

/* Umschalter Hell / Dunkel / System */
.theme {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px;
}
.theme button {
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.theme button:hover { color: var(--ink); }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.theme svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.theme svg path[d^="M13.5"] { fill: currentColor; stroke: none; }
.theme svg .fill { fill: currentColor; stroke: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 480px) { .back .long { display: none; } .tools { gap: 12px; } }
/* Sehr schmale Handys: nur der Pfeil, der Text bleibt für Screenreader */
@media (max-width: 360px) {
  .back .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .back { font-size: 15px; padding: 4px; }
}
