@import url('https://fonts.verwaltungsportal.de/css/?family=Comfortaa:400,400i,700,700i%7CYanone+Kaffeesatz:700,700i');

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

body {
    font-family: "Comfortaa", sans-serif;
    font-weight: 400;
    color: #444444;
    background: #ffffff;
    font-size: 0.9375rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #075997;
}

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

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

#over {
    overflow: hidden;
}

/* ------------------------------------------ topbar -------------------------------------------- */

#topbar {
    position: relative;
}

#topbar>.row {
    font-size: 0.875rem;
}

@media (min-width: 992px) {
    #controls {
        padding-top: 17px;
        padding-bottom: 21px;
        column-gap: 28px;
    }

    #controls>*:not(:last-child) {
        border-right: 1px solid rgba(0, 0, 0, 0.12);
        padding-right: 20px;
    }

    #topbar::before {
        content: "";
        width: 100%;
        height: 4px;
        background-color: #f8c612;
        position: absolute;
        bottom: 6px;
    }
}

/* ------------------------------------------- styler ------------------------------------------- */

#style h2 {
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
    margin: 0 5px 0 0;
    width: unset;
}

#style button {
    border: none;
    color: #222222;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    background: transparent;
    line-height: 1;
    min-width: 32px;
    min-height: 32px;
    font-size: 0.875rem;
    position: relative;
    padding: 6px;
    overflow: hidden;
}

#style button:nth-child(3) {
    color: #075997;
    text-decoration: underline;
}

#style button:is(:hover, :focus) {
    background: #f2e9e1;
}

#style button+button {
    margin-left: -6px;
}

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

.search {
    width: 32px;
    height: 32px;
    text-align: center;
    padding: 7px 0 0 0;
    display: inline-block;
    flex-shrink: 0;
    line-height: 0;
}

@media (min-width: 992px) {
    .search {
        margin-left: -8px;
    }
}

.search:is(:hover, :focus) {
    background: #f2e9e1;
}

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

.logo {
    position: relative;
    z-index: 50;

    display: inline-block;
}

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

@media (min-width: 992px) {
    #logo {
        position: absolute;
        left: 15px;
        max-width: calc(100% - 30px);
        top: -70px;
        display: block;
        transition: all 300ms 0s linear;
    }

    .is-sticky #logo {
        top: 0;
    }

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

.logo img {
    display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #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: #075997;
        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);
        padding: 15px 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: 5px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    .sticky-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
    }

    nav.horizontally {
        transition: all 300ms 0s linear;
    }

    .is-sticky nav.horizontally {
        background: rgba(255, 255, 255, 0.8);
        padding-bottom: 30px;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }


    nav.horizontally .navbar-nav {
        margin: 30px 0 0 0;
        display: flex;
        justify-content: space-between;
    }

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        margin-top: 30px;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav>li,
    nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    .navbar-default .open>.dropdown-menu,
    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

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

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

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #222222;
    background: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 8px 0;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Yanone Kaffeesatz", sans-serif;
}

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 24px 12px 20px 12px;
        text-align: center;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        height: 100%;
        min-height: 101px;
    }

    .is-sticky nav.horizontally a[class*="toplevel"] {
        min-height: 60px;
    }
}

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

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    display: block;
    height: 4px;
    width: 0;
    max-width: 100px;
    background: #f8c612;
    margin: 2px 0 0 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"]::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* 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: #075997
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open>a::after,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
    width: 80%;
    opacity: 1;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    background: #075997;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #075997;
}

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

@media(min-width:992px) {

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

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

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

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        top: -20px;
        margin-left: -20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 20px 0 20px;
        border-color: #ffffff transparent transparent transparent;
        -webkit-transition: top 150ms linear;
        -moz-transition: top 150ms linear;
        -ms-transition: top 150ms linear;
        -o-transition: top 150ms linear;
        transition: top 150ms linear;
    }

    .navbar-default .navbar-nav>li:hover>.dropdown-menu::after {
        top: 0;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -30px;
        margin-left: 10px;
    }

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
        padding: 13px 25px;
    }
}

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

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #f8c612;
    color: #222222;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #f8c612;
    color: #222222;
}

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

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

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

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(00px, 69vw, 670px);
    }

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

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

#headerpic {
    padding: 0;
    position: relative;
    background-color: #222222;
}

@media (min-width: 768px) {
    #headerpic .nivo-controlNav {
        bottom: 20px;
    }
}

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

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

.slider-mask {
    display: block;
    background: url('../img/banner-overlay.png') center bottom / 100% auto no-repeat, linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(7, 89, 151, 0)70%);
}

#bannerOverlay {
    padding-top: 25px;
    color: #444444;
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.875rem, 4vw, 3.75rem);
    margin-bottom: 0;
    color: #f8c612;
}

#bannerOverlay a {
    text-decoration: underline;
}

@media (min-width: 768px) {
    #bannerOverlay {
        padding-top: 0;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 120px;
        z-index: 60;
        color: #ffffff;
        background: transparent;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
        font-weight: 600;
    }

    #bannerOverlay :is(b, strong) {
        font-weight: 700;
        font-size: 1.25rem;
    }
}

@media (min-width: 992px) {
    #bannerOverlay {
        bottom: 85px;
    }
}

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

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

main {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 991px) {
    main {
        background: transparent !important;
    }

    #contentBG {
        border-bottom: 1px solid orange;
    }
}

#contentBG {
    text-align: left;
    padding: 30px clamp(15px, 2vw, 40px) clamp(40px, 4vw, 60px) clamp(15px, 2vw, 40px);
    background: #ffffff;
    position: relative;
    z-index: 45;
    margin-bottom: 50px;
}

@media (min-width: 992px) {
    .index #contentBG {
        border-right: 1px solid orange;
    }
}

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

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

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

h2,
.h2,
.legacy_h2 {
    font-size: clamp(2.25rem, 4vw, 2.625rem);
}

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(2rem, 4vw, 2.1875rem);
}

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

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

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

@media (min-width: 992px) {
    #tabs2 {
        margin-top: 20px;
        padding-left: 0;
        padding-bottom: 60px;
    }
}

#tabs2 .tab {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 0 85px 30px;
    font-size: 0.875rem;
    position: relative;
}

@media (min-width: 992px) {
    #tabs2 .tab {
        margin-left: -15px;
    }
}

@media (max-width: 991px) {
    #tabs2 {
        margin-bottom: 30px;
    }
}

#tabs2 .tab+.tab {
    margin-top: 30px;
}


#tabs2 .tab1 {
    padding-bottom: 0;
}

#tabs2 .tabHeadline {
    font-size: 1.5rem;
    margin: 0 0 clamp(10px, 2vw, 18px) 0;
}

#tabs2 .tab1 .tabHeadline {
    color: #222222;
}

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

/* ------------------------------------------- footer ------------------------------------------- */
footer {
    position: relative;
}

@media (min-width: 992px) {
    footer::before {
        content: "";
        position: absolute;
        background: url('../img/fußballspieler.png') no-repeat;
        width: 217px;
        height: 579px;
        bottom: -13px;
        left: calc(50% + 658px);
        z-index: 5;
    }
}

#footer {
    background-color: #075997;
    color: #ffffff;
    font-size: 0.875rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 30px 0;
}

#footer :is(h1, h2, h3, h4, h5, h6),
#footer :is(h1, h2, h3, h4, h5, h6) :is(strong, b) {
    color: #ffffff;
    font-size: clamp(1.875rem, 4vw, 3.4375rem);
    margin-bottom: 10px;
}

#footer :is(h1, h2, h3, h4, h5, h6) :is(strong, b) {
    color: #f8c612;
}

#footer a {
    color: #000000;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-block;
    padding: 16px 20px;
    background-color: #f8c612;
}

#footer a:is(:hover, :focus) {
    color: #fff;
    text-decoration: none;
    background-color: #075997;
}


@media (min-width: 576px) {
    #footer {
        padding-top: 0;
    }
}

#footer2 {
    padding: 30px 0;
    position: relative;
    background: #075997
}

@media (min-width: 992px) {
    #footer {
        position: relative;
        padding: 60px 0;
    }

    #footer2 {
        padding: 50px 0 60px 0;
    }

    #footer2::before {
        content: '';
        position: absolute;
        background: url('../img/footer-deko.png') no-repeat;
        width: 1920px;
        height: 28px;
        top: -28px;
    }

    #footer::before {
        content: '';
        position: absolute;
        background: url('../img/kind-spielt-fussball.png') no-repeat;
        width: 183px;
        height: 250px;
        top: -250px;
        right: calc(50% + 740px);
        z-index: 1;
    }

    #footer2 {
        background: #075997 url('../img/footer-overlay.png')center no-repeat;
    }
}

footer>.row {
    row-gap: 30px;
}

#innerfooter ul {
    padding: 0;
}

@media (max-width: 767px) {
    #innerfooter ul {
        margin-top: 20px;
    }
}

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

    #innerfooter li+li {
        margin-left: clamp(20px, 2vw, 35px);
    }
}

#innerfooter a {
    color: #ffffff;
}

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

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

#vernetzt {
    gap: 18px;
    text-align: right;
    font-size: 0.75rem;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span {
    display: block;
}

#vernetzt img {
    margin-bottom: 4px;
}

#vernetzt b {
    color: #f8c612;
}