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

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

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

a {
    color: #be1622;
}

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

b,
strong {
    font-weight: 700;
}

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

@media (min-width: 1200px) {

    .rowWide,
    .row {
        max-width: 1440px;
        width: 100%;
    }
}

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

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

#tabsBox .tab2 .tab_link_mehr {
    font-size: 0;
    text-align: left !important;
}

#tabsBox .tab2 .tab_link_mehr a,
.buttonStyle a {
    text-decoration: none;
    display: inline-block;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    padding: 8px 26px;
    border-radius: 22px;
    border: 2px solid #ffffff;
    background: #be1622;
    transition: color 300ms linear, border 300ms linear, background 300ms linear;
}

.buttonStyle1 a {
    font-weight: 400;
    border-color: #006633;
    background: #006633;
}


#tabsBox .buttonStyle2 a {
    padding: 6px 28px;
    border-color: #be1622;
}

#tabsBox .buttonStyle2 a:is(:hover, :focus) {
    border-color: #006633;
    background: #006633;
}

#tabsBox .tab2 .tab_link_mehr a,
.buttonStyle a:is(:hover, :focus) {
    background: #006633;
}

.buttonStyle1 a:is(:hover, :focus) {
    border-color: #be1622;
    background-color: #be1622;
}

#tabsBox .tab2 .tab_link_mehr a {
    padding: 7px 26px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#tabsBox .tab2 .tab_link_mehr a:is(:hover, :focus) {
    background: #004221;
}

@media (max-width: 991px) {
    .buttonMobil {
        padding: 15px 10px;
    }
}

/* ------------------------------------------------- tabHead ------------------------------------------------ */

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

.tabHead :is(h1, h2, h3) {
    font-size: clamp(1.75rem, 3vw, 1.875rem);
}

.tabHeader :is(h1, h2, h3) {
    font-size: 1.5625rem;
}

.tabHeader :is(h1, h2, h3, h4, h5, h6) :is(em, i),
.tabHead :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
    font-style: normal;
    color: #006633;
    display: block;
    font-size: 80%;
}

.tabHeader :is(h1, h2, h3, h4, h5, h6),
.tabHeader :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
    color: #ffffff;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
        padding: 10px 0;
        background-color: #ffffff;
    }

    #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: #be1622;
        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: 7px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 20px 0;
        background-color: #ffffff;
    }

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

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

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

    nav.horizontally:hover li[class*="toplevel"]>ul {
        position: absolute;
        top: auto;
        left: -72%;
        right: -57.7%;
        z-index: 1000;
        margin: 0;
        padding: 20px 25px;
        max-height: 60vh;
        overflow: visible;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        margin-top: 22px;
        visibility: hidden;
        transition: opacity 300ms linear;
        background: rgba(255, 255, 255, 0.95);
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        column-count: 4;
        column-gap: 30px;
        max-width: 992px;
        margin: 0 auto;
        padding: 0 15px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        page-break-inside: avoid;
        break-inside: avoid;
        margin-bottom: 20px;
        border-bottom: 2px solid rgba(41, 35, 0, 0.2);
        display: block !important;
    }

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

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

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px / 2);
    }
}

@media (min-width: 1200px) {

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1440px;
        padding-top: 25px;
        padding-bottom: 45px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1410px / 2);
    }
}

nav.horizontally li:is([class$="_end"], [class$="_start"]) {
    display: none;
}

/* toplevel */

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

@media (max-width: 991px) {
    nav.horizontally a[class*="toplevel"] {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }

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

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

    nav.horizontally a[class*="toplevel"] {
        text-align: center;
        padding: 26px 0;
    }
}

/* 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: #be1622;
    background-color: transparent;
}

/* secondlevel + thirdlevel dropdown-box */

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"] ul {
        padding: 10px;
        background: rgba(255, 255, 255, 0.8);
    }
}

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

    nav.horizontally [class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: auto !important;
        visibility: visible;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #3c3c3b;
    text-align: left;
    position: relative;
    width: 100%;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

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

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*="secondlevel"].dropdown-toggle {
        padding-right: 35px;
    }

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

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

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

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

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

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

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

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

@media (min-width: 1200px) {
    #headerpic>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        left: -260px;
        top: 0;
        width: 368px;
        height: 238px;
        background: url('../img/wave-left.png') center no-repeat;
    }

    #headerpic .slider-wrapper::before {
        content: '';
        position: absolute;
        pointer-events: none;
        left: -70px;
        bottom: 0;
        width: 147px;
        height: 140px;
        background: url('../img/hirsch-wasserzeichen-v2.png') center no-repeat;
        z-index: 12;
    }
}

@media (max-width: 991px) {
    #headerpic>.row {
        row-gap: 30px;
    }

    #headerpic {
        padding-top: 30px;
    }
}

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

.slider-wrapper,
.slider-wrapper * {
    color: #ffffff;
}

.slider-mask {
    display: none;
}

@media (min-width: 992px) {
    #headerpic .slider-wrapper {
        margin-right: calc(-50vw + 481px);
    }
}

@media (min-width: 1200px) {
    #headerpic .slider-wrapper {
        margin-left: -15px;
        margin-right: calc((clamp(1200px, 100vw, 1930px) - 1410px) / -2);
    }
}

/* scroll to content button */

#scroll2Content {
    position: absolute;
    z-index: 13;
    display: block;
    width: 50px;
    height: 50px;
    bottom: -27px;
    left: calc(50% - 25px);
    background: #ffffff;
    border-radius: 6px;
    transform: rotate(45deg);
}

#scroll2Content::after {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    transform: rotate(-45deg);
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 39.4q-.25 0-.525-.1t-.525-.35l-13.9-13.9Q8.6 24.6 8.6 24q0-.6.45-1.05.45-.45 1.05-.45.6 0 1.05.45L22.5 34.3V9.5q0-.65.425-1.075Q23.35 8 24 8q.65 0 1.075.425.425.425.425 1.075v24.8l11.35-11.35q.45-.45 1.05-.45.6 0 1.05.45.45.45.45 1.05 0 .6-.45 1.05l-13.9 13.9q-.25.25-.5.35-.25.1-.55.1Z' fill='%23be1622'/%3E%3C/svg%3E") center -2px / 34px auto;
    transition: background-position 300ms linear;
}

#scroll2Content:is(:hover, :focus)::after {
    background-position-y: 32px;
}

/* ----------------------------------------------- tabHeader ----------------------------------------------- */

.tabHeader {
    color: #ffffff;
    margin-bottom: clamp(30px, 4vw, 40px);
}

.tabHeader.buttonStyle a {
    margin-top: 15px;
}

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

#searchBox {
    margin-bottom: 25px;
}

#searchBox span {
    color: #ffffff;
    font-size: 1rem;
    padding-left: 20px;
    padding-bottom: 10px;
    display: inline-block;
}

form[id^="search"] {
    min-height: 40px;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    position: relative;
}

form [id^="search_input"] {
    font-size: clamp(1rem, 1vw, 1.125rem);
    color: #3c3c3b;
    font-style: normal;
    background: #ffffff !important;
    padding: 0;
    border: 0;
    border-radius: 22px;
    padding-left: 24px;
    padding-right: 54px;
    min-height: 40px;
    display: block;
    margin-right: 15px;
}

@media (min-width: 1200px) {
    form [id^="search_input"] {
        min-width: 390px;
    }
}

@media (max-width: 575px) {
    form [id^="search_input"] {
        padding-left: 15px;
        padding-right: 15px;
    }
}

form [id^="search_submit"] {
    width: 40px;
    height: 40px;
    background: url('../img/icon-suche-v2.png') center no-repeat, #be1622;
    padding: 0;
    border: none;
    cursor: pointer;
    position: relative;
    font-size: 0;
    border: 2px solid #ffffff;
    border-radius: 100%;
    transition: background-color 300ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #015229;
}

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

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

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

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

#search input::placeholder {
    color: #3c3c3b !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;
}

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

#stylerBox {
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

#stylerBox span {
    color: #ffffff;
    font-size: 1rem;
    padding-right: 15px;
}

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

@media (min-width: 992px) {
    #style {
        margin-right: 30px;
    }
}

#style button {
    padding: 0;
    color: #3c3c3b;
    display: inline-block;
    min-width: 38px;
    min-height: 38px;
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    border-radius: 100%;
    border: 2px solid #ffffff;
    background: #ffffff;
    position: relative;
    line-height: 1;
    transition: color 300ms linear, background 300ms linear;
}

#style button+button {
    margin-left: 8px;
}

#style button:hover,
#style button:focus {
    color: #ffffff;
    background: #be1622;
}

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

#contrast_style button {
    color: #000000;
    padding: 0;
    font-size: 0;
    display: inline-block;
    text-align: center;
    width: 38px;
    height: 38px;
    font-weight: 400;
    border-radius: 100%;
    border: 2px solid #ffffff;
    background: #ffffff;
    transition: background 300ms linear;
    position: relative;
    z-index: 1;
}

#contrast_style button+button {
    margin-left: 8px;
}

#contrast_style button:hover,
#contrast_style button:focus {
    color: #ffffff;
    background: #be1622;
}

/* ------------------------------------------------ tabBox ----------------------------------------------- */

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

@media (min-width: 1200px) {
    #tabBox>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        right: -260px;
        bottom: clamp(-55px, -4vw, -30px);
        width: 636px;
        height: 541px;
        background: url('../img/wave-right-big.png') center no-repeat;
        z-index: -1;
    }

    #tabBox>.row {
        z-index: 1;
    }
}

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

#tabBox .tabHead {
    margin-bottom: 15px;
}

#tabBox .tab {
    color: #ffffff;
    height: 100%;
    hyphens: auto;
    border-radius: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    align-content: end;
    justify-content: center;
}

#tabBox .tab::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)10%, rgba(0, 0, 0, 0)80%);
    transition: opacity 300ms linear;
}

#tabBox .tab:is(:hover, :focus)::before {
    opacity: 0;
}

#tabBox .tab::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 102, 51, 0.95), rgba(0, 102, 51, 0.95) 30%, rgba(0, 102, 51, 0) 100%);
    opacity: 0;
    transition: opacity 300ms linear;
}

#tabBox .tab:is(:hover, :focus)::after {
    opacity: 1;
}

#tabBox .tab .tabInner {
    position: relative;
    z-index: 1;
    padding: 20px;
    padding-top: 140px;
    display: flex;
    align-items: end;
    align-content: end;
    justify-content: end;
    text-align: center;
    width: 100%;
    height: 100%;
}

@media (min-width: 992px) {
    #tabBox .tab .tabInner {
        padding: 40px;
        padding-top: 270px;
    }
}

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

#tabBox .tab a::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
}

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

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

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

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

#nw11>.row {
    row-gap: clamp(30px, 3vw, 45px);
}

#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: #ffffff;
    border-radius: 15px;
    padding: 150px 30px 30px 30px;
    border: unset !important;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    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) {
    background: #ffffff;
}

#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;
    border-radius: 15px 15px 0 0;
    background: center / cover no-repeat, #ededed;
}

#nw11 .tab_link_entries .tab_link_entry:nth-child(1) .tab_preview_picture {
    content: "";
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    max-height: 355px;
    height: 100%;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

#nw11 .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 120px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: center / cover no-repeat, #ededed;
}

#nw11 .tab_link_entry {
    background: #ffffff;
}

#nw11 .tab_link_entries .tab_link_entry:nth-child(1) .tab_date,
#nw11 .tab_date,
#nw11 .tab_link_date {
    color: #3c3c3b;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 15px;
}

#nw11 .tab_link_entry .tab_date {
    font-size: 1.75rem;
    position: relative;
}

#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: #be1622;
    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: 800;
    color: #006633;
}

#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: #be1622;
    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;
    border-radius: 15px 15px 0 0;
    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;
}

/* ------------------------------------------------ tabsBox ----------------------------------------------- */

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

#tabsBox .tab .tabHeadline {
    color: #ffffff;
    hyphens: auto;
    font-size: clamp(1.75rem, 3vw, 2rem);
    margin-bottom: clamp(15px, 3vw, 25px);
}

@media (min-width: 1200px) {
    #tabsBox .tab .tabHeadline {
        width: 50%;
    }
}

#tabsBox .tabBanner {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #004221;
    height: 100%;
    border-radius: 3px;
}

#tabsBox .tabInside {
    padding: 60px 35px;
    color: #ffffff;
}

@media (min-width: 1200px) {
    #tabsBox .tabBanner {
        margin-left: -260px;
    }

    #tabsBox .tabInside {
        padding: 60px 35px 60px 0;
        margin-left: 260px;
    }
}

#tabsBox .tabInside .tab {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

#tabsBox .tabInside .tab a {
    text-decoration: none;
    display: block;
    color: #ffffff;
    padding: 14px 55px 14px 16px;
    border-radius: 3px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: color 300ms linear, border 300ms linear, background 300ms linear;
    position: relative;
    hyphens: auto;
}

#tabsBox .tabInside .tab a:is(:hover, :focus) {
    color: #0b0b0b;
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.8);
}

#tabsBox .tabInside .tab a img {
    vertical-align: middle;
    margin-right: 16px;
}

#tabsBox .tabInside .tab a::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    right: 19px;
    bottom: 0;
    width: 23px;
    height: 16px;
    margin: auto;
    background: url('../img/arrow-icon.png') center no-repeat;
}

#tabsBox .tabInside .tab a:is(:hover, :focus) img,
#tabsBox .tabInside .tab a:is(:hover, :focus)::after {
    filter: brightness(0) saturate(100%) invert(8%) sepia(0%) saturate(862%) hue-rotate(135deg) brightness(98%) contrast(108%);
}

#tabsBox .buttonStyle2 a {
    margin-top: 30px;
}

#tabsBox .tab2 {
    height: 100%;
    font-size: 1rem;
    color: #ffffff;
    padding: 50px 25px;
    border-radius: 3px;
    background: #006633;
    position: relative;
}

@media (min-width: 1200px) {
    #tabsBox .tab2::after {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        right: -260px;
        bottom: 0;
        width: 260px;
        background: #006633;
    }
}

#tabsBox .tab2 a {
    color: #ffffff;
}

#tabsBox .tab2 .tab_spacer {
    height: 25px;
}

#tabsBox .tab2 .tab_link_title a {
    font-weight: 800;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
}

/* ----------------------------------------------- @11ev events -------------------------------------------- */

#ev11 {
    padding-top: clamp(35px, 6vw, 85px);
    position: relative;
}

#ev11>.row {
    row-gap: clamp(30px, 4vw, 40px);
}

#ev11 .tab_link {
    display: grid;
    gap: 35px;
}

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

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

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

#ev11 .tab_link_entry {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    hyphens: auto;
    color: #3c3c3b;
    font-size: 1rem;
    border-radius: 15px;
    padding: 40px 30px 45px 30px;
    background: #ffffff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {

    #ev11 .tab_link_entry::before,
    #ev11 .tab_link_entry::after {
        content: "";
        position: absolute;
        display: block;
        top: 20px;
        left: -7px;
        width: 57px;
        height: 4px;
        background-color: #be1622;
        transition: opacity 0.5s 0s ease;
        opacity: 0;
    }

    #ev11 .tab_link_entry::after {
        top: 30px;
        width: 37px;
    }

    #ev11 .tab_link_entry:hover::before,
    #ev11 .tab_link_entry:hover::after,
    #ev11 .tab_link_entry:focus::before,
    #ev11 .tab_link_entry:focus::after {
        opacity: 1;
    }
}

#ev11 .tab_link_date {
    order: 1;
    color: #3c3c3b;
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 10px;
}

#ev11 .tab_link_title {
    order: 2;
}

#ev11 .tab_link_title a {
    font-weight: 800;
    font-size: 1.25rem;
    color: #006633;
}

#ev11 .tab_link_mandat {
    order: 3;
}

#ev11 .tab_link_mandat a {
    color: #444444;
}

#ev11 .tab_link_mehr {
    font-size: 0;
}

/* ------------------------------------------------ tabAppBox ----------------------------------------------- */

#tabAppBox {
    font-size: clamp(1rem, 2vw, 1.25rem);
    padding-top: clamp(30px, 7vw, 120px);
    padding-bottom: clamp(30px, 13vw, 240px);
    min-height: 334px;
    background: url('../img/app-banner-herzberg-line.png') bottom center / contain no-repeat;
}

@media (min-width: 1200px) {
    #tabAppBox {
        min-height: 534px;
        margin-bottom: -25px;
    }
}

#tabAppBox .tabHeadline {
    color: #006633;
    font-size: clamp(1.625rem, 3vw, 1.875rem);
}

#tabAppBox a:not(.has-image) {
    text-decoration: underline;
}

#tabAppBox a.has-image+a.has-image {
    margin-left: clamp(15px, 3vw, 30px);
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #3c3c3b;
    font-weight: 800;
    line-height: 1.2;
    font-family: "Open Sans", sans-serif;
}

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

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

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

/* ----------------------------------------------- footerKontakt ----------------------------------------------- */

#footerKontakt {
    font-size: 1rem;
    padding-bottom: clamp(30px, 4vw, 50px);
}

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

#footerKontakt :is(h1, h2, h3) {
    font-size: 1.5rem;
}

#footerKontakt a {
    text-decoration: underline;
}

@media (min-width: 768px) {
    #footerKontakt .tab2 {
        padding: 55px 30px 10px 30px;
        border-left: 1px solid #d8d8d8;
    }
}

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
    color: #ffffff;
    font-size: 1rem;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #006633;
}

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

/* --------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #ffffff;
    text-decoration: underline;
}

#innerfooter li+li::before {
    content: "•";
    margin: 0 6px;
}

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

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter li+li::before {
        display: none;
    }
}

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

#vernetzt {
    gap: 12px;
    text-align: right;
    font-size: 0.8125rem;
    color: #ffffff;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

/* #region -------------------------------------- scroll top ------------------------------------ */

#scrollTop {
    color: #ffffff;
    display: block !important;
    font-size: 0;
    opacity: 1 !important;
    background: #be1622;
    width: 50px;
    height: 50px;
    position: relative;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

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

@media (min-width: 992px) {
    #scrollTop {
        position: fixed;
        bottom: 165px;
        right: 38px;
        z-index: 55;
    }
}

#scrollTop:is(:hover, :focus) {
    background-color: #94111b;
}

#scrollTop::after,
#scrollTop::before {
    content: "";
    position: absolute;
    border-radius: 1px;
}

#scrollTop::after {
    left: 20px;
    width: 8px;
    height: 8px;
    top: 5px;
    margin-top: 10px;
    display: inline-block;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(-45deg);
}

#scrollTop::before {
    left: 50%;
    width: 2px;
    height: 20px;
    top: 50%;
    background-color: #ffffff;
    margin-left: -1px;
    margin-top: -10px;
}

/* #endregion ----------------------------------- scroll top ------------------------------------ */

/* ----------------------------------------------- footerBottom ----------------------------------------------- */

#footerBottom {
    padding: 30px 0;
    background: #ffffff;
}

#footerBottom .row {
    row-gap: 30px;
}

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

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

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