@import url('https://fonts.verwaltungsportal.de/import/?family=Work+Sans:300,300i400,400i,600,600i%7CTeko:400,500,700');

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

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #4c4c4c;
    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: 992px) {
    body {
        font-size: 1.125rem;
    }
}

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

a {
    color: #23408f;
}

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

main a,
b,
strong {
    font-weight: 600;
}

main a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

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

#logo {
    display: inline-block;
    position: relative;
    z-index: 55;
}

#logoArea {
    text-align: center;
}

@media (min-width: 992px) {
    #logoArea {
        margin-top: -80px;
        text-align: unset;
    }
}


#logo img {
    display: block;
}

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

/* ----------------------------------------------- Suche -------------------------------------- */

#search {
    height: 33px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    border: 2px solid #e9e9e9;
    bottom: 30px;
}

#search_input {
    color: #222222;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 43px;
    height: 33px;
    width: 100%;
}

#search_submit {
    width: 33px;
    background: url('../img/lupe.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: absolute;
    top: 5px;
    right: 0;
    height: 70%;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
    border-left: 1px solid #23408f;
}

#search_input::-ms-input-placeholder {
    color: #222222 !important;
}

#search_input::-webkit-input-placeholder {
    color: #222222 !important;
}

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #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: #23408f;
        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: #c74342;
        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) {
    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 {
        position: relative;
        padding: 40px 0 5px 0;
    }

    nav.horizontally::before {
        display: block;
        position: absolute;
        content: "";
        top: 0px;
        left: 0;
        background-color: #fff;
        width: 30vw;
        z-index: 1;
        height: 100%;
    }

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

    /* Pseudo */

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

    /* 3rd */

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

    /* Fade in Hover End */
}

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

.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-weight: bold;
    text-align: left;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
}

@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+li {
        margin-left: 20px;
    }

    .navbar-default .navbar-nav>li>a {
        padding: 10px 15px;
        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;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::before {
        content: "";
        display: block;
        position: absolute;
        height: 0;
        width: 4px;
        left: calc(50% - 2px);
        top: -50px;
        background-color: #dfd52d;
        -webkit-transition: all 0.5s 0s ease;
        -moz-transition: all 0.5s 0s ease;
        -o-transition: all 0.5s 0s ease;
        transition: all 0.5s 0s ease;
    }
}

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

.navbar-nav>li:hover>a,
.navbar-nav>li:focus>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: #fff;
    background-color: transparent;
    border-color: #dfd52d;
}

.navbar-nav>li:hover>a::before,
.navbar-nav>li:focus>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 {
    height: 50px;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #fff;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {

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

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -18px;
        margin-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 {
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 9px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "";
    display: block;
    position: absolute;
    left: -15px;
    top: calc(50% - 2px);
    width: 0;
    height: 5px;
    background-color: #23408f;
    -webkit-transition: width 0.5s 0s ease;
    -moz-transition: width 0.5s 0s ease;
    -o-transition: width 0.5s 0s ease;
    transition: width 0.5s 0s ease;
}

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

.navbar-nav>li>.dropdown-menu>li:focus>a,
.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: #23408f;
}

.navbar-nav>li>.dropdown-menu>li:focus>a::before,
.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,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus::before {
    width: 30px;
}

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

header {
    background-color: #c74342;
    height: unset;
    position: relative;
}

@media (min-width: 992px) {
    header::before {
        display: block;
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        bottom: 0;
        width: 315px;
        background-color: #23408f;
    }

    header {
        height: 540px;
    }
}

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

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

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

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

#bannerTab>.row,
#bannerTab>.row>.col-lg-7 {
    position: static;
}

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

.slider-mask {
    display: none;
}

#headerpic .slider-wrapper {
    margin-left: -15px;
    margin-right: -15px;
}

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

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

/*-- bannerTab --*/

#bannerTab {
    color: #fff;
}

@media (min-width: 992px) {
    #bannerTab {
        margin-top: 0;
        color: #fff;
    }
}

#bannerTab a {
    color: #fff;
}

@media (max-width: 991px) {
    #bannerTab .tab {
        padding-top: 30px;
    }
}

#bannerTab .tabHeadline {
    color: #fff;
    font-weight: bold;
    font-size: clamp(2.1875rem, 4vw, 3.125rem);
    margin-bottom: 0;
    position: relative;
    text-transform: uppercase;
}

@media (min-width: 992px) {

    #bannerTab .tabHeadline::before,
    #bannerTab .tabHeadline::after {
        display: block;
        position: absolute;
        content: "";
        width: 115px;
        height: 5px;
        background-color: #dfd52d;
    }

    #bannerTab .tabHeadline::before {
        left: -130px;
        top: 20px;
    }

    #bannerTab .tabHeadline::after {
        left: -160px;
        top: 40px;
    }

    #bannerTab .tab {
        margin-top: 75px;
    }
}

#bannerTab b,
#bannerTab strong {
    color: #fff;
    font-weight: bold;
    font-size: 2.1875rem;
    display: inline-block;
}

/*-- ticker --*/

#ticker {
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

.newsticker {
    margin-bottom: 0;
}

@media (min-width: 992px) {

    #ticker::after,
    #ticker::before {
        right: 0;
        width: 50vw;
        height: 1px;
        background-color: #fff;
        display: block;
        position: absolute;
        content: "";
    }

    #ticker::before {
        top: 0;
    }

    #ticker::after {
        bottom: 0;
    }

    #ticker {
        margin-top: 75px;
        padding-top: 30px;
        padding-bottom: 30px;
        margin-bottom: 0;
    }
}

/* #region ----------------------------------- news + events ------------------------------------ */

#events {
    padding: clamp(30px, 10vw, 100px) 0;
}

#news {
    padding-bottom: clamp(30px, 10vw, 110px);
    background: linear-gradient(to top, #f0f0f0, #f0f0f0 60%, rgba(255, 255, 255, 0) 60%);
}

/* tab */

:is(#news, #events) .tab-img {
    position: relative;
    z-index: 1;
}

:is(#news, #events) .tab {
    font-size: 1rem;
    position: relative;
    z-index: 2;
    background: #23408f;
    padding: clamp(15px, 3vw, 35px) clamp(15px, 3vw, 40px) clamp(15px, 3vw, 25px) clamp(15px, 3vw, 40px);
}

:is(#news, #events) .tab,
:is(#news, #events) .tab :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

:is(#news, #events) .tab-img .banner img {
    display: block;
}

@media (min-width: 576px) {
    #news .tab {
        margin-right: -30px;
    }

    #events .tab {
        margin-left: -30px;
    }
}

@media (min-width: 992px) {
    :is(#news, #events) .tab-img .banner {
        position: absolute;
        left: 15px;
        right: 15px;
    }

    #news .tab-img .banner {
        top: 70px;
        bottom: 70px;
    }

    #events .tab-img .banner {
        top: 50px;
        bottom: 120px;
    }

    :is(#news, #events) .tab-img .banner img {
        object-fit: cover;
        object-position: 50% 100%;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    :is(#news, #events) .tab {
        display: inline-block;
    }

    #news .tab {
        margin: 100px -30px 0 30px;
    }

    #events .tab {
        margin: 0 30px 0 -100px;
    }
}

:is(#news, #events) .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2rem, 5vw, 2.8125rem);
    text-transform: uppercase;
    margin-bottom: 0;
}

/* tabnews/tabevents */

:is(#news, #events) .tab-container {
    font-size: 1rem;
    border: 4px solid #c74342;
    background-color: #fff;
    background-repeat: no-repeat;
    padding: clamp(10px, 5vw, 75px) 30px 30px 0;
}

#news .tab-container {
    background-image: url('../img/ping-pong.png');
    background-position: top -10px right -10px;
}

#events .tab-container {
    background-image: url('../img/icon-schwimmen.png');
    background-position: bottom -10px left -10px;
}

@media (min-width: 768px) {
    :is(#news, #events) .tab-container {
        border-width: 10px;
    }

    :is(#news, #events) .tab-container {
        margin-left: -115px;
    }

    #news .tab-container {
        padding-left: 115px;
    }

    #events .tab-container {
        padding-left: 85px;
        margin-top: -59px;
    }
}

@media (min-width: 992px) {
    #news .tab-container {
        padding-left: 135px;
    }

    #events .tab-container {
        padding-left: 105px;
    }
}

@media (min-width: 1200px) {
    :is(#news, #events) .tab-container {
        margin-left: -215px;
    }

    #news .tab-container {
        padding-left: 235px;
        min-height: 500px;
    }

    #events .tab-container {
        padding-left: 205px;
    }
}

:is(#news, #events) .tab_link {
    padding-left: 30px;
}

:is(#news, #events) .tab_link_entry {
    border-bottom: none !important;
    position: relative;
    padding: clamp(20px, 4vw, 30px) 0;
}

#news .tab_link_entry {
    padding-top: calc(100px + clamp(15px, 4vw, 30px));
}

:is(#news, #events) .tab_link_entry+.tab_link_entry {
    border-top: 1px solid rgba(51, 51, 51, 0.35);
}

:is(#news, #events) .tab_link_entry .tab_link_title a {
    font-size: 1.25rem;
    line-height: 1.2;
    display: block;
    color: #c74342;
    font-weight: 600;
}

#news .tab_link_entry .tab_link_title {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    #news .tab_link_entry .tab_link_title {
        margin-left: 100px;
        margin-bottom: 25px;
    }

    #news .tab_link_entry .tab_date {
        margin-top: -84px;
        margin-left: 100px;
    }
}

#news .tab_link_entry .tab_link_title>* {
    margin: 0 !important;
}

#events .tab_link_entry .tab_link_title {
    margin-bottom: 10px;
}

:is(#news, #events) .tab_link_entry .tab_link_title a:not(:hover):not(:focus) {
    text-decoration: none;
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background: #f0f0f0 url('../img/meldungen-platzhalter.png') center no-repeat;
}

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

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

#events .tab_link_mandat a {
    color: inherit;
    font-weight: inherit;
}

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

@media (min-width: 992px) {
    :is(#news, #events) .button-design {
        margin-top: 10px;
    }
}

/* #endregion -------------------------------- news + events ------------------------------------ */

/* -------------------------------- teaser ------------------------------------ */
#teaser {
    background-attachment: fixed;
    background-size: cover;
    padding: 60px 0;
    color: #fff;
}

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

#teaser a {
    font-size: 22px;
    font-weight: 400 !important;
    font-family: "Work Sans", sans-serif;
}

/* #region ----------------------------------- deco stripes ------------------------------------- */

#news>.row::before,
#events .tab-img::before,
#headerpic>.row::before {
    content: "";
    display: block;
    width: 186px;
    height: 145px;
    position: absolute;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 6%, rgba(255, 255, 255, 0) 6%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.35) 56%, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0) 100%);
    background-size: 10px 10px;
}

@media (max-width: 991px) {

    #news>.row::before,
    #events .tab-img::before,
    #headerpic>.row::before {
        opacity: 0.5;
    }
}

#headerpic>.row::before {
    right: -15px;
    bottom: -110px;
}

#news>.row::before {
    left: -125px;
    bottom: calc(55% - 10px);
}

#events .tab-img::before {
    right: 15px;
    top: -50px;
}

/* #endregion -------------------------------- deco stripes ------------------------------------- */

/* #region ------------------------------------ deco words -------------------------------------- */

footer,
header {
    position: relative;
}

@media (min-width: 992px) {

    header::after {
        color: rgba(0, 0, 0, 0.1);
        font-weight: 600;
        font-size: clamp(100px, 10vw, 150px);
        line-height: 0;
        transform: rotate(-90deg);
        position: absolute;
        right: 0;
        width: clamp(60px, 7vw, 100px);

    }

    header::after {
        content: "#Amönenburg";
        bottom: -70vw;
    }
}

/* #endregion --------------------------------- deco words -------------------------------------- */

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

#footer>.row,
#news>.row,
#events>.row,
#footer2>.row {
    row-gap: 30px;
}

#headerpic>.row> :first-child>.row {
    row-gap: clamp(50px, 6vw, 62px);
}

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

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

.button-design a:not(.has-image) {
    font-family: "Teko", sans-serif;
    display: inline-block;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 500;
    background: #23408f;
    padding: 8px 25px 4px 25px;
    position: relative;
    text-decoration: none;
}

#header-text.button-design a:not(.has-image) {
    color: #1a1a1a;
    background: #fff;
    margin-top: clamp(5px, 2vw, 25px);
}

@media(min-width: 1200px) {
    #header-text.button-design a:not(.has-image) {
        padding-left: 35px;
        padding-right: 35px;
    }
}

:is(.button-design, #header-text.button-design) :is(a:not(.has-image):hover, a:not(.has-image):focus) {
    color: #fff;
    background: #1a1a1a;
}

.button-design a:not(.has-image)+a:not(.has-image) {
    margin-left: clamp(10px, 2vw, 25px);
}

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

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

#content-area {
    text-align: left;
    padding-top: 0;
    padding-bottom: clamp(30px, 10vw, 100px);
    min-height: 300px;
}

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2.25rem, 7vw, 3.75rem);
    margin-bottom: clamp(15px, 4vw, 25px);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(2.0625rem, 7vw, 3.125rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.875rem, 7vw, 2.75rem);
}

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.6875rem, 7vw, 2.375rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.5625rem, 7vw, 2rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.4375rem, 7vw, 1.625rem);
}

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





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

footer {
    font-size: 1rem;
}

#footer,
#footer2 {
    color: #fff;
    position: relative;
    z-index: 1;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

#footer {
    background: #23408f;
}

#footer .tab {
    padding-top: clamp(30px, 6vw, 55px);
    padding-bottom: clamp(30px, 6vw, 55px);
}

#footer2 {
    background: #c74342;
    padding-top: 27px;
    padding-bottom: 27px;
}

:is(#footer, #footer2) :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    text-transform: uppercase;
    font-weight: 500;
}

.footer-headline {
    padding-top: clamp(55px, 8vw, 70px);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 48px auto;
}

@media (min-width: 768px) {
    .footer-headline {
        background-position-x: -4px;
    }
}

.contact-headline {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.8 23.65q-.25-6.05-4.45-10.25T24.1 8.95v-3q3.6.1 6.775 1.525Q34.05 8.9 36.45 11.3q2.4 2.4 3.825 5.575Q41.7 20.05 41.8 23.65Zm-8.45 0q-.25-2.5-2-4.225Q26.6 17.7 24.1 17.45v-3q3.75.25 6.375 2.85t2.875 6.35ZM39.75 42q-6.1 0-12.125-3T16.8 31.2Q12 26.4 9 20.375 6 14.35 6 8.25q0-.95.65-1.6Q7.3 6 8.25 6h7q.7 0 1.225.475.525.475.675 1.275l1.35 6.3q.1.7-.025 1.275t-.525.975l-5 5.05q2.8 4.65 6.275 8.1Q22.7 32.9 27.1 35.3l4.75-4.9q.5-.55 1.15-.775.65-.225 1.3-.075l5.95 1.3q.75.15 1.25.75T42 33v6.75q0 .95-.65 1.6-.65.65-1.6.65Zm-28.3-23.4 4.05-4.1L14.35 9H9q0 1.95.6 4.275t1.85 5.325ZM29.9 36.75q2.05.95 4.45 1.55 2.4.6 4.65.7v-5.35l-5.15-1.05ZM11.45 18.6ZM29.9 36.75Z' fill='%231a1a1a'/%3E%3C/svg%3E");
}

.link-headline {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M23.4 36q-4.8-.25-8.1-3.7T12 24q0-5 3.5-8.5T24 12q4.85 0 8.3 3.3 3.45 3.3 3.7 8.15l-3.15-1q-.55-3.2-3-5.325T24 15q-3.75 0-6.375 2.625T15 24q0 3.35 2.125 5.825t5.325 3.025Zm2.4 7.9q-.45.05-.9.075-.45.025-.9.025-4.15 0-7.8-1.575-3.65-1.575-6.35-4.275-2.7-2.7-4.275-6.35Q4 28.15 4 24t1.575-7.8Q7.15 12.55 9.85 9.85q2.7-2.7 6.35-4.275Q19.85 4 24 4t7.8 1.575q3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 .45-.025.9t-.075.9l-2.9-.9V24q0-7.1-4.95-12.05Q31.1 7 24 7q-7.1 0-12.05 4.95Q7 16.9 7 24q0 7.1 4.95 12.05Q16.9 41 24 41h.9ZM41.05 45l-8.55-8.55L30 44l-6-20 20 6-7.55 2.5L45 41.05Z' fill='%231a1a1a'/%3E%3C/svg%3E");
}

:is(#footer-bg, #footer2-bg) a {
    color: #fff;
}

#footer a {
    padding: 2px 6px;
    text-decoration: underline;
    margin: 0 -6px;
}

#footer a:hover,
#footer a:focus {
    text-decoration: none;
    color: #fff;
    background: #b43636;
}

#innerfooter ul {
    padding: 0;
    line-height: 1.8;
}

#innerfooter li {
    display: block;
}

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

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

#vernetzt {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span {
    display: block;
}

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

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

/* #region ------------------------------------- scroll top ------------------------------------- */

#scroll-top-btn {
    display: inline-block;
    background: #ab2726 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M14.15 30.75 12 28.6l12-12 12 11.95-2.15 2.15L24 20.85Z' fill='%23fff'/%3E%3C/svg%3E") center right 9px / 24px auto no-repeat;
    font-size: 0.875rem;
    padding: 5px 38px 7px 20px;
    text-decoration: none;
}

#scroll-top-btn:hover,
#scroll-top-btn:focus {
    background-color: #23408f;
}

/* #endregion ------------------------------- scroll top ---------------------------------------- */
#map {
    line-height: 0;
}

#map .iframeMapsTab {
    height: 100%;
}

#map .iframeMapsTab iframe,
#map .iframeMapsTab .iframe-wrapper-manual-enabling {
    min-width: 100%;
    width: 100%;
    display: block;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
}

.iframe-wrapper-manual-enabling {
    line-height: 1.2 !important;
}