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


html {
    max-width: 1920px;
    width: 100%;
    margin: auto;
}

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

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

a {
    color: #a20d0d;
}

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


b,
strong {
    font-weight: 600;
}

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

#headerMainWrapper::before {
    content: '';
    overflow: hidden;
    width: calc(calc(100vw - 1200px) / 2);
    position: absolute;
    top: 0;
    bottom: 0;
    background: url(../img/pattern-left.jpg) no-repeat top left;
    height: 660px;
}


#headerMainWrapper::after {
    content: '';
    overflow: hidden;
    width: calc(calc(100vw - 1200px) / 2);
    position: absolute;
    top: 0;
    bottom: 0;
    background: url(../img/pattern-right.jpg) no-repeat top right;
    height: 660px;
    right: 0;
}

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

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

#topbar {
    padding: 40px 0;
}

#topbar .headNote :is(h1, h2, h3) {
    font-size: 1.25rem;
    margin: 0;
}


#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

@media (min-width: 992px) {

    #logo img {
        margin-bottom: -30px;
        position: relative;
        top: -7px;
        left: -8px;
    }

    #style span {
        font-size: 1.125rem;
        margin-right: 30px;
    }

    #style button {
        font-size: 18px;
        background: transparent;
        padding: 0;
        border: none;
        color: #252525;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        position: relative;
        line-height: 1;
        transition: color 150ms linear;
    }

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

    #style button:hover {
        color: #a20d0d;
    }

    #style button:focus-visible {
        outline: 2px auto;
    }
}


.buttonStyle a:not(.has-image):not([href*="mailto"]):not([rel]) {
    color: #252525;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    display: inline-block;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding-right: 70px;
    position: relative;
    width: fit-content;
}


.buttonStyle a:not(.has-image):not([href*="mailto"]):not([rel])::after {
    content: '\279C';
    margin-left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #a20d0d;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right 300ms cubic-bezier(.18, .89, .32, 1.28);
}

.buttonStyle a:not(.has-image):not([href*="mailto"]):not([rel]):hover::after,
.buttonStyle a:not(.has-image):not([href*="mailto"]):not([rel]):focus::after {
    right: -8px;
}


@media (max-width: 991px) {
    .easyLang {
        padding-top: 30px;

    }

    .buttonStyle a:not(.has-image):not([href*="mailto"]):not([rel]) {
        padding-right: 50px;
    }
}

@media (max-width: 450px) {
    .easyLang {
        padding-top: 10px;
        padding-bottom: 18px;
        padding-right: 19px;
    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {

    #menu {
        padding-top: 10px;
        position: relative !important;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
        top: 0 !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

    #burgerButton:before,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #a20d0d;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -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"]:before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

    #burgerButton:before,
    #burgerButton:after {
        content: "";
        display: block;
    }

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

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        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.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -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);
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

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

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {

    #search {
        width: 30px;
        height: 30px;
        display: block;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 9px;
        position: relative;
        z-index: 12;
    }

    #search::after {
        content: '';
        background: rgba(0, 0, 0, 0.08);
        width: 0;
        height: 0;
        z-index: -1;
        border-radius: 100%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: width 200ms linear, height 200ms linear;
    }

    #search:hover::after,
    #search:focus::after {
        width: 35px;
        height: 35px;
    }

    #menu>.row {
        background-color: #fff;
        border-radius: 60px;
        box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.15);
        max-width: 1170px;
        width: 100%;
    }

    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;
        width: calc(100% - 50px);
        flex-wrap: wrap;
    }

    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;
    }

    /* Fade in Hover Start */
    .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;
    }

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

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


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

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

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(46, 60, 72, 0.2);
    }
}

@media (min-width: 992px) {

    .navbar-default .navbar-nav>li>a {
        padding: 31px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-align: center;
    }
}

@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: 5px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 20px;
    background-color: #a20d0d;
    transition: width 200ms linear;

}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>a::before {
        bottom: 0;

    }
}

/* -------------------------------------------- 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: #2e3c48;
    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: 80%;
}

@media (max-width: 991px) {

    .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: #fff;
    box-shadow: 0 2px 11px 0 rgba(0, 0, 0, 0.2);
    padding: 30px 15px;
}

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

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

    .dropdown-toggle-button-wrapper,
    .dropdown-toggle-button-wrapper2 {
        top: 3px !important;
    }
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: -30px;

    }

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #252525;
    font-weight: 400;
    text-align: left;
    padding: 9px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 6px;
}

/* ------------------------------------------ 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:hover>a,
.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 {
    background: #a20d0d;
    color: #fff;
}

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

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

#headerWrapper {
    padding: 30px 0 40px 0;
}

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

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


    #headerpic .nivo-controlNav {
        top: 20px;
        bottom: unset;
    }
}

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

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

.slider-mask {
    display: none;
}

#newsletter {
    font-size: 1rem;
    padding-top: 100px;
    padding-bottom: 60px;
    padding-left: 40px;
    background: url(../img/icon-newsletter.png) no-repeat top 40px left 40px;
}

@media (max-width: 991px) {
    #newsletter {
        padding-left: 0;
        background: url(../img/icon-newsletter.png) no-repeat top left;
        padding-bottom: 30px;
    }
}

#newsletter .tabHeadline {
    font-size: 1.875rem;
}

#scrollTopBtn,
#scrollBottomBtn,
#scrollBottomBtn2 {
    width: 70px;
    height: 70px;
    border-radius: 100%;
    font-size: 0;
    background: #a20d0d;
    display: block;
    position: absolute;
    bottom: -35px;
    right: 100px;
    z-index: 12;
}

#scrollTopBtn::after,
#scrollBottomBtn::after,
#scrollBottomBtn2::after {
    content: '\279C';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    pointer-events: none;
}

#scrollTopBtn {
    width: 40px;
    height: 40px;
    position: relative;
    right: unset;
    bottom: unset;
}


#scrollTopBtn::after {
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 20px;
}

#scrollTopBtn:hover,
#scrollTopBtn:focus,
#scrollBottomBtn:hover,
#scrollBottomBtn:focus,
#scrollBottomBtn2:hover,
#scrollBottomBtn2:focus {
    background-color: #252525;
}

#newsletterInputs {
    display: inline-block;
    position: relative;
    margin-top: 30px;
}

#newsletter_input {
    color: #a20d0d;
    font-size: 1rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 0;
    padding-right: 43px;
    min-height: 33px;
    width: 100%;
}

#newsletter_submit {
    width: 33px;
    background: url('../img/newsletter-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    transition: background-color 300ms linear;
}

#newsletter_submit:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

#newsletter_input::placeholder {
    color: color-mix(in srgb, currentColor 100%, transparent) !important;
}

#newsletter_input::-ms-input-placeholder {
    color: #a20d0d !important;
}

#newsletter_input::-webkit-input-placeholder {
    color: #a20d0d !important;
}

#newsletter_input::-moz-placeholder {
    opacity: 1;
}

#newsletter_input:-moz-placeholder {
    opacity: 1;
}

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

#content {
    text-align: left;
    padding-bottom: 60px;
    padding-top: 40px;
}

.index #content {
    padding-bottom: 30px;
}

@media (min-width: 1200px) {
    .index #content>.row {
        padding-left: 40px;
    }    
}
/* ------------------------------------------------ mostLink ----------------------------------------------- */

.index #mostLink {
    position: relative;
    z-index: 2;
}

#mostLink>.row {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.15);
    max-width: 1170px;
    width: 100%;
    padding: 40px 30px;
}

#mostLink .tabContent {
    width: 100%;
}

#mostLink .tabHeadline {
    margin: 0;
    color: #a20d0d;
    font-size: 1.75rem;
    font-weight: 700;
}

#mostLink a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: #fff;
    color: #252525;
    font-size: 1rem;
    border: 2px solid #a20d0d;
    text-decoration: none;
}

#mostLink a:hover,
#mostLink a:focus {
    color: #a20d0d;
}

#mostLink .regularButton .template-page>.row>.col-xs-12 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#mostLink p:last-child a,
#mostLink p:last-child a {
    background: #a20d0d url(../img/icon-suche-w.png) no-repeat left 15px center;
    color: #fff;
    padding: 8px 20px 8px 50px;
    display: inline-block;
}

#mostLink .imgElement img {
    min-width: 108px;
    margin-left: -36px;
    margin-bottom: -40px;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #252525;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Work Sans", sans-serif;
}


#content :is(h1, h2, h3, h4, h5, h6) {
    color: #a20d0d;
    font-weight: 700;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

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

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

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

/* ----------------------------------------------- news ----------------------------------------------- */

#news {
    padding: clamp(30px, 10vw, 170px) 0 40px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(to bottom, #f8f8f8, #f8f8f8 280px, rgba(255, 255, 255, 0) 280px);
}

@media (min-width: 1200px) {
    #news {
        margin-top: -80px;
    }
}

#news .tab-content h2::before {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    bottom: clamp(7px, 1vw, 11px);
    left: 0;
    width: 8px;
    background: #a20d0d;
}

#news .tab-content h2 i,
#news .tab-content h2 em {
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    display: block;
    color: #252525;
}

#news .tab-content h2 {
    color: #a20d0d;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2rem);
}

@media (max-width: 767px) {
    #news .tab-content {
       margin-top: 40px;
    }
}

/* tab image */

@media (max-width: 991px) {
    .tab-narrow>* {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    #news .tab-narrow {
        padding-right: clamp(30px, 4vw, 45px);
    }
}

:is(#news) .tab-image {
    position: relative;
    z-index: 1;
    min-height: 80px;
    margin-bottom: -108px;
    overflow: hidden;
}

:is(#news) .tab-image::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -28px;
    right: -15px;
    top: 50%;
    bottom: 0;
    background: #ffffff;
    border-bottom-left-radius: 110px;
}

#news .buttonStyle {
    margin-top: 30px;
}

@media (min-width: 1400px) {
    #news .buttonStyle {
        margin-left: 50px;
    }
}

:is(#news) .tab-image .banner {
    overflow: hidden;
    margin-bottom: 28px;
}

@media (min-width: 1200px) {
    :is(#news) .tab-image .banner {
        margin-left: 28px;
    }
}

:is(#news) .tab-image .banner img {
    display: block;
    aspect-ratio: 1/1;
    height: 100%;
}

/* tab */

:is(#news) .tab {
    border: 4px solid #a20d0d;
    background: #ffffff;
    padding: 105px clamp(15px, 2vw, 30px) clamp(30px, 3vw, 36px) clamp(15px, 2vw, 30px);
}

:is(#news) .tab>h2 {
    font-size: 1.4375rem;
    margin-bottom: clamp(15px, 4vw, 25px);
}

/* tabnews/tabevents */

#news .tab_link_entries {
    margin-top: clamp(10px, 3vw, 70px);
}

:is(#news) .tab_link_entries {
    display: grid;
    gap: 30px 30px;
}

@media (min-width: 992px) {
    :is(#news) .tab_link_entries {
        grid-template-columns: 1fr 1fr;
    }
}

:is(#news) .tab_link_entry {
    font-size: 1rem;
    border-bottom: none !important;
    position: relative;
    padding: 140px clamp(15px, 4vw, 30px) clamp(15px, 4vw, 26px) clamp(15px, 4vw, 30px);
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.15);
}

#news .tab_link_entry {
    background: #ffffff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M7 42q-1.25 0-2.125-.875T4 39V6l3.35 3.35L10.65 6 14 9.35 17.35 6l3.3 3.35L24 6l3.35 3.35L30.65 6 34 9.35 37.35 6l3.3 3.35L44 6v33q0 1.25-.875 2.125T41 42Zm0-3h15.5V25H7v14Zm18.5 0H41v-5.5H25.5Zm0-8.5H41V25H25.5ZM7 22h34v-6H7Z' fill='%23f8f8f8'/%3E%3C/svg%3E") top -12px right 6px / 96px auto no-repeat;
}

#news .tab_link_entry .tab_date {
    font-size: 0.875rem;
    font-weight: 400;
    color: #ffffff;
    background: #a20d0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M9 44q-1.2 0-2.1-.9Q6 42.2 6 41V10q0-1.2.9-2.1Q7.8 7 9 7h3.25V4h3.25v3h17V4h3.25v3H39q1.2 0 2.1.9.9.9.9 2.1v31q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V19.5H9V41Zm0-24.5h30V10H9Zm0 0V10v6.5Z' fill='fff'/%3E%3C/svg%3E") center left 10px / 18px auto no-repeat;
    line-height: 1.2;
    padding: 8px 10px 6px 35px;
    border-radius: 30px;
    position: absolute;
    top: 50px;
    right: clamp(15px, 4vw, 30px);
    max-width: calc(100% - 170px);
    min-width: 130px;
}

:is(#news) .tab_link_entry .tab_link_title::after {
    content: "-";
    display: block;
    margin: 3px 0;
    font-weight: 500;
    line-height: 1;
}

:is(#news) .tab_link_entry .tab_link_title a {
    font-size: 1.25rem;
    line-height: 1.2;
    display: block;
}

:is(#news) .tab_link_entry .tab_link_title a::before {
    content: "";
    background: url('../img/platzhalter-aktuelles.jpg') center / cover no-repeat;
}

:is(#news) .tab_link_entry .tab_preview_picture,
:is(#news) .tab_link_entry .tab_link_title a::before {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 20px;
    left: clamp(15px, 4vw, 30px);
}

:is(#news) .tab_link_entry .tab_preview_picture img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
}

:is(#news) .tab_link_entry :is(.tab_spacer, .tab_link_mehr) {
    display: none;
}

#events .tab_link_entry .tab_link_mandat {
    order: 100;
    line-height: 1.2;
    text-align: right;
    margin-top: clamp(15px, 4vw, 26px);
    margin-bottom: clamp(-5px, 4vw, -20px);
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

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

#footerTop {
    background: url(../img/pattern.jpg) no-repeat left top / auto 100%, url(../img/pattern.jpg) no-repeat right top / auto 100%;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

#footerTop .tabHeadline {
    font-size: 1.875rem;
}


#footerTopHeadline {
    margin-bottom: 30px;
}

#footerTopHeadline a {
    margin-left: auto;
}

@media (max-width: 767px) {
    #footerTopHeadline a {
        margin: auto;
    }
}

#footerTop .tabContent a {
    text-decoration: underline;
}

#footerTop>.row::after {
    content: '';
    background: #fff;
    transform: skew(-30deg);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    position: absolute;
    content: '';
    display: block;
    top: 0;
    bottom: 0;
    right: -300px;
    left: -130px;
}


@media (min-width: 1200px) {
    #footerTop>.row::before {
        content: '';
        background: url(../img/kontakt.png) no-repeat bottom center;
        width: 131px;
        height: 101px;
        display: block;
        position: absolute;
        right: -140px;
        bottom: 0;
        pointer-events: none;
        z-index: 12;
    }
}

#footerTop>.row>.col-xs-12 {
    z-index: 12;
}

#footerTop>.row {
    padding: 60px 0 60px 30px;
}


@media (max-width: 991px) {
    #footerTop>.row {
        padding: 60px 0 60px 0;
    }
}

#logos {
    padding: 30px 0;
}

#footerBottom {
    background: #f8f8f8;
    padding: 40px 0;
}

@media (max-width: 767px) {
    footer .row>.col-xs-12:not(:first-child)::before {
        background: #000000;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
        opacity: 0.2;
    }

    footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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


#innerfooter li+li::before {
    content: '';
    margin: 0 15px;
}


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

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

#vernetzt b {
    color: #a20d0d;
    font-weight: 700;
}

#vernetzt span {
    color: #252525;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-right: 12px;
}