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

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #010101;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #b81313;
}

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

b,
strong {
    font-weight: 600;
}

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

/* #region --------------------------------- buttonStyle ---------------------------------------- */

.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a) {
    text-decoration: none;
    display: inline-block;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 8px;
    padding: 16px 20px;
    background: #b81313;
    transition: all 300ms;
    position: relative;
}

.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):is(:focus, :hover) {
    color: #b81313;
    background: #ffffff;
}

#team .buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):is(:focus, :hover) {
    color: #ffffff;
    background: #141414;
}

/* #endregion ------------------------------ buttonStyle ---------------------------------------- */

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

nav.horizontally {
    padding: 20px 0;
    background: #010101;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* burgermenu for tablet */

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

    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 8px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #010101;
        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: #010101;
        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;
        right: 15px;
        top: 15px;
        z-index: 101;
    }

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

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 20px 0 18px 0;
        transition: padding 200ms linear;
    }

    .is-sticky nav.horizontally {
        padding: 10px 0 10px 0;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 2px;
    }

    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:focus-within, :hover)>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:is(:hover, :focus-within)>ul {
        z-index: 1003;
    }
}

/* toplevel */

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

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 9px 8px;
    }

    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 5px;
    }

    nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
        content: "";
        border-bottom: 1px solid #ffffff;
        border-left: 1px solid #ffffff;
        border-radius: 1px;
        display: block;
        position: absolute;
        right: 13px;
        top: calc(50% - 5px);
        transform: rotate(-45deg);
        height: 6px;
        width: 6px;
        transition: border 300ms linear;
    }
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
}

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

    nav.horizontally [class*="secondlevel"]>ul {
        padding: 15px;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        border-radius: 20px;
    }

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #010101;
    font-weight: 400;
    text-align: left;
    padding: 9px 15px;
    font-size: 0.875rem;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 8px;
}

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

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

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

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

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

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

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

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

#headerpic {
    padding: 0;
    position: relative;
    background: #010101;
}

#headerpic .theme-nivo .nivo-controlNav .slick-dots li,
#headerpic .nivo-directionNav a,
#headerpic a.nivo-control,
#headerpic a.nivo-control.active {
    color: #ffffff !important;
}

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

.slider-mask {
    display: none;
}

@media (min-width: 992px) {
    .index .slider-mask {
        display: block;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9)0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0) 100%);
    }
}

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

/* ------------------------------------------- bannerOverlay ------------------------------------------ */

@media (max-width: 991px) {
    #bannerOverlay {
        padding: 30px 0;
        background: #010101;
    }
}

#bannerOverlay .tab {
    font-size: clamp(1.125rem, 3vw, 1.5625rem);
}

#bannerOverlay .tab,
#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
}

#bannerOverlay .tab .tabHeadline {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.1875rem);
}

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        pointer-events: none;
        bottom: clamp(30px, 4vw, 60px);
        left: 0;
        right: 0;
        z-index: 12;
    }

    #bannerOverlay .tab {
        pointer-events: all;
    }
}

@media (max-width: 575px) {
#bannerOverlay .tab .tabHeadline {
  margin: 0;
  font-size: clamp(1.5625rem,3vw,32px);
}
}
/* ------------------------------------------- bannerTabs ------------------------------------------ */

#bannerTabs {
    padding-top: clamp(40px, 4vw, 60px);
    padding-bottom: clamp(40px, 4vw, 60px);
    background: #f5f5f5;
}

#bannerTabs>.row {
    row-gap: 30px;
}

#bannerTabs .tab .tabHeadline {
    color: #ffffff;
}

#bannerTabs .tab {
    color: #ffffff;
    font-size: 1rem;
  line-height: 1.16;
    min-height: 100%;
    padding: 40px 45px 30px 30px;
    border-radius: 20px;
    background: #141414;
    position: relative;
}

#bannerTabs .tab .buttonStyle a{
margin-top: 10px;
}
/* ------------------------------------------- deko breaker ------------------------------------------ */

@media (min-width: 1200px) {

    #bannerTabs,
    #team {
        position: relative;
        z-index: 1;
    }

    #bannerTabs::after,
    #team::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -50px;
        left: 0;
        right: 0;
        margin: auto;
        width: 75px;
        height: 81px;
        background: url('../img/icon-kampf.png') center no-repeat;
    }
}

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

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


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

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

h1,
.h1,
.legacy_h1,
:is(#team) :is(h1, h2) {
    font-size: clamp(1.75rem, 4vw, 2rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.6875rem, 3.5vw, 1.875rem);
}

#sponsorBox .tab :is(h1, h2, h3),
h3,
.h3,
.legacy_h3 {
    font-size: 1.625rem;
}

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

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

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

#bannerTabs .tab .tabHeadline {
    font-size: 1.125rem;
}

main :is(h1, h2) {
    margin-bottom: 25px;
}

:is(h1, h2, h3) :is(i, em) {
    color: #b81313;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
    font-style: normal;
    display: block;
}

/* #region ------------------------------------- team ------------------------------------------- */

#team {
    background: #f5f5f5;
    padding: clamp(40px, 6vw, 85px) 0;
}

#team>.row {
    row-gap: 30px;
}

@media (min-width: 992px) {
    #team>.row>div:nth-child(1) {
        padding-right: 45px;
    }
}


@media (max-width: 767px) {
#team .btgrid > .row {
  row-gap: 35px;

}
#team .btgrid > .row .col-xs-12:not(:first-child) .content{
  border-top: solid 1px rgba(0, 0, 0,0.4);
  padding-top:30px;
}
}
/* #endregion ---------------------------------- team ------------------------------------------- */

/* #region ------------------------------------- sponsorBox ----------------------------------------- */

#sponsorBox {
    padding-top: clamp(30px, 4vw, 75px);
    padding-bottom: clamp(30px, 4vw, 60px);
}

/* #endregion ---------------------------------- sponsorBox ------------------------------------------- */

/* -------------------------------------------- lastFooter ---------------------------------------- */

#lastFooter {
    font-size: 1rem;
    color: #ffffff;
    padding-top: clamp(30px, 2vw, 40px);
    padding-bottom: clamp(30px, 3vw, 40px);
    background: #010101;
}

#lastFooter>.row {
    row-gap: clamp(30px, 3vw, 50px);
}

#lastFooter>.row {
    row-gap: 30px;
}

.footerTab :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.125rem;
}

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

.footerTab .template-page .row {
    display: flex;
    align-items: center;
    align-content: center;
}

.xs-flex-column {
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
#lastFooter > .row img {
    vertical-align: middle;
}


}

@media (max-width: 991px) {
#lastFooter >.row > .col-xs-12 + .col-xs-12 {
    border-top: solid 1px rgba(255, 255, 255,0.4);
      border-bottom: solid 1px rgba(255, 255, 255,0.4);
    padding-top:30px;
    margin-bottom: 30px;;
}
}
/* -------------------------------------------- innerfooter ---------------------------------------- */

#innerfooter ul {
    padding: 0;
}

#innerfooter ul a {
    color: inherit;
    text-decoration: none;
}

#innerfooter ul a:is(:hover, :focus) {
    text-decoration: underline;
}

@media (min-width: 576px) {
    #innerfooter li {
        display: inline-block;
    }

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

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

#lastFooter #vernetzt {
    gap: 15px;
    text-align: right;
    font-size: 0.875rem;
    color: inherit;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 30px;
}

#lastFooter #vernetzt span span {
    display: block;
}



.news-entry-new-2-content {
    background-color: #141414;
    color: #fff;
}

.news-entry-new-2-content .legacy_h5 a {
    color: #fff !important;
}



