/* Schachfuchs — shared styles for legal pages
   (Impressum, Datenschutz, AGB, Lizenzbedingungen)
*/

.page-hero { padding: 80px 0 48px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); margin-top: 18px; }
.page-hero .lede { margin-top: 18px; max-width: 56ch; }

/* ── Two-column legal layout ──────────────────────────── */
.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  padding-bottom: 96px;
}

/* Sticky TOC */
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
}
.toc h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 600;
}
.toc ol {
  list-style: none; padding: 0; margin: 0;
  border-left: 1px solid var(--border);
}
.toc a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: #A8A293;
  border-left: 1px solid transparent;
  margin-left: -1px;
  letter-spacing: 0.02em;
}
.toc a:hover { color: var(--text); }
.toc a.active {
  color: var(--gold);
  border-left-color: var(--gold);
}
.toc .num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  margin-right: 10px;
}
.toc a:hover .num,
.toc a.active .num { color: var(--gold); }

/* Content */
.legal-body section { padding: 0 0 56px; }
.legal-body section + section {
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.legal-body h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.legal-body h2 + .head {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 24px;
}
.legal-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #C6C0AE;
  margin: 0 0 14px;
  max-width: 70ch;
}
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-body small { font-size: 12px; }

/* Detail block (address / contact / table-like) */
.detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px 24px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 14px 0 22px;
}
.detail dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
  padding-top: 2px;
}
.detail dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}

/* Numbered article list (AGB / EULA) */
.article {
  margin-bottom: 28px;
}
.article-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.article-title .anr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
}
.article-title h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--text);
  font-weight: 600;
  margin: 0;
}

/* Plain list */
.legal-body ul {
  padding-left: 0;
  margin: 8px 0 18px;
  list-style: none;
}
.legal-body ul li {
  padding: 6px 0 6px 24px;
  font-size: 14.5px;
  color: #C6C0AE;
  position: relative;
  line-height: 1.6;
}
.legal-body ul li::before {
  content: "▸";
  position: absolute; left: 0;
  color: var(--gold);
  font-family: var(--mono);
}

/* Highlight note */
.legal-note {
  background: var(--gold-dim);
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 13.5px;
  color: #D4C18A;
  line-height: 1.6;
  margin: 14px 0 20px;
  max-width: 70ch;
}
.legal-note strong { color: var(--gold); }

.stand {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

@media (max-width: 980px) {
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .detail { grid-template-columns: 1fr; gap: 4px 0; }
  .detail dd { padding-bottom: 8px; border-bottom: 1px solid var(--border); }
  .detail dd:last-child { border-bottom: 0; }
}
