/* ---- legal.css: Impressum & Datenschutzbestimmungen -----------------------
   Eigene Seiten (/impressum, /datenschutz) statt <dialog>-Modals; die Klasse
   .legal-modal-body stammt noch aus der Modal-Zeit.

   .legal-page liegt in .shop-wizard (siehe shop-wizard.css), das bereits
   Hintergrund und Innen-Padding liefert - deshalb hier kein eigenes Padding.
   Farb-/Radius-Variablen kommen aus global.css. */
.legal-page {
  max-width: 720px;
  margin: clamp(8px, 2vw, 24px) auto 0;
}

.legal-page h1 {
  font-size: clamp(1.625rem, 4vw, 2.125rem);
  margin-bottom: 24px;
  text-align: center;
}

.legal-modal-body {
  padding: clamp(28px, 5vw, 44px) clamp(24px, 5vw, 48px) clamp(36px, 6vw, 52px);
  overflow-y: auto;
  color: var(--ink);
  line-height: 1.7;
  background: var(--paper);
  border-radius: var(--box-radius);
  box-shadow: 0 1px 0 var(--mid-grey);
}

.legal-modal-body h3 {
  font-size: var(--fs-base);
  margin: 24px 0 8px;
  color: var(--strong);
}

.legal-modal-body h3:first-child {
  margin-top: 0;
}

.legal-modal-body p,
.legal-modal-body ul {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: var(--fs-base);
}

.legal-modal-body ul {
  padding-left: 20px;
}

.legal-modal-body li {
  margin-bottom: 4px;
}

.legal-modal-body p:last-child,
.legal-modal-body ul:last-child {
  margin-bottom: 0;
}
