@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,400i,600,600i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Ubuntu:700,700i");

body {
    font-family: "Open Sans", sans-serif;
    color: #050505;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #9b1670;
}

#content a,
a:hover, a:focus {
    color: #9b1670;
    text-decoration: underline;
}

b, strong {
    font-weight: 600;
}

/* ----------------------------------------------- logo ----------------------------------------------- */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

/* ------------------------------------------- navigation ------------------------------------------- */

.horizontally {
    background-color: #ffffff;
    border-bottom: 6px solid #757575;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    .horizontally {
        padding: 10px 0;
    }

    .is-sticky .horizontally {
        position: relative !important;
    }

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

    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #9b1670;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        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 {
        margin: 20px 0;
    }

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 120;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        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: 111;
    }

    .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);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }

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

@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 */

@media (min-width: 992px) {
    .horizontally {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    nav.horizontally .navbar-nav {
        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;
    }

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav>li,
    nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

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

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

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
    .navbar-default .navbar-nav 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;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #757575;
    font-weight: 700;
    text-align: left;
    padding: 10px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: 'Ubuntu', sans-serif;
}

@media (max-width: 991px) {
    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }

    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(117, 117, 117, 0.1);
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 10px 0 0 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

.navbar-default .navbar-nav>li>a::before {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #9b1670;
    -webkit-transition: width 300ms linear;
    -moz-transition: width 300ms linear;
    -ms-transition: width 300ms linear;
    -o-transition: width 300ms linear;
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::before {
        bottom: -36px;
        height: 6px;
    }
}

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

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    color: #9b1670;
    background-color: transparent;
}

.navbar-nav>li:hover>a::before,
.navbar-nav>li>a:hover::before,
.navbar-nav>li>a:focus::before,
.navbar-nav>li.open>a::before,
.navbar-nav>li.open>a:hover::before,
.navbar-nav>li.open>a:focus::before,
.navbar-nav>li[class$="_over"]>a::before,
.navbar-nav>li[class$="_over"]>a:hover::before,
.navbar-nav>li[class$="_over"]>a:focus::before {
    width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #dbdbdb;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding: 30px 0;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 45px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin: -30px 0 0 10px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 45px;
        left: 0;
        right: 0;
        top: -45px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #050505;
    font-weight: 400;
    text-align: left;
    padding: 10px 22px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li+li+li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li+li+li>a {
    border-top: 2px solid #c5c5c5;
}

@media(max-width:991px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: left;
        padding: 8px 25px;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

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

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    color: #ffffff;
    background-color: #9b1670;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #ffffff;
    background-color: #9b1670;
}

/* ----------------------------------------------- adresszeile ----------------------------------------------- */

.adresszeile {
    background: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.875rem;
    color: #050505;
}

.adresszeile a {
    color: #9b1670;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .adresszeile p {
        display: block;
    }

    .adresszeile {
        padding-top: 15px;
        padding-bottom: 15px;
        border-bottom: 4px solid rgb(251, 247, 244);
    }
}

@media (min-width: 992px) {
    .adresszeile p {
        display: inline-block;
    }

    .adresszeile p+p {
        padding-left: 8px;
        margin-left: 8px;
        border-left: 1px solid #050505;
    }
}

/* ----------------------------------------------- banner ----------------------------------------------- */

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #slider {
        max-height: 400px;
    }

    body.index #slider {
        max-height: 750px;
    }

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

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

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.slider-wrapper, #slider {
    height: 100%;
}

.slider-mask {
    display: none;
}

/* --------------------------------------------- buttonStyle + buttonStyleGrey -------------------------------------------- */

.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):not([href*="mailto"]) {
    background: #9b1670;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 15px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):not([href*="mailto"]):focus,
.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):not([href*="mailto"]):hover {
    background: #757575;
}

.buttonStyleGrey a:not(.has-image):not([rel]):not(.nivo-directionNav > a):not([href*="mailto"]) {
    background: #757575;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 18px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

#team a:not(.has-image):not([rel]):not(.nivo-directionNav > a):not([href*="mailto"]) {
    border-radius: 8px;
    font-weight: 400;
}

.buttonStyleGrey a:not(.has-image):not([rel]):not(.nivo-directionNav > a):not([href*="mailto"]):focus,
.buttonStyleGrey a:not(.has-image):not([rel]):not(.nivo-directionNav > a):not([href*="mailto"]):hover {
    background: #9b1670;
}

/* --------------------------------------------- teaser -------------------------------------------- */

#teaser {
    background: #de89be;
    color: #050505;
}

#teaser .tabHeadline {
    color: #050505;
    font-size: 1.625rem;
    margin-bottom: 15px;
}

#teaser>.row>div:nth-child(2) {
    background: #fdcff3;
}

#teaser>.row>div:nth-child(3) {
    background: #fbf7f4;
}

#teaser>.row>div:nth-child(1),
#teaser>.row>div:nth-child(2),
#teaser>.row>div:nth-child(3) {
    padding: 25px 15px;
}

@media (min-width: 768px) {
    #teaser>.row {
        max-width: 1920px;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    #teaser>.row>div:nth-child(1) {
        background: url('../img/icon-list.png') top 40px left 54px no-repeat;
    }

    #teaser>.row>div:nth-child(2) {
        background: url('../img/icon-hospital.png') top 35px left 53px no-repeat, #fdcff3;
    }

    #teaser>.row>div:nth-child(3) {
        background: url('../img/wasserzeichen-logo.png') bottom 10px right 10px no-repeat, #fbf7f4;
    }

    #teaser>.row>div:nth-child(1) {
        padding: 50px 64px 50px 145px;
    }

    #teaser>.row>div:nth-child(2) {
        padding: 50px 55px 50px 142px;
    }

    #teaser>.row>div:nth-child(3) {
        padding: 50px 280px 50px 70px;
    }
}

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

body:not(.index) #content {
    text-align: left;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    body:not(.index) #content {
        padding-top: 50px;
        padding-bottom: 85px;
    }
}

/* --------------------------------------------- tab -------------------------------------------- */

#tab {
    position: relative;
    padding-top: 35px;
    padding-bottom: 35px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #fbf7f4;
    color: #050505;
    font-size: 1.125rem;
    overflow: hidden;
}

#tab ul {
    margin: 0;
    list-style: none;
}

#tab ul>li {
    position: relative;
    padding-left: 55px !important;
    min-height: 11px;
    -webkit-transition: color 300ms linear;
    -moz-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
    -o-transition: color 300ms linear;
    transition: color 300ms linear;
    margin: 0 !important;
    background: transparent !important;
}

#tab ul>li::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 22px;
    top: 0;
    width: 20px;
    height: 14px;
    margin: auto;
    background: url('../img/check-icon.png') center no-repeat;
}

@media (min-width: 992px) {
    #tab {
        padding-top: 105px;
        padding-bottom: 105px;
        font-size: 1.375rem;
    }

    #tab>.row:first-child::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -105px;
        left: -115px;
        width: 510px;
        height: 531px;
        background: url('../img/fussspur.png') center no-repeat;
    }
}

#tab :is(h1, h2, h3, h4, h5, h6) {
    color: #9b1670;
    font-size: clamp(1.375rem, 3vw, 2.125rem);
}

/* ------------------------------------------ team ----------------------------------------- */

#team {
    background: #ffffff;
    padding: clamp(30px, 6vw, 90px) 0 clamp(30px, 6vw, 115px) 0;
    position: relative;
}

#team .tab :is(h1, h2, h3, h4, h5, h6) {
    color: #9b1670;
    font-size: clamp(1.375rem, 3vw, 2.125rem);
    margin-bottom: 30px;
}

#team .member {
    font-size: 1rem;
    margin-bottom: 30px;
}

#team .member b,
#team .member strong {
    color: #181d4a;
    font-size: 1.125rem;
    margin-bottom: 0px;
}

#team .member img {
    border-radius: 100%;
    display: block;
}

@media (max-width: 991px) {
    #team .member img {
        margin: auto;
    }
}

#team .tab .tabContent {
    padding-bottom: 50px;
}

@media (min-width: 992px) {
    #team>.row>div:nth-child(1) {
        padding-right: 45px;
    }
}

#team .tab .tabContent .btgrid {
    font-size: 1rem;
}

#team .aktuelles {
    background: #fbf7f4;
    border-radius: 4px;
    color: #050505;
    margin: 0 auto;
    max-width: 370px;
    position: relative;
    z-index: 1;
}

#team .aktuelles .specialHeadline {
    background: #fdcff3;
    border-radius: 4px 4px 0 0;
    color: #050505;
    padding: 50px 30px 55px 30px;
    position: relative;
}

#team .aktuelles .specialHeadline a {
    color: #050505;
}

#team .aktuelles .specialHeadline :is(h1, h2, h3, h4, h5, h6) {
    color: #050505;
    font-size: clamp(1.375rem, 3vw, 2.125rem);
    margin: 0;
}

#team .aktuelles .specialHeadline::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" fill="%239b1670" viewBox="0 -960 960 960" width="48"><path d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h462l198 198v462q0 24-18 42t-42 18H180Zm0-60h600v-428.571H609V-780H180v600Zm99-111h402v-60H279v60Zm0-318h201v-60H279v60Zm0 159h402v-60H279v60Zm-99-330v171.429V-780v600-600Z"/></svg>') no-repeat center / 38px auto;
    content: '';
    display: block;
    height: 33px;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 32px;
}

#team .aktuelles .tabContent {
    color: #050505;
    padding: 35px 30px;
}

#team .aktuelles .tab_link_entry {
    display: grid;
    margin-bottom: 20px;
}

#team .aktuelles .tab_link_title a {
    color: #050505;
    display: inline;
    font-weight: 600;
    font-size: 1.125rem;
}

#team .aktuelles .tab_link_title {
    display: block;
    order: 2;
}

#team .aktuelles .tab_link_date {
    display: block;
    order: 1;
    font-size: 1rem;
}

#team .aktuelles .tab_spacer {
    display: none;
}

#team .aktuelles .tab_link_mehr {
    font-size: 0px;
}

#team .aktuelles .tab_link_mehr a {
    background: #9b1670;
    border-radius: 4px !important;
    color: #fff;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 11px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

#team .aktuelles .tab_link_mehr a:focus,
#team .aktuelles .tab_link_mehr a:hover {
    background: #757575;
}

/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #9b1670;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Ubuntu", sans-serif;
}

h1, .h1, .legacy_h1 {
    font-size: 1.8rem;
}

@media (min-width: 992px) {
    h1, .h1, .legacy_h1 {
        font-size: 3rem;
    }
}

h2, .h2, .legacy_h2 {
    font-size: 1.7rem;
}

@media (min-width: 992px) {
    h2, .h2, .legacy_h2 {
        font-size: 2.8125rem;
    }
}

h3, .h3, .legacy_h3 {
    font-size: 1.6rem;
}

@media (min-width: 992px) {
    h3, .h3, .legacy_h3 {
        font-size: 2.5rem;
    }
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: 1.5rem;
}

@media (min-width: 992px) {
    h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
        font-size: 2.1875rem;
    }
}

h5, .h5, .legacy_h5 {
    font-size: 1.4rem;
}

@media (min-width: 992px) {
    h5, .h5, .legacy_h5 {
        font-size: 1.875rem;
    }
}

h6, .h6, .legacy_h6 {
    font-size: 1.3rem;
}

@media (min-width: 992px) {
    h6, .h6, .legacy_h6 {
        font-size: 1.5625rem;
    }
}

#newslinks, #newsmandate {
    border: 1px solid #9b1670;
}

/* ----------------------------------------------- footer ----------------------------------------------- */

footer {
    background: #fbf7f4;
    color: #050505;
    overflow: hidden;
}

@media (min-width: 992px) {
    footer>.row>* {
        padding: 0;
    }
}

footer .tab {
    background: #fbf7f4;
    padding: 45px 0;
    position: relative;
    z-index: 1;
    color: #050505;
}

footer .tab .tabHeadline {
    color: #9b1670;
    font-size: clamp(1.375rem, 3vw, 2.125rem);
}

footer .tab a {
    color: #9b1670;
    text-decoration: underline;
}

/* ----------------------------------------------- footerInnerBox ----------------------------------------------- */

.footerInnerBox {
    background: #ffffff;
    position: relative;
}

.footerInnerBox>.row {
    margin: 0;
}

.footerInnerBox::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: -19vw;
    right: 0;
    width: calc(100% + 70vw);
    height: 100%;
    background: #ffffff;
}

@media (max-width: 767px) {
    .footerInnerBox>.row>*+* {
        border-top: 1px solid #d7a2c6;
    }
}

@media (min-width: 768px) {
    .footerInnerBox>.row>*+* {
        border-left: 1px solid #d7a2c6;
    }
}

.footerInnerBox>.row>* {
    padding: 30px 30px 30px 0;
}

.footerInnerBox>.row>*:last-child {
    padding: 30px;
}

@media (max-width: 767px) {
    .footerInnerBox>.row>*:last-child {
        padding-left: 0;
    }
}

@media (min-width: 992px) {
    .footerInnerBox>.row>* {
        padding: 35px 35px 30px 0;
    }

    .footerInnerBox>.row>*:last-child {
        padding: 40px 70px 45px 85px;
    }
}

@media (min-width: 768px) {
    footer>.row>* {
        padding: 0;
    }
}

/* ----------------------------------------------- innerfooter ----------------------------------------------- */

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
    line-height: 1.9;
}

#innerfooter a {
    color: #757575;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #9b1670;
    text-decoration: underline;
}

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    text-align: left;
    font-size: 1rem;
    color: #757575;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
}

#vernetzt span {
    color: #757575;
}

#vernetzt span span {
    display: block;
}

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

/* --------------------------------------------- iframetab -------------------------------------------- */

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
    max-height: 100%;
    min-height: 100%;
}

.iframetab,
.iframetab .template-page,
.iframetab .row,
.iframetab .row>*,
.iframetab .row>*>* {
    height: 100%;
}

@media (min-width: 1200px) {
    .iframetab {
        margin-right: -19vw;
    }
}