/* Delvo.Studio, Rechtsseiten (Impressum, Datenschutz): dieselbe dunkle Welt wie die Startseite, ohne Bewegung */

/* Schriften (selbst gehostet) */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* Werte */
:root {
  --night: #07070a;
  --paper: #f4f2ee;
  --ink: #07070a;
  --mute: rgba(244, 242, 238, .72);
  --line: rgba(244, 242, 238, .14);
  --magenta: #ff2d87;
  --cyan: #38e8ff;
  --ease-sig: cubic-bezier(.16, .84, .2, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --head-h: 72px;
  --f-d: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-b: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head-h); overflow-x: clip; background: var(--night); }
body {
  margin: 0;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--night);
  color: var(--paper);
  font-family: var(--f-b);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 1200px) { body { font-size: 1.125rem; } }
h1, h2, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
::selection { background: var(--magenta); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 2000; padding: .75rem 1.1rem; border-radius: 999px; background: var(--cyan); color: var(--ink); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* Kopfzeile: Wortmarke links, Rücksprung rechts, fest, 72 px */
.site-header {
  position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-inline: var(--gutter);
  background: rgba(7, 7, 10, .92);
  border-bottom: 1px solid var(--line);
}
.brand, .footer-mark { font-family: var(--f-d); font-size: 1.1rem; font-weight: 700; font-variation-settings: "wdth" 100, "wght" 700; letter-spacing: -.01em; text-transform: lowercase; text-decoration: none; margin: 0; }
.nav-link, .site-footer nav a, .site-footer .footer-row > a {
  position: relative; display: inline-block; padding-block: .4rem; font-size: .9375rem; font-weight: 500; text-decoration: none;
}
.nav-link::after, .site-footer nav a::after, .site-footer .footer-row > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease-sig);
}
@media (hover: hover) { .nav-link:hover::after, .site-footer nav a:hover::after, .site-footer .footer-row > a:hover::after { transform: scaleX(1); } }
.nav-link:focus-visible::after, .site-footer nav a:focus-visible::after, .site-footer .footer-row > a:focus-visible::after { transform: scaleX(1); }

/* Text: eine Spalte, höchstens 70 Zeichen breit */
.legal {
  flex: 1 0 auto;
  width: 100%; max-width: calc(70ch + 2 * var(--gutter));
  margin-inline: auto;
  padding: calc(var(--head-h) + clamp(3rem, 8vw, 6rem)) var(--gutter) clamp(4rem, 9vw, 7rem);
}
.legal h1 {
  font-family: var(--f-d);
  font-weight: 880;
  font-variation-settings: "wdth" 125, "wght" 880;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .92;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow-wrap: break-word;
}
.legal h2 {
  font-family: var(--f-d);
  font-weight: 700;
  font-variation-settings: "wdth" 110, "wght" 700;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: clamp(2rem, 4vw, 3rem) 0 .75rem;
}
.legal p, .legal li { color: var(--mute); }
.legal p + p { margin-top: 1rem; }
.legal ul { margin: 1rem 0; padding-left: 1.25rem; list-style: disc; }
.legal li + li { margin-top: .4rem; }
.legal li::marker { color: var(--cyan); }
.legal a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; transition: text-decoration-thickness .3s var(--ease-sig); }
.legal a:hover { text-decoration-thickness: 2px; }
.legal .todo { color: var(--paper); }

/* Fußzeile: wie auf der Startseite, ohne Welle und ohne große Wortmarke */
.site-footer { flex-shrink: 0; position: relative; background: var(--night); color: var(--paper); }
.footer-row {
  position: relative; max-width: 1448px; width: 100%; margin: 0 auto; padding: 1.5rem var(--gutter) 2rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem 2rem;
}
.footer-row::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 2rem; }
.footer-row > a { justify-self: end; }
@media (max-width: 759px) {
  .footer-row { grid-template-columns: 1fr; justify-items: start; }
  .site-footer nav { justify-content: flex-start; gap: .25rem 1.5rem; }
  .footer-row > a { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .nav-link::after, .site-footer a::after, .legal a { transition: none; } }
.legal .todo-note { display: block; margin-bottom: .35rem; font-family: var(--f-m); font-size: .8125rem; letter-spacing: .04em; color: var(--cyan); }
