.legal-page {
  background: #fff;
  color: #382e28;
}
.legal-page .legal-head {
  min-height: 76px;
  height: auto;
}
.legal-page .legal {
  width: min(100%, 76ch);
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 6rem);
}
.legal-page .legal h1,
.legal-page .legal h2 {
  color: #543526;
  font-family: var(--display);
  letter-spacing: -.025em;
  line-height: 1.18;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.legal-page .legal h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 4.4vw, 3rem);
}
.legal-page .legal h1#datenschutz {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}
.legal-page .legal h2 {
  margin: 1.8rem 0 .45rem;
  font-size: clamp(1.2rem, 2.7vw, 1.5rem);
}
.legal-page .legal p,
.legal-page .legal li {
  line-height: 1.65;
  overflow-wrap: break-word;
}
.legal a,
.legal-page .legal-head > a:last-child {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.legal a { color: #603d2c; }
.legal :target { scroll-margin-top: 1rem; }
.legal-contents {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.2rem;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.legal-contents a,
.legal-page .legal-head > a:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.legal-contents [aria-current="page"] { font-weight: 700; }
.legal-page .legal a:focus-visible { outline-color: #6d3b2d; }
.legal-page .legal-head a:focus-visible { outline-color: #fff3df; }
.legal-page .skip:focus-visible {
  color: #382e28;
  z-index: 30;
}
@media print {
  .legal-page .legal-head, .legal-page footer, .legal-contents,
  .legal-page .skip { display: none; }
  .legal-page .legal { width: 100%; padding: 0; }
  .legal h1, .legal h2 { break-after: avoid; }
}
