/* ============================================================
   Franz Kohlack — Legal / Rechtliches pages
   Built on top of colors_and_type.css + styles.css tokens
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
::selection { background: var(--gold-500); color: var(--ink-900); }

body {
  --bg-1: var(--ink-900);
  --fg-1: var(--paper);
  --fg-2: var(--ink-200);
  --fg-3: var(--ink-300);
  --accent: var(--gold-400);
  --hairline: rgba(245, 235, 208, 0.12);
  --hairline-strong: rgba(245, 235, 208, 0.24);
}

.legal-shell { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Header (reuses landing header look) */
.fk-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(245, 235, 208, 0.10);
}
.fk-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 20px 96px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.fk-lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.fk-lockup__mono {
  font-family: var(--font-wordmark);
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  background: var(--gradient-foil);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.fk-lockup__word {
  font-family: var(--font-wordmark);
  font-weight: 500; font-size: 12px; letter-spacing: 0.36em; color: var(--paper);
  line-height: 1; border-left: 1px solid rgba(245,235,208,0.20); padding-left: 14px;
}
.fk-header__back {
  font-family: var(--font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-200); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 240ms;
}
.fk-header__back:hover { color: var(--gold-400); }
@media (max-width: 1080px) { .fk-header__inner { padding: 16px 24px; } }

/* Hero */
.legal-hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--hairline);
}
.legal-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-wordmark);
  font-weight: 500; font-size: 12px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--accent);
}
.legal-hero .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 400; font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--paper);
  margin: 24px 0 0;
}
.legal-hero__meta {
  margin-top: 20px; font-family: var(--font-body);
  font-size: 13px; color: var(--ink-300); letter-spacing: 0.04em;
}

/* Body */
.legal-body { padding: 64px 0 96px; }
.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.18; letter-spacing: -0.01em; color: var(--fg-1);
  margin: 56px 0 20px;
  padding-top: 28px; border-top: 1px solid var(--hairline);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 {
  font-family: var(--font-body);
  font-weight: 600; font-size: 17px; letter-spacing: 0.01em;
  color: var(--fg-1); margin: 32px 0 12px;
}
.legal-body p {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.75; color: var(--fg-2);
  margin: 0 0 18px; max-width: 70ch;
}
.legal-body strong { color: var(--fg-1); font-weight: 600; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal-body a:hover { color: var(--gold-300); }
.legal-body ul { margin: 0 0 18px; padding: 0; list-style: none; max-width: 70ch; }
.legal-body ul li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  font-size: 16px; line-height: 1.7; color: var(--fg-2);
}
.legal-body ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; background: var(--accent);
}
.legal-body .addr {
  font-family: var(--font-display); font-style: italic;
  font-size: 19px; line-height: 1.5; color: var(--fg-1);
  margin: 0 0 24px;
}
.legal-body .lead {
  font-family: var(--font-display); font-style: italic;
  font-size: 20px; line-height: 1.5; color: var(--fg-2);
  margin: 0 0 36px; max-width: 60ch;
}

/* Data table */
.legal-table {
  width: 100%; border-collapse: collapse; margin: 0 0 28px;
  font-family: var(--font-body); font-size: 14px;
}
.legal-table th, .legal-table td {
  text-align: left; padding: 14px 16px;
  border: 1px solid var(--hairline); vertical-align: top;
  color: var(--fg-2); line-height: 1.55;
}
.legal-table th {
  font-weight: 600; color: var(--fg-1);
  background: rgba(245,235,208,0.03);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}

/* Footer */
.legal-footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: 0.06em; color: var(--ink-400);
}
.legal-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.legal-footer a {
  color: var(--ink-300); text-decoration: none;
  text-transform: uppercase; font-size: 11px; letter-spacing: 0.2em; font-weight: 500;
}
.legal-footer a:hover { color: var(--gold-400); }
