@import url("https://fonts.verwaltungsportal.de/css/?family=Roboto:400,400i,700,700i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Tinos:700,700i");

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #f1f1f1;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #d62700 #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #444444;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #d62700;
}

#content a,
a:is(:hover, :focus) {
    color: #d62700;
    text-decoration: underline;
}

b,
strong {
    font-weight: 700;
}

#over {
    overflow: clip;
    position: relative;
}

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

#topbar,
nav address {
    background-color: #222222;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 400;
}

nav address {
    padding: 10px 15px;
}

@media (max-width: 991px) {
    #topbar {
        padding: 10px 0;
    }
}

#topbar>.row {
    row-gap: 10px;
}

@media (min-width: 992px) {
    #topbar address {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .contactMail+.contactPhone {
        margin-left: 30px;
    }
}

#topbar a,
nav address a {
    color: #ffffff;
    text-decoration: underline;
}

.contactMail,
.contactPhone {
    padding-left: 20px;
    background-position: center left;
    background-repeat: no-repeat;
}

nav address {
    background-position-x: 7px;
}

.contactMail {
    background-image: url('../img/mail-icon.png');
}

.contactPhone {
    background-image: url('../img/phone-icon.png');
}

/* ------------------------------------------ search -------------------------------------------- */

@media (min-width: 992px) {
    *+#search {
        padding-left: 40px;
        margin-left: 40px;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }
}

#search label {
    font-weight: 700;
    margin-right: clamp(10px, 2vw, 20px);
    padding: 7px 0;
}

#search {
    display: inline-flex;
}

#search_input {
    color: #ffffff;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    background: transparent;
    padding: 7px 5px;
    border: 0;
    width: 140px;
}

#search_submit {
    min-width: 30px;
    flex-shrink: 0;
    border: none;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    font-size: 0;
}

#search_submit:is(:hover, :focus) {
    background-color: #d62700;
}

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

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

#logo {
    display: inline-block;
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        top: -60px;
        transition: top 300ms linear;
    }

    .is-sticky #logo {
        top: -30px;
    }

    #logo img {
        transition: max-width 300ms linear;
    }

    .is-sticky #logo img {
        max-width: 160px;
    }
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        margin: 15px 0;
    }

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
    }

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #d62700;
        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 {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        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: 6px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 18px 0;
        background-color: #ffffff;
        box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.15);
    }

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

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

    nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

    nav.horizontally .navbar-nav li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav li:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

@media (min-width: 1200px) {
    nav.horizontally {
        padding: 40px 0;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #21242a;
    font-weight: 700;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"] {
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 5px 0;
        text-align: center;
    }

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

    nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
        content: "";
        position: absolute;
        display: block;
        right: 0;
        top: 50%;
        margin-top: -5px;
        width: 5px;
        height: 5px;
        border-left: 1px solid #21242a;
        border-bottom: 1px solid #21242a;
        transform: rotate(-45deg);
    }

    nav.horizontally a[class*="toplevel"] {
        position: relative;
    }
}

/* 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) {
    color: #d62700;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #ffffff;
    border-left: 6px solid #d62700;
}

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

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding-top: 25px;
        padding-bottom: 25px;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    }

    nav.horizontally [class*="toplevel"]>ul {
        left: -23px;
        margin-top: 52px;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        height: 52px;
        left: 0;
        right: 0;
        top: -52px;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-top: -25px;
        margin-left: 10px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #21242a;
    font-weight: 400;
    text-align: left;
    padding: 8px 20px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    bottom: 0;
    height: 1px;
    background: #d62700;
    transition: width 300ms linear;
}

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

@media (min-width: 992px) {
    nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
        padding-right: 25px;
    }

    nav.horizontally a[class*="secondlevel"].dropdown-toggle2::before {
        content: "";
        position: absolute;
        display: block;
        right: 20px;
        top: 50%;
        margin-top: -4px;
        width: 4px;
        height: 4px;
        border-radius: 1px;
        border-right: 1px solid #21242a;
        border-bottom: 1px solid #21242a;
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        transition: border 300ms linear;
    }

    nav.horizontally a[class*="secondlevel"]:hover.dropdown-toggle2::before {
        border-color: #d62700;
    }

    
    nav.horizontally [class*="toplevel"] > ul::after {
        content: '';
        position: absolute;
        pointer-events: none;
        top: -30px;
        left: 20px;
        margin: auto;
        z-index: 10000;
        width: 74px;
        height: 47px;
        background: url('../img/hover-hauptmenue.png') center no-repeat;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    nav.horizontally [class*="toplevel"]:is(:hover, :focus-within) > ul::after {
        opacity: 1;
    }
}

/* secondlevel + thirdlevel over */

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

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::after {
    width: calc(100% - 60px);
}

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

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

#slider {
    max-height: clamp(300px, 42vw, 400px);
    position: relative;
}

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

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #headerpic {
        background: #222222;
    }
}

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

.slider-mask {
    display: none;
}

body.index .slider-mask {
    display: block;
    background: linear-gradient(-65deg, rgba(102, 102, 102, 0.75), rgba(102, 102, 102, 0.75) 50%, rgba(34, 34, 34, 0.75) 50%);
}

@media (min-width: 992px) {
    /* banner arrows */

    #headerpic .nivo-directionNav a {
        background: #ffffff;
        width: 60px;
        height: 48px;
        transform: skewX(-25deg);
        transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    }

    #headerpic:is(:hover, :focus-within) .nivo-directionNav a {
        width: 100px;
    }

    #headerpic .nivo-directionNav a::before,
    #headerpic .nivo-directionNav a::after {
        content: "";
        display: block;
        position: absolute;
    }

    #headerpic .nivo-directionNav a::before {
        height: 2px;
        width: 16px;
        right: 16px;
        top: 50%;
        margin-top: -1px;
        background: #222222;
        transition: background 300ms linear;
    }

    #headerpic .nivo-directionNav a:is(:hover, :focus)::before {
        background: #d62700;
    }

    #headerpic .nivo-directionNav a::after {
        height: 8px;
        width: 8px;
        top: 50%;
        margin-top: -5px;
        right: 22px;
        border-left: 2px solid #222222;
        border-bottom: 2px solid #222222;
        transform: rotate(45deg);
        transition: border-color 300ms linear;
    }

    #headerpic .nivo-directionNav a:is(:hover, :focus)::after {
        border-color: #d62700;
    }

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

    #headerpic a.nivo-nextNav {
        right: -11px;
        transform: scaleX(-1) skewX(25deg);
    }

    /* banner dots */

    #headerpic .nivo-controlNav {
        font-size: 0;
        max-width: 992px;
        text-align: right;
        left: 50%;
        bottom: 60px;
        transform: translateX(-50%);
    }

    #headerpic .nivo-controlNav li {
        width: auto;
    }

    #headerpic .nivo-controlNav :is(a, button) {
        position: relative;
        background: #ffffff !important;
        opacity: 0.4;
        margin: 0;
        height: 5px;
        width: 30px;
        padding: 0 !important;
        transition: opacity 300ms linear;
    }

    #headerpic .nivo-controlNav :is(a, button) ::before {
        content: "";
        display: block;
        position: absolute;
        top: -15px;
        right: 0;
        bottom: -15px;
        left: 0;
    }

    #headerpic .nivo-controlNav :is(a, button):is(.active, :hover, :focus),
    #headerpic .nivo-controlNav .slick-active :is(a, button) {
        opacity: 1;
    }
}

@media (min-width: 1200px) {
    #headerpic .nivo-controlNav {
        max-width: 1375px;
        bottom: 90px;
    }
}

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

/* -------------------------------------------- overlay ----------------------------------------- */

#overlay {
    font-size: clamp(1rem, 2.4vw, 1.5rem);
}

@media (max-width: 991px) {
    #overlay {
        padding-top: 25px;
        padding-bottom: 20px;
    }
}

@media (min-width: 992px) {
    #overlay {
        color: #ffffff;
        position: absolute;
        z-index: 60;
        right: 0;
        bottom: 100px;
        left: 0;
    }
}

@media (min-width: 1200px) {
    #overlay {
        bottom: 150px;
        max-width: 1390px;
        width: 100%;
    }
}

#overlay :is(h1, h2, h3, h4, h5, h6) {
    line-height: 1.1;
}

@media (min-width: 992px) {
    #overlay :is(h1, h2, h3, h4, h5, h6) {
        color: #ffffff;
    }

    #overlay p:first-of-type {
        padding-left: 15px;
    }
}

/* #region -------------------------------- button design --------------------------------------- */

:is(#overlay) a,
:is(.news, #events) .tab_link_mehr a,
.buttonStyle a {
    color: #ffffff;
    font-style: normal;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    line-height: 1;
    padding: 10px clamp(20px, 2vw, 35px);
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 200ms linear 200ms, border 200ms linear 200ms;
}

#overlay a:is(:hover, :focus),
:is(.news, #events) .tab_link_mehr a,
.buttonStyle a {
    background: #d62700;
    border-color: #ffffff;
}

.news .tab_link_mehr a:is(:hover, :focus),
.buttonStyle a:is(:hover, :focus) {
    background: #222222;
    border-color: #222222;
}

#overlay a {
    background: rgba(34, 34, 34, 0.4);
    border-color: #ffffff;
}

#events .tab_link_mehr a:is(:hover, :focus) {
    background: #222222;
    border-color: #ffffff;
}

@media (max-width: 991px) {
    :is(#overlay) a {
        background: #222222;
    }
}

:is(#overlay) a::after,
:is(.news, #events) .tab_link_mehr a::after {
    content: "";
    display: block;
    position: absolute;
    background: #222222;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    pointer-events: none;
    text-decoration: none;
    transition: width 300ms linear;
}

:is(#overlay) a:is(:hover, :focus)::after,
:is(.news, #events) .tab_link_mehr a:is(:hover, :focus)::after,
:is(.news, #events) .tab_link_entry:is(:hover, :focus-within) .tab_link_mehr a::after {
    width: 100%;
}

#overlay a::after {
    background: #d62700;
}

:is(#overlay) a+a {
    margin-left: clamp(15px, 2vw, 30px);
}

/* #endregion ----------------------------- button design --------------------------------------- */

/* #region ------------------------------------ news -------------------------------------------- */

#news {
    margin-top: 2px;
}

#news .tab_link_entries {
    display: grid;
    gap: 2px;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.news .tab_link_entry {
    color: #ffffff;
    overflow: hidden;
    position: relative;
    background: #222222;
    min-height: clamp(150px, 25vw, 250px);
    padding: 45px 50px 45px 20px;
    border-bottom: none !important;
}

@media (min-width: 992px) {
    .news .tab_link_entry {
        padding-right: 36%;
    }
}

.news .tab_link_entry::before {
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: 3;
    top: 0;
    left: -50vw;
    bottom: 0;
    right: 50px;
    background: rgba(34, 35, 38, 0.85);
    transform: skewX(-25deg);
    transition: right 200ms linear;
}

@media (min-width: 992px) {
    .news .tab_link_entry::before {
        right: 36%;
    }
}

.news .tab_link_entry:is(:hover, :focus-within) :is(.tab_date, .tab_link_title) {
    opacity: 0;
}

.news .tab_link_entry:is(:hover, :focus-within)::before {
    right: 125%;
}

.news .tab_link_entry::after,
.news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
}

.news .tab_link_entry::after {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.news .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news :is(.tab_date, .tab_link_title) {
    position: relative;
    z-index: 3;
    transition: opacity 200ms linear;
}

.news .tab_link_title a {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}

.news .tab_date {
    color: #ffffff;
    font-size: 1rem;
    pointer-events: none;
}

.news :is(.vorschau, .tab_spacer) {
    display: none;
}

.news .tab_link_mehr {
    padding-top: 2px;
}

.news .tab_link_entry .tab_link_mehr {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 20px;
    opacity: 0;
    transition: opacity linear 200ms;
    font-size: 0;
}

.news .tab_link_entry:is(:hover, :focus-within) .tab_link_mehr {
    opacity: 1;
}

/* #endregion --------------------------------- news -------------------------------------------- */

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

#content {
    text-align: left;
    padding-bottom: clamp(40px, 6vw, 110px);
}

body:not(.index) #content {
    padding-top: 40px;
}

/* #region ------------------------------------ events ------------------------------------------ */

#events {
    padding: clamp(40px, 11vw, 115px) 0 clamp(40px, 11vw, 120px) 0;
    background-color: #222222;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#events>.row {
    row-gap: clamp(40px, 5vw, 75px);
}

@media (min-width: 1200px) {
    #events>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -120px;
        left: -290px;
        width: 261px;
        height: 262px;
        background: url('../img/silhouette-turnen.png') center no-repeat;
    }
}

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

#events .tabsHeadline {
    font-size: clamp(1.25rem, 3vw, 2.5rem);
    line-height: 1.3;
}

#events .tabsHeadline a {
    text-decoration: none;
}

#events .tabCalendar {
    background: #ffffff;
    border-radius: 3px;
    padding: 15px;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    #events .tabCalendar {
        padding-bottom: 30px;
    }
}

#events .tabCalendar>.row,
#events .tabCalendar>.row>div {
    position: static;
}

#clr-events-hide,
#clr-events-hide+div {
    display: none;
}

.eventclndr-tab {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .eventclndr-tab {
        margin-bottom: 0;
    }
}

#events .tabHeadline {
    margin-top: 10px;
    margin-bottom: 15px;
}

.tab_link_title a {
    color: #4c4c4c;
    font-weight: 600;
}

.tab_link_mandat a {
    color: #4c4c4c;
}

#events .tab_link_mehr {
    font-size: 0;
}

#events .tab_link_entries {
    padding-left: 55px;
    background: url('../img/icon-info.png') center left no-repeat;
}

@media (min-width: 992px) {
    #events .tab_link_entries {
        padding-right: 55px;
    }
}

#events .tab_link_entries>div:last-child .tab_spacer {
    height: 0;
}

#events .tab_link_mehr {
    display: none;
}
/* #endregion --------------------------------- events ------------------------------------------ */

/* #region -------------------------------------- tabs2 ----------------------------------------- */

#tabs2 {
    padding: clamp(50px, 5vw, 90px) 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#tabs2>.row {
    row-gap: clamp(30px, 4vw, 60px);
}

#tabs2 .tabBigHeadline {
    color: #222222;
    margin-bottom: 0;
}

@media (min-width: 1200px) {
    #tabs2 {
        padding-bottom: 0;
    }

    #tabs2>.row {
        margin-bottom: -140px;
        z-index: 2;
    }
}

@media (min-width: 576px) {
    #tabs2 .nopadright {
        padding-right: 0;
    }

    #tabs2 .nopadleft {
        padding-left: 0;
    }
}

#tabs2 .tab {
    padding: clamp(30px, 5vw, 45px) clamp(15px, 6vw, 120px);
    height: 100%;
    min-height: 100%;
    color: #ffffff;
}

@media (min-width: 992px) {
    #tabs2 .tab {
        font-size: 1.125rem;
    }
}

#tabs2 .tab {
    background: #616060 url('../img/silhouette-fussball.png') top 22px right 24px no-repeat;
}

#tabs2 .tab2 {
    background: #4f4f4f url('../img/silhouette-sprint.png') bottom left 22px no-repeat;
}

#tabs2 .tabHeadline {
    color: #ffffff;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    margin-bottom: 20px;
}

#tabs2 a {
    text-decoration: none;
    display: inline-block;
    line-height: 1.2;
    color: #ffffff;
    font-size: 1rem;
    padding: 8px 24px;
    border: 2px solid #ffffff;
    background: #222222;
    margin-top: clamp(15px, 2vw, 30px);
}

#tabs2 :is(.tab, .tab2) a:is(:hover, :focus) {
    color: #ffffff;
    background: #d62700;
}

#tabs2 a+a {
    margin-left: 5px;
}

/* #endregion ----------------------------------- tabs2 ----------------------------------------- */

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #21242a;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Tinos", sans-serif;
}

h1,
.h1,
.legacy_h1,
:is(#overlay) :is(h1, h2),
:is(#tabs, #events) .tabsHeadline :is(h1, h2) {
    margin-bottom: clamp(20px, 3vw, 40px);
}

h1,
.h1,
.legacy_h1,
:is(#overlay) :is(h1, h2),
#slogan,
:is(#tabs, #events) .tabsHeadline :is(h1, h2),
#tabs2 .tabBigHeadline {
    font-size: clamp(1.875rem, 5vw, 3.75rem);
}

#events .tabsHeadline :is(h1, h2) {
    margin-bottom: 0;
}

@media (min-width: 1200px) {

    :is(#overlay) :is(h1, h2),
    #tabs .tabsHeadline :is(h1, h2) {
        font-size: 5rem;
    }
}

:is(h1, h2) :is(i, em) {
    font-size: 66%;
    display: block;
}

#overlay :is(h1, h2):is(h1, h2) :is(i, em) {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

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

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

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

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

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

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

#footer {
    background: #333333;
    padding: clamp(40px, 5vw, 80px) 0;
    color: #ffffff;
    font-size: 1rem;
    position: relative;
}

.index #footer {
    padding-top: clamp(40px, 12vw, 230px);
}

#footer>.row {
    row-gap: 30px;
    z-index: 1;
}

@media (min-width: 1200px) {
    #footer>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -92px;
        right: -290px;
        width: 322px;
        height: 365px;
        background: url('../img/silhouette-karate.png') center no-repeat;
        z-index: -1;
    }
}

.footerTab a {
    color: #ffffff;
    text-decoration: underline;
}

.footerTab :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    font-size: clamp(1.375rem, 2vw, 1.875rem);
    font-style: normal;
}

.iframetab :is(iframe, .iframe-wrapper-manual-enabling) {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
}

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

#vernetzt {
    gap: 18px;
    text-align: right;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    text-decoration: none;
    flex-direction: column;
}

#vernetzt span span {
    display: block;
}

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

#counter {
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    display: block;
    width: 100%;
    padding: 9px 15px;
    text-align: justify;
    text-align-last: justify;
}

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

#innerfooter {
    padding: 26px 0;
    font-size: 0.875rem;
    background-color: #222222;
}

#innerfooter>.row {
    row-gap: 26px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
}

#innerfooter li+li::before {
    content: "•";
    margin: 0 clamp(15px, 2vw, 30px);
    color: #ffffff;
}

/* -------------------------------------------- scroll top -------------------------------------- */

#scrollTopBtn {
    font-weight: 400;
    display: inline-block;
}

#scrollTopBtn::after {
    content: "";
    margin-left: 15px;
    position: relative;
    bottom: -2px;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 1px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(135deg);
}