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

body {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    color: #575757;
    background-color: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

@media (min-width: 992px) {
    body {
        font-size: 1.125rem;
        background: #ffffff url(../img/kringeling.png) top left no-repeat;
    }
}

a {
    color: #813982;
}

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

b, strong {
    font-weight: 500;
}

#overflow {
    overflow: hidden;
}

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

#logo {
    padding: 12px 20px;
    position: relative;
    display: inline-block;
    z-index: 3;
}

@media (max-width: 991px) {
    body:not(.introSite) #logo {
        position: fixed;
        left: 0;
        top: -10px;
        z-index: 102;
    }
}

@media (min-width: 992px) {
    body:not(.introSite) #logo {
        margin: 60px 0;
        padding: 30px;
    }
}

@media (min-width: 1200px) {
    body:not(.introSite) #logo {
        margin: 98px 0 65px 0;
        padding: 40px 5px;
    }
}

#logo img {
    display: block;
    background-color: #fff;
    padding: 5px;
    border-radius: 50%;
}

@media (max-width: 991px) {
    #logo img {
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
        max-width: 130px;
        width: 100%;
    }
}

/* ----------------------------------------------- contact ----------------------------------------------- */

@media (max-width: 991px) {
    header {
        padding-top: 70px;
    }

    .bannerCol {
        padding-right: 0;
    }

    .index .bannerCol {
        padding-bottom: 30px;
    }
}

.contact {
    font-size: 0.875rem;
    position: relative;
    z-index: 20;
}

@media (max-width: 575px) {
    .contact>.row>div+div {
        padding-top: 30px;
    }

    body:not(.index) .contact>.row>div+div {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (min-width: 576px) {
    .contact>.row>div {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .contact>.row>div+div {
        border-left: 1px solid #dbe2e1;
    }
}

@media (min-width: 768px) {
    .contact {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (min-width: 992px) {
    body:not(.index) .contact>.row>div:first-child {
        margin-top: 20px;
    }

    body:not(.index) .contact>.row>div:last-child {
        margin-top: 20px;
    }

    body:not(.index) .contact>.row>div+div {
        border-left: 0px;
    }
}

@media (min-width: 1200px) {
    body.index .contact>.row>div:first-child {
        padding-right: 20px;
    }

    body.index .contact>.row>div:last-child {
        padding-left: 20px;
    }
}

.contact .contactHeadline {
    font-variant: small-caps;
    font-size: 1.375rem;
}

@media (min-width: 768px) {
    .contact .contactHeadline {
        margin: 0 0 25px 0;
        font-size: 1.5625rem;
    }
}

.contact table td, .contact table th {
    padding: 0 10px 0 0;
}

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

#slider {
    height: 200px;
    width: 100%;
}

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

@media (min-width: 576px) {
    #slider {
        height: 250px;
        width: 100%;
    }

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

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

@media (min-width: 768px) {
    #slider {
        height: 300px;
    }

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

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

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

    body.index #slider {
        height: 500px;
    }

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

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

@media (min-width: 1200px) {
    #slider {
        height: 450px;
    }

    body.index #slider {
        height: 615px;
    }
}

#headerpic {
    padding: 0px 0px;
    position: relative;
}

.slider-mask {
    display: block;
    background: url('../img/banner-overlay.png') bottom left / cover no-repeat;
    height: 101%;
}

#headerpic .nivo-controlNav {
    bottom: 15px;
}

@media (min-width: 576px) {
    #headerpic .slider-wrapper {
        margin-right: -13vw;
    }

    #headerpic .nivo-controlNav {
        bottom: 25px;
    }
}

@media (min-width: 992px) {
    #headerpic .slider-wrapper {
        margin-left: -100px;
        margin-right: calc(-50vw + 481px);
    }

    #headerpic .nivo-controlNav {
        bottom: 50px;
    }
}

@media (min-width: 1200px) {
    #headerpic .slider-wrapper {
        margin-left: -140px;
        margin-right: calc(-50vw + 585px);
    }
}

/* ------------------------------------ ticker ----------------------------------- */

.newsticker {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    padding: 15px 0;
    color: #ffffff;
}

@media (min-width: 992px) {
    .newsticker {
        margin-top: 25px;
        margin-bottom: 5px;
    }
}

.newsticker,
.newsticker a {
    color: #ffffff;
}

/* ------------------------------------------------- introSite ------------------------------------------------ */


.newsEventsWrapper hr{
    margin-top: 20px;
    margin-bottom: 20px;
}

.tab_link_mehr {
    font-size: 0px;
}

.tab_link_mehr a{
    color: #813982;
    text-decoration: none;
}

.news .tab_link_mehr a::after{
    content: 'Alle Meldungen';
    font-size: 1rem;
}

.events .tab_link_mehr a::after{
    content: 'Alle Veranstaltungen';
    font-size: 1rem;
}

.introSite #losungen {
    padding: 40px 40px 60px 40px;
    position: relative;
    z-index: 10;
    background: #ffffff;
    height: 100%;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

.introSite #topbar {
    background: #fff;
    margin-bottom: -60px;
}

.introSite {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-bottom: 0 !important;
}


.introSite #logo {
    font-size: 1.25rem;
    color: #444444;
    top: -20px;
    text-decoration: none;
}

.introSite #logo h2 {
    font-size: 1.875rem;
    color: #813982;
}

.introSite .buttonTab a {
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    width: 125px;
    height: 125px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    color: #767676;
    transition: all, 300ms;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9375rem;
    text-align: center;
    border: 3px solid #bfbfbf;
    margin: 0 auto;
}

@media (max-width: 575px) {
    .introSite .buttonTab a {
        width: 110px;
        height: 110px;
        font-size: 0.8rem;
    }
}

@media (max-width: 991px) {
    .introSite .buttonTab a {
        margin: auto;
    }
}

.introSite .buttonTab a:hover,
.introSite .buttonTab a:focus {
    color: #813982;
    border: 3px solid #767676;
}

@media (min-width: 992px) {
    .introSite #firstRow>.row>div:nth-of-type(2) {
        margin-top: -30px;
    }

    .introSite #firstRow>.row>div:nth-of-type(1),
    .introSite #firstRow>.row>div:nth-of-type(3) {
        margin-top: 40px;
    }

    .introSite #thirdRow>.row>div:nth-of-type(1) .buttonTab,
    .introSite #thirdRow>.row>div:nth-of-type(3) .buttonTab {
        margin-top: 30px;
    }

    #mainWrapper > .row > div:nth-child(2):after {
        content: '';
        width: 430px;
        height: 430px;
        background-color: #fff;
        z-index: 1;
        position: absolute;
        left: 50.4%;
        top: 40%;
        transform: translateX(-50%) translateY(-44%);
        display: inline-block;
        pointer-events: none;
        border-radius: 50%;
        background-image: url(../img/logo-intro.png);
        background-position: center;
        background-repeat: no-repeat;
    }

    #secondRow{
        position: relative;
        top: 20px;
    }
    
}

.introSite main {
    padding: 0;
}

.introSite #mainWrapper {
    padding-top: 150px;
    padding-bottom: 150px;
    background-size: cover;
}

.introSite #mainWrapper div {
    z-index: 2;
}


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

    .introSite #mainWrapper {
        padding: 60px 0;
    }

    #thirdRow {
        margin-top: 12px;
    }
    .introSite #mainWrapper > .row > div {
        margin-bottom: 40px;
    }
}

.introSite #mainWrapper .tab {
    background: #fff;
    padding: 15px;
    height: 100%;
}

.introSite #mainWrapper .tab .tabHeadline {
    color: #813982;
    font-size: 1.25rem !important;
}

.introSite #mainWrapper .tab .tab_link_title a {
    color: #767676;
    font-weight: 600;
}

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

#content {
    text-align: left;
    margin-bottom: 30px;
}

main {
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
}

@media (min-width: 992px) {
    main {
        padding-top: 20px;
        padding-bottom: 95px;
        background: #ffffff url(../img/logo-main.png) top 220px right 40px no-repeat;
    }

    #content {
        margin-bottom: 65px;
    }
}

@media (min-width: 1200px) {
    main {
        padding-bottom: calc(110px + (175 - 110) * (100vw - 1200px) / (1200 - 320));
    }
}

#contentbottom_left {
    position: relative;
    z-index: 2;
}



/* ----------------------------------------- news, events, partner ----------------------------------------- */

#events {
    background: #ffffff url(../img/kringeling.png) top left no-repeat;
}

#news, #events, #partner {
    padding-bottom: 40px;
    padding-top: 40px;
    color: #666666;
}

@media (max-width: 767px) {

    #news .tab_link_entry.tab_link_entry,
    #events .tab_link_entry+.tab_link_entry {
        margin-top: 20px;
    }
}

@media (min-width: 992px) {
    #news, #events {
        padding-bottom: 60px;
        padding-top: 60px;
    }
}

#news .tabHeadline,
#events .tabHeadline,
#partner .tabHeadline {
    font-size: clamp(1.25rem, 10vw, 2.25rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}


#news .tabHeadline {
    color: #ffffff;
}

#events .tabHeadline,
#partner .tabHeadline {
    color: #813982;
}


@media (min-width: 768px) {

    #news .tab_link_entries,
    #events .tab_link_entries {
        -ms-flex-wrap: wrap;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {

    #news .tab_link_entries,
    #events .tab_link_entries {
        position: relative;
    }
}

#news .tab_link_entry,
#events .tab_link_entry {
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 100%;
}

@media (min-width: 768px) {

    #news .tab_link_entry,
    #events .tab_link_entry {
        padding: 35px 25px;
        width: calc(33.33% - 20px);
    }

    #news .tab_link_entry:nth-child(1),
    #news .tab_link_entry:nth-child(2),
    #events .tab_link_entry:nth-child(1),
    #events .tab_link_entry:nth-child(2) {
        margin-right: 15px;
    }

    #news .tab_link_entry:nth-child(2),
    #news .tab_link_entry:nth-child(3),
    #events .tab_link_entry:nth-child(2),
    #events .tab_link_entry:nth-child(3) {
        margin-left: 15px;
    }
}

#news .tab_link_mehr,
#events .tab_link_mehr {
    text-align: center;
    font-size: 0;
    color: transparent;
    margin-top: 30px;
}

#news .tab_link_title a,
#events .tab_link_title a {
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.1;
}

#news .tab_link_mehr a:hover,
#news .tab_link_mehr a:focus,
#events .tab_link_mehr a:hover,
#events .tab_link_mehr a:focus {
    background: #0c5c82;
}

#news .tab_link_mehr a::before {
    content: 'alle Meldungen »';
    background-color: #ffffff;
}

#events .tab_link_mehr a::before {
    content: 'alle Veranstaltungen »';
    background-color: #e9e9e9;
}


#news .tab_link_mehr a::before,
#events .tab_link_mehr a::before {
    display: inline-block;
    position: relative;
    height: 20px;
    padding: 10px 35px 12px 35px;
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    text-align: center;
    color: #813982;
    font-size: 1rem;
    font-weight: 500;
}


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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        position: absolute;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
        right: 15px;
        top: 50%;
        margin-top: -20px;
    }

    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #813982;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 3px;
        -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: 10px;
    }

    #burgerButtonInner2 {
        top: 18px;
    }

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

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 110;
        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 {
        height: 70px;
        line-height: 1;
        border-radius: 2px;
        padding: 10px 15px;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 101;
        -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 70px;
        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: 70px;
    }
}

@media (max-width: 575px) {
    .navbar-collapse {
        width: calc(100% - 70px);
    }
}

@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) {
    nav {
        border-left: 1px solid #dbe2e1;
        border-top: 1px solid #dbe2e1;
        border-bottom: 1px solid #dbe2e1;
        margin-bottom: 65px;
    }

    .navbar-default .navbar-nav {
        width: 100%;
    }

    .navbar-default .navbar-nav>li {
        display: block !important;
        width: 100%;
        float: none;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
        display: block;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #575757;
    font-weight: 500;
    text-align: left;
    padding: 8px 15px 8px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 13px 15px;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li>a {
        padding: 13px 28px;
    }
}

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

.navbar-default .navbar-nav>li+li {
    border-top: 1px solid #dbe2e1;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a.dropdown-toggle::after {
        content: "+";
        font-size: 1.5rem;
        position: absolute;
        display: block;
        right: 10px;
        top: 50%;
        margin-top: -14px;
        font-variant: normal;
        font-weight: 400;
    }
}

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

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li.open>a,
.navbar-default .navbar-nav>li.open>a:hover,
.navbar-default .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: #813982;
}

.navbar-nav>li:focus-within>a {
    color: #813982;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    border-top: 1px solid #dbe2e1;
    padding: 12px 0 12px 14px;
    position: relative;
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding-left: 30px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu::after {
    content: "";
    display: block;
    position: absolute;
    top: 28px;
    left: 20px;
    bottom: 28px;
    width: 1px;
    background: #dbe2e1;
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        left: 35px;
    }
}

.navbar-nav li[class*="_over"]>.dropdown-menu, .navbar-nav li[class*="open"]>.dropdown-menu {
    display: block !important;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #444444;
    font-weight: normal;
    text-align: left;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    padding: 9px 15px 9px 30px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    padding: 7px 15px 7px 45px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 15px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #575757;
    border: 1px solid #575757;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

/* ------------------------------------------ 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: #813982;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #813982;
}

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

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before {
    background: #813982;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #813982;
    font-weight: 500;
    line-height: 1.2;
}

h1 em, h1 i,
h2 em, h2 i,
h3 em, h3 i {
    font-variant: normal;
    color: #007e9e;
    font-weight: 500;
    font-size: 1.125rem;
    font-style: normal;
    display: block;
}

h1, .h1, .legacy_h1 {
    font-size: calc(22px + (50 - 32) * (100vw - 320px) / (1920 - 320));
}

h2, .h2, .legacy_h2 {
    font-size: calc(21px + (40 - 24) * (100vw - 320px) / (1920 - 320));
}

h3, .h3, .legacy_h3 {
    font-size: calc(20px + (35 - 23) * (100vw - 320px) / (1920 - 320));
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: calc(19px + (30 - 22) * (100vw - 320px) / (1920 - 320));
}

h5, .h5, .legacy_h5 {
    font-size: calc(18px + (25 - 21) * (100vw - 320px) / (1920 - 320));
}

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

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

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

footer {
    background: #ffffff;
}

body:not(.introSite) footer {
    border-top: 1px solid #dbe2e1;
    position: relative;
    background: #ffffff url('../img/logo-footer.png') bottom right no-repeat;
    margin-top: 200px;
}

body:not(.introSite) footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -201px;
    background-size: cover;
    background-position: top right, center;
    background-repeat: no-repeat;
    display: block;
    height: 200px;
    max-width: 734px;
    pointer-events: none;
}

@media (min-width: 576px) {
    body:not(.introSite) footer {
        margin-top: 250px;
    }

    body:not(.introSite) footer::before {
        top: -251px;
        height: 250px;
    }
}

@media (min-width: 768px) {
    body:not(.introSite) footer {
        margin-top: 300px;
    }

    body:not(.introSite) footer::before {
        top: -301px;
        height: 300px;
    }
}

@media (min-width: 992px) {
    body:not(.introSite) footer {
        margin-top: 0;
    }

    body:not(.introSite) footer::before {
        width: 33.33%;
        height: 495px;
        right: auto;
        top: auto;
        bottom: 0;
    }
}

@media (min-width: 1200px) {
    body:not(.introSite) footer::before {
        width: calc(400px + (50vw - 600px));

    }
}

#footer {
    padding-top: 30px;
    padding-bottom: 30px;
}

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

.footerHeadline {
    font-size: 1.375rem;
}

@media (min-width: 768px) {
    .footerHeadline {
        margin: 0 0 15px 0;
        font-size: 1.5625rem;
    }
}

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

.introSite #vernetzt {
    text-align: right;
}

.introSite #vernetzt b {
    color: #813982;
    font-weight: 400;
}

.introSite #vernetzt img {
    margin-left: 15px;
}

#vernetzt {
    font-size: 0.75rem;
    color: #666666;
    justify-content: center;
    line-height: 1.3;
    margin: 30px auto 0 auto;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

@media (min-width: 992px) {
    #vernetzt {
        margin: 0 auto;
    }
}

@media (max-width: 991px) {
    .introSite #vernetzt {
        text-align: center !important;
        margin-bottom: 15px;
    }
}

#vernetzt span {
    color: #767676;
    display: block;
}

#vernetzt b {
    color: #813982;
}

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

#scrollTopBtn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 22px;
    background-color: #813982;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.875rem;
}

#scrollTopBtn::after {
    display: inline-block;
    content: '';
    width: 22px;
    height: 12px;
    background-image: url(../img/pfeile.png);
    background-repeat: no-repeat;
    background-position: right center;
}

@media (min-width: 992px) {
    #scrollTopBtn {
        margin-bottom: 60px;
    }
}

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

body:not(.introSite) #innerfooter {
    border-top: 1px solid #dbe2e1;
    font-size: 1rem;
}

#innerfooter ul {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: stretch;
    align-items: stretch;
}

#innerfooter li {
    display: block;
    padding: 29px 15px;
}

@media (min-width: 576px) {
    #innerfooter li {
        display: inline-block;
    }
}

@media (max-width: 991px) {
    #innerfooter li {
        padding: 13px 15px;
        width: 100%;
    }
}

#innerfooter a {
    color: #767676;
    text-decoration: none;
    font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #512052;
}

/* ------------------------------------------- contrast ------------------------------------------ */

.contrast_light_font footer .row {
    background: transparent !important;
}