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

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

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #2b2b2b;
    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: #255398;
}

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

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

main a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    #logo img {
        max-width: 210px;
        width: 100%;
    }

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

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

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

/* burgermenu for tablet */

#burgerButton {
    color: #1a1a1a;
}

@media (max-width: 991px) {
    #menu {
        background: #f1cb56;
        position: static !important;
    }

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

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #1a1a1a;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #f1cb56;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        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: 101;
    }

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

    .dropdown-toggle-button-wrapper {
        top: 11px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 1px;
    }
}

@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) {
    #menu {
        padding-top: 50px;
        padding-bottom: 50px;
        -webkit-transition: background 300ms linear, padding 300ms linear;
        -moz-transition: background 300ms linear, padding 300ms linear;
        -ms-transition: background 300ms linear, padding 300ms linear;
        -o-transition: background 300ms linear, padding 300ms linear;
        transition: background 300ms linear, padding 300ms linear;
    }

    .is-sticky #menu {
        padding-top: 20px;
        padding-bottom: 20px;
        background: #f1cb56;
        border-bottom: 2px solid #fff;
    }

    #menu-sticky-wrapper {
        z-index: auto;
    }

    .is-sticky#menu-sticky-wrapper {
        z-index: 101;
    }

    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 li[class*="toplevel"]>.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

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

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

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

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

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

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

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

.navbar-default li[class*="toplevel"]>a {
    font-family: "Teko", sans-serif;
    color: #2b2b2b;
    font-weight: 500;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

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

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

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]+li {
        margin-left: 1px;
    }

    .navbar-default li[class*="toplevel"]>a {
        padding: 8px 15px 6px 15px;
        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 li[class*="toplevel"]>a {
        display: block;
    }
}

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

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

.navbar-default li[class*="toplevel"]:focus-within>a {
    border-color: #255398;
}

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

.navbar-default :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
    background-color: #ffffff;
    border: 2px solid #255398;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* #region -------------------------------------- search ---------------------------------------- */

#search {
    background: #fff;
    display: block;
    position: relative;
    color: #2b2b2b;
    line-height: 1;
    border: 2px solid #fff;
    overflow: hidden;
}

@media (max-width: 991px) {
    #search {
        margin-top: 10px;
    }
}

@media (min-width: 992px) {
    #search {
        z-index: 101;
        max-width: 260px;
        -webkit-transition: margin 300ms linear, width 300ms linear;
        -moz-transition: margin 300ms linear, width 300ms linear;
        -ms-transition: margin 300ms linear, width 300ms linear;
        -o-transition: margin 300ms linear, width 300ms linear;
        transition: margin 300ms linear, width 300ms linear;
    }
}

#search label {
    font-weight: 500;
    padding: 8px 15px 6px 13px;
    line-height: 1.2;
    font-family: "Teko", sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
}

#search_input {
    color: #2b2b2b;
    background: #aabf5f;
    font-style: normal;
    border: 0;
    padding: 11px 36px 12px 12px;
    width: 100%;
    font-size: 1rem;
}

#search_submit {
    width: 36px;
    background: #aabf5f url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%232b2b2b'/%3E%3C/svg%3E") center / 22px auto no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    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;
}

#search_input::-ms-input-placeholder {
    color: #2b2b2b !important;
    font-style: italic;
}

#search_input::-webkit-input-placeholder {
    color: #2b2b2b !important;
    font-style: italic;
}

#search_input::-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

#search_input:-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

/* #endregion ----------------------------------- search --------------------------------------- */

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

header::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    background: #f1cb56 url('../img/welle-header.png') bottom left no-repeat;
    pointer-events: none;
    width: 100%;
}

@media (min-width: 992px) {
    header::before {
        width: calc((992px + (100vw - 992px)/2) - 83px);
    }
}

@media (min-width: 1200px) {
    header::before {
        width: calc((1200px + (100vw - 1200px)/2) - 100px);
        max-width: 1452px;
    }
}

#menu>.row>*:first-child,
#headerpic>.row>*:first-child {
    background: #f1cb56;
}

#menu>.row>*:first-child>* {
    position: relative;
    z-index: 101;
}

#headerpic>.row>*:first-child>* {
    position: relative;
    z-index: 3;
}

#menu>.row>*>.row>*:last-child {
    padding-right: 35px;
}

header,
header :is(h1, h2, h3, h4, h5, h6, a) {
    color: #255398;
    line-height: 1.2;
}

#headerpic {
    padding: 4px 0 clamp(30px, 6vw, 55px) 0;
}

/* header text */

#header-text :is(h1, h2, h3, h4, h5, h6) {
    text-transform: uppercase;
    font-size: clamp(2.25rem, 5vw, 5rem);
    margin-bottom: clamp(15px, 4vw, 55px);
    hyphens: auto;
}

@media (min-width: 576px) {
    #header-text :is(h1, h2, h3, h4, h5, h6) {
        line-height: 1;
    }
}

#header-text :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    font-size: clamp(1.875rem, 7vw, 3.75rem);
    color: #1a1a1a;
    font-style: normal;
    text-transform: none;
}

body:not(.index) #header-text p {
    display: none;
}

@media (max-width: 992px) {
    #headerpic>.row> :first-child>.row {
        padding-top: clamp(50px, 6vw, 62px);
    }
}



.member {
    background-color: #fff;
    border: 2px solid #2b2b2b;
    max-width: 270px;
    position: relative;
    margin: 0 auto;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .member {
        margin-bottom: -150px;
    }
}

.member img {
    background-color: #fff;
    border: 5px solid #ffffff;
    line-height: 0;
}

.member a {
    color: #0c5c82;
    font-weight: 500;
    padding: 5px 20px;
    border-top: 2px solid #2b2b2b;
    display: block;
    font-family: "Teko", sans-serif;
    font-size: 1.875rem;
    position: relative;
}

.member a::after {
    content: "\2192";
    font-size: 1.25rem;
    font-weight: 600;
    color: #2b2b2b;
    z-index: 3;
    display: inline-block;
    position: relative;
    margin-left: 5px;
    color: #0c5c82;
    font-weight: 500;
    font-family: "Teko", sans-serif;
}

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

/* #region -------------------------------------- banner ---------------------------------------- */

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

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

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 30px;
    }

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

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

.slider-mask {
    display: none;
}

.slider-wrapper {
    height: auto !important;
}

@media (min-width: 1200px) {
    .slider-wrapper {
        max-width: 600px;
        margin-left: auto;
        margin-right: -100px;
    }
}

/* #endregion ------------------------------------ banner --------------------------------------- */


/* ------------------------------------------------ 12nw news ----------------------------------------------- */

.news {
    background-color: #fff;
    padding: 0px 0px 20px 0px;
    color: #2b2b2b;
    font-size: 1rem;
    position: relative;
    border: 2px solid #2b2b2b;
    max-width: 370px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .news {
        margin-top: 30px;
    }
}

.news .tabHeadline {
    background: #aabf5f;
    color: #2b2b2b;
    font-size: 3.125rem;
    font-weight: 700;
    padding: 18px 25px;
    text-align: center;
    margin-bottom: 0;
}

.news .tabContent {
    padding: 25px;
}

.news .tab_link_title a {
    font-weight: 600;
    color: #2b2b2b;
}

.news .tab_link_mandat a {
    color: #2b2b2b;
    font-style: italic;
}

.news .tab_link_mehr {
    font-size: 0;
    position: relative;
}

.news .tab_link_mehr a {
    position: relative;
    border: 2px solid #2b2b2b;
    background-color: #fff;
    padding: 8px 12px;
    color: #255398;
    font-size: 1rem;
    font-weight: 700;
    display: inline-block;
    position: absolute;
  right: 0px;
  bottom: -65px;
}

.news .tab_link_mehr a::after {
    content: "\2192";
    font-size: 1.25rem;
    font-weight: 600;
    color: #2b2b2b;
    z-index: 3;
    display: inline-block;
    position: relative;
    margin-left: 5px;
}

/* #region ----------------------------------- infoText ------------------------------------- */

#infoText {
    padding: 60px 0;
    background: url('../img/welle-trenner.png') bottom center no-repeat, #f1cb56;
}

#infoText :is(h1, h2, h3, h4, h5, h6) {
    color: #2b2b2b;
    font-size: 2.5rem;
    margin-bottom: 0;
}


/*--------------- @19ev ---------------*/

#ev19 {
    position: relative;
    padding-top: 150px;
    padding-bottom: 60px;
}

@media (max-width: 767px) {
    #ev19 {
        padding-bottom: 130px;
        padding-top: 40px;
    }
}

#ev19>.row {
    position: relative;
    z-index: 1;
}

#ev19>.row::before {
    content: '';
    z-index: -1;
    position: absolute;
    left: 0;
    top: -92px;
    width: 470px;
    height: 470px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 1199px) {
    #ev19>.row::before {
        width: 370px;
        height: 370px;
    }
}

@media (max-width: 767px) {
    #ev19>.row::before {
        bottom: -92px;
        top: unset;
    }
}

#events19 {
    position: relative;
}

#eventsHeadline {
    font-size: clamp(1.5625rem, 3vw, 3.125rem);
    position: relative;
    color: #2b2b2b;
    margin-bottom: 32px;
    font-weight: 700;
    max-width: 400px;
    background-color: #aabf5f;
    padding: 30px;
}

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

#eventsBox {
    background-color: #ffffff;
    border: 2px solid #2b2b2b;
    padding: 75px 70px 15px 100px;
}

@media (max-width: 991px) {
    #eventsBox {
        padding: 40px 30px 15px 30px;
    }
}

@media (max-width: 767px) {
    #eventsBox {
        padding: 30px 30px 15px 30px;
    }
}

#eventsKalender #clr-events-hide, #eventsKalender .tab_link_mehr {
    display: none;
    height: 0;
}

#eventsKalender .eventclndr-tab {
    margin-bottom: 0;
    margin-top: 16px;
}

@media (max-width: 767px) {
    #eventsKalender .eventclndr-tab {
        margin-top: 0;
        margin-bottom: 15px;
    }
}

#eventsList {
    position: relative;
    color: #444444;
    font-size: 1.125rem;
}

@media (max-width: 575px) {
    #eventsList {
        font-size: 1rem;
    }
}

#eventsList .tab_spacer {
    height: 0;
    display: none;
}

#eventsList .tab_link_entry+.tab_link_entry {
    margin-top: 40px;
}

@media (max-width: 767px) {
    #eventsList .tab_link_entry+.tab_link_entry {
        margin-top: 20px;
    }
}

#eventsList .tab_link_title a {
    color: #444444;
    font-weight: 700;
}

#eventsList .tab_link_mandat a {
    color: #444444;
}

#eventsList .tab_link_mehr {
    font-size: 0;
    position: relative;
}

#eventsList .tab_link_mehr a {
    font-size: 0;
    position: relative;
    display: inline-block;
    bottom: -15px;
    right: -70px;
    background-color: #0c5c82;
    height: 70px;
    width: 70px;
    color: #ffffff;
}

@media (max-width: 991px) {
    #eventsList .tab_link_mehr a {
        bottom: -15px;
        right: -30px;
    }
}

#eventsList .tab_link_mehr a::before {
    content: '\2192';
    color: #ffffff;
    font-size: 1.875rem;
    position: absolute;
    top: 8px;
    left: 22px;
    -webkit-transition: left 200ms linear;
    -moz-transition: left 200ms linear;
    -ms-transition: left 200ms linear;
    -o-transition: left 200ms linear;
    transition: left 200ms linear;
}

#eventsList .tab_link_mehr a:hover::before,
#eventsList .tab_link_mehr a:focus::before {
    left: 26px;
}

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

#footer>.row::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) {

    #footer>.row::before,
    #headerpic>.row::before {
        opacity: 0.5;
    }
}

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

#footer>.row::before {
    right: -15px;
    top: -60px;
}

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

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

footer,
header {
    position: relative;
}

@media (min-width: 992px) {

    footer::after,
    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);

    }

    footer::after {
        content: "#Kegeln";
        bottom: 60px;
    }

    header::after {
        content: "#Kegeln";
        bottom: 10px;
    }
}

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

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

#footer-bg>.row,
#news>.row,
#events>.row,
#footer2-bg>.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: #f1cb56;
    padding: 8px 25px 4px 25px;
    position: relative;
    text-decoration: none;
}

:is(.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: clamp(30px, 10vw, 60px);
    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: #255398;
    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-bg,
#footer2-bg {
    color: #2b2b2b;
    position: relative;
    z-index: 1;
}

#footer-bg::after,
#footer2-bg::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

@media (min-width: 576px) {

    #footer-bg::after,
    #footer2-bg::after {
        left: clamp(-365px, -19vw, -15px);
    }
}

#footer-bg::after {
    background: url('../img/welle-footer.png') top center no-repeat, #f1cb56;
}

#footer2-bg::after {
    background: #255398;
}

#footer-bg {
    background: #f1cb56;
    padding-top: clamp(30px, 6vw, 55px);
    padding-bottom: clamp(30px, 6vw, 55px);
}

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

@media (min-width: 992px) {

    #footer-bg>.row>*:last-child,
    #footer2-bg>.row>*:last-child {
        padding-right: 60px;
    }
}

:is(#footer-bg, #footer2-bg) :is(h1, h2, h3, h4, h5, h6) {
    color: #2b2b2b;
    font-size: clamp(1.5rem, 3vw, 2.1875rem);
    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='%23255398'/%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='%23255398'/%3E%3C/svg%3E");
}

:is(#footer-bg) a {
    color: #255398;
}

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

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

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

#innerfooter a {
   color: #2b2b2b;
}

#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;
    color: #fff;
}

#vernetzt span {
    display: block;
}

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

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

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

#scroll-top-btn {
    display: inline-block;
    background: #fff 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='%23255398;'/%3E%3C/svg%3E") center right 9px / 24px auto no-repeat;
    font-size: 0.875rem;
    padding: 5px 38px 7px 20px;
    text-decoration: none;
    color: #255398 !important;
}

#scroll-top-btn:hover,
#scroll-top-btn:focus {
    background-color: #f1cb56;
    color: #255398;
}

/* #endregion ------------------------------- scroll top ---------------------------------------- */

/* ------------------------------- counter ---------------------------------------- */

#counter {
    display: inline-block;
    background: #fff;
    font-size: 0.875rem;
    padding: 5px 38px 7px 20px;
    text-decoration: none;
    color: #255398 !important;
}

#counter-l, #counter-r {
    display: inline-block;
}