
/* Gemeinsames Layout für Impressum und Datenschutz */

.legal-page {
  width: min(100% - 48px, 1000px);
}

.legal-content {
  width: 100%;
  max-width: 720px;
  padding-bottom: 32px;
  overflow-wrap: anywhere;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #65645f;
  font-size: 13px;
  font-weight: 500;
}

.back-link:hover {
  color: #e5003d;
}

.legal-content h1 {
  margin: 0 0 32px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.25;
  text-transform: none;
}

.legal-content h2 {
  margin: 32px 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}

.legal-content p {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

.legal-content a:not(.back-link) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content address {
  font-style: normal;
}

.legal-note {
  margin-top: 40px !important;
  color: #65645f;
  font-size: 12px !important;
}

@media (max-width: 600px) {
  .legal-page {
    width: calc(100% - 40px);
  }

  .legal-content h1 {
    margin-bottom: 24px;
  }

  .legal-content h2 {
    margin-top: 26px;
  }

  .legal-content p {
    font-size: 13px;
    line-height: 1.85;
  }
}
