/* ==========================================================================
   Datenschutzerklärung
   ========================================================================== */

.privacy-page {
  overflow-x: clip;
  background-color: var(--mh-white);
  color: var(--mh-text);
}

.privacy-page *,
.privacy-page *::before,
.privacy-page *::after {
  box-sizing: border-box;
}

/* Hero
   ========================================================================== */

.privacy-hero {
  background-color: var(--mh-primary);
}

.privacy-hero__inner {
  width: min(calc(100% - 3rem), var(--mh-content-width));
  margin-inline: auto;
  padding-block: clamp(8rem, 12vw, 10rem) clamp(3.25rem, 5vw, 4.5rem);
}

.privacy-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 1.25rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background-color: var(--mh-yellow);
  color: var(--mh-dark-teal);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.privacy-hero__title {
  max-width: 18ch;
  margin: 0;
  color: var(--mh-white);
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1;
}

.privacy-hero__intro {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--mh-white);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

/* Inhaltsbereich
   ========================================================================== */

.privacy-layout {
  width: min(calc(100% - 3rem), 960px);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.privacy-content {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.25rem;
  background-color: rgb(0 89 93 / 7%);
  color: var(--mh-text);
  font-size: 1rem;
  line-height: 1.75;
}

/* Typografie
   ========================================================================== */

.privacy-content > :first-child {
  margin-top: 0;
}

.privacy-content > :last-child {
  margin-bottom: 0;
}

.privacy-content h2 {
  margin: 3rem 0 1.25rem;
  color: var(--mh-dark-teal);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content h3 {
  margin: 2.25rem 0 1rem;
  color: var(--mh-dark-teal);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.3;
}

.privacy-content h4 {
  margin: 1.75rem 0 0.75rem;
  color: var(--mh-dark-teal);
  font-size: 1.1rem;
  line-height: 1.4;
}

.privacy-content p {
  margin-block: 0 1.25rem;
}

.privacy-content ul,
.privacy-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.privacy-content li + li {
  margin-top: 0.5rem;
}

.privacy-content strong {
  font-weight: 700;
}

.privacy-content a {
  color: var(--mh-dark-teal);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

.privacy-content a:hover,
.privacy-content a:focus-visible {
  color: var(--mh-green);
}

.privacy-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 0.35rem solid var(--mh-yellow);
  background-color: var(--mh-white);
}

.privacy-content blockquote > :last-child {
  margin-bottom: 0;
}

.privacy-content hr {
  margin-block: 3rem;
  border: 0;
  border-top: 1px solid rgb(0 89 93 / 20%);
}

/* Tabellen
   ========================================================================== */

.privacy-content .wp-block-table {
  overflow-x: auto;
  margin-block: 2rem;
}

.privacy-content table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--mh-white);
}

.privacy-content th,
.privacy-content td {
  padding: 0.85rem 1rem;
  border: 1px solid rgb(0 89 93 / 18%);
  text-align: left;
  vertical-align: top;
}

.privacy-content th {
  color: var(--mh-dark-teal);
  font-weight: 700;
}

/* Tablet
   ========================================================================== */

@media (max-width: 900px) {
  .privacy-hero__inner {
    padding-block: 8rem 3.5rem;
  }

  .privacy-layout {
    padding-block: 3.5rem;
  }
}

/* Mobile
   ========================================================================== */

@media (max-width: 760px) {
  .privacy-hero__inner {
    width: min(calc(100% - 2rem), var(--mh-content-width));
    padding-block: 7.5rem 3rem;
  }

  .privacy-hero__eyebrow {
    margin-bottom: 1rem;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .privacy-hero__title {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .privacy-hero__intro {
    margin-top: 1rem;
  }

  .privacy-layout {
    width: min(calc(100% - 2rem), 960px);
    padding-block: 3rem;
  }

  .privacy-content {
    padding: 1.35rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .privacy-content h2 {
    margin-top: 2.5rem;
    font-size: clamp(1.5rem, 7vw, 1.95rem);
  }

  .privacy-content h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
  }

  .privacy-content th,
  .privacy-content td {
    min-width: 10rem;
    padding: 0.75rem;
  }
}
