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

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

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #444444;
    background: #fff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: clamp(200px, 40vw, 300px);
}

@media (min-width: 992px) {
    body {
        font-size: 1.125rem;
    }
}

body::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: clamp(300px, 50vw, 500px);
    background-position: top left, center;
    background-color: #f5d870;
    background-size: 100% clamp(30px, 10vw, 140px), cover;
    background-attachment: scroll, fixed;
    background-repeat: no-repeat;
}

a {
    color: #0062a3;
}

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

b,
strong {
    font-weight: 600;
}

.row,
.compact,
._op-container .container {
    width: 100%;
    max-width: 1430px;
}

#overflow {
    overflow: clip;
}

a:focus {
    outline: 3px solid #db5e02 !important;
}

button:focus {
    outline: 3px solid #db5e02 !important;
}

form:focus {
    outline: 3px solid #db5e02 !important;
}


#search_input:focus,
#search_submit:focus {
    outline: 3px solid #db5e02 !important;
}

/* ----------------------------------------------- 3tp topbar ----------------------------------------------- */

#topbar {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #f5d870;
    font-size: 0.875rem;
    color: #444444;
}

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

#language {
    background: rgba(255, 255, 255, 0.8);
    line-height: 0;
    position: relative;
    height: 100%;
    padding: 7px;
}

@media (max-width: 991px) {
    #language {
        height: auto;
        max-width: 200px;
    }
}

#language a {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    align-content: center;
}

#language img {
    min-width: 17px;
    max-width: 17px;
    display: block;
    margin: 0 13px;
    max-width: unset;
}

@media (max-width: 575px) {
    #language img {
        padding: 10px;
    }
}

#language a {
    position: relative;
}

#language>a:last-child::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 85%;
    background-color: #222222;
    top: 50%;
    transform: translateY(-50%);
}

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

form[id^="search"] {
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    display: block;
    position: relative;
}

@media (max-width: 575px) {
    form[id^="search"] {
        margin-top: 10px;
        display: inline-block;
    }
}

@media (min-width: 576px) {
    form[id^="search"] {
        margin-left: 30px;
    }
}

@media (min-width: 992px) {
    form[id^="search"] {
        max-width: 270px;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #444444;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 14px;
    padding-right: 54px;
    height: 35px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img/icon-search.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid rgba(88, 69, 58, 0.3);
    -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #f2f9fb;
    top: 0;
    bottom: 0;
}

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 0.8;
}

[id^="search_input"]:-moz-placeholder {
    opacity: 0.8;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }

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

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #0062a3;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

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

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

    .navbar-collapse {
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

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

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

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

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

    .dropdown-toggle-button-wrapper {
        right: 0;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 5px;
        right: 0;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 61;
        padding-top: 7px;
        padding-bottom: 4px;
        background-color: #fff;
        box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.12);
    }

    /* #menu .navbar,
    div#myNavbar,
    div#myNavbar>ul,
    li[class*="toplevel"],
    li[class*="toplevel"]>a {
        height: 100% !important;
        min-height: 100% !important;
    } */

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
    }

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

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

@media (max-width: 1199px) {
    .navbar-default .navbar-nav > li:last-child > .dropdown-menu {
        right: 0 !important;
        left: unset !important;
    }
}

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

.navbar-default li[class*="toplevel"]>a {
    color: #444444;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px 12px 16px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

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

    .navbar-default li[class*="toplevel"]>a {
        padding-right: 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 36px 15px 36px 16px;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

.navbar-default li[class*="toplevel"]>a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: calc(50% - 6px);
    width: 13px;
    height: 13px;
    background: #0062a3;
    pointer-events: none;
    -webkit-transition: background 300ms linear, height 300ms linear;
    -moz-transition: background 300ms linear, height 300ms linear;
    -ms-transition: background 300ms linear, height 300ms linear;
    -o-transition: background 300ms linear, height 300ms linear;
    transition: background 300ms linear, height 300ms linear;
}

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

.navbar-default li[class*="toplevel"]:hover>a::after,
.navbar-default li[class*="toplevel"]>a:hover::after,
.navbar-default li[class*="toplevel"]>a:focus::after,
.navbar-default li[class*="toplevel"].open>a::after,
.navbar-default li[class*="toplevel"].open>a:hover::after,
.navbar-default li[class*="toplevel"].open>a:focus::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
    background: #004c7e;
    height: calc(50% + 6px);
}

.navbar-default li[class*="toplevel"]:focus-within>a::after {
    background: #004c7e;
    height: calc(50% + 6px);
}

@media (min-width: 992px) {

    .navbar-default li[class*="toplevel"]:hover>a::after,
    .navbar-default li[class*="toplevel"]>a:hover::after,
    .navbar-default li[class*="toplevel"]>a:focus::after,
    .navbar-default li[class*="toplevel"].open>a::after,
    .navbar-default li[class*="toplevel"].open>a:hover::after,
    .navbar-default li[class*="toplevel"].open>a:focus::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
        height: calc(50% + 11px);
    }

    .navbar-default li[class*="toplevel"]:focus-within>a::after {
        height: calc(50% + 11px);
    }
}

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

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

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

@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: 0;
    }

    .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: 1.125rem;
    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 {
        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: #0062a3;
    color: #f5d870;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #0062a3;
    color: #f5d870;
}

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

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

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

#headerpic .nivo-controlNav {
    bottom: clamp(20px, 5vw, 40px);
}

@media (min-width: 576px) {
    #slider {
        max-height: 400px;
    }
}

@media (min-width: 992px) {
    #slider {
        max-height: 600px;
    }

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

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

    #headerpic .nivo-controlNav {
        bottom: 54px;
    }

    body.index #headerpic .nivo-controlNav {
        bottom: 104px;
    }

    .theme-nivo .nivo-directionNav a {
        top: 75% !important;
    }
}

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

    #headerpic .nivo-controlNav {
        bottom: 200px;
    }

    body.index #headerpic .nivo-controlNav {
        bottom: 245px;
    }
}

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

.slider-mask {
    display: block;
    background: linear-gradient(-4deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) calc(50% + 1px));
    background-size: 100% clamp(30px, 10vw, 140px);
    background-position: bottom left;
    background-repeat: no-repeat;
}

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

    #headerpic::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 99%, rgba(0, 0, 0, 0) 100%);
        z-index: 3;
    }

    .theme-nivo .nivo-controlNav .slick-dots li {
        color: #fff;
    }
}



#banneroverlay {
    position: relative;
}

@media (min-width: 992px) {
    #banneroverlay {
        position: absolute;
        z-index: 55;
        width: 100%;
        bottom: 47%;
    }
}

@media (min-width: 1400px) {
    #banneroverlay {
        bottom: 50%;
    }
}

.slogan {
    color: #444;
    font-weight: 600;
    font-size: 1.25rem;
}

.slogan .tabHeadline {
    color: #f5d870;
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .slogan {
        color: #fff;
        font-size: clamp(1.25rem, 2vw, 1.875rem);
    }

    .slogan a {
        color: #f5d870;
    }

    .slogan .tabHeadline {
        color: #f5d870;
        font-size: clamp(2.5rem, 3vw, 4.0625rem);
    }
}

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

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

#content-box {
    background: #fff;
    padding: 0;
}

@media (min-width: 992px) {
    #content-box {
        margin-top: -30px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }

    #background {
        position: relative;
        z-index: 60;
        background-repeat: no-repeat;
        background-position: top 560px left, top 100px right;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='455px' height='525px'%3E%3Cpath fill-rule='evenodd' fill='rgb(245, 216, 112)' d='M454.1000,262.492 L0.000,524.992 L0.000,-0.008 L454.1000,262.492 Z'/%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='455px' height='526px'%3E%3Cpath fill-rule='evenodd' fill='rgb(245, 216, 112)' d='M-0.000,263.040 L454.1000,0.540 L454.1000,525.539 L-0.000,263.040 Z'/%3E%3C/svg%3E");
        ;
    }
}

@media (min-width: 1200px) {
    #content-box {
        margin-top: -175px;
    }
}

#content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    #content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 992px) {
    #background #content-box>*>*:not(.bf-controls-position) {
        padding-left: clamp(15px, 8vw, 135px);
    }

    #content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
        padding-right: clamp(15px, 8vw, 135px);
    }
}

#content>*:not(.bf-controls-position) {
    padding-top: clamp(30px, 8vw, 58px);
    padding-bottom: clamp(30px, 8vw, 58px);
}

#content #content-area {
    padding-top: clamp(30px, 10vw, 38px);
}

#content>*:not(.bf-controls-position):not(:last-child) {
    border-width: 0 0 1px 0;
    border-style: solid;
    border-image: linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.05)) 1;
}

#content :is(#content-area, #news) {
    border-image: linear-gradient(to right, #7bb8cd, #e2f1f6) 1;
}

#content-area {
    text-align: left;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #004c7e;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Work Sans", sans-serif;
    margin-bottom: 15px;
}

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

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

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

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
}

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

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

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

/* #region ------------------------------------ bf controls ------------------------------------- */

.bf-controls-position {
    color: #fff;
    position: fixed;
    z-index: 30;
    left: 0;
    bottom: 0;
    right: 0;
}

@media (max-width: 991px) {
    .bf-controls-position {
        background: #0d759b;
        padding: 0 15px;
        border-top: 2px solid #fff;
    }
}

@media (min-width: 992px) {
    .bf-controls-position {
        position: absolute;
        z-index: 51;
        left: 0;
        right: unset;
        top: 0;
        width: 60px;
    }

    .bf-controls {
        position: sticky;
        top: 150px;
        left: 0;
        right: 0;
    }

    .bf-controls>*+* {
        margin-top: 4px;
    }
}

/* contact buttons */

#contact-tab summary {
    width: 100%;
    max-width: 70px;
    display: block;
    position: relative;
    height: clamp(54px, 3vw, 60px);
}

#contact-tab summary {
    cursor: pointer;
    background: #0d759b url("data:image/svg+xml,%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='%23fff'/%3E%3C/svg%3E") center / 28px auto no-repeat;
    font-size: 0;
    list-style: none;
}

#contact-tab summary::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 4px;
    border: 2px solid #ffffff;
    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;
}

@media (min-width: 992px) {
    #contact-tab summary::after {
        top: 8px;
        right: 8px;
        bottom: 8px;
        left: 8px;
    }
}

#contact-tab:hover summary::after,
#contact-tab:focus summary::after {
    opacity: 0.5;
}


#contact-tab[open] summary::after {
    opacity: 1;
}

/* contact tab */

#contact-tab {
    width: 100%;
    max-width: 70px;
}

#contact-content {
    position: fixed;
    left: 15px;
    right: 15px;
    bottom: 70px;
    max-width: unset;
    background: #004c7e;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    #contact-content {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    #contact-content::before {
        content: "";
        display: block;
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: clamp(54px, 3vw, 60px);
        left: 0;
        background: rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 992px) {
    #contact-content {
        position: absolute;
        left: calc(100% + 15px);
        right: unset;
        bottom: unset;
        top: 10px;
        width: 720px;
    }

    #contact-content::after {
        content: "";
        display: block;
        position: absolute;
        top: 9px;
        left: -22px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 22px 12px 0;
        border-color: transparent #0062a3 transparent transparent;
    }
}

#contact-content>* {
    padding: clamp(24px, 3vw, 30px) 24px;
}

@media (min-width: 768px) {
    #contact-content>* {
        width: 50%;
        flex-grow: 1;
    }
}

:is(.contact-tab-1, .contact-tab-2) :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-tab-1 :is(h1, h2, h3, h4, h5, h6, a) {
    color: inherit;
}

.contact-tab-1 a {
    text-decoration: underline;
}

/* contrast + font-size */

#contrast_style,
#style {
    padding: 10px 15px;
}

#contrast_style {
    background: #1c6492;
}

#style {
    background: #004c7e;
}

:is(#contrast_style, #style) button {
    font-size: 15px;
    line-height: 15px;
    color: #0d759b;
    font-weight: 600;
    width: 26px;
    height: 26px;
    display: inline-block;
    border: none;
    padding: 0;
    margin: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    position: relative;
    -webkit-transition: border-radius 300ms linear;
    -moz-transition: border-radius 300ms linear;
    -ms-transition: border-radius 300ms linear;
    -o-transition: border-radius 300ms linear;
    transition: border-radius 300ms linear;
}

@media (min-width: 992px) {
    :is(#contrast_style, #style) button {
        width: 20px;
        height: 20px;
    }
}

#contrast_style button {
    font-size: 0;
}

:is(#contrast_style, #style) :is(button:hover, button:focus) {
    border-radius: 0;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    border: 1px solid #4b4b4b;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, #4b4b4b 51%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to top, #4b4b4b 50%, rgba(255, 255, 255, 1) 51%, rgba(255, 255, 255, 1));
}

#contrast_style button:nth-of-type(3)::after {
    background: #ea5b0c;
    border-color: #ea5b0c;
}

/* #endregion --------------------------------- bf controls ------------------------------------- */

/* #region ------------------------------------ quick links ------------------------------------- */

#quick-links {
    font-size: 1rem;
    padding-bottom: clamp(30px, 10vw, 58px);
}

@media (min-width: 992px) {
    #content-box #quick-links {
        padding-top: 0;
    }
}

#quick-links>.row {
    row-gap: 15px;
}

@media (min-width: 576px) {
    #quick-links>.row {
        row-gap: 30px;
    }
}

@media (min-width: 1200px) {
    #quick-links>.row {
        flex-wrap: nowrap;
    }

    #quick-links>.row>* {
        flex-shrink: 1;
    }
}

.quick-link {
    padding: 35px 20px 70px 20px;
    background: #005085 linear-gradient(to top, #0d759b, rgba(255, 255, 255, 0) 60%) top center no-repeat;
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    .quick-link {
        margin-top: -50px;
        height: calc(100% + 50px);
        min-height: calc(100% + 50px);
    }
}

.quick-link:hover,
.quick-link:focus {
    background-position: 0 150px;
}

.quick-link * {
    pointer-events: none;
}

.quick-link a {
    pointer-events: all;
}

.quick-link::after {
    content: "";
    pointer-events: none;
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 24px;
    right: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12.961' viewBox='0 0 13 12.961'%3E%3Cpath d='M6.992-12.225l1.23-1.015a30.816,30.816,0,0,0,1.854,2.694,17.239,17.239,0,0,0,1.854,2.04,22.812,22.812,0,0,0,2.05,1.688V-6.7a19.828,19.828,0,0,0-2.05,1.679,18.329,18.329,0,0,0-1.854,2.04,28.346,28.346,0,0,0-1.854,2.7L6.992-1.294A24.77,24.77,0,0,1,8.6-3.51a17.506,17.506,0,0,1,1.61-1.727,10.158,10.158,0,0,1,1.562-1.21,5.249,5.249,0,0,1,1.464-.644v.664a5.249,5.249,0,0,1-1.464-.644,10.158,10.158,0,0,1-1.562-1.21A17.506,17.506,0,0,1,8.6-10.01,24.77,24.77,0,0,1,6.992-12.225ZM.98-7.54H7.909q1.23,0,2.157.059t1.649.137l1.171.586-1.171.586q-.722.078-1.649.137t-2.157.059H.98Z' transform='translate(-0.98 13.24)' fill='%23f5d870'/%3E%3C/svg%3E%0A") center / 28px auto no-repeat;
}

.quick-link,
.quick-link :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

.quick-link :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    margin-bottom: 4px;
}

.quick-link-text :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.375rem, 4vw, 2.5rem);
    margin-bottom: 0;
    text-transform: uppercase;
}

.quick-link :is(.row, .row > *) {
    position: static;
}

.quick-link :is(img, a.has-image) {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.quick-link img {
    z-index: -1;
    opacity: 0.1;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

:is(.quick-link:hover, .quick-link:focus) img {
    opacity: 0;
}

/* #endregion ---------------------------------- quick links ------------------------------------ */

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

#news {
    background: #f2f9fb;
}

:is(#events, #news) .tab-headline :is(h1, h2, h3, h4, h5, h6) {
    color: #004c7e;
    opacity: 0.5;
    text-transform: uppercase;
    font-size: clamp(1.875rem, 6vw, 4.0625rem);
    line-height: 1;
    -moz-hyphens: none;
    hyphens: none;
}

@media (min-width: 992px) {
    :is(#events, #news) .tab-headline :is(h1, h2, h3, h4, h5, h6) {
        margin-bottom: 0;
    }
}

:is(#events, #news) .tab-content a {
    display: inline-block;
    padding-right: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    line-height: 1.2;
    color: #0e7ca4;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13.488' viewBox='0 0 13 13.488'%3E%3Cpath d='M5.863-11.8,8.342-13.52Q9.279-12,10.177-10.778A18.4,18.4,0,0,0,12.041-8.6,18.238,18.238,0,0,0,14.1-6.844v.117a17.676,17.676,0,0,0-2.059,1.767,19.51,19.51,0,0,0-1.864,2.176q-.9,1.21-1.835,2.752L5.863-1.75a14.8,14.8,0,0,1,1.747-2.2A12.538,12.538,0,0,1,9.454-5.517,11.4,11.4,0,0,1,11.27-6.552a9.33,9.33,0,0,1,1.62-.566v.664a9.8,9.8,0,0,1-1.62-.556A10.832,10.832,0,0,1,9.454-8.035,12.243,12.243,0,0,1,7.61-9.616,15.778,15.778,0,0,1,5.863-11.8ZM1.1-8.445H5.687a23.7,23.7,0,0,1,3.035.185,24.8,24.8,0,0,1,2.645.478l1.64,1-1.64,1a24.794,24.794,0,0,1-2.645.478,23.7,23.7,0,0,1-3.035.185H1.1Z' transform='translate(-1.1 13.52)' fill='%230d759b'/%3E%3C/svg%3E%0A") center right / 16px auto no-repeat;
}

@media (max-width: 991px) {
    :is(#events, #news) :is(.tab-headline + .tab-content, .tab-content + .tab-headline) {
        margin-top: 20px;
    }
}

/* tabnews/tabevents */

:is(#news, #events) .tab_link_entries {
    display: grid;
    gap: 30px 30px;
    margin-top: clamp(15px, 4vw, 30px);
}

@media (min-width: 576px) {

    :is(#news, #events) .tab_link_entries {
        grid-template-columns: 1fr 1fr;
    }
}

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


:is(#news, #events) .tab_link_entry {
    font-size: 1rem;
    color: #fff;
    border-bottom: none !important;
    position: relative;
    z-index: 1;
}

@media (min-width: 576px) and (max-width: 991px) {

    :is(#news, #events) .tab_link_entry:nth-child(3) {
        grid-column-start: 1;
        grid-column-end: 3;
    }
}

#news .tab_link_entry {
    margin-left: 15px;
    margin-top: 114px;
    background: #004c7e;
    padding: 80px clamp(15px, 4vw, 30px) clamp(15px, 4vw, 26px) clamp(15px, 4vw, 30px);
}

#news .tab_link_entry::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: -114px;
    right: 15px;
    height: 114px;
    border: 4px solid #b7d6de;
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

#news .tab_link_entry:hover::after {
    border-color: #0d759b;
}

#news .tab_link_entry:focus-within::after {
    border-color: #0d759b;
}

#events .tab_link_entry {
    padding: 80px clamp(15px, 4vw, 40px) clamp(15px, 4vw, 50px) clamp(15px, 4vw, 40px);
    background: #004c7e linear-gradient(to top, #0d759b, rgba(255, 255, 255, 0) 60%) top center no-repeat;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

#events :is(.tab_link_entry:hover, .tab_link_entry:focus) {
    background-position: 0 150px;
}

:is(#news, #events) .tab_link_entry a {
    color: #f5d870;
}

:is(#news, #events) .tab_link_mandat a {
    text-decoration: underline;
    display: block;
    margin: 10px 0;
}

:is(#news, #events) .tab_link_entry :is(.tab_date, .tab_link_date) {
    font-size: 0.875rem;
    font-weight: 400;
    color: #444444;
    background: #fff;
    line-height: 1.2;
    padding: 8px 10px;
    position: absolute;
    top: 0;
    z-index: 1;
    right: 0;
    max-width: calc(100% - 15px);
    min-width: 100px;
    text-align: center;
}

#events .tab_link_entry .tab_link_date {
    top: 30px;
}

:is(#news, #events) .tab_link_entry .tab_link_title a {
    font-size: clamp(1.25rem, 3vw, 1.375rem);
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background: url('../img/platzhalter-aktuelles.jpg') center / cover no-repeat;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
}

:is(#news, #events) .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
    display: block;
    overflow: hidden;
    position: absolute;
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
    height: 150px;
    top: -95px;
    left: -15px;
    width: calc(100% - 18px);
}

#events .tab_link_entry .tab_preview_picture {
    height: 100%;
    opacity: 0.1;
    top: 0;
    left: 0;
    width: 100%;
}

:is(#news, #events) .tab_link_entry .tab_preview_picture img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
}

:is(#news, #events) .tab_link_entry :is(.tab_spacer, .tab_link_mehr) {
    display: none;
}

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

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

footer {
    color: #fff;
    background: #004c7e;
    position: relative;
    z-index: 1;
}

footer :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.125rem;
    color: #f5d870;
    margin-bottom: 0;
}

footer a {
    color: #fff;
}

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

@media (min-width: 992px) {
    footer :is(.iframe-wrapper-manual-enabling, iframe) {
        display: block;
        min-width: calc(100% + clamp(15px, 8vw, 135px)) !important;
        width: calc(100% + clamp(15px, 8vw, 135px)) !important;
        margin-right: calc(-1 * clamp(15px, 8vw, 135px));
    }
}

@media (min-width: 1200px) {
    .map-tab {
        padding-left: 35px;
    }
}

#footer {
    font-size: 1rem;
}

.footer-tab {
    padding-top: clamp(30px, 10vw, 50px);
    padding-bottom: clamp(30px, 10vw, 40px);
}

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

:is(#footer, #social-media) a {
    color: #fff;
    text-decoration: underline;
}

#footer ul {
    padding-left: 0;
    list-style: none;
}

#footer ul li {
    padding: 6px 0 6px 18px;
    position: relative;
}

#footer ul li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
    width: 7px;
    height: 7px;
    border: 1px solid #fff;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#footer ul li:hover::before,
#footer ul li:focus::before {
    background: #fff;
}

#innerfooter {
    padding: 20px;
    background: #0062a3;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter ul a {
    color: #fff;
}

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

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 15px;
        color: #fff;
    }

    #innerfooter li {
        display: inline-block;
    }
}

@media (min-width: 1200px) {
    #innerfooter li+li::before {
        margin: 0 22px;
    }
}

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

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

#innerfooter #vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #fff;
    line-height: 1.3;
    margin: 20px auto 0 auto;
    text-decoration: none;
}

@media (min-width: 992px) {
    #innerfooter #vernetzt {
        margin: 0;
    }
}

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

#innerfooter #vernetzt img {
    margin-left: 18px;
}

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

/* #region -------------------------------------- contrast -------------------------------------- */

.contrast_dark :is(.quick-link, #footer) {
    background: #000 !important;
}

.contrast_dark :is(#logo img, #language) {
    background: #fff !important;
}

.contrast_light :is(.quick-link, #footer) {
    background: #fff !important;
}

:is(.contrast_dark, .contrast_light) #news .tab_link_entry .tab_link_title a::before {
    display: none !important;
}

/* #endregion ----------------------------------- contrast -------------------------------------- */