/*
 * Gemeinsame Gestaltung der Rechtstext-Seiten (Impressum, Datenschutz).
 *
 * Zuvor stand dieser Block identisch als <style>-Inline in impressum/index.php
 * UND datenschutz/index.php. Zusammengeführt, damit beide Seiten dieselbe
 * Typografie teilen und Anpassungen nur an einer Stelle nötig sind.
 * Präfix .hh-legal, damit die Regeln ausschließlich diese Seiten betreffen.
 */

.hh-legal {
  padding: 130px 0 96px;
}

.hh-legal-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hh-legal h1 {
  font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  color: #1f2a24;
  margin: 0 0 8px;
}

.hh-legal .hh-legal-lead {
  font-family: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
  font-size: 17px;
  color: #4b5a51;
  margin: 0 0 40px;
}

.hh-legal h2 {
  font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #1f2a24;
  margin: 38px 0 12px;
}

.hh-legal h3 {
  font-family: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #1f2a24;
  margin: 22px 0 8px;
}

.hh-legal p,
.hh-legal address,
.hh-legal li {
  font-family: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #3c4139;
  font-style: normal;
}

.hh-legal address {
  margin: 0 0 14px;
}

.hh-legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.hh-legal li {
  margin: 0 0 6px;
}

.hh-legal a {
  color: #176649;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hh-legal a:hover {
  color: #124f38;
}

/* Definitionsliste für die Kontaktangaben im Impressum. */
.hh-legal dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 22px;
  margin: 0 0 14px;
}

.hh-legal dt {
  font-weight: 600;
  color: #1f2a24;
}

.hh-legal dd {
  margin: 0;
}

@media (max-width: 560px) {
  .hh-legal dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .hh-legal dt {
    margin-top: 10px;
  }
}

/*
 * Übersichtstabelle (z. B. eingesetzte Cookies / lokale Speicherung in der
 * Datenschutzerklärung). Bewusst schlicht gehalten und an die Rechtstext-
 * Typografie angelehnt. Auf schmalen Displays scrollt die Tabelle horizontal,
 * damit die Spalten lesbar bleiben statt umzubrechen.
 */
.hh-legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
  -webkit-overflow-scrolling: touch;
}

.hh-legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-family: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
}

.hh-legal-table th,
.hh-legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #3c4139;
  border-bottom: 1px solid #e2e8e2;
}

.hh-legal-table thead th {
  font-weight: 600;
  color: #1f2a24;
  background: #f3f6f2;
  border-bottom: 2px solid #d5ded5;
  white-space: nowrap;
}

.hh-legal-table td:first-child {
  font-weight: 600;
  color: #1f2a24;
  white-space: nowrap;
}
