@import url("https://fonts.verwaltungsportal.de/import/?family=Merriweather:700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Merriweather+Sans:700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Inter:400,400i,600,600i");

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

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

a {
    color: #c23a2b;
}

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

:focus-visible {
    outline: 3px solid #c23a2b;
    outline-offset: 2px;
}

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

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

hr.hr1 {
    height: 41px;
    background: url('../img/trenner-welle-1.png') center no-repeat;
    border: unset;
    opacity: 1;
    margin: 0;
}

hr.hr2 {
    height: 41px;
    background: url('../img/trenner-welle-2.png') center no-repeat;
    border: unset;
    opacity: 1;
    margin: 0;
}

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

#topbar {
    padding-top: 25px;
}

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

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

#logo {
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 20px;
    text-decoration: none;
}

#logo .logoImg img {
    display: block;
}

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

#logo .logoTxt {
    color: #ffffff;
    font-weight: 700;
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 1.2;
    font-size: 0.875rem;
}

#logo .logoTxt :is(b, strong) {
    display: block;
    font-weight: 700;
    font-family: "Merriweather", sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
}

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

form[id^="search"] {
    background: #faf8f2;
    display: inline-flex;
    overflow: hidden;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

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

form [id^="search_submit"] {
    min-width: 60px;
    border: none;
    background: url('../img/icon-suche.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    font-size: 0;
    border-left: 2px solid rgba(41, 35, 0, 0.2);
}

@media (max-width: 767px) {
    form [id^="search_submit"] {
        min-width: 30px;
    }
}

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

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

/* -------------------------------------------- navigation -------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
        background-color: #1e1e1c;
    }

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #d6a935;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #1e1e1c;
        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: 8px;
        right: 0;
    }

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

/* menu desktop */

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

    .is-sticky nav.horizontally {
        left: auto !important;
        background: #1e1e1c;
    }

    nav.horizontally .navbar-nav {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding: 20px 0;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .is-sticky nav.horizontally .navbar-nav {
        border-top-color: transparent;
    }

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

    nav.horizontally [class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

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

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

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

    nav.horizontally .navbar-nav li:is(.open:focus-within, :hover)>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

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

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

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

    nav.horizontally li[class*="toplevel"]+li {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }
}

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
    height: 5px;
    width: 0;
    background: #d6a935;
    transform: translateX(-50%);
    transition: width 300ms linear;
}

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

/* toplevel-over */

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
    border-top: 1px solid #d6a935;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #1e1e1c;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    padding: 11px 0;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

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

/* --------------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
    row-gap: 25px;
}

:is(#headerpic)>.row {
    row-gap: 40px;
}

/* ---------------------------------------------- header ---------------------------------------- */

#headerpic {
    background: #1e1e1c;
    position: relative;
    min-height: 450px;
}

#headerpic>*:not(.slider-wrapper):not(.sticky-wrapper):not(nav.horizontally) {
    position: relative;
    z-index: 10;
}

/* header text */

#header-text {
    font-weight: 700;
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 1.2;
    font-size: clamp(1.25rem, 2vw, 1.875rem);
    padding: clamp(60px, 12vw, 175px) 0 clamp(80px, 20vw, 275px) 0;
    pointer-events: none;
}

#header-text>* {
    pointer-events: all;
}

.theme-default .nivo-controlNav a,
#header-text,
#header-text :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

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

#header-text a {
    background: #d6a935;
    color: #1e1e1c;
    padding: 9px 55px 9px 22px;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    position: relative;
    text-shadow: none !important;
}

#header-text a::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 17px;
    width: 19px;
    height: 15px;
    background: url('../img/icon-pfeil.png') center no-repeat;
}

#header-text a:is(:hover, :focus) {
    background: #faf8f2;
    color: #1e1e1c;
}

/* banner */

#slider {
    position: relative;
    height: 100%;
}

@media (min-width: 768px) {
    body.index #headerpic .nivo-controlNav {
        bottom: clamp(50px, 8vw, 60px);
    }
}

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

@media (max-width: 1199px) {
    #headerpic a:is(.nivo-prevNav, .nivo-nextNav) {
        top: auto;
        bottom: 8px;
        z-index: 51;
    }
}

.slider-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.slider-mask {
    display: block;
    background: url('../img/bannermask.png') bottom -1px center / 100% auto no-repeat,
        linear-gradient(to bottom, rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0));
}

#headerpic .nivo-main-image {
    min-height: 100% !important;
}

/* ------------------------------------------------ tabSlogan ----------------------------------------------- */

.tabSlogan {
    font-weight: 700;
    font-family: 'Merriweather Sans', sans-serif;
    color: #2f6f7e;
    line-height: 1.2;
    font-size: 1.5rem;
}

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

#content {
    text-align: left;
    padding-top: clamp(40px, 5vw, 95px);
    padding-bottom: clamp(40px, 5vw, 75px);
}

/* ------------------------------------------------ tabs ----------------------------------------------- */

#tabs {
    padding-top: clamp(30px, 5vw, 70px);
    padding-bottom: clamp(30px, 4vw, 50px);
    position: relative;
}

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

@media (min-width: 1200px) {
    #tabs>.row {
        z-index: 1;
    }

    #tabs>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: 10px;
        right: -127px;
        width: 214px;
        height: 234px;
        background: url('../img/wappen-tabs-wasserzeichen.png') center no-repeat;
        z-index: -1;
    }
}

#tabs .tab {
    font-weight: 700;
    font-size: 1.25rem;
    hyphens: auto;
    line-height: 1.2;
    font-family: "Merriweather", sans-serif;
    text-align: center;
    background: #efe6d3;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    #tabs .tab {
        width: fit-content;
        margin: auto;
    }
}

#tabs .tab .element-vertical>* {
    padding: 0;
}

#tabs .tab .tp-image-wrapper {
    line-height: 0;
}

#tabs .tab a:not(.has-image) {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-content: end;
    align-items: end;
    justify-content: center;
    padding: 18px 10px;
    color: #1e1e1c;
    background: #efe6d3;
    z-index: 1;
}

#tabs .tab a:not(.has-image):is(:hover, :focus) {
    color: #ffffff;
    background: #2f6f7e;
}

#tabs .tab a:not(.has-image)::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    width: 100%;
    height: 74px;
    background: url('../img/slider-mask-tabs.png') bottom center no-repeat;
    transition: background 800ms ease;
    z-index: -1;
}

#tabs .tab a:not(.has-image)::after {
    content: '';
    position: absolute;
    top: -214px;
    left: 0;
    right: 0;
    bottom: 0;
}

#tabs .tab a:not(.has-image):is(:hover, :focus)::before {
    background-image: url('../img/slider-mask-tabs-hover.png');
}

#tabs .tab:is(:hover, :focus) {
    color: #ffffff;
    background: #2f6f7e;
}

/* ----------------------------------------------- @11nw news -------------------------------------------- */

#nw11 {
    padding-top: clamp(30px, 5vw, 70px);
    padding-bottom: clamp(30px, 5vw, 70px);
    position: relative;
}

#nw11 #newsHeadline {
    position: relative;
    padding-bottom: clamp(30px, 4vw, 60px);
}

#nw11 #newsHeadline :is(b, strong) {
    font-weight: 700;
    font-family: 'Merriweather Sans', sans-serif;
    color: #2f6f7e;
    line-height: 1.2;
    font-size: 1.125rem;
}

#nw11 #newsHeadline .tabHeadline {
    font-size: clamp(1.75rem, 3vw, 2.1875rem);
    color: #1e1e1c;
    font-weight: 700;
    margin-bottom: 0;
}

#nw11 .tab_link_entries {
    display: grid;
    gap: 30px;
    width: 100%;
    word-break: break-word;
    hyphens: auto;
}

#nw11 .tab_link {
    height: 100%;
    max-height: 100%;
}

@media (min-width: 768px) {
    #nw11 .tab_link_entries .tab_link_entry {
        margin: 0 auto;
    }

    #nw11 .tab_link_entries {
        grid-template-columns: 1fr 1fr;
    }

    #nw11 .tab_link_entry:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    #nw11 .tab_link_entry:nth-child(6) {
        grid-column: 1 / 1;
        grid-row: 3 / 3;
    }
}

@media (min-width: 992px) {
    #nw11 .tab_link_entries {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

#nw11 .tab_link_entries .tab_link_entry+.tab_link_entry {
    margin: unset;
}

#nw11 .tab_link_entries .tab_link_entry {
    width: auto;
}

#nw11 .tab_link_entry+.tab_link_entry {
    display: flex;
    justify-content: start;
    flex-direction: column;
    grid-column: auto / auto;
    grid-row: auto / auto;
}

#nw11 .tab_link_entry {
    background: #efe6d3;
    padding: 150px 30px 30px 30px;
    border: unset !important;
    font-size: 1rem;
    position: relative;
}

@media (max-width: 767px) {
    #nw11 .tab_link_entry {
        padding-top: 250px;
    }
}

#nw11 .tab_link_entries .tab_link_entry:nth-of-type(1) {
    padding: 390px 30px 30px 30px;
    height: 100%;
}

#nw11 .tab_link_entries .tab_link_entry:nth-child(1)::before {
    content: "";
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    max-height: 355px;
    height: 100%;
    overflow: hidden;
    background: center bottom / contain no-repeat, #ffffff;
}

#nw11 .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 120px;
    overflow: hidden;
    background: center bottom / contain no-repeat, #ffffff;
}

#nw11 .tab_link_date::before,
#nw11 .tab_link_date::after {
    content: "";
    display: block;
    position: absolute;
    left: -35px;
    top: 0px;
    width: 35px;
    height: 4px;
    background-color: #d6a935;
    transition: all 0.5s 0s ease;
    opacity: 0;
}

#nw11 .tab_link_date::after {
    top: 10px;
    width: 25px;
}

#nw11 .tab_link_title a {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2f6f7e;
}

#nw11 .tab_link_entry+.tab_link_entry .tab_date::before,
#nw11 .tab_link_entry+.tab_link_entry .tab_date::after {
    content: "";
    display: block;
    position: absolute;
    left: -35px;
    top: 0px;
    width: 35px;
    height: 4px;
    background-color: #d6a935;
    opacity: 0;
    transition: all 0.5s 0s ease;
}

#nw11 .tab_link_entry:hover .tab_date::before,
#nw11 .tab_link_entry:hover .tab_date::after {
    opacity: 1;
}

#nw11 .tab_link_entry+.tab_link_entry .tab_date::after {
    top: 10px;
    width: 25px;
}

#nw11 .tab_preview_picture {
    order: -1;
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    max-height: 120px;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

@media (max-width: 767px) {

    #nw11 .tab_link_entry::before,
    #nw11 .tab_preview_picture {
        max-height: 230px;
    }
}

#nw11 .tab_preview_picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#nw11 .tab_spacer,
#nw11 .tab_link .tab_link_mehr,
#nw11 .tab_link_entry>div:nth-last-child(2) {
    display: none;
}

/* ----------------------------------------- @11nw mehr-button ---------------------------------------- */

#tab_link_mehr {
    font-size: 0;
    margin-top: 50px;
}

#tab_link_mehr a {
    background: #d6a935;
    color: #1e1e1c;
    padding: 9px 55px 9px 22px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

#tab_link_mehr a::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 17px;
    width: 19px;
    height: 15px;
    background: url('../img/icon-pfeil.png') center no-repeat;
}

#tab_link_mehr a:is(:hover, :focus) {
    background: #2f6f7e;
    color: #ffffff;
}

#tab_link_mehr a:is(:hover, :focus)::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(103deg) brightness(105%) contrast(105%);
}

/* ------------------------------------------------ tabButtons ----------------------------------------------- */

#tabButtons {
    padding-top: clamp(30px, 5vw, 75px);
    padding-bottom: clamp(30px, 5vw, 65px);
}

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

#tabButtons a:not(.has-image) {
    background: #d6a935;
    color: #1e1e1c;
    padding: 9px 55px 9px 22px;
    font-size: 1rem;
    text-decoration: none;
    display: block;
    hyphens: auto;
    position: relative;
}

#tabButtons a:not(.has-image)::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 17px;
    width: 19px;
    height: 15px;
    background: url('../img/icon-pfeil.png') center no-repeat;
}

#tabButtons a:not(.has-image):is(:hover, :focus) {
    background: #2f6f7e;
    color: #ffffff;
}

#tabButtons a:not(.has-image):is(:hover, :focus)::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(103deg) brightness(105%) contrast(105%);
}

/* ------------------------------------------------ nw23 ----------------------------------------------- */

#nw23 {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding-top: clamp(30px, 5vw, 70px);
    padding-bottom: clamp(30px, 5vw, 75px);
}

#nw23 .tab .tabHeadline {
    font-size: clamp(1.75rem, 2vw, 2.1875rem);
    margin: 0;
    hyphens: auto;
}

#nw23 .tab .tabContent {
    font-weight: 700;
    font-family: 'Merriweather Sans', sans-serif;
    color: #2f6f7e;
    line-height: 1.2;
    font-size: 1.5rem;
}

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

@media (min-width: 1200px) {
    .tabWrapper {
        position: relative;
    }

    .tabWrapper::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: 75px;
        left: -112px;
        width: 228px;
        height: 242px;
        background: url('../img/wappen-aktuelles-wasserzeichen.png') center no-repeat;
    }
}

#nw23 .tab_link_entry {
    background: #efe6d3;
    padding: 30px 35px;
    font-size: 1rem;
    border-bottom: none !important;
    padding-left: 385px;
    min-height: 285px;
    position: relative;
    display: flex !important;
    flex-direction: column;
    color: #1e1e1c;
    font-size: 1rem;
    height: 100%;
}

#nw23 .tab_link_entry #nw23 .tab_preview_picture {
    background: #fff;
}

#nw23 .tab_link_title a::before,
#nw23 .tab_preview_picture {
    max-width: 350px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

@media (max-width: 767px) {
    #nw23 .tab_link_entry {
        padding-left: 35px;
        padding-right: 35px;
        padding-top: 280px;
    }

    #nw23 .tab_link_title a::before,
    #nw23 .tab_preview_picture {
        max-width: 100%;
        max-height: 250px;
    }
}

#nw23 .tab_date {
    color: #1e1e1c;
    margin-bottom: clamp(20px, 3vw, 40px);
}

#nw23 .tab_preview_picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

#nw23 .tab_link_title {
    order: -1;
}

#nw23 .tab_spacer {
    display: none;
}

#nw23 .tab_link_title a {
    font-size: clamp(1.25rem, 2vw, 1.6875rem);
    font-weight: 600;
    color: #2f6f7e;
    line-height: 1.2;
}

#nw23 .tab_link_mehr {
    font-size: 0px;
}

#nw23 .tab_link_mehr a {
    background: #d6a935;
    color: #1e1e1c;
    padding: 9px 55px 9px 22px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    position: relative;
}

#nw23 .tab_link_mehr a::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 17px;
    width: 19px;
    height: 15px;
    background: url('../img/icon-pfeil.png') center no-repeat;
}

#nw23 .tab_link_mehr a:is(:hover, :focus) {
    background: #2f6f7e;
    color: #ffffff;
}

#nw23 .tab_link_mehr a:is(:hover, :focus)::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(103deg) brightness(105%) contrast(105%);
}

#nw23 .slick-slide {
    padding: 15px;
    display: flex;
    align-items: stretch;
}

#nw23 .noPadding {
    padding: 0px;
}

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

#nw23 .slick-track>.slick-slide {
    height: auto;
    display: flex;
}

#nw23 .slick-dots button,
#nw23 .slick-button {
    background: transparent;
    border: none;
    padding: 5px;
}

#nw23 .slick-button {
    font-size: 0px;
    position: relative;
    top: 4px;
}

#nw23 .slick-prev {
    margin-left: 14px;
}

@media (max-width: 767px) {
    #nw23 .slick-next {
        margin-left: 14px;
    }
}

#nw23 .slick-button::before {
    font-size: 40px;
    line-height: 9px;
    height: 20px;
    display: block;
    color: #000000;
}

#nw23 .slick-button::after {
    content: "";
    pointer-events: none;
    width: 0;
    height: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.05);
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
    transition: width 200ms linear, height 200ms linear;
}

#nw23 .slick-button:focus::after,
#nw23 .slick-button:hover::after {
    width: 28px;
    height: 28px;
}

@media (max-width: 767px) {

    #nw23 .slick-button::after,
    #nw23 .slick-button::after {
        width: 28px;
        height: 28px;
    }
}

#nw23 .slick-dots {
    padding: 0 15px;
    list-style: none;
}

#nw23 .slick-dots>li {
    font-size: 0px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #1e1e1c;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    position: relative;
}

#nw23 .slick-dots,
#nw23 .slick-button {
    display: inline-block !important;
}

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

#nw23 .slick-dots>li.slick-active {
    background: #c23a2b;
    transition: background 200ms linear;
}

#nw23 .slick-dots>li+li {
    margin-left: 10px;
}

#nw23 .slick-prev::before {
    content: "\2039";
}

#nw23 .slick-next::before {
    content: "\203A";
}

/* slider 1 stop/play button for accessibility -------------------- */

#nw23 .slick-animate-control {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    border: 1px solid #ffffff;
    width: 30px;
    height: 30px;
    top: -5px;
    left: 10px;
    background-color: #000;
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: 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");
}

#nw23 .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");
}

/* ------------------------------------------------ breakerBox ----------------------------------------------- */

#breakerBox .breaker {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 150px;
}

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

#breakerBox .tab {
    padding: clamp(30px, 3vw, 40px) 0;
}

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

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

h1,
.h1,
.legacy_h1,
#header-text :is(h1, h2, h3) {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
}

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

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

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

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

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

/* ---------------------------------------- footerwrapper --------------------------------------- */

.footerwrapper {
    background: url('../img/footermask.png') bottom -1px center / 100% auto no-repeat, #efe6d3;
    font-size: 1rem;
    position: relative;
}

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

.footerwrapper>.row:first-child {
    padding: 40px 0 5px 0;
}

@media (min-width: 992px) {
    .footerwrapper>.row:first-child>* {
        padding-top: clamp(30px, 5vw, 50px);
        padding-bottom: clamp(30px, 5vw, 50px);
    }

    .footerwrapper>.row:first-child>*:nth-child(2)::before {
        content: "";
        position: absolute;
        left: -50px;
        top: 0;
        bottom: 0;
        width: 2px;
        margin: auto;
        background-color: rgba(0, 0, 0, 0.2);
    }
}

.footerwrapper>.row:last-child {
    padding: 35px 0;
}

.footerwrapper a {
    color: inherit;
}

.footerwrapper .tabHeadline {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: inherit;
}

.tabSocial .tabHeadline {
    margin: 0;
    width: auto;
    font-size: 1.125rem;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #1e1e1c;
}

.footerwrapper .tab2 {
    line-height: 1.8;
}

.footerwrapper .tab2 a {
    color: #c23a2b;
    text-decoration: underline;
}

.footerwrapper .theme {
    line-height: 1.8;
}

.footerwrapper .theme ul {
    margin-top: 0 !important;
}

.tabButtons :is(p+p, a+a) {
    margin-top: 20px;
}

.tabButtons a {
    hyphens: auto;
    color: #1e1e1c;
    font-size: 1.125rem;
    font-weight: 400;
    border: 2px solid rgba(0, 0, 0, 0.2);
    text-decoration: none;
    padding: 12px 55px 12px 20px;
    display: block;
    position: relative;
    line-height: 1.2;
}

.tabButtons a:is(:hover, :focus) {
    background-color: #faf8f2;
}

.tabButtons a::after {
    content: "\00BB";
    position: absolute;
    width: 50px;
    text-align: center;
    right: 0;
    top: 8px;
    bottom: 8px;
    font-size: 30px;
    line-height: 25px;
    border-left: 2px solid rgba(0, 0, 0, 0.2);
}

.tabSocial {
    gap: 10px 30px;
}

.tabSocial .template-page {
    width: auto;
}

.tabSocial :is(p+p, a+a) {
    margin-left: 20px;
}

/* --------------------------------------------- footer ----------------------------------------- */

#innerfooter {
    background: #faf8f2;
    padding: 22px 0;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter a {
    color: #1e1e1c;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 5px;
    display: inline-block;
}

#innerfooter a:is(:hover, :focus) {
    color: #c23a2b;
}

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

    #innerfooter li+li {
        margin-left: clamp(15px, 5vw, 50px);
    }
}

/* --------------------------------------------- kontraste -------------------------------------------- */

.contrast_light_font #header-text,
.contrast_light_font #headerpic {
    background-color: transparent !important;
}

.contrast_light_font #tabs .tab a:not(.has-image) {
    color: #000 !important;
    background-color: #ffffff !important;
}

.contrast_light_font #topbar,
.contrast_light_font nav.horizontally,
.contrast_light_font #header-text>*,
.contrast_light_font .dropdown-toggle-button,
.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner {
    background-color: #000 !important;
}

.contrast_dark_font #topbar,
.contrast_dark_font nav.horizontally,
.contrast_dark_font #header-text>*,
.contrast_light_font .tabSocial img,
.contrast_light_font form [id^="search_submit"],
.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
    background-color: #fff !important;
}

.contrast_light_font form[id^="search"],
.contrast_light_font #nw23 .tab_link_mehr a,
.contrast_light_font #tabButtons a:not(.has-image),
.contrast_light_font #tab_link_mehr a,
.contrast_light_font #header-text a {
    border: 1px solid #fff !important;
}

.contrast_light_font #nw23 .tab_link_mehr a::after,
.contrast_light_font #tabButtons a:not(.has-image)::after,
.contrast_light_font #tab_link_mehr a::after,
.contrast_light_font #header-text a::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(103deg) brightness(105%) contrast(105%);
}

.contrast_dark_font form[id^="search"],
.contrast_dark_font #nw23 .tab_link_mehr a,
.contrast_dark_font #tabButtons a:not(.has-image),
.contrast_dark_font #tab_link_mehr a,
.contrast_dark_font #header-text a {
    border: 1px solid #000 !important;
}