/* Imprint, Terms of Service and Privacy: one readable text column,
   aligned with the page title, with a clear heading hierarchy. */

body.qorelo-page.legal-page .qx-after-hero {
  --qx-ah: 48px;
}

body.qorelo-page.legal-page section.section.qx-navyhero:not(#_) {
  padding-bottom: 0 !important;
}

body.qorelo-page.legal-page section.section.qx-after-hero {
  padding-bottom: 120px !important;
}

.legal-page .qx-after-hero .div-block-25,
.legal-page .qx-after-hero .wrapper.news {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.legal-page .rtf2.imprint {
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 48px 0 0;
  border-top: 1px solid rgb(26 28 33 / 10%);
  color: var(--ink, #1a1c21);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.legal-page .rtf2.imprint :is(h2, h3, h4):not(#_) {
  padding: 0 !important;
  color: var(--ink, #1a1c21) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  text-wrap: pretty;
  scroll-margin-top: calc(var(--site-nav-height, 52px) + 24px) !important;
}

.legal-page .rtf2.imprint h2:not(#_) {
  margin: 56px 0 16px !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
}

.legal-page .rtf2.imprint h3:not(#_) {
  margin: 32px 0 10px !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
}

.legal-page .rtf2.imprint h4:not(#_) {
  margin: 24px 0 8px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.legal-page .rtf2.imprint h2 + h3:not(#_),
.legal-page .rtf2.imprint h3 + h4:not(#_) {
  margin-top: 16px !important;
}

.legal-page .rtf2.imprint > :first-child:not(#_) {
  margin-top: 0 !important;
}

.legal-page .rtf2.imprint p {
  margin: 0 0 14px;
  color: rgb(26 28 33 / 78%);
}

.legal-page .rtf2.imprint > :last-child {
  margin-bottom: 0;
}

.legal-page .rtf2.imprint :is(strong, b) {
  color: var(--ink, #1a1c21);
  font-weight: 500;
}

.legal-page .rtf2.imprint ul {
  margin: 0 0 18px;
  padding-left: 1.25em;
  list-style: disc;
  color: rgb(26 28 33 / 78%);
}

.legal-page .rtf2.imprint li {
  margin: 0;
  padding-left: 4px;
}

.legal-page .rtf2.imprint li + li {
  margin-top: 6px;
}

.legal-page .rtf2.imprint a {
  color: var(--brand, #152561);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-page .rtf2.imprint a:hover {
  color: var(--brand-hover, #24379a);
}

.legal-page .rtf2.imprint a:focus-visible {
  outline: 2px solid var(--brand, #152561);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body.qorelo-page.legal-page .qx-after-hero {
    --qx-ah: 40px;
  }

  body.qorelo-page.legal-page section.section.qx-after-hero {
    padding-bottom: 80px !important;
  }

  .legal-page .rtf2.imprint {
    padding-top: 36px;
    font-size: 15px;
  }

  .legal-page .rtf2.imprint h2:not(#_) {
    margin-top: 44px !important;
    font-size: 22px !important;
  }

  .legal-page .rtf2.imprint h3:not(#_) {
    font-size: 18px !important;
  }
}
