@import url("https://fonts.verwaltungsportal.de/import/?family=Montserrat:400,500,600,400i,500i,600i%7CPacifico:400");

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

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

@media (min-width: 992px) {
    body {
        padding-left: 250px;
    }
}

a {
    color: #0e5f98;
}

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

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

:focus-visible {
    outline: 3px solid #ff0000 !important;
}

.noPadding {
    padding-left: 0;
    padding-right: 0;
}

/* #region ----------------------------------- sidebar ------------------------------------------ */

#sidebar {
    font-size: 0.9375rem;
    background: #ffffff;
}

@media (min-width: 992px) {
    #sidebar {
        position: fixed;
        z-index: 100;
        overflow: auto;
        top: 0;
        left: 0;
        bottom: 0;
        width: 250px;
        box-shadow: 0 0 30px rgba(14, 24, 51, 0.2);
    }

    .sidebar-row,
    .sidebar-row>* {
        height: 100%;
    }

    .sidebar-row>*>* {
        width: 100%;
    }
}

/* logo */

#logo {
    display: inline-block;
    padding: 15px;
    outline-offset: -3px;
}

@media (min-width: 992px) {
    #logo {
        display: block;
        padding: 45px 0 45px 0;
    }
}

#logo img {
    display: block;
    margin: 0 auto;
}

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

/* logoDeko */

.logoDeko {
    height: 30px;
    background: #0e5f98;
    position: relative;
}

.logoDeko::after {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 0;
    right: 0;
    margin: auto;
    width: 45px;
    height: 100%;
    background: #0f3773;
}

.logoDeko::before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #0096ff;
    z-index: 1;
}

/* contact */

.contact {
    padding: 0 15px;
    margin-bottom: 60px;
    line-height: 1.7;
}

@media (min-width: 992px) {
    #sidebar .contact {
        flex-grow: 1;
    }

    #sidebar .contact::before {
        content: "";
        display: block;
        min-height: 50px;
        width: 2px;
        margin: 60px auto;
        background: #cccccc;
        flex-grow: 1;
    }

    #sidebar .contact address {
        max-height: 35vh;
        overflow: auto;
        width: 100%;
    }
}

nav .contact {
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.contact :is(h1, h2, h3, h4, h5, h6),
.contact .tabHeadline {
    color: #0f3773;
    font-size: 1rem;
    font-weight: 600;
    hyphens: auto;
}

.contact .tabHeadline {
    margin-bottom: 25px;
}

.contact :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
}

.contact a {
    font-weight: 500;
}

/* toolbar */

#toolbar {
    line-height: 1;
    border-top: 2px solid #cccccc;
}

@media (min-width: 992px) {
    #toolbar>.row {
        margin: 0;
    }
}

#toolbar>.row>div+div {
    border-left: 2px solid #cccccc;
    margin-left: -1px;
}

/* style + contrast */

#style,
#contrast_style {
    padding-top: 13px;
    padding-bottom: 14px;
}

:is(#style, #contrast_style) h2 {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: inherit;
    color: #0f3773;
}

:is(#style, #contrast_style) button {
    padding: 0;
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ffffff;
    background: #0f3773;
    text-align: center;
    position: relative;
    border: none;
    transition: all 300ms;
}

:is(#style, #contrast_style) button:is(:hover, :focus) {
    background: #0e5e97;
}

/* contrast */

#contrast_style button {
    font-size: 0;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    left: 5px;
    bottom: 5px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(to right, #1d346b, #1d346b 50%, #ffffff 50%);
}

#contrast_style button:nth-of-type(2)::after {
    transform: scaleX(-1);
}

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

/* style */

#style button {
    font-size: 18px;
}

/* #endregion -------------------------------- sidebar ------------------------------------------ */

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

/* burger */

#burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 80px;
    width: 80px;
    border-bottom-left-radius: 80%;
    padding: 6px 8px;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: -5px;
    z-index: 1002;
    background: none;
    box-shadow: 0 0 10px rgba(14, 24, 51, 0.2);
    background: #ffffff;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    #burgerButton {
        right: 0;
        top: 0;
        height: 126px;
        width: 126px;
        border-bottom-left-radius: 100%;
    }

    #burgerButton[aria-expanded="true"] {
        background: transparent;
        box-shadow: none;
    }
}

#burgerButton span:first-of-type {
    font-size: 12px;
    position: absolute;
    right: 25%;
    top: calc(50% - 34px);
    color: #0e5f98;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    #burgerButton[aria-expanded="true"] span:first-of-type {
        color: #ffffff;
    }
}

#burgerButton::before,
#burgerButton::after,
#burgerButtonInner {
    background: #127ac4;
    position: absolute;
    height: 4px;
    right: 25%;
    transition: transform 200ms linear, opacity 200ms linear;
}

@media (prefers-contrast: more) {

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        border: 2px solid #ffffff;
        box-sizing: border-box;
    }
}

@media (min-width: 992px) {

    #burgerButton[aria-expanded="true"] #burgerButtonInner,
    #burgerButton[aria-expanded="true"]::after {
        background: #ffffff;
    }
}

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

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

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

#burgerButtonInner {
    top: calc(50% - 12px);
    width: 40px;
}

#burgerButton::before {
    content: "";
    top: calc(50% - 2px);
    width: 30px;
}

#burgerButton::after {
    content: "";
    top: calc(50% + 8px);
    width: 20px;
}

/* navbar container */

.navbar-nav {
    margin: 80px 20px 40px 20px;
}

@media (min-width: 992px) {
    .navbar-nav {
        margin: 0 60px 40px calc(33.33% + 30px);
        max-width: 560px;
    }

    #myNavbar .mCSB_scrollTools {
        right: 43px;
    }
}

@media (min-width: 1200px) {
    .navbar-nav {
        margin-left: calc(50% + 30px);
    }
}

.navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #0e5f98;
    position: fixed;
    right: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: right 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) {
    right: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: -250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
    .navbar-collapse {
        width: calc(100% - 250px);
        max-width: unset;
        right: 0;
        left: 250px;
        padding-top: 100px;
        box-shadow: none;
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        box-shadow: none;
    }

    .navbar-collapse::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        width: 33.33%;
        margin: 0 auto;
        pointer-events: none;
        background: center / cover no-repeat;
    }
}

@media (min-width: 1200px) {
    .navbar-collapse::after {
        width: 50%;
    }
}

/* toplevel */

nav.burger a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 500;
    text-align: left;
    padding: 14px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    transition: background-color 300ms linear, color 300ms linear, border 300ms linear;
}

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

@media (min-width: 992px) {
    nav.burger a[class*="toplevel"] {
        font-size: 1.625rem;
        padding-right: 70px;
    }
}

/* toplevel-over */

nav.burger li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="toplevel"]>a:is(:hover, :focus),
nav.burger li[class*="toplevel"].open>a,
nav.burger li[class*="toplevel"].open>a:is(:hover, :focus),
nav.burger li[class*="toplevel"][class*="_over"]>a,
nav.burger li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

/* secondlevel + thirdlevel dropdown-box */

nav.burger [class*="toplevel"]>ul {
    padding: 15px 0;
}

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

@media (min-width: 992px) {
    nav.burger [class*="toplevel"]>ul {
        padding: 15px;
    }

    nav.burger [class*="secondlevel"]>ul {
        padding: 5px 15px 0 50px;
    }
}

/* secondlevel + thirdlevel */

nav.burger a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    position: relative;
    line-height: 1.2;
    text-decoration: none;
    display: inline-block;
}

nav.burger a[class*="secondlevel"] {
    padding: 8px 22px;
    font-size: 1.125rem;
}

nav.burger a[class*="thirdlevel"] {
    padding: 8px 0 8px 0;
    font-size: 1rem;
}

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

nav.burger a[class*="thirdlevel"]::before {
    content: '»';
    left: -10px;
    position: absolute;
}

nav.burger a[class*="thirdlevel"]::after {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    width: 100%;
    background: #0b4c7a;
    opacity: 0;
    transition: opacity 300ms linear;
}

/* secondlevel + thirdlevel over */

nav.burger li[class*="secondlevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="secondlevel"]>a:is(:hover, :focus),
nav.burger li[class*="secondlevel"].open>a,
nav.burger li[class*="secondlevel"].open>a:is(:hover, :focus),
nav.burger li[class*="secondlevel"][class*="_over"]>a,
nav.burger li[class*="secondlevel"][class*="_over"]>a:is(:hover, :focus) {
    background: #0b4c7a;
    color: #ffffff;
}

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

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

/* dropdown-toggle-button */

nav.burger :is(.dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2) {
    position: absolute;
}

nav.burger .dropdown-toggle-button-wrapper {
    display: block !important;
    top: 10px;
}

@media (min-width: 992px) {
    nav.burger .dropdown-toggle-button-wrapper {
        right: 15px;
    }
}

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

@media (min-width: 992px) {
    nav.burger .dropdown-toggle-button-wrapper2 {
        display: none;
    }
}

nav.burger .dropdownpr {
    position: relative !important;
}

nav.burger .dropdown-toggle-button {
    border-radius: 50%;
    background: transparent;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    nav.burger .dropdown-toggle-button {
        width: 40px;
        height: 40px;
    }
}

nav.burger .dropdown-toggle-button-open,
nav.burger li.dropdownpr:is(:hover, :focus-within) .dropdown-toggle-button,
nav.burger li.dropdownpr.open .dropdown-toggle-button,
nav.burger li.dropdownpr[class*="_over"] .dropdown-toggle-button {
    background: rgba(0, 0, 0, 0.2);
}

nav.burger .dropdown-toggle-button::before {
    content: "+";
    color: #ffffff;
    position: absolute;
    right: 50%;
    top: 50%;
    font-size: 30px;
    font-weight: 500;
    background: transparent;
    -moz-transform: rotate(0deg) translateX(45%);
    -webkit-transform: rotate(0deg) translateX(45%);
    -o-transform: rotate(0deg) translateX(45%);
    -ms-transform: rotate(0deg) translateX(45%);
    transform: rotate(0deg) translateX(45%);
    text-align: center;
    font-family: inherit;
    width: unset;
    height: unset;
    line-height: 0;
}

nav.burger .dropdown-toggle-button::after {
    content: unset;
}

nav.burger .dropdown-toggle-button-open::before {
    content: "-";
}

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

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

header {
    overflow: clip;
    background-color: #0e5f98;
}

/* banner */

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

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(600px, 70vw, 820px);
    }
}

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

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

.slider-mask {
    display: block;
    background: linear-gradient(to top, #0e5f98, rgba(14, 95, 152, 0) 50%);
}

/* banner arrows */

#headerpic .nivo-directionNav a {
    background: #ffffff;
    font-size: 0;
    width: 40px;
    height: 40px;
    text-indent: unset;
    z-index: 61;
}

#headerpic .nivo-directionNav a::after {
    content: "\2039";
    font-size: 40px;
    font-weight: 400;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(30%, -60%);
    color: #0f3773 !important;
    line-height: 1;
    transform-origin: center top;
}

#headerpic .nivo-directionNav a:is(:hover, :focus) {
    box-shadow: inset 0 -5px 0 #0f3773;
}

#headerpic .nivo-directionNav a.nivo-nextNav {
    transform: scaleX(-1);
}

@media (min-width: 1200px) {
    #headerpic a:is(.nivo-nextNav, .nivo-prevNav) {
        bottom: 5px;
        top: unset;
        opacity: 1;
    }

    #headerpic a.nivo-prevNav {
        left: unset !important;
        right: 65px !important;
    }

    #headerpic a.nivo-nextNav {
        right: 15px !important;
    }

    #headerpic .nivo-directionNav {
        max-width: 1200px;
        width: 100%;
        position: absolute;
        right: 0;
        bottom: 0;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        z-index: 30;
    }
}

/* banner dots */

#headerpic .nivo-controlNav.has-banner-control {
    line-height: 18px;
}

#headerpic .nivo-controlNav.has-banner-control .slick-dots {
    max-width: calc(100% - 38px);
}

#headerpic .nivo-controlNav li {
    width: 20px;
    height: 24px;
}

#headerpic .nivo-controlNav :is(a, button:not(#nivo-crtlbtn)) {
    background: transparent;
    border: 1px solid #ffffff;
    width: 10px;
    height: 10px;
    padding: 0;
}

#headerpic .nivo-controlNav button:not(#nivo-crtlbtn):is(:hover, :focus),
#headerpic .nivo-controlNav .slick-active button {
    background: #ffffff !important;
}

#headerpic .nivo-controlNav {
    z-index: 60;
    font-size: 0;
    bottom: 10px;
    width: 100%;
}

@media (min-width: 1200px) {
    #headerpic .nivo-controlNav {
        text-align: right;
        padding-right: 125px;
        max-width: 1200px;
        width: 100%;
        position: absolute;
        right: 0;
        bottom: 5px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        z-index: 30;
        pointer-events: none;
    }

    #headerpic .nivo-controlNav .slick-dots {
        max-width: clamp(80px, 7vw, 140px);
    }

    #headerpic .nivo-controlNav * {
        pointer-events: auto;
    }
}

/* welcome */

#welcome {
    padding: 30px 0;
}

.index #welcome {
    padding-bottom: clamp(30px, 4vw, 80px);
}

@media (min-width: 1200px) {
    #welcome {
        padding-top: 0;
        margin-top: -54px;
    }

    .index #welcome {
        margin-top: -150px;
    }
}

#welcome>* {
    z-index: 12;
    position: relative;
}

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

#welcome :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 400;
    font-size: clamp(1.875rem, 5vw, 2.875rem);
    margin: 0;
}

#welcome a {
    text-decoration: underline;
}

/* bannerOverlay */

#bannerOverlay {
    margin-bottom: clamp(20px, 4vw, 42px);
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-weight: 600;
}

.bigLetter {
    font-size: clamp(160px, 21vw, 320px);
    opacity: 0.08;
    position: absolute;
    bottom: -70px;
    left: 0;
    font-family: 'Pacifico', cursive;
    line-height: 1;
    pointer-events: none;
}

@media (min-width: 1400px) {
    .bigLetter {
        left: -110px;
    }
}

/* search */

#search .tabHeadline {
    font-size: 1.375rem;
    font-weight: 500;
}

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

#searchbar {
    background: #ffffff;
}

#search_input {
    color: #333333;
    font-size: 1.125rem;
    font-style: normal !important;
    background: transparent;
    border: 0;
    width: 100%;
    padding: 15px 20px;
}

#search_submit {
    min-width: 61px;
    flex-shrink: 0;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    font-size: 0;
    transition: all 200ms linear;
    transform: scale(0.8);
}

#search_submit:is(:hover, :focus) {
    transform: scale(1);
}

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

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

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

main {
    text-align: left;
}

#content {
    padding-bottom: clamp(40px, 6vw, 90px);
    padding-top: clamp(40px, 4vw, 65px);
}

@media (min-width: 1200px) {
    .index main {
        background: linear-gradient(to right, #f7f7f7, #f7f7f7 calc(50% + clamp(200px, 25%, 300px)), rgba(255, 255, 255, 0) calc(50% + clamp(200px, 25%, 300px)));
    }
}

/* #region -------------------------------------- tabs ------------------------------------------ */

@media (min-width: 1200px) {
    #tabs {
        background: linear-gradient(to right, #f7f7f7, #f7f7f7 50%, #0f3773 50%);
    }
}

@media (max-width: 1199px) {
    #tabs {
        padding-top: 30px;
    }
}

#tabs .tab {
    padding: clamp(40px, 8vw, 130px) 25px clamp(60px, 8vw, 100px) 25px;
    background: #0f3773 center / cover no-repeat;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    font-size: 0.9375rem;
    box-shadow: inset 0 0 0 100vw rgba(14, 95, 152, 0.85);
    transition: box-shadow 200ms linear;
    position: relative;
    overflow: hidden;
}

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

#tabs .tab:is(:hover, :focus-within) {
    box-shadow: inset 0 0 0 100vw rgba(14, 95, 152, 0.95);
}

#tabs .tab:nth-of-type(2n+2) {
    box-shadow: inset 0 0 0 100vw rgba(15, 55, 115, 0.85);
}

#tabs .tab:nth-of-type(2n+2):is(:hover, :focus-within) {
    box-shadow: inset 0 0 0 100vw rgba(15, 55, 115, 0.95);
}

#tabs .tabSpecialHeadline {
    hyphens: auto;
    padding-bottom: clamp(30px, 4vw, 70px);
}

@media (min-width: 1200px) {
    #tabs .tabSpecialHeadline {
        padding-top: clamp(30px, 4vw, 70px);
    }
}

#tabs .tab .row,
#tabs .tab .row>* {
    position: static;
}

/* #endregion ----------------------------------- tabs ------------------------------------------ */

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

/* news + events */

#news,
#events {
    overflow: hidden;
    position: relative;
    font-size: 0.9375rem;
}

:is(#news, #events)>.row {
    row-gap: 30px;
}

:is(#news, #events) :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
}

#bilderbox,
:is(#news, #events) .tab_link {
    position: relative;
}

:is(#news, #events) .tab_link_entries {
    display: grid;
}

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

@media (min-width: 576px) and (max-width: 767px) {
    :is(#news, #events) .tab_link_entry:nth-child(odd):last-child {
        grid-column: 1/3;
    }
}

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

@media (min-width: 992px) and (max-width: 1199px) {
    #events .tab_link_entries {
        grid-template-columns: 1fr;
        row-gap: 2px;
    }
}

:is(#news, #events) .tab_link_entry {
    color: #ffffff;
    background: #0f3773 center / cover no-repeat;
    position: relative;
    z-index: 1;
    border: none !important;
    overflow: hidden;
}

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

:is(#news, #events) .tab_link_title a {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 15px;
    color: #ffffff;
}

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

:is(#news, #events) .tab_link_entry:not(:has(.tab_preview_picture)) .tab_link_title a::before,
:is(#news, #events) .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.15;
    z-index: -1;
    transition: opacity 200ms linear;
}

#news .tab_link_entry:is(:hover, :focus-within):not(:has(.tab_preview_picture)) .tab_link_title a::before,
#news .tab_link_entry:is(:hover, :focus-within) .tab_preview_picture {
    opacity: 0.02;
}

@media (max-width: 767px) {

    #events .tab_link_entry:is(:hover, :focus-within):not(:has(.tab_preview_picture)) .tab_link_title a::before,
    #events .tab_link_entry:is(:hover, :focus-within) .tab_preview_picture {
        opacity: 0.02;
    }
}

:is(#news, #events) .tab_link_entry:not(:has(.tab_preview_picture)) .tab_link_title a::before {
    content: "";
    background: center / cover no-repeat;
}

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

#news .tab_date,
#events .tab_link_date {
    text-align: right;
    font-weight: 500;
    position: absolute;
    top: 25px;
    right: 25px;
    padding-left: 24px;
    background: url(../img/icon-date.png) center left no-repeat;
}

:is(#news, #events) .tab_link_mehr {
    font-size: 0;
}

/* news */

#news {
    background: linear-gradient(to top, #ffffff, #ffffff 100px, transparent 100px);
}

@media (min-width: 992px) {
    #news {
        padding: 30px 0 clamp(40px, 8vw, 100px) 0;
    }

    #news #bilderbox::after {
        content: "";
        display: block;
        position: absolute;
        bottom: calc(clamp(40px, 8vw, 100px) * -1);
        top: 0;
        right: -240px;
        width: 62vw;
        max-width: 66.66%;
        background: center / cover no-repeat;
        box-shadow: inset 0 0 0 100vw rgba(255, 255, 255, 0.8);
        z-index: -1;
    }
}

@media (min-width: 1200px) {
    #news #bilderbox::after {
        max-width: 835px;
    }

    #news::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: clamp(40px, 8vw, 100px);
        left: 0;
        right: calc(50% + clamp(200px, 25%, 300px));
        background: center / cover no-repeat;
    }

    #news .tabHeadline {
        padding-left: 40px;
    }
}

#bilderbox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: clamp(152px, 19vw, 352px);
    z-index: 1;
}

#bilderbox .box {
    width: 100%;
    height: 100%;
    display: grid;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.box1 {
    grid-row: 1/2;
    grid-column: 1/2;
}

.box2 {
    grid-row: 1/2;
    grid-column: 2/2;
}

.box3 {
    grid-row: 1/2;
    grid-column: 3/3;
}

/* events */

#events {
    padding-top: clamp(40px, 4vw, 80px);
    background: #f7f7f7;
}

#events .tab_link_entry {
    padding: clamp(70px, 8vw, 130px) 25px clamp(80px, 8vw, 100px) 25px;
}

@media (min-width: 992px) {
    #events .tab_link_entry {
        padding-left: calc(32% + 25px);
    }

    #events .tab_link_entry:not(:has(.tab_preview_picture)) .tab_link_title a::before,
    #events .tab_link_entry .tab_preview_picture {
        opacity: 1;
        right: 68%;
    }
}

@media (min-width: 1200px) {
    #events .tab_link_entry {
        padding-left: calc(48% + 25px);
    }

    #events .tab_link_entry:not(:has(.tab_preview_picture)) .tab_link_title a::before,
    #events .tab_link_entry .tab_preview_picture {
        right: 52%;
    }

    #events .col-xs-12:has(.tab_link) {
        padding-right: 0;
    }

    #events .tab_link::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        top: 0;
        left: 75%;
        width: 33vw;
        max-width: 540px;
        background: #0e5f98;
    }

    #events::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 60px;
        left: 0;
        right: calc(50% + clamp(200px, 25%, 300px));
        box-shadow: inset 0 0 0 100vw rgba(255, 255, 255, 0.8);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

#events .tab_link_mandat {
    font-weight: inherit;
}

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

/* --------------------------------------------- facts ------------------------------------------ */

#facts {
    padding: clamp(40px, 8vw, 100px) 0;
    background: #ffffff linear-gradient(to right, #ffffff, #ffffff calc(50% + 600px), #f7f7f7 calc(50% + 600px));
}

@media (min-width: 1200px) {
    #facts>.row>*:last-child {
        padding-left: 0;
    }
}

#facts :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
}

#facts .tab :is(b, strong) {
    color: #0e5f98;
    font-weight: 500;
    line-height: 1;
    font-size: clamp(1.25rem, 3vw, 2.25rem);
}

#facts .tab .btgrid>.row {
    align-items: center;
    align-content: center;
}

/* #region ------------------------------------- service ---------------------------------------- */

#service {
    padding: clamp(40px, 8vw, 100px) 0;
}

#service>.row {
    row-gap: 40px;
}

#service .tab iframe,
#service .tab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
}

/* #endregion ---------------------------------- service ---------------------------------------- */

/* ---------------------------------- tabHeadline + tabSpecialHeadline--------------------------- */

.tabSpecialHeadline {
    font-size: 0.9375rem;
}

:is(#tabs, #service) .tabSpecialHeadline .template-page {
    padding-left: 20px;
}

:is(#news, #events, #tabs, #service, .tabSpecialHeadline, #tabs) .tabHeadline {
    font-size: 1.625rem;
}

:is(#news, #events, #tabs, #service, .tabSpecialHeadline) .tabHeadline {
    color: #0f3773;
    hyphens: auto;
}

:is(.tabSpecialHeadline, .footerwrapper, #facts) .tabHeadline {
    margin-bottom: 20px;
}

@media (min-width: 1200px) {
    #facts .tabHeadline {
        margin-bottom: 0;
    }
}

.tabSpecialHeadline .tabHeadline,
#events .tabHeadline {
    padding-left: 14px;
    border-left: 4px solid #85c3f0;
}

/* ------------------------------------------ buttonStyle --------------------------------------- */

#tabs .tab a,
:is(#news, #events) .tab_link_mehr a {
    padding: 10px 15px;
    color: #ffffff;
    background: #127ac4;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: outline 50ms linear;
}

#tabs .tab a:is(:hover, :focus),
:is(#news, #events) .tab_link_mehr a:is(:hover, :focus) {
    outline: 2px solid #ffffff;
    text-decoration: none;
}

:is(#news, #events) .tab_link_mehr a::before {
    content: '\203A \00a0';
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #0f3773;
    font-weight: 500;
    line-height: 1.2;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2rem, 4vw, 2.625rem);
}

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

h3,
.h3,
.legacy_h3 {
    font-size: 1.75rem;
}

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

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

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

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

.footerwrapper {
    background: #0e5f98;
    font-size: 0.9375rem;
}

@media (min-width: 576px) {
    .footerwrapper>.row>*:first-child {
        background: #0f3773;
        position: relative;
    }
}

@media (max-width: 991px) {
    .footerwrapper>.row>*:last-child {
        border-top: 2px solid #ffffff;
    }
}

@media (min-width: 992px) {
    .footerwrapper {
        background: #0e5f98 linear-gradient(to right, #0f3773, #0f3773 calc(50% - 60px), rgba(255, 255, 255, 0) calc(50% - 60px));
    }

    .footerwrapper :is(.tab1, .tab2) {
        padding-left: 30px;
    }
}

@media (min-width: 1200px) {
    .footerwrapper {
        background: #0e5f98 linear-gradient(to right, #0f3773, #0f3773 25%, rgba(255, 255, 255, 0) 25%);
    }

    .footerwrapper>.row>*:first-child::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: 0;
        right: 100px;
        width: 412px;
        height: 269px;
        background: url('../img/wasserzeichen-footer.png') center no-repeat;
    }
}

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

.footerwrapper>.row>* {
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 4vw, 60px);
}

.footerwrapper .tabHeadline {
    font-size: 1.625rem;
}

.footerwrapper a {
    text-decoration: underline;
}

.footerwrapper .tab1 {
    hyphens: auto;
    font-size: 1.625rem;
    line-height: 1.2;
}

.footerwrapper .tab1 :is(h1, h2, h3, h4, h5, h6) {
    hyphens: auto;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0;
}

/* scroll top */

#scrollTopBtn {
    text-decoration: none;
    position: relative;
    padding: 8px 48px 8px 0;
    display: block;
}

#scrollTopBtn::after,
#scrollTopBtn::before {
    content: "";
    display: block;
    position: absolute;
    top: 18px;
}

#scrollTopBtn::after {
    width: 34px;
    height: 34px;
    border: 2px solid #3e7fad;
    right: 0;
    top: 0;
    transition: border 300ms linear;
}

#scrollTopBtn:is(:hover, :focus)::after {
    border-color: #ffffff;
}

#scrollTopBtn::before {
    margin-top: -3px;
    right: 12px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(-45deg);
    transition: border 300ms linear;
}

/* footer */

.footer {
    padding: 30px 0;
    background: #f7f7f7;
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter a {
    color: #1a1a1a;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 0.9375rem;
}

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

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

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

/* vernetzt */

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

#vernetzt span span {
    display: block;
}

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

/* ------------------------------------------ contrast ------------------------------------------ */

:is(.contrast_light, .contrast_dark) main {
    filter: none;
    background: none;
}

.contrast_dark :is(#style, #contrast_style) {
    background-color: #ffffff !important;
}

.contrast_dark #logo img,
.contrast_light_font #burgerButton[aria-expanded="true"] #burgerButtonInner {
    background: #ffffff !important;
}

.contrast_light_font #search_input,
.contrast_dark_font #burgerButton::before {
    color: #000000 !important;
}

.contrast_dark_font #scrollTopBtn::after {
    border-color: rgba(0, 0, 0, 0.5) !important;
}

.contrast_dark_font #scrollTopBtn::before {
    border-right: 2px solid #000;
    border-top: 2px solid #000;
}

#scrollTopBtn a.contrast_light_font:is(:hover, :focus)::after {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

:is(.contrast_light_font, .contrast_dark_font) #news .tab_link_title a::before,
:is(.contrast_light_font, .contrast_dark_font) #news .tab_link_title a::after {
    display: none !important;
}

.contrast_light_font #search_submit {
    background-color: #ffffff !important;
}

.contrast_light_font #search input::placeholder {
    color: #ffffff !important;
}

.contrast_dark_font #vernetzt img {
    background-color: #000000 !important;
}

.contrast_dark_font :is(#searchbar, #bannerOverlay) {
    background-color: #ffffff !important;
}

:is(.contrast_light_font, .contrast_dark_font) .bigLetter {
    display: none !important;
}

#burgerButton .contrast_light {
    background: #000 !important;
    color: #fff !important;
}

#burgerButton .contrast_dark {
    background: #000 !important;
    color: #fff !important;
    filter: grayscale(1);
}

#tabs .bgTabs .tab .contrast_dark_font,
#news .contrast_dark_font .tab_link_title a,
#news .contrast_dark_font .tab_date {
    color: #fff !important;
    border-color: #fff !important;
}

#tabs .bgTabs .tab .contrast_dark_font a {
    color: #000 !important;
    border-color: #000 !important;
}

.contrast_dark :is(.navbar, #burgerButton) {
    background: #000 !important;
}

.contrast_dark_font #burgerButton[aria-expanded="true"]::after {
    background: #000 !important;
}

.tab_link_title .contrast_grayscale {
    -webkit-filter: none !important;
    -moz-filter: none !important;
    filter: none !important;
}

.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
    background: #ffffff !important;
}



#counter {
    border: 2px solid #3e7fad;
    color: #fff;
    padding: 6px 15px;
    margin-top: 50px;
    display: flex;
}

#counter-l, #counter-r {
    display: inline-block;
}

#counter-r {
    margin-left: auto;
}