@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: #f0f0f0;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #b92940 #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #4c4c4c;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
    color: #b92940;
}

a:is(:hover, :focus) {
    color: #b92940;
    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: 25px 0;
    }

    #logo img {
        max-width: calc(100vw - 120px);
        width: 100%;
    }

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        padding-top: 15px;
        background: #12549a;
        position: static !important;
    }

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #1a1a1a;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

    #burgerButton[aria-expanded="true"]::before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton::before {
        top: 24px;
        content: "";
    }

    #burgerButton::after {
        top: 32px;
        content: "";
    }

    .navbar-nav {
        padding: 20px 10px;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #12549a;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

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

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 50px 0;
        transition: background 300ms linear, padding 300ms linear;
    }

    .is-sticky nav.horizontally {
        padding: 20px 0;
        background: #12549a;
        border-bottom: 2px solid #ffffff;
    }

    .sticky-wrapper {
        z-index: auto;
    }

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

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
    }


    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 10px 0;
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: 60vh;
        overflow: visible;
        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;
    }

    nav.horizontally li[class*="toplevel"]>ul::after {
        content: "";
        display: block;
        position: absolute;
        width: 120vw;
        z-index: -1;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        left: 50%;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
        z-index: 1003;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }

    .nav li[class*="toplevel"].open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px/2);
    }

    nav.horizontally .dropdown-menu {
        display: block !important;
    }
}

@media (min-width: 1200px) {

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1200px;
        padding-top: 20px;
        padding-bottom: 45px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1170px/2);
    }
}

nav.horizontally li[class$="_end"], nav.horizontally li[class$="_start"] {
    display: none;
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally .navbar-nav {
        padding-right: 20px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    font-family: "Teko", sans-serif;
    color: #ffffff;
    font-weight: 500;
    text-align: left;
    padding: 13px 15px 11px 15px;
    position: relative;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    transition: border 300ms linear;
}

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

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 8px 15px 6px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    border-color: #17171a;
}

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

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu,
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        padding: 10px;
        background: rgba(255, 255, 255, 0.96);
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        display: block;
    }
}

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

.navbar-default li[class*="secondlevel"]>a,
.navbar-default li[class*="thirdlevel"]>a {
    color: #4c4c4c;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 400;
    text-decoration: none;
}

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a {
        padding: 20px 0 2px 0;
    }

    .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 0;
    }
}

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

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

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

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

#search {
    background: #ffffff;
    position: relative;
    color: #333333;
    line-height: 1;
    border: 2px solid #ffffff;
    overflow: hidden;
}

@media (min-width: 992px) {
    #search {
        z-index: 101;
        max-width: 260px;
        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: #ffffff;
    background: #b8263d;
    font-style: normal;
    border: 0;
    padding: 11px 36px 12px 12px;
    width: 100%;
    font-size: 1rem;
}

#search_submit {
    width: 36px;
    background: #b8263d 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='%23fff'/%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;
    transition: background-color 300ms linear;
}

:is(#search_submit, #search_input):is(:hover, :focus) {
    background-color: #1a1a1a;
}

#search_input::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-style: italic !important;
}

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

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

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

@media (min-width: 992px) {
    header::before {
        width: calc(50% + 414px);
    }
}

@media (min-width: 1200px) {
    header::before {
        width: calc(50% + 500px);
    }
}

:is(nav.horizontally, #headerpic)>.row>*:first-child {
    background: #12549a;
}

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

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

header,
header :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

#social-media {
    font-size: 1rem;
    padding-top: clamp(30px, 6vw, 62px);
}

@media (min-width: 1200px) {
    #social-media {
        padding-right: 35px;
    }
}

#social-media a {
    text-decoration: underline;
}

#social-media :is(img+img, a.has-image+a.has-image) {
    margin-left: 8px;
}

.logoBox+.button-design {
    margin-top: 30px;
}

/* header text */

#header-text :is(h1, h2, h3, h4, h5, h6) {
    text-transform: uppercase;
    line-height: 0.8;
    color: #ffffff;
    font-size: clamp(2.375rem, 9vw, 5rem);
    margin-bottom: clamp(15px, 4vw, 25px);
}

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

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

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

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

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

@media (min-width: 768px) {
    body.index #slider {
        height: 500px;
    }
}

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

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

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

@media (max-width: 991px) {
    #headerpic {
        padding-top: clamp(50px, 6vw, 62px);
    }
}

.slider-mask {
    display: none;
}

.slider-wrapper,
.nivo-main-image,
#slider>a>div {
    height: 100% !important;
}

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

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

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

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

@media (min-width: 1200px) {
    #events {
        background: url('../img/silhouette-springseil.png') left 80px bottom no-repeat;
    }
}

#news {
    background: linear-gradient(to top, #f0f0f0, #f0f0f0 60%, rgba(255, 255, 255, 0) 60%);
}

#news>.row {
    padding-bottom: clamp(30px, 10vw, 110px);
}

/* tab */

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

:is(#news, #events) .tab {
    font-size: 1rem;
    position: relative;
    z-index: 2;
    background: #12549a;
    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: #ffffff;
}

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

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

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

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

@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: clamp(4px, 1vw, 10px) solid #e0dcdc;
    background-color: #ffffff;
    padding: clamp(10px, 5vw, 75px) 30px 30px 0;
}


@media (min-width: 1200px) {

    #news .tab_link,
    #news .button-design {
        z-index: 12;
        position: relative;
    }

    #news>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        right: -200px;
        bottom: 0;
        width: 341px;
        height: 588px;
        background: url('../img/silhouette-sprint.png') center no-repeat;
    }
}

@media (min-width: 768px) {
    :is(#news, #events) .tab-container {
        margin-left: -115px;
        min-height: 400px;
    }

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

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

#events hr {
    border-color: 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: #333333;
    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: 50px;
        margin-bottom: 25px;
    }

    #news .tab_link_entry:not(:has(.tab_date)) .tab_link_title {
        margin-top: -74px;
        margin-bottom: 35px;
    }

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

#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 center / cover 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;
}

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

/* #region -------------------------------------- about us -------------------------------------- */

#about-us {
    font-size: 1rem;
}

@media (min-width: 992px) {
    #about-us {
        padding-right: clamp(15px, 3vw, 40px);
    }
}

#about-us :is(h1, h2) {
    color: #12549a;
    margin-bottom: clamp(15px, 4vw, 40px);
}

#about-us :is(b, strong, h3, h4, h5, h6) {
    color: #333333;
    font-size: 1.25rem;
    margin-bottom: 4px;
    display: block;
}

#about-us img {
    display: block;
    margin-bottom: 10px;
}

#about-us a {
    padding-right: 20px;
    display: inline-block;
    min-height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14.315' viewBox='0 0 14 14.315'%3E%3Cpath d='M6.673-11.843,8.859-13.42q1.009,1.64,1.976,2.932a19.291,19.291,0,0,0,2.008,2.3A21.01,21.01,0,0,0,15.06-6.315v.126a18.673,18.673,0,0,0-2.218,1.86,20.958,20.958,0,0,0-2.008,2.291A34.207,34.207,0,0,0,8.859.9L6.673-.66A17.314,17.314,0,0,1,8.5-3.046,16.011,16.011,0,0,1,10.393-4.8a10.658,10.658,0,0,1,1.85-1.177,8.244,8.244,0,0,1,1.7-.631v.715a7.929,7.929,0,0,1-1.7-.641,11.188,11.188,0,0,1-1.85-1.188A16.011,16.011,0,0,1,8.5-9.479,17.938,17.938,0,0,1,6.673-11.843ZM1.06-7.7H6.925a26.966,26.966,0,0,1,2.922.147q1.345.147,2.459.378l1.577.925-1.577.9q-1.114.231-2.459.378a26.966,26.966,0,0,1-2.922.147H1.06Z' transform='translate(-1.06 13.42)' fill='%23b92940'/%3E%3C/svg%3E%0A") center right / 11px auto no-repeat;
}

#about-us a:not(.has-image)+a:not(.has-image) {
    margin-left: 10px;
}

/* #endregion ----------------------------------- about us -------------------------------------- */

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

:is(#news, #footer, #headerpic)>.row::before,
#events .tab-img::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;
    pointer-events: none;
}

@media (max-width: 991px) {

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

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

#news>.row::before {
    left: -125px;
    bottom: 60%;
}

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

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

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

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

footer,
header {
    position: relative;
}

@media (min-width: 1200px) {

    footer::after,
    footer::before,
    header::after {
        color: rgba(0, 0, 0, 0.15);
        font-weight: 600;
        font-family: "Teko", sans-serif;
        text-transform: uppercase;
        font-size: clamp(100px, 10vw, 150px);
        line-height: 0;
        transform: rotate(-90deg);
        position: absolute;
        right: 0;
        width: clamp(60px, 7vw, 100px);
    }

    footer::before {
        font-size: clamp(100px, 10vw, 160px);
        line-height: 0.8;
        content: "Turnerbund 1906";
        bottom: 0;
        width: clamp(60px, 7vw, 100px);
        white-space: pre;
        right: 130px;
    }

    footer::after {
        font-size: clamp(100px, 10vw, 160px);
        line-height: 0.8;
        content: "Witterschlick e.V.";
        bottom: 0;
        width: clamp(60px, 7vw, 100px);
        white-space: pre;
    }

    header::after {
        content: "Sport für alle";
        bottom: -255px;
        white-space: pre;
    }

    .index header::after {
        content: "Sport für alle";
        bottom: -115px;
        white-space: pre;
    }
}

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

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

:is(#footer-bg, #footer2-bg, #news, #events)>.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: #b8263d;
    padding: 8px 25px 4px 25px;
    text-decoration: none;
}

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

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

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

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

.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(40px, 6vw, 60px);
    padding-bottom: clamp(40px, 10vw, 100px);
}

@media (min-width: 1200px) {
    body:not(.index) #content-area {
        min-height: 1180px;
    }
}
/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #12549a;
    font-weight: 700;
    line-height: 1.1;
    font-family: "Teko", sans-serif;
    margin-bottom: 15px;
}

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(1.6875rem, 3.5vw, 2.375rem);
}

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

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

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

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

footer {
    font-size: 1rem;
}

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

:is(#footer-bg, #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) {
    :is(#footer-bg, #footer2-bg)::after {
        left: clamp(-365px, -19vw, -15px);
    }
}

#footer-bg,
#footer-bg::after {
    background: #12549a;
}

#footer2-bg,
#footer2-bg::after {
    background: #114d8e;
}

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

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

@media (min-width: 992px) {
    :is(#footer-bg, #footer2-bg)>.row>*:last-child {
        padding-right: 60px;
    }
}

:is(#footer-bg, #footer2-bg) :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    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='%23ffffff'/%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='%23ffffff'/%3E%3C/svg%3E");
}

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

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

#footer-bg a:is(:hover, :focus) {
    background: #1a1a1a;
    text-decoration: none;
}

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

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

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

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

#vernetzt span {
    display: block;
}

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

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

#scroll-top-btn {
    display: inline-block;
    background: #b92940 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:is(:hover, :focus) {
    background-color: #12549a;
}

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