/* ============================================================
   GEWA Germany -- LEGAL / TEXT-ONLY PAGES
   legal.css (textOnly.html.twig — imprint, privacy)

   .legal-content styles raw WYSIWYG-authored HTML (h2/h3, p, ul/ol, a,
   strong/em) — unlike every other page's CSS, this can't target specific
   classes since the markup comes straight from a Pimcore rich-text
   field, not from our own template. Kept intentionally plain/readable
   rather than decorative, matching the register of a legal document.
   ============================================================ */

.legal-content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--w65);
  font-weight: 300;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p { margin-bottom: 18px; }
.legal-content p:last-child { margin-bottom: 0; }

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.legal-content li { padding-left: 4px; }

.legal-content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 0.5px solid var(--gold-dim);
  transition: color 0.2s, border-color 0.2s;
}
.legal-content a:hover { color: var(--gold-light); border-color: var(--gold-light); }

.legal-content strong { color: var(--cream); font-weight: 500; }
.legal-content em { font-style: italic; }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}
.legal-content th,
.legal-content td {
  padding: 10px 12px;
  border: 0.5px solid var(--w06);
  text-align: left;
  vertical-align: top;
}
.legal-content th {
  color: var(--cream);
  font-weight: 500;
  background: var(--ink-mid);
}

@media (max-width: 960px) {
  .legal-content { font-size: 15px; }
}