/* ===== Schriften (lokal gehostet, DSGVO-freundlich) ===== */
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Thin.woff") format("woff"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora Web"; src: url("fonts/Lora.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora Web"; src: url("fonts/Lora-Italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #0d0d0d;
  --grey: #8a8a8a;
  --soft: #f1f0ee;
  --line: #e4e3e0;
  --sans: "Inter Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Didot", "Bodoni 72", "Lora Web", Georgia, serif;
  --edge: clamp(16px, 3.6vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

/* ===== Ecken-Navigation (fixiert) ===== */
.corner {
  position: fixed; z-index: 50;
  font-size: clamp(13px, 1.45vw, 21px);
  letter-spacing: -0.01em; text-transform: uppercase; font-weight: 400;
  mix-blend-mode: difference; color: #fff;
}
.corner a { position: relative; }
.corner a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: currentColor; transition: right .5s cubic-bezier(.7,0,.2,1);
}
.corner a:hover::after { right: 0; }
.c-tl { top: 26px; left: var(--edge); }
.c-tr { top: 26px; right: var(--edge); }
.c-tc { top: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.c-tc .serif { font-family: var(--serif); text-transform: uppercase; letter-spacing: .02em; }
.c-tc sup { font-size: .55em; vertical-align: super; }
.c-bl, .c-br { bottom: 22px; font-size: 13px; text-transform: none; letter-spacing: 0; }
.c-bl { left: var(--edge); }
.c-br { right: var(--edge); }
.c-br span { margin: 0 .5em; }

/* Fortschrittsbalken rechts */
.progress { position: fixed; top: 0; right: 0; width: 4px; height: 100vh; z-index: 60; }
.progress i { display: block; width: 100%; height: 12vh; background: var(--ink); transform: translateY(0); }

/* Eigener Cursor (nur mit Maus) */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 1px solid #fff; border-radius: 50%;
  mix-blend-mode: difference; transition: width .3s, height .3s, margin .3s, background .3s;
  display: none;
}
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ===== Typografie-Bausteine ===== */
.serif { font-family: var(--serif); font-weight: 400; }
.label {
  font-size: 13px; text-transform: uppercase; letter-spacing: .02em; font-weight: 400;
}
.muted { color: var(--grey); }

/* ===== Rechtsseiten ===== */
.legal { padding: 150px var(--edge) 140px; }
.legal .inner { max-width: 760px; margin: 0 auto; }
.legal h1 {
  font-weight: 100; font-size: clamp(54px, 10vw, 150px); line-height: .9; letter-spacing: -0.04em;
  margin-bottom: 72px; hyphens: auto;
}
.legal h2 {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(24px, 3.2vw, 38px); line-height: 1.1; margin: 88px 0 12px; letter-spacing: .01em;
}
.legal h3 { font-weight: 400; font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal h4 { font-weight: 400; font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: #3a3a3a; line-height: 1.65; }
.legal p + p { margin-top: .9em; }
.legal ul { margin: 10px 0 0 1.2em; }
.legal a { border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.legal .block { border-top: 1px solid var(--ink); padding: 18px 0 30px; }
.legal .block .label { display: block; margin-bottom: 8px; }
.legal .block p { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; color: var(--ink); font-weight: 300; }
.legal .toc { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--ink); }
.legal .toc li { border-bottom: 1px solid var(--line); }
.legal .toc a { display: block; padding: 14px 0; border: 0; font-size: 20px; color: var(--ink); }
.legal .toc a:hover { padding-left: 10px; transition: padding .3s; }
.legal .source { margin-top: 72px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.legal-foot { padding: 0 var(--edge) 70px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

@media (max-width: 700px) {
  .c-tc { display: none; }
  .c-bl, .c-br { display: none; }
  .progress { display: none; }
  .legal { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
