/* Averquo — Rechtsseiten, gleiches Editorial-System wie index.html:
   Kicker mit Brass-Punkt, Fraunces/Inter-Pairing, Hairline-Trenner
   zwischen Abschnitten, dunkle Fußzeile als Gegenpunkt zur hellen
   Fläche. Eigenständiges Tokenset, unabhängig von jedem Produkt. */

:root {
  --emerald: #14312A;
  --bone: #EAE6DD;
  --brass: #B08D57;
  --emerald-80: rgba(20, 49, 42, 0.8);
  --emerald-12: rgba(20, 49, 42, 0.14);
  --bone-90: rgba(234, 230, 221, 0.92);

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bone);
  color: var(--emerald);
  font-family: var(--font-body);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

/* ---- Kopf: gleicher Kicker wie auf der Startseite ---- */
.legal-header {
  padding: clamp(2rem, 5vh, 3rem) clamp(1.25rem, 5vw, 5rem) 0;
}

.kicker-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-80);
  text-decoration: none;
}
.kicker-link:hover,
.kicker-link:focus-visible { color: var(--emerald); }

.kicker__mark {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brass);
  border: 1px solid var(--emerald);
  flex-shrink: 0;
}

/* ---- Inhalt ---- */
main.legal {
  flex: 1;
  padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1.25rem, 5vw, 5rem) clamp(3rem, 8vh, 5rem);
  max-width: 50rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 clamp(2rem, 5vh, 3rem);
  max-width: 20ch;
}

.legal-sections {
  display: flex;
  flex-direction: column;
}

section {
  padding: clamp(1.5rem, 3vh, 2rem) 0;
  border-top: 1px solid var(--emerald-12);
}
section:first-child { border-top: 1px solid var(--emerald-12); }

h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-80);
  margin: 0 0 0.9rem;
}

p { margin: 0 0 0.9rem; max-width: 60ch; }
p:last-child { margin-bottom: 0; }

section a,
.note a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}
section a:hover,
.note a:hover { color: var(--brass); }

.note {
  margin-top: clamp(1.5rem, 3vh, 2rem);
  padding: 1rem 1.25rem;
  background: rgba(20, 49, 42, 0.05);
  border-left: 2px solid var(--brass);
  font-size: 0.85rem;
  color: var(--emerald-80);
}
.note p { margin: 0; max-width: none; }

/* ---- Fußzeile: identisch zur Startseite ---- */
footer.site-footer {
  background: var(--emerald);
  color: var(--bone-90);
}
.footer-brass-rule {
  height: 2px;
  background: var(--brass);
}
.footer-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 130ms ease;
}
.footer-links a:hover,
.footer-links a:focus-visible { border-color: var(--brass); }
.footer-links a[aria-current="page"] {
  border-color: var(--brass);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
