/* ============================================================
   Mitzscherlich — Rechtsseiten: Seitenkopf, Lesetypografie, Druck
   ============================================================ */

.page-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--header-h) + clamp(48px, 8vw, 88px)) 0 clamp(36px, 5vw, 64px);
}

.page-head .kicker {
  margin-bottom: 22px;
}

.page-head h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.014em;
  color: var(--graphite);
  max-width: 18ch;
  text-wrap: balance;
}

.page-head__meta {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Textkörper ---------- */

.legal {
  background: var(--white);
  padding-block: clamp(52px, 7vw, 88px) clamp(72px, 9vw, 120px);
}

.legal__inner {
  max-width: 780px;
}

.legal h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--graphite);
  margin: clamp(48px, 6vw, 68px) 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--graphite);
  margin: 34px 0 10px;
}

.legal p {
  margin: 0 0 15px;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--muted);
}

.legal ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.legal ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}

.legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 1px;
  background: var(--brass);
}

.legal ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal ol li {
  margin-bottom: 9px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}

.legal a {
  color: var(--graphite);
  border-bottom: 1px solid rgba(163, 133, 78, 0.45);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
  overflow-wrap: anywhere;
}

.legal a:hover {
  color: var(--brass);
  border-color: var(--brass);
}

.legal strong {
  color: var(--graphite);
  font-weight: 600;
}

/* Hervorgehobene Angaben-Blöcke (Firma, Kontakt, Behörden) */

.legal .block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 26px;
  margin: 0 0 18px;
}

.legal .block p {
  margin: 0;
  line-height: 1.7;
}

.legal .block p + p {
  margin-top: 10px;
}

.legal .block--lead {
  border-left: 2px solid var(--brass);
}

/* Zutreffend / nicht zutreffend (Statuserstinformation) */

.opt {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.opt:last-of-type {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.opt__box {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
}

.opt--on .opt__box::after {
  content: '';
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg) translate(1px, -1px);
}

.opt p {
  margin: 0 0 8px;
}

.opt p:last-child {
  margin-bottom: 0;
}

.opt--off .opt__box {
  border-color: var(--line);
}

.opt--off p {
  opacity: 0.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Rücksprung zur Startseite unter dem Text */

.legal__back {
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal__back a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 0;
  color: var(--graphite);
}

.legal__back a:hover {
  color: var(--brass);
}

/* ---------- Druck ---------- */

@media print {
  .header,
  .menu,
  .nav-toggle,
  .footer,
  .legal__back {
    display: none !important;
  }

  .page-head {
    padding: 0 0 18px;
    border-bottom: 1px solid #000;
  }

  .page-head h1,
  .legal h2,
  .legal h3,
  .legal p,
  .legal li {
    color: #000;
  }

  .legal {
    padding-block: 18px 0;
  }

  .legal .block {
    border: 1px solid #999;
    background: none;
  }

  .legal a {
    border-bottom: 0;
    color: #000;
  }
}
