/* JmWorks — Stylesheet für Rechtsseiten (Impressum, Datenschutz).
   Gleiche Designsprache wie die Hauptseite, aber ohne WebGL/JS. */

:root {
  --bg: #05060a;
  --text: #edf1f4;
  --text-dim: #8a93a0;
  --accent: #63e2ff;
  --hairline: rgba(237, 241, 244, 0.08);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad-x: clamp(24px, 6vw, 96px);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #04121a;
}

a {
  color: inherit;
}

.accent {
  color: var(--accent);
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* --- Kopf --------------------------------------------------------------- */

.legal-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.legal-header a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-header a:hover {
  color: var(--accent);
}

.legal-header .brand {
  color: var(--text);
  font-weight: 500;
}

h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 64px 0 8px;
}

.stand {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 48px;
}

/* --- Abschnitte --------------------------------------------------------- */

section {
  border-top: 1px solid var(--hairline);
  padding: 32px 0;
}

h2 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
}

h2 .num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--accent);
  margin-right: 12px;
}

p,
address,
ul {
  color: var(--text-dim);
  font-size: 15px;
}

p + p,
p + ul {
  margin-top: 10px;
}

address {
  font-style: normal;
}

strong {
  color: var(--text);
  font-weight: 400;
}

ul {
  list-style: none;
}

ul li {
  padding-left: 18px;
  position: relative;
}

ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.6;
}

a.mail,
p a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(99, 226, 255, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s ease;
}

a.mail:hover,
p a:hover {
  text-decoration-color: var(--accent);
}

/* --- Fuß ---------------------------------------------------------------- */

.legal-footer {
  border-top: 1px solid var(--hairline);
  padding: 24px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.legal-footer a {
  color: var(--text-dim);
  text-decoration: none;
}

.legal-footer a:hover {
  color: var(--accent);
}
