/* Shared by impressum.html and datenschutz.html. Mirrors the tokens in src/styles/globals.css
   so the legal pages read as the same site; they are static HTML and cannot import the bundle. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/archivo-800-latin-ext.woff2') format('woff2'); 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: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/archivo-800-latin.woff2') format('woff2'); 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: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/geist-400-latin-ext.woff2') format('woff2'); 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: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/geist-400-latin.woff2') format('woff2'); 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: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/geist-500-latin-ext.woff2') format('woff2'); 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: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/geist-500-latin.woff2') format('woff2'); 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: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/geistmono-400-latin-ext.woff2') format('woff2'); 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: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/geistmono-400-latin.woff2') format('woff2'); 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; }

:root {
  --sc-canvas:   #050505;
  --sc-surface:  #0f0f0f;
  --sc-ink:      #f2f2f2;
  --sc-ink-mid:  #b8b8b8;
  --sc-ink-soft: #8c8c8c;
  --sc-accent:   #5fa3ea;
  --sc-font-display: 'Archivo', system-ui, sans-serif;
  --sc-font-text:    'Geist', system-ui, sans-serif;
  --font-mono:       'Geist Mono', ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--sc-font-text);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--sc-canvas);
  color: var(--sc-ink-mid);
  -webkit-font-smoothing: antialiased;
}

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.legal__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal__brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--sc-ink); text-decoration: none; }
.legal__brand img { display: block; width: 24px; height: 24px; }
.legal__nav { margin-left: auto; display: flex; gap: 1rem; }
.legal__nav a { color: var(--sc-ink-soft); text-decoration: none; }
.legal__nav a[aria-current='page'] { color: var(--sc-ink); }
.legal__nav a:hover, .legal__brand:hover { color: var(--sc-accent); }

h1 {
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--sc-ink);
}

.legal__stand {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-ink-soft);
}

h2 {
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--sc-ink);
  margin: 3rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1f1f1f;
}

p, li { margin-bottom: 0.75rem; }
ul { padding-left: 1.1rem; }
li::marker { color: var(--sc-ink-soft); }
strong { color: var(--sc-ink); font-weight: 500; }

a { color: var(--sc-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .legal__brand:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; }

/* Touch: standalone links need a 44px target. Links inside a sentence are exempt and stay inline. */
@media (pointer: coarse) {
  .legal__nav a, .legal__brand { display: inline-flex; align-items: center; min-height: 44px; }
}
