:root {
  --paper: #f7f3ea;
  --paper-2: #efe9db;
  --ink: #141311;
  --ink-2: #3a3733;
  --ink-3: #6e6962;
  --rule: #ddd4c0;
  --rule-soft: #e8e1cf;
  --amber: #b8621f;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', -apple-system, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #e8c07a; color: var(--ink); }
a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #9e5419; }

.wrap { max-width: 820px; margin: 0 auto; padding: 0 40px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  max-width: 1180px; margin: 0 auto;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0; line-height: 1;
  font-size: 18px; letter-spacing: -.01em; text-decoration: none; color: var(--ink);
}
.wordmark .wm-mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 19px;
  margin-right: 10px; position: relative;
  transform: translateY(4px);
}
.wordmark .wm-mark::after { content:""; position:absolute; width:3px; height:3px; border-radius:50%; background: var(--amber); bottom:5px; right:5px; }
.wordmark .wm-a { font-family: var(--serif); font-style: italic; font-weight: 400; }
.wordmark .wm-dot { display:inline-block; width:3px; height:3px; border-radius:50%; background: var(--amber); margin: 0 5px; position:relative; top:-4px; }
.wordmark .wm-b { font-weight: 600; letter-spacing: -.015em; }
.nav-links a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.nav-links a:hover { color: var(--amber); }

/* Legal content */
.legal { padding: 64px 0 80px; }
.legal-head { margin-bottom: 48px; }
.legal-head .kicker {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--amber);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.legal-head .kicker::before { content:""; width:24px; height:1px; background: var(--amber); }
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05; letter-spacing: -.025em;
  font-weight: 400; font-style: italic;
  margin: 0;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 400; font-style: italic;
  letter-spacing: -.01em;
  margin: 48px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.legal section:first-of-type h2 { border-top: none; padding-top: 0; margin-top: 0; }
.legal h3 {
  font-family: var(--serif);
  font-size: 20px; font-weight: 400; font-style: italic;
  margin: 28px 0 10px;
}
.legal p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.legal p b { color: var(--ink); font-weight: 600; }
.legal ul, .legal ol { margin: 0 0 20px; padding-left: 22px; color: var(--ink-2); line-height: 1.75; }
.legal li { margin-bottom: 6px; }
.legal .foot-note {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Definition-style rows (used in Datenschutz) */
.def-row {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.def-row:last-child { border-bottom: none; }
.def-row dt {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--ink-3);
  padding-top: 4px;
}
.def-row dd { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.def-row dd b { color: var(--ink); }

@media (max-width: 720px) {
  .def-row { grid-template-columns: 1fr; gap: 6px; }
  .wrap { padding: 0 24px; }
}

/* Legal footer */
.legal-footer {
  padding: 24px 40px;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  max-width: 1180px;
}
.legal-footer .links { display: flex; gap: 22px; }
.legal-footer .links a { color: var(--ink-3); text-decoration: none; }
.legal-footer .links a:hover { color: var(--amber); }
