/* ------------------------------------------------------------
 | Überschriften
 * ------------------------------------------------------------ */

.hb-page-body #heading,
.hb-page-body div[id="heading"],
.hb-page-body .hb-heading-wrap {
    position: static !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 7px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    inset: auto !important;
    z-index: auto !important;
    break-after: avoid-page !important;
    page-break-after: avoid !important;
}

.hb-page-body #heading > h1,
.hb-page-body #heading > h2,
.hb-page-body #heading > h3,
.hb-page-body #heading > h4,
.hb-page-body div[id="heading"] > h1,
.hb-page-body div[id="heading"] > h2,
.hb-page-body div[id="heading"] > h3,
.hb-page-body div[id="heading"] > h4,
.hb-page-body .hb-heading-wrap > h1,
.hb-page-body .hb-heading-wrap > h2,
.hb-page-body .hb-heading-wrap > h3,
.hb-page-body .hb-heading-wrap > h4 {
    position: static !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: auto !important;
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    padding: 0 !important;
    line-height: 1.15 !important;
    overflow: visible !important;
    transform: none !important;
    inset: auto !important;
    z-index: auto !important;
}

.hb-page-body #heading::before,
.hb-page-body #heading::after,
.hb-page-body div[id="heading"]::before,
.hb-page-body div[id="heading"]::after,
.hb-page-body .hb-heading-wrap::before,
.hb-page-body .hb-heading-wrap::after {
    content: none !important;
    display: none !important;
}

.hb-page-body .berschrift1,
.hb-page-body h1.berschrift1 {
    font-size: 13.8px !important;
    color: #111111 !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    margin: 0 0 10px !important;
    break-after: avoid-page !important;
    page-break-after: avoid !important;
}

.hb-page-body .berschrift2,
.hb-page-body h2.berschrift2 {
    font-size: 10.2px !important;
    color: #111111 !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    margin: 0 0 6px !important;
    break-after: avoid-page !important;
    page-break-after: avoid !important;
}

.hb-page-body .berschrift3,
.hb-page-body h3.berschrift3,
.hb-page-body .berschrift4,
.hb-page-body h4.berschrift4 {
    font-size: 9.2px !important;
    color: #111111 !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    margin: 0 0 5px !important;
    break-after: avoid-page !important;
    page-break-after: avoid !important;
}

.hb-page-body h1,
.hb-page-body h2,
.hb-page-body h3,
.hb-page-body h4,
.hb-page-body [id^="hb-h-"] {
    scroll-margin-top: 140px;
}

/* ------------------------------------------------------------
 | Text
 * ------------------------------------------------------------ */

.hb-page-body .HText,
.hb-page-body .HTextfett,
.hb-page-body .HTextzentriert,
.hb-page-body .HTextfettzentriert,
.hb-page-body .HTextfettrot {
    font-size: 8.35px !important;
    line-height: 1.34 !important;
    font-weight: 300 !important;
    letter-spacing: 0.003em !important;
    margin-top: 0 !important;
    margin-bottom: 4.8px !important;
}

.hb-page-body .HTextfett,
.hb-page-body .HTextfettzentriert {
    font-weight: 500 !important;
}

.hb-page-body .HTextzentriert,
.hb-page-body .HTextfettzentriert {
    text-align: center !important;
}

.hb-page-body .HTextfettrot {
    color: var(--hb-red) !important;
    font-weight: 700 !important;
}

.hb-page-body .HMarginalie {
    color: #111111 !important;
    font-size: 7.8px !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    margin: 0 !important;
    break-after: avoid-page !important;
    page-break-after: avoid !important;
}