@import url("https://fonts.verwaltungsportal.de/css/?family=Red+Hat+Display:400,400i,600,600i,700,700i");

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

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

a {
    color: #0285fe;
}

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

#contentCol a {
    font-style: italic;
}

b,
strong {
    font-weight: 700;
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
    outline: 3px solid #ffce31 !important;
}

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

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

#topbar {
    padding-top: 14px;
    padding-bottom: 5px;
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

/* ------------------------------------------------ stylerBox ---------------------------------------------- */

#stylerBox {
    width: 100%;
    margin-bottom: 20px;
    column-gap: 30px;
}

#stylerBox h2 {
    color: #222222;
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: inherit;
    margin: 0;
}

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

div[id^="contrast_style"] {
    gap: 8px;
}

@media (min-width: 992px) {
    div[id^="contrast_style"] {
        width: fit-content;
    }
}

div[id^="contrast_style"] button {
    color: #222222;
    padding: 0;
    font-size: 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 21px;
    min-height: 21px;
    font-weight: 400;
    border-radius: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.6);
    transition: background 300ms linear;
    position: relative;
    z-index: 1;
}

div[id^="contrast_style"] button:hover,
div[id^="contrast_style"] button:focus {
    background: #0285fe;
}

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

#style {
    gap: 8px;
    width: fit-content;
}

#style button {
    padding: 0;
    border: none;
    color: #222222;
    display: inline-block;
    text-align: center;
    min-width: 21px;
    min-height: 21px;
    height: 100%;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 100%;
    font-weight: 400;
    font-size: 1.3125rem;
    background: #ffffff;
    position: relative;
    line-height: 0.9;
    transition: color 300ms linear, background 300ms linear;
}

#style button:nth-of-type(2) {
    font-size: 1.0625rem;
}

#style button:hover,
#style button:focus {
    color: #ffce31;
    background: #0285fe;
}

/* #region ------------------------------------- search ----------------------------------------- */

form[id^="search"] {
    background: #0285fe;
    display: inline-flex;
    border-radius: 20px;
    width: 18rem;
    min-width: 290px;
}

@media (max-width: 991px) {
    form[id^="search"] {
        width: calc(100% - 30px);
        margin: 20px 15px;
    }
}

form[id^="search"] label {
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 9px 15px;
    border-radius: 20px 0 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

form [id^="search_input"] {
    color: #ffffff;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 9px 15px;
    border: 0;
    width: 100%;
}

@media (max-width: 575px) {

    form[id^="search"] label,
    form [id^="search_input"] {
        font-size: 0.875rem;
    }
}

form [id^="search_submit"] {
    min-width: 40px;
    border: none;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    font-size: 0;
    border-radius: 0 20px 20px 0;
}

form [id^="search_submit"]:is(:hover, :focus) {
    background-color: #1379d7;
}

form [id^="search_input"]::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-style: normal !important;
}

/* für :focus-visible -> setzt die Umrandung -3px weiter hinein */
form[id^="search"],
form [id^="search_input"],
form [id^="search_submit"] {
    outline-offset: -3px;
}

/* #endregion ---------------------------------- search ----------------------------------------- */

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

/* burgermenu for tablet */

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

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #0285fe;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton::before {
        top: 24px;
        content: "";
    }

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

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

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

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

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

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

/* menu desktop */

@media (min-width: 992px) {
    .horizontally {
        background: #ffffff;
        transition: box-shadow 300ms linear;
    }

    .is-sticky .horizontally {
        box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
    }

    .horizontally>.row {
        border-top: 1px solid #cccccc;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

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

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

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

    /* Fade in Hover Start */
    .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;
    }

}

/* toplevel */

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

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

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 18px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

/* 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: #ffffff;
    background: #0285fe;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background: #ffffff;
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

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

/* secondlevel + thirdlevel over */

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

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

/* -------------------------------------------- banner ------------------------------------------ */

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

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(350px, 58vw, 450px);
    }

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

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

    #headerpic .theme-nivo .nivo-controlNav,
    #headerpic .theme-default .nivo-controlNav {
        bottom: 15px !important;
    }
}

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

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

.slider-mask {
    display: block;
    background: url('../img/welle-banner.png') bottom -1px center / 100% auto no-repeat;
}

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

#content {
    text-align: left;
    padding-top: 30px;
    padding-bottom: clamp(30px, 3vw, 50px);
}

@media (min-width: 992px) {
    #contentCol {
        padding-top: 30px;
    }
}

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

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

#tabsRight>*+* {
    margin-top: 60px !important;
}

@media (min-width: 1200px) {
    #tabsRight {
        position: relative;
        z-index: 1;
    }

    #tabsRight::after {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 31.7vw;
        right: -235px;
        width: 335px;
        height: 356px;
        background: url('../img/wasserzeichen-wappen-tabs.png') center no-repeat;
        z-index: -1;
    }
}

@media (min-width: 992px) {
    #tabsRight {
        padding-left: clamp(20px, 2vw, 38px);
    }
}

#tabsRight .tab {
    max-width: 360px;
    margin: 32px auto 0 auto;
    position: relative;
    padding: 45px 20px 20px 20px;
    background: #ffffff;
    color: #222222;
    font-size: 1rem;
    border-radius: 20px;
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

#tabsRight .tab::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    top: -32px;
    left: 50%;
    margin-left: -30px;
    border-radius: 50%;
    background: #ffffff url('../img/icon-veranstaltungen.png') center no-repeat;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#tabsRight #tab2 {
    padding-top: 20px;
}

#tabsRight #tab2::before {
    display: none;
}

#tabsRight .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
    font-size: 1.625rem;
    margin: 0 0 16px 0;
    text-align: center;
}

#tabsRight .tab .tab_link_title a {
    color: #222222;
    font-weight: 600;
}

#tabsRight .tab .tab_link_mandat a {
    color: #222222;
}

#tabsRight .tab .eventclndr-tab {
    margin-bottom: 22px;
}

#tabsRight .tab #clr-events-hide>p:first-child {
    margin-bottom: 15px;
}

#tabsRight .tab .tab_spacer {
    height: 15px;
}

#tabsRight .tab hr {
    height: 4px;
    opacity: 1;
    background: #cccccc;
    max-width: 100px;
    width: 100%;
    margin: 28px auto;
    display: block;
}

#tabsRight .tab .tab_link_mehr {
    font-size: 0;
}

#tabsRight .tab .tab_link_mehr a {
    text-decoration: none;
    display: inline-block;
    font-size: 0.9375rem;
    color: #222222;
    font-weight: 600;
    padding: 3px 15px;
    border-radius: 15px;
    background: #ffce31;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

#tabsRight .tab .tab_link_mehr a:is(:hover, :focus) {
    color: #ffffff;
    background: #0285fe;
}

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

/* ---------------------------------------------- @6nw events ---------------------------------------------- */

#aktuelles hr {
    margin-top: 0;
    margin-bottom: clamp(30px, 4vw, 50px);
    background: #cccccc;
    height: 1px;
    opacity: 1;
    border: unset;
}

#aktuelles>.row {
    row-gap: 35px;
    z-index: 1;
    position: relative;
    margin-bottom: -100px;
}

@media (min-width: 992px) {
    #aktuelles>.row {
        margin-bottom: -220px;
    }
}

#aktuelles .tabHeadline {
    margin-bottom: 0;
    color: #0285fe;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 5px;
}

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

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

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

#aktuelles .tab_link_entry {
    color: #222222;
    border-bottom: none !important;
    text-align: center;
    position: relative;
    background: #ffffff;
    width: 100%;
    display: grid;
    padding: 335px 25px 25px 25px;
    border-radius: 20px;
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
}

#aktuelles .vorschau {
    opacity: 1;
    order: 3;
}

#aktuelles .tab_link_title {
    order: 1;
    margin-bottom: 4px;
}

#aktuelles .tab_link_mandat {
    order: 2;
}

#aktuelles .tab_link_mandat a {
    color: #222222;
}

#aktuelles .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 295px;
    border-radius: 20px 20px 0 0;
    background: #f8f8f8;
    background: url("../img/platzhalterbild-veranstaltungen.jpg") center / cover no-repeat;
}

#aktuelles .tab_link_entry .tab_preview_picture {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 295px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #ffffff;
}

#aktuelles .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#aktuelles .tab_link_date {
    font-size: 1rem;
    position: absolute;
    left: 50%;
    top: 265px;
    z-index: 1;
    display: inline-block;
    padding: 4px 14px;
    background: #ffce31;
    color: #222222;
    border-radius: 16px;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    font-weight: 600;
}

@media (max-width: 350px) {
    #aktuelles .tab_link_date {
        top: 245px;
    }
}

@media (min-width: 576px) and (max-width:767px) {
    #aktuelles .tab_link_date {
        top: 245px;
    }
}

@media (min-width: 992px) and (max-width:1199px) {
    #aktuelles .tab_link_date {
        top: 245px;
    }
}

#aktuelles .tab_link_title a {
    color: #0285fe;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

#aktuelles .tab_link_entry>div:nth-last-child(2) {
    color: transparent;
    line-height: 0;
    font-size: 0;
}

#aktuelles .tab_link_entry>div:nth-last-child(2)>a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(1, 133, 254, 0.4), rgba(1, 133, 254, 1) 250px);
    z-index: 1;
    color: #ffffff;
    text-align: center;
    font-size: 0;
    font-weight: 400;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    opacity: 0;
    -webkit-transition: opacity 200ms linear;
    -moz-transition: opacity 200ms linear;
    -ms-transition: opacity 200ms linear;
    -o-transition: opacity 200ms linear;
    transition: opacity 200ms linear;
}

#aktuelles .tab_link_entry:hover div:nth-last-child(2)>a,
#aktuelles .tab_link_entry:focus div:nth-last-child(2)>a {
    opacity: 1;
}

#aktuelles .tab_link_entry div:nth-last-child(2)>a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -60px;
    display: block;
    background: url("../img/mehr-erfahren.png") center no-repeat;
    width: 80px;
    height: 80px;
}

#aktuelles div:nth-last-child(2)>a::after {
    content: "mehr erfahren";
    margin-top: 100px;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 200ms linear;
}

#aktuelles .tab_link_entry:hover div:nth-last-child(2)>a::after,
#aktuelles .tab_link_entry:focus div:nth-last-child(2)>a::after {
    opacity: 1;
}

#aktuelles a:hover, #aktuelles a:focus {
    text-decoration: none;
}

#aktuelles .tab_spacer {
    display: none;
}

/* ----------------------------------------- news button ---------------------------------------- */

#aktuelles .tab_link_mehr_main {
    color: transparent;
    font-size: 0;
}

#aktuelles .tab_link_mehr_main a {
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    color: #222222;
    border-radius: 22px;
    padding: 9px 18px;
    background: #ffce31;
}

#aktuelles .tab_link_mehr_main a:hover,
#aktuelles .tab_link_mehr_main a:focus {
    color: #ffffff;
    background: #0285fe;
}

/* ----------------------------------------- breaker ---------------------------------------- */

#breaker {
    background-attachment: scroll, fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 249px;
}

@media (min-width: 992px) {
    #breaker {
        min-height: 449px;
    }
}

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
}

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

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

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

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

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

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

footer {
    color: #ffffff;
    background: #0285fe;
    font-size: 1rem;
}

footer a,
footer a:is(:hover, :focus) {
    color: #ffffff;
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

#footer {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

@media (min-width: 1200px) {
    #footer>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -60px;
        left: -400px;
        width: 315px;
        height: 312px;
        background: url('../img/wasserzeichen-wappen-footer.png') center no-repeat;
    }
}

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

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

:is(.footerTab) a {
    text-decoration: underline;
}

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

#innerfooter ul {
    padding: 0;
    line-height: 1.7;
    hyphens: auto;
}

#innerfooter a {
    font-weight: 600;
    font-size: 1.25rem;
}

#innerfooter li::before {
    content: "\0007C";
    color: #ffffff;
    position: relative;
    bottom: 2px;
    margin-right: 4px;
}

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

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

#vernetzt {
    gap: 12px;
    text-align: right;
    font-size: 0.8125rem;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    align-content: end;
}

#vernetzt span span {
    display: block;
}

#logoLeiste {
    padding: 15px 0;
    background-color: #ffffff;
}

/* ------------------------------------------- footer2 ------------------------------------------ */

#footer2 {
    padding: 15px 0;
    background: #1379d7;
}

.socialTab p {
    display: inline-block;
    padding: 0 5px;
}

.socialTab img {
    max-height: 25px;
    vertical-align: middle;
}

.socialTab a img {
    transition: all 0.3s 0s ease;
}

.socialTab a:is(:focus, :hover) img {
    transform: scale(1.3);
}

#scrollTopBtn {
    position: relative;
    text-decoration: none;
    padding: 4px 15px 3px 15px;
    display: inline-block;
    border-radius: 15px;
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 600;
    border: 1px solid #ffffff;
}

#scrollTopBtn:is(:hover, :focus) {
    background: #0285fe;
}

#scrollTopBtn::after {
    content: "\00BB";
    position: relative;
    bottom: 1px;
    display: inline-block;
    margin-left: 15px;
    transform: rotate(-90deg);
}

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

.contrast_dark_font .socialTab a img,
.contrast_dark_font #aktuelles .tab_link_entry>div:nth-last-child(2)>a,
.contrast_light_font #aktuelles .tab_link_entry>div:nth-last-child(2)>a,
.contrast_light_font :is(form[id^="search"], #search_input1, #footer2) {
    background-color: #000000 !important;
}

.contrast_light_font #logo img,
.contrast_dark_font :is(form[id^="search"], #search_input1, #scrollTopBtn) {
    background-color: #ffffff !important;
}

:is(.contrast_light_font, .contrast_dark_font) form [id^="search_submit"] {
    background: #000000 url('../img/lupe-icon.png') center no-repeat !important;
}

:is(.contrast_light_font, .contrast_dark_font) #content {
    background: none !important;
}

.contrast_dark_font form [id^="search_input"]::placeholder {
    color: #000000 !important;
}

.contrast_dark_font #aktuelles .tab_link_mehr_main a,
.contrast_dark_font form[id^="search"] {
    border: 1px solid #000000 !important;
}

.contrast_dark_font #aktuelles div:nth-last-child(2)>a::after {
    color: #ffffff !important;
}

.contrast_light_font #aktuelles .tab_link_entry,
.contrast_light_font #aktuelles .tab_link_mehr_main a,
.contrast_light_font form[id^="search"] {
    border: 1px solid #ffffff !important;
}