@import url('https://fonts.verwaltungsportal.de/import/?family=Nunito:400,400i,700,700i%7COswald:500,700');

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

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

a {
    color: #2b60a1;
}

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

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

@media (min-width: 1200px) {

    .row,
    #headerpic-overlay {
        width: 100%;
        max-width: 1600px
    }
}

/* #region ----------------------------------- topbar ------------------------------------------- */

@media (min-width: 992px) {
    #topbar {
        font-size: 1rem;
        padding: 12px 0;
        background: #e8e8e8;
        border-bottom: 4px solid #ffffff;
        position: sticky;
        top: 0;
        z-index: 101;
    }

    #topbar .controls-col {
        column-gap: 30px;
    }

    #topbar .controls-col {
        transition: padding 200ms linear;
    }

    body:has(.is-sticky, #burgerButton[aria-expanded="true"]) #topbar .controls-col {
        padding-right: 130px;
    }

    /* style + contrast */

    #style,
    #contrast_style {
        column-gap: 10px;
    }

    :is(#style, #contrast_style) h2 {
        font-family: inherit;
        font-size: inherit;
        font-weight: 700;
        color: inherit;
        margin: 0 5px 0 0;
    }

    :is(#style, #contrast_style) button {
        width: 35px;
        height: 35px;
        padding: 0;
        border: 2px solid #191919;
        background: #ffffff;
        font-weight: 700;
        flex-shrink: 0;
        transition: border 300ms linear;
        position: relative;
        line-height: 1;
    }

    :is(#style, #contrast_style) button::after {
        content: "";
        display: block;
        position: absolute;
        top: 3px;
        right: 3px;
        bottom: 3px;
        left: 3px;
        border: 2px solid #8d8d8d;
    }

    :is(#style, #contrast_style) button:is(:hover, :focus) {
        border-color: #2b60a1;
    }

    /* contrast */

    #contrast_style button::after {
        background: linear-gradient(45deg, #191919, #191919 50%, #ffffff 50%);
    }

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

    #contrast_style button:nth-of-type(3)::after {
        background: #2b60a1;
        border: none;
    }
}

/* #endregion -------------------------------- topbar ------------------------------------------- */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .sticky-wrapper {
        height: unset !important;
    }

    nav.horizontally {
        position: static !important;
        padding-top: 15px;
    }

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #f4cc2b;
        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;
        background-color: #ffffff;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #f2ece7 url('../img/wappen-large.png') center bottom 20px / auto 100px no-repeat;
        padding-bottom: 140px;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

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

    .dropdown-toggle-button {
        background-color: #222222;
    }

    .dropdown-toggle-button::before,
    .dropdown-toggle-button::after {
        background-color: #f4cc2b;
    }

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

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

/* menu desktop */

@media (min-width: 992px) {

    .is-sticky nav.horizontally>.row>.col-lg-9 {
        margin-left: 0;
        max-width: 1337px;
        margin: auto;
        flex: 0 0 100%;
    }

    nav.horizontally {
        padding-top: 10px;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 55;
    }

    .is-sticky .horizontally {
        padding-top: 0px;
        background-color: #2b60a1;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    }

    .sticky-wrapper {
        height: 0 !important;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        border: 2px solid #191919;
        background: rgba(255, 255, 255, 0.80);
        padding: 5px 30px;
    }

    nav.horizontally .navbar-nav::after {
        content: '';
        top: 3px;
        right: 3px;
        bottom: 3px;
        left: 3px;
        display: block;
        pointer-events: none;
        border: 2px solid #babdbf;
        position: absolute;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul {
        display: flex !important;
        flex-wrap: wrap;
        column-gap: 35px;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: 100%;
        left: 0%;
        right: 0;
        z-index: 1000;
        padding: clamp(30px, 4vw, 60px) clamp(20px, 3vw, 47px);
        margin-top: 10px;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"] {
        flex-grow: 1;
    }

    nav.horizontally .navbar-nav>li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav>li.open:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
        top: 100%;
    }

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

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

    nav.horizontally li[class*="secondlevel"] {
        margin-bottom: 20px;
        width: 31%;
        border-bottom: 2px solid rgba(41, 35, 0, 0.2);
    }

    nav.horizontally [class*="secondlevel"]>ul {
        display: block !important;
    }
}

/* toplevel */

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

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

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 15px 0 15px 0;
        text-align: center;
    }

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

    nav.horizontally li[class*="toplevel"]+li>a::before {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        margin-top: -9px;
        left: -2px;
        height: 18px;
        width: 2px;
        background: #191919;
    }

    nav.horizontally li[class*="toplevel"]>a::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0px;
        left: 50%;
        height: 49px;
        width: 50px;
        background: url('../img/hover.png') no-repeat;
        opacity: 0 !important;
        transition: all 300ms;
        z-index: 1005;
        translate: ();
        transform: translate(-50%);
    }
}

/* 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: #2b60a1;
}

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 {
    opacity: 1 !important;
    bottom: -30px;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"]>ul {
    background-color: rgba(255, 255, 255, 1);
}

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"]>ul {
        padding: 10px 0;
        box-shadow: inset -1px 0px 5px 0 rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"]>ul {
        box-shadow: 0 15px 50px 0 rgba(66, 58, 1, 0.2);
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 60px;
        left: 0;
        right: 0;
        top: -20px;
    }

    nav.horizontally [class*="toplevel"]>ul {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #222222;
    text-align: left;
    position: relative;
    width: 100%;
    line-height: 1.2;
    text-decoration: none;

}

nav.horizontally a[class*="secondlevel"] {
    font-weight: 500;
    padding: 0 20px 0 0;
    margin-bottom: 10px;
    font-size: 1.125rem;
    font-family: "Oswald", sans-serif;
}

nav.horizontally a[class*="thirdlevel"] {
    font-weight: 400;
    padding: 5px 0;
    font-size: 1rem;
}

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

    nav.horizontally a[class*="thirdlevel"] {
        padding: 8px 30px;
    }
}

/* secondlevel + thirdlevel over */

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

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

/* #region ------------------------------------ header ------------------------------------------ */

/* logo */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 20;
    }

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

    #headerpic-overlay,
    #headerpic-overlay>* {
        position: static;
    }
}

/* banner */

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

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

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

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

    #headerpic-overlay * {
        color: #fff;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #headerpic .nivo-directionNav a {
        top: unset;
        bottom: 30px;
    }
}

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

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

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

.slider-wrapper {
    height: 100%;
}

.slider-mask {
    display: block;
    background: linear-gradient(to bottom, rgba(200, 200, 200, 0.8), rgba(200, 200, 200, 0.3) 30%);
}

/* banner overlay */

#headerpic-overlay {
    padding: 30px 0;
    font-size: clamp(1.5625rem, 3vw, 2.1875rem);
}

@media (min-width: 992px) {
    #headerpic-overlay {
        padding: 0;
        position: absolute;
        top: 105px;
        bottom: 150px;
        left: 0;
        right: 0;
        z-index: 20;
        line-height: 1.2;
    }

    #headerpic-overlay>:first-child {
        margin-bottom: 30px;
    }

    #headerpic-overlay>:last-child {
        margin-top: auto;
    }

    #headerpic-overlay a {
        text-decoration: underline;
    }
}

@media (min-width: 1200px) {
    .index #headerpic-overlay {
        bottom: -35px;
    }
}

/* search */

#search {
    background: #c1d5ee;
    margin: clamp(25px, 3vw, 50px) 0 0 0;
    width: 100%;
    outline: 2px solid #c1d5ee;
}

@media (min-width: 992px) {
    #search {
        outline-color: #c1d5ee;
        outline-offset: 15px;
    }
}

#search_input {
    color: #191919;
    font-size: clamp(1rem, 3vw, 1.375rem);
    font-style: normal !important;
    background: transparent;
    border: 0;
    width: 100%;
    padding: 20px clamp(15px, 3vw, 40px);
}

#search_submit {
    border: none;
    background: url('../img/icon-search.svg') center no-repeat;
    padding: 0;
    cursor: pointer;
    margin: 0;
    font-size: 0;
    min-width: clamp(60px, 10vw, 100px);
    flex-shrink: 0;
}

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

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

/* #endregion --------------------------------- header ------------------------------------------ */

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

#content {
    text-align: left;
    padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 5vw, 70px) 0;
}

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

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

:is(h1, h2) :is(i, em) {
    font-style: normal;
    color: #191919;
    font-size: 1.375rem;
    display: block;
    text-transform: uppercase;
    margin-bottom: 15px;
}

#footer :is(h1, h2) :is(i, em) {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

h1,
.h1,
.legacy_h1,
#headerpic-overlay .tab-headline {
    font-size: clamp(2rem, 4vw, 2.8125rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: 1.875rem;
}

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4,
#tabs .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.625rem;
}

h5,
.h5,
.legacy_h5,
:is(#newsletter, #footer) :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.5rem;
}

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

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

/* #region --------------------------------- button-style --------------------------------------- */

.button-style a:not(.has-image):not([rel]),
#nw23 .tab_link_mehr a {
    display: inline-block;
    background: #c1d5ee;
    color: #191919;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.125rem;
    padding: 11px 28px;
    outline: 2px solid rgba(193, 213, 238, 0.5);
    outline-offset: 10px;
    margin: 12px;
    transition: outline-color 200ms linear, outline-offset 200ms linear;
}

/* small */

.button-style.button-small a:not(.has-image):not([rel]),
#nw23 .tab_link_mehr a {
    padding: 7px 15px;
    outline-color: transparent;
    margin: 0;
}

/* hover */

.button-style a:not(.has-image):not([rel]):is(:hover, :focus),
#nw23 .tab_link_mehr a:is(:hover, :focus) {
    color: #ffffff;
    outline-color: #2b60a1;
    outline-offset: 3px;
    background-color: #2b60a1;
}

/* #endregion ------------------------------ button-style --------------------------------------- */

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

#news {
    padding-bottom: clamp(40px, 6vw, 80px);
    background: linear-gradient(to top, #f3f2f2 100px, rgba(255, 255, 255, 0) 100px);
}

@media (min-width: 992px) {
    #news {
        background: linear-gradient(to top, #f3f2f2 50%, rgba(255, 255, 255, 0) 50%);
    }
}

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

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

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

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

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    background: #ffffff;
    padding: 225px 26px 30px 26px;
    border: 4px solid #e8e8e8 !important;
}

#news .tab_link_entry .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 26px;
    left: 26px;
    right: 26px;
    height: 170px;
    max-width: 320px;
    overflow: hidden;
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#news .tab_link_entry .tab_preview_picture {
    z-index: 1;
}

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

#news .tab_link_entry .tab_date {
    font-weight: 700;
    font-size: 1.3125rem;
}

#news .tab_link_entry .tab_link_title a {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 25px;
}

#news .tab_link_entry .tab_link_title a:not(:is(:hover, :focus)) {
    color: #191919;
}

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

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

/* #region ------------------------------- events + newsletter ---------------------------------- */

#events-newsletter {
    padding-top: clamp(40px, 5vw, 70px);
    background: linear-gradient(to bottom, #f3f2f2 400px, rgba(255, 255, 255, 0) 400px);
}

@media (min-width: 992px) {
    #events-newsletter {
        background: linear-gradient(to bottom, #f3f2f2 60%, rgba(255, 255, 255, 0) 60%), linear-gradient(to bottom, rgba(255, 255, 255, 0) calc(60% + 30px), #c1d5ee calc(60% + 30px), #c1d5ee calc(60% + 32px), rgba(255, 255, 255, 0) calc(60% + 32px));
    }
}

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

#events-newsletter .tab {
    font-size: 1rem;
    background: #ffffff;
    padding: 26px;
    border: 4px solid #e8e8e8;
    margin-top: 15px;
}

/* events */

#nw23 {
    margin-bottom: 15px;
}

#nw23 .slick-track {
    display: flex;
}

#nw23 .slick-slide {
    height: auto;
}

#nw23 .slick-slide>div {
    height: 100%;
}

#nw23 .tab_link_entry {
    min-height: 222px;
    position: relative;
    height: 100%;
    padding-top: 200px;
    border: none !important;
}

@media (min-width: 576px) {
    #nw23 .tab_link_entry {
        padding: 0 0 0 238px;
    }
}

#nw23:not(:has(.slick-track)) .tab_link_entry:nth-child(1n+2) {
    display: none;
    visibility: hidden;
}

#nw23 .tab_link_entry .tab_link_title a::before,
#nw23 .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 170px;
    overflow: hidden;
    width: 208px;
}

@media (min-width: 576px) {

    #nw23 .tab_link_entry .tab_link_title a::before,
    #nw23 .tab_link_entry .tab_preview_picture {
        bottom: 0;
        height: unset;
    }
}

#nw23 .tab_link_entry .tab_link_title a::before {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#nw23 .tab_link_entry .tab_preview_picture {
    z-index: 1;
}

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

#nw23 .tab_link_entry .tab_date {
    font-weight: 700;
    font-size: 1.3125rem;
}

#nw23 .tab_link_entry .tab_link_title a {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 25px;
}

#nw23 .tab_link_entry .tab_link_title a:not(:is(:hover, :focus)) {
    color: #191919;
}

#nw23 .tab_link_mehr {
    font-size: 0;
    text-align: left !important;
    margin: 20px 0 10px 0;
}

#nw23 .tab_link_entry .tab_spacer {
    display: none;
}

/* controls */

#events button {
    border: none;
    padding: 0;
    font-size: 0;
    display: inline-block;
}

#events .slick-button {
    width: 30px;
    height: 30px;
    background: url("../img/arrow-nw23.svg") center / 20px auto no-repeat;
}

#events .slick-button.slick-prev {
    transform: scaleX(-1);
    margin-left: -10px;
}

#events .slick-dots {
    padding: 0 20px;
    display: inline-flex !important;
    gap: 10px;
}

@media (max-width: 767px) {
    #events .slick-dots {
        display: none;
    }
}

#events .slick-dots button {
    width: 12px;
    height: 12px;
    border: 1px solid #191919;
    background: #ffffff;
}

#events .slick-dots .slick-active button,
#events .slick-dots button:is(:hover, :focus) {
    background: #a5c3e7;
}

/* stop/play button for accessibility */

#events .slick-animate-control {
    margin-left: 10px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    width: 30px;
    height: 30px;
    background: #000000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E") center / 16px auto no-repeat;
}

#events .slick-animate-control.slick-pause {
    background-size: 20px 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

/* newsletter */

#newsletter :is(h1, h2, h3, h4, h5, h6) {
    font-family: inherit;
    color: inherit;
    margin-bottom: 5px;
}

@media (max-width: 576px) {
    #newsletter .tab {
        padding: 0;
    }
}

@media (min-width: 992px) {
    #newsletter {
        padding-top: 20px;
        padding-bottom: 50px;
    }

    #newsletter .tab {
        flex-grow: 1;
        margin-top: 25px;
    }
}

#newsletter .tab-background {
    height: 100%;
    padding: 30px;
    background: #c1d5ee center / cover no-repeat;
    box-shadow: inset 0 0 0 100vw rgba(193, 213, 238, 0.85);
}

#newsletter form {
    background: #ffffff;
    width: calc(100% - 34px);
    outline: 2px solid #2b60a1;
    outline-offset: 15px;
    margin: 17px;
}

#newsletter_input {
    color: #191919;
    font-size: 1.125rem;
    font-style: normal !important;
    background: transparent;
    border: 0;
    width: 100%;
    padding: 16px clamp(15px, 2vw, 30px);
}

#newsletter_submit {
    border: none;
    background: url('../img/icon-mail.svg') center / 36px auto no-repeat;
    padding: 0;
    cursor: pointer;
    margin: 0;
    font-size: 0;
    min-width: clamp(50px, 5vw, 80px);
    flex-shrink: 0;
}

#newsletter_submit:is(:hover, :focus) {
    background-color: #e8e8e8;
}

#newsletter_input::placeholder {
    color: #191919 !important;
    opacity: 1 !important;
    font-style: italic !important;
}

/* #endregion ---------------------------- events + newsletter ---------------------------------- */

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

footer {
    overflow: hidden;
}

body:not(.index) footer {
    border-top: 4px solid #c1d5ee;
}

#footer {
    padding: clamp(40px, 5vw, 70px) 0;
    row-gap: 30px;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
    text-transform: uppercase;
    margin: 0;
}

#footer a {
    font-weight: 700;
}

#footer .button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel]) {
    display: block;
    text-align: center;
}

#footer .button-style.button-small p+p,
#footer .button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel])+* {
    margin-top: 15px;
}

/* scroll-top-button */

#scroll-top-button {
    width: 50px;
    height: 50px;
    padding: 0;
    background-image: url("../img/arrow-top.webp");
    background-position: center;
    background-size: 28px auto;
    background-repeat: no-repeat;
}

#scroll-top-button:is(:hover, :focus) {
    background-image: url("../img/arrow-top.svg");
}

/* innerfooter */

#innerfooter {
    font-size: 1rem;
    background: #f3f2f2;
    padding: 15px 0;
}

@media (max-width: 767px) {
    #innerfooter {
        padding: 30px 0;
    }
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter ul a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    padding: 6px 10px;
    outline: 2px solid transparent;
    outline-offset: 10px;
    transition: outline-color 200ms linear, outline-offset 200ms linear;
}

#innerfooter ul a:is(:hover, :focus) {
    outline-color: #2b60a1;
    outline-offset: 0;
}

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

    #innerfooter li+li::before {
        content: "";
        display: inline-block;
        height: 1px;
        width: 15px;
        margin: 0 15px;
        background: #2b60a1;
        vertical-align: middle;
    }
}

/* logos */

#logos {
    padding: 40px 0;
}

#logos .row {
    row-gap: 15px;
}

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

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

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

#vernetzt span span {
    display: block;
}

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

/* #region ---------------------------------- decoration ---------------------------------------- */

:is(#news, #contact, #events) h2 :is(i, em),
#scroll-top-button {
    position: relative;
}

:is(#news h2 :is(i, em), #scroll-top-button)::before,
:is(:is(#news, #contact, #events) h2 :is(i, em), #scroll-top-button)::after {
    content: "";
    display: block;
    position: absolute;
    background: #c1d5ee;
}

/* news */

#news h2 :is(i, em)::before {
    top: -5px;
    bottom: -240px;
    left: -32px;
    width: 2px;
}

#news h2 :is(i, em)::after {
    bottom: -10px;
    left: -180px;
    right: calc(100% - 100px);
    height: 2px;
}

/* contact */

#contact h2 :is(i, em)::after {
    bottom: -10px;
    left: -180px;
    right: calc(100% - 145px);
    height: 2px;
}

/* events */

#events h2 :is(i, em)::after {
    bottom: -10px;
    left: -313px;
    right: calc(100% - 75px);
    height: 2px;
}

/* scroll-top-button */

#scroll-top-button::before {
    top: 5px;
    bottom: -240px;
    right: -45px;
    width: 2px;
}

#scroll-top-button::after {
    top: 50%;
    width: 180px;
    right: -192px;
    height: 2px;
}

/* #endregion ------------------------------- decoration ---------------------------------------- */

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

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

.contrast_dark #burgerButton,
.contrast_dark #events .slick-button,
.contrast_dark #events .slick-dots .slick-active button,
.contrast_dark #events .slick-dots button:is(:hover, :focus),
.contrast_light_font #search,
.contrast_dark_font #search,
.contrast_dark_font #headerpic-overlay> :last-child,
.contrast_light_font #newsletter_input {
    background-color: #ffffff !important;
}

.contrast_light_font #headerpic-overlay {
    background-color: transparent !important;
}

.contrast_light_font #headerpic-overlay> :last-child {
    background-color: #000000 !important;
}

.contrast_light #burgerButton::before,
.contrast_light #burgerButton::after,
.contrast_light #burgerButtonInner {
    background: #191919 !important;
}

.contrast_light nav.burger .dropdown-toggle-button::before {
    color: #000000;
}

@media (min-width: 1200px) {
    .contrast_light #quick-access .tab:is(:hover, :focus-within) {
        background: #ffffff;
    }
}

.contrast_light #events .slick-dots .slick-active button,
.contrast_light #events .slick-dots button:is(:hover, :focus) {
    background-color: #000000 !important;
}

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