@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:400,400i,500,500i,700,700i");

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #f5efdc;
}

body {
    font-family: "Jost", sans-serif;
    font-weight: 400;
    color: #444444;
    background: #fff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
}

a {
    color: #aa2235;
}

a:hover,
a:focus {
    color: #aa2235;
    text-decoration: underline;
}

#quote a,
b,
strong {
    font-weight: 700;
}

#tabs-bg b, strong {
    font-weight: 500;
}

#overflow {
    overflow: clip;
}

hr {
    opacity: 1;
    background: #9db5e0;
    margin: clamp(20px, 4vw, 40px) 0 clamp(20px, 4vw, 36px) 0;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 210px;
        width: 100%;
    }

    #logo .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.875rem;
    color: #444444;
    font-weight: 400;
}

@media (min-width: 992px) {
    #topbar {
        padding-top: 50px;
        padding-bottom: 40px;
    }
}

/* ------------------------------------------------ styler ---------------------------------------------- */

@media (min-width: 992px) {
    #style {
        margin-left: 30px;
    }
}

#contrast_style button,
#style button {
    padding: 0;
    border: none;
    color: #58453a;
    display: inline-block;
    width: 29px;
    height: 29px;
    text-align: center;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    line-height: 1;
}

#style button {
    padding: 0;
}

#style button+button {
    margin-left: 3px;
}

#style button:hover,
#style button:focus {
    color: #ffffff;
    background: #aa2235;
}

#contrast_style button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -6px;
    top: -6px;
    width: 29px;
    height: 29px;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    -webkit-transition: opacity 150ms linear;
    -moz-transition: opacity 150ms linear;
    -ms-transition: opacity 150ms linear;
    -o-transition: opacity 150ms linear;
    transition: opacity 150ms linear;
}

#contrast_style *+* {
    margin-left: 10px;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    left: 5px;
    bottom: 5px;
    border: 1px solid rgba(0, 0, 0, 0.6);
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
    width: 15px;
    height: 15px;
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
    width: 15px;
    height: 15px;
}

#contrast_style button:nth-of-type(3)::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(234, 91, 12, 1) 50%);
    width: 15px;
    height: 15px;
}

/* ----------------------------------------------- search ----------------------------------------------- */

form[id^="search"] {
    height: 35px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
    position: relative;
}

@media (min-width: 992px) {
    form[id^="search"] {
        margin-left: 30px;
        max-width: 270px;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #58453a;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 14px;
    padding-right: 54px;
    height: 35px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img/icon-search.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid rgba(88, 69, 58, 0.3);
    -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #dadada;
    top: 0;
    bottom: 0;
}

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 0.8;
}

[id^="search_input"]:-moz-placeholder {
    opacity: 0.8;
}

/* #region ------------------------------------ navigation -------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    .horizontally {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 6px;
        padding: 6px 8px;
        cursor: pointer;
        background: #fff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #aa2235;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }

    .navbar-nav {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 1000!important;
        height: auto !important;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        transition: top 300ms linear;
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

    .dropdown-toggle-button-wrapper {
        top: 8px;
        right: 0;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 6px;
        right: 0;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

.horizontally {
    margin-top: 20px;
}

@media (min-width: 992px) {
    .horizontally {
        transition: background 300ms linear;
    }

    #headerpic :is(.sticky-wrapper, .horizontally) {
        width: 100% !important;
    }

    .is-sticky .horizontally {
        margin-top: 0;
        left: 0 !important;
        background: #ffffff;
        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .is-sticky .navbar {
        max-width: 1200px;
        margin: 0 auto;
    }

    nav.horizontally .navbar-nav {
        border-top: 1px solid rgba(68, 68, 68, 0.3);
        padding: 20px 0;
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }

    .is-sticky nav.horizontally .navbar-nav {
        border-top: none;
    }

    nav.horizontally li[class*="toplevel"] {
        flex-grow: 1;
    }

    nav.horizontally li[class*="toplevel"]>.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally li[class*="secondlevel"]>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) {
        position: relative;
    }

    .navbar-default .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    .navbar-default :is(.open>.dropdown-menu, .navbar-nav li[class*="toplevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]>ul[style*="block"]) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:focus-within>ul, li[class*="secondlevel"]:focus-within>ul) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:hover>ul, li[class*="secondlevel"]:hover>ul) {
        z-index: 1003;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default li[class*="toplevel"]>a {
    color: #444444;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 2px;
    }

    nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        padding: 6px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .navbar-default li[class*="toplevel"]+li {
        border-left: 1px solid rgba(68, 68, 68, 0.3);
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

.navbar-default li[class*="toplevel"]>a::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
    height: 5px;
    width: 0;
    background: #aa2235;
    transform: translateX(-50%);
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a::after {
        top: -23px;
        background: #aa2235;
        bottom: auto;
    }

    .is-sticky .navbar-default li[class*="toplevel"]>a::after {
        background: #444444;
    }
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-default li[class*="toplevel"]:hover>a::after,
.navbar-default li[class*="toplevel"]>a:hover::after,
.navbar-default li[class*="toplevel"]>a:focus::after,
.navbar-default li[class*="toplevel"].open>a::after,
.navbar-default li[class*="toplevel"].open>a:hover::after,
.navbar-default li[class*="toplevel"].open>a:focus::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
    width: 100%;
}

.navbar-default li[class*="toplevel"]:focus-within>a::after {
    width: 100%;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .navbar-default li[class*="secondlevel"]>ul {
        margin: 10px;
    }
}

@media(min-width: 992px) {
    .navbar-default :is(li[class*="toplevel"]>ul, li[class*="secondlevel"]>ul) {
        padding: 18px 30px;
    }

    .navbar-default li[class*="toplevel"]>ul {
        margin-top: 20px;
    }

    .navbar-default li[class*="secondlevel"]>ul {
        margin-top: -18px;
        margin-left: 50px;
    }

    .navbar-default li[class*="toplevel"]>ul::before,
    .navbar-default li[class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    .navbar-default li[class*="toplevel"]>ul::before {
        height: 22px;
        left: 0;
        right: 0;
        top: -22px;
    }

    .navbar-default li[class*="secondlevel"]>ul::before {
        width: 52px;
        top: 0;
        bottom: 0;
        left: -52px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default :is(li[class*="secondlevel"]:not(:nth-last-child(2)), li[class*="thirdlevel"]):not(:nth-last-child(2)) {
    border-bottom: 1px solid #b0b0b0;
}

.navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
    color: #444444;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    padding: 11px 0;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

@media(max-width: 991px) {
    nav.horizontally li[class*="secondlevel"]>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-default li[class*="secondlevel"]:hover>a,
.navbar-default li[class*="secondlevel"]>a:hover,
.navbar-default li[class*="secondlevel"]>a:focus,
.navbar-default li[class*="secondlevel"].open>a,
.navbar-default li[class*="secondlevel"].open>a:hover,
.navbar-default li[class*="secondlevel"].open>a:focus,
.navbar-default li[class*="secondlevel"][class*="_over"]>a,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:focus,
.navbar-default li[class*="thirdlevel"]:hover>a,
.navbar-default li[class*="thirdlevel"]>a:hover,
.navbar-default li[class*="thirdlevel"]>a:focus,
.navbar-default li[class*="thirdlevel"].open>a,
.navbar-default li[class*="thirdlevel"].open>a:hover,
.navbar-default li[class*="thirdlevel"].open>a:focus,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:focus {
    color: #aa2235;
}

.navbar-default li[class*="secondlevel"]:focus-within>a,
.navbar-default li[class*="thirdlevel"]:focus-within>a {
    color: #aa2235;
}

/* #endregion -------------------------------- navigation --------------------------------------- */

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
    row-gap: 25px;
}

#headerpic>.row,
#footer>.row {
    row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

#headerpic {
    position: relative;
    height: 100%;
    border-top: 5px solid #aa2235;
}

#headerpic>*:not(.slider-wrapper):not(.sticky-wrapper):not(.horizontally) {
    position: relative;
    z-index: 10;
}

/* banner */

#slider {
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    body.index #headerpic {
        min-height: 800px;
    }

    #headerpic {
        min-height: 500px;
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

@media (max-width: 1199px) {
    #headerpic a.nivo-prevNav,
    #headerpic a.nivo-nextNav {
        top: auto;
        bottom: 8px;
        z-index: 51;
    }
}

.theme-default .nivo-controlNav {
    z-index: 9!important;
}

.slider-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.slider-mask {
    display: block;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 220px, rgba(255, 255, 255, 0));
}

#headerpic .nivo-main-image {
    min-height: 100% !important;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

/* ---------------------------------------------- content --------------------------------------- */

#content-area {
    text-align: left;
    padding: clamp(40px, 8vw, 60px) 0 clamp(40px, 10vw, 90px) 0;
}

main {
    background: url('../img/stadt_bild.jpg');
    background-position: bottom;
    background-repeat: no-repeat;
}

/* #region --------------------------------------- about ---------------------------------------- */

#about {
    padding: clamp(40px, 10vw, 95px) 0;
    padding-top: 20px;
}

#about :is(h1, h2, h3, h4, h5, h6) {
    color: #aa2235;
}

#about img {
    margin-bottom: 20px;
}

#about a:not(.has-image) {
    margin-top: 12px;
    display: inline-block;
    position: relative;
    font-weight: 500;
}

#about a:not([href*="mailto"]):not([href*="tel"])::after {
    content: "";
    display: block;
    position: absolute;
}

#about a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
    bottom: 15%;
    right: -25%;
    width: 19px;
    height: 15px;
    transition: 300ms background linear;
    background: url("../img/arrow-red.png") center left / 19px auto repeat-x;
}

#about a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):hover::after,
#about a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):focus::after {
    background-position-x: left 19px;
}

/* #endregion ------------------------------------ about ---------------------------------------- */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    display: inline-block;
    line-height: 1.2;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 400;
    background: #8f1a2a;
    padding: 12px 58px 11px 20px;
    position: relative;
    text-decoration: none !important;
    text-shadow: none !important;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    color: #ffffff !important;
    background: #444444;
}

#header-text.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-top: clamp(20px, 2vw, 25px);
}

#service .tab.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-top: 10px;
}

#header-text.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-right: 20px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
    top: 12px;
    right: 16px;
    width: 19px;
    height: 16px;
    transition: 300ms background linear;
    background: url("../img/arrow-white.png") center left / 19px auto repeat-x;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):hover::after,
.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):focus::after {
    background-position-x: left 19px;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #aa2235;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Jost", sans-serif;
    margin-bottom: 15px;
}

#header-text :is(h1, h2, h3, h4, h5, h6),
#service .background-tab :is(h1, h2, h3, h4, h5, h6),
#about :is(h2, h3),
#quote :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
}

#service .background-tab :is(h1, h2, h3, h4, h5, h6) :is(i, em),
#about :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    font-weight: 400;
    color: #444444;
    font-size: 1.25rem;
    font-style: normal;
}

:is(#headerpic, #quote) :is(h1, h2, h3, h4, h5, h6),
#about :is(h3, h4, h5, h6) {
    margin-bottom: 0;
}

:is(#tabs-bg, #footer) :is(h1, h2, h3, h4, h5, h6),
#service .image-col :is(h1, h2, h3, h4, h5, h6),
#service .background-tab :is(h3, h4, h5, h6),
#about :is(h3, h4, h5, h6) {
    font-size: 1.25rem;
    font-weight: 700;
}

:is(#tabs-bg, #footer):is(h1, h2, h3, h4, h5, h6),
#service .image-col :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 12px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2rem, 6vw, 2.5rem);
}

h1,
.h1,
.legacy_h1,
#quote :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.875rem, 6vw, 2.25rem);
}

h1,
.h1,
.legacy_h1 {
    margin-bottom: clamp(0.9375rem, 4vw, 2.375rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.75rem, 6vw, 1.875rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.625rem, 6vw, 1.75rem);
}

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.5rem, 6vw, 1.625rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.375rem, 6vw, 1.5rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.25rem, 6vw, 1.375rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

/* #region --------------------------------------- footer --------------------------------------- */

#quote {
    background-color: #141414;
    padding: clamp(40px, 10vw, 50px) 0;
}

#quote,
#quote :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

footer {
    font-size: 1rem;
}

#footer {
    position: relative;
    padding: 40px 0;
    background: #aa2235;
}

@media (min-width: 992px) {
    #footer>.row>*+* {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    #footer::before {
        position: absolute;
        content: "";
        width: 208px;
        height: 208px;
        left: 53px;
        bottom: 0;
        background: url('../img/wasserzeichen-resohilfe.png') no-repeat;
    }
}

#footer,
#footer a,
#footer a:hover,
#footer a:focus {
    color: #fff;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
    margin-bottom: 20px;
}

#innerfooter {
    font-size: 0.9375rem;
    padding: 35px 0;
}

#innerfooter ul {
    padding: 0;
}

@media (max-width: 991px) {
    #innerfooter ul {
        width: 100%;
    }

    #innerfooter > .row > div+div {
        margin-top: 30px;
    }
}

#innerfooter li {
    display: block;
}

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 15px;
        color: #444444;
    }

    #innerfooter li {
        display: inline-block;
    }
    #innerfooter>.tab {
        margin-top: 20px;
    }
}

#innerfooter li a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 575px) {
    #innerfooter li a {
        padding: 4px;
        display: inline-block;
    }
}

#innerfooter li a:hover,
#innerfooter li a:focus {
    color: #aa2235;
}

/* #endregion ------------------------------------ footer --------------------------------------- */

/* #region -------------------------------------- vernetzt -------------------------------------- */

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    font-weight: 400;
    color: #444444;
    line-height: 1.3;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

 #vernetzt span {
    display: block;
}

 #vernetzt img {
    display: block;
    margin-left: 10px;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */