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

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

body {
    font-family: "Montserrat", sans-serif;
    color: #2d2d2d;
    background: #ffffff;
    font-size: clamp(1rem, 1vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
    color: #3e6870;
}

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

b,
strong {
    font-weight: 600;
}

@media (min-width: 1200px) {
    .row, .compact, ._op-container .container {
        max-width: 1440px;
        width: 100%;
    }
}

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

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

/* ----------------------------------------------- @3tp topbar ----------------------------------------------- */

#tp3 {
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (min-width: 992px) {
    #tp3 {
        padding-top: 0;
        padding-bottom: 16px;
    }
}

@media (max-width: 991px) {
    #tp3 {
        display: grid;
        gap: 10px;
    }
}

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

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

#contrast_style button:hover,
#contrast_style button:focus {
    background: #e0e0e0;
}

#contrast_style *+* {
    margin-left: 3px;
}

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

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

#style button {
    padding: 0;
    border: none;
    color: #2d2d2d;
    display: inline-block;
    min-width: 29px;
    min-height: 29px;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    background: #efefef;
    position: relative;
    line-height: 1;
    border-radius: 100%;
    transition: color 300ms linear, background 300ms linear;
}

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

#style button:hover,
#style button:focus {
    color: #2d2d2d;
    background: #e0e0e0;
}

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

form[id^="search"] {
    min-height: 35px;
    display: block;
    position: relative;
    background: #f1f1f1;
    border-radius: 18px;
    overflow: hidden;
}

@media (max-width: 575px) {
    form[id^="search"] {
        display: inline-block;
    }
}

@media (min-width: 576px) {
    form[id^="search"] {
        margin-left: 30px;
    }
}

form [id^="search_input"] {
    font-size: 0.8125rem;
    color: #2d2d2d;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 14px;
    padding-right: 54px;
    min-height: 35px;
    width: 100%;
    display: block;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img/icon-lupe.png') center no-repeat, #f1f1f1;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid #2d2d2d;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    top: 0;
    bottom: 0;
    background-color: #e0e0e0;
}

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

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

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

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

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

/* -------------------------------------------- @nav1 Navigation ------------------------------------------- */

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

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

#logo .logoImg img {
    display: block;
}

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

#logo .logoTxt {
    color: #606b25;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.5625rem);
}

#logo .logoTxt :is(b, strong) {
    color: #3e6870;
    display: block;
    font-size: clamp(1.125rem, 2vw, 1.875rem);
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding: 10px 0;
        position: static !important;
        background-color: #ffffff;
        -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

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

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

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

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

    #burgerButton:before, #burgerButton:after {
        content: "";
        display: block;
    }

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

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        padding: 5px 0;
        background-color: #ffffff;
        -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
    }

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

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

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

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
        z-index: 1003;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav>li>a {
    color: #2d2d2d;
    font-weight: 600;
    text-align: left;
    padding: 15px 35px 15px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(68, 68, 68, 0.2);
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 20px 5px 35px 5px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

.navbar-default .navbar-nav>li>a::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    bottom: 0;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: #2d2d2d;
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::after {
        bottom: 30px;
        max-width: 70px;
    }
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    color: #2d2d2d;
}

.navbar-nav>li:focus-within>a {
    color: #2d2d2d;
}

.navbar-nav>li:hover>a::after,
.navbar-nav>li>a:hover::after,
.navbar-nav>li>a:focus::after,
.navbar-nav>li.open>a::after,
.navbar-nav>li.open>a:hover::after,
.navbar-nav>li.open>a:focus::after,
.navbar-nav>li[class$="_over"]>a::after,
.navbar-nav>li[class$="_over"]>a:hover::after,
.navbar-nav>li[class$="_over"]>a:focus::after {
    width: 100%;
}

.navbar-nav>li:focus-within>a::after {
    width: 100%;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu {
    background: #e8e9e0;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #bdcacd;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 10px;
    }
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 5px;
        border-radius: 0 0 20px 20px;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: '';
        position: absolute;
        height: 5px;
        top: -5px;
        left: 0;
        right: 0;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        top: -20px;
        margin-left: -20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 20px 0 20px;
        border-color: #ffffff transparent transparent transparent;
        -webkit-transition: top 150ms linear;
        -moz-transition: top 150ms linear;
        -ms-transition: top 150ms linear;
        -o-transition: top 150ms linear;
        transition: top 150ms linear;
    }

    .navbar-default .navbar-nav>li:hover>.dropdown-menu::after {
        top: 0;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -30px;
        margin-left: 10px;
        border-radius: 20px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #2d2d2d;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
        padding: 13px 25px;
    }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #ffffff;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #ffffff;
}

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

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

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

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

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

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

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

#headerpic .theme-nivo .nivo-controlNav .slick-dots li,
#headerpic .nivo-directionNav a,
#headerpic a.nivo-control,
#headerpic a.nivo-control.active {
    color: #ffffff !important;
}

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

.slider-mask {
    display: none;
}

/* ----------------------------------------------- bannerOverlay ----------------------------------------------- */

@media (max-width: 1199px) {
    #bannerOverlay {
        padding: 30px 0;
        background-color: #606b25;
    }
}

@media (min-width: 1200px) {
    #bannerOverlay {
        position: absolute;
        pointer-events: none;
        right: 0;
        left: 0;
        bottom: 0;
        top: 0;
        display: flex;
        align-items: center;
        align-content: center;
        z-index: 12;
    }

    #bannerOverlay .bannerBox {
        position: relative;
        background: url('../img/background.png') center no-repeat;
        padding-top: 200px;
        padding-bottom: 110px;
    }

    #bannerOverlay .bannerBox::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: -15px;
        left: 145px;
        width: 293px;
        height: 190px;
        background: url('../img/fliegender-storch.png') center no-repeat;
    }

    #bannerOverlay .bannerBox::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -20px;
        left: 0;
        right: 0;
        margin: auto;
        width: 628px;
        height: 108px;
        background: url('../img/wasser-linien.png') center no-repeat;
    }
}

#bannerOverlay>.row>* {
    pointer-events: auto;
}

#slogan {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.25rem);
    display: inline-block;
}

#slogan :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    font-size: clamp(1.875rem, 4vw, 3.125rem);
}

/* ----------------------------------------------- scrollBottom ----------------------------------------------- */

#scrollBottom a {
    position: relative;
    text-align: center;
    display: block;
    font-size: 0;
    width: 30px;
    height: 30px;
    margin: 50px auto 10px auto;
    border: 2px solid #ffffff;
    border-radius: 100%;
    background: #606b25;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.05);
    transition: background 200ms ease-in;
}

@media (min-width: 1200px) {
    #scrollBottom a {
        margin-top: 40px;
    }
}

#scrollBottom a:hover,
#scrollBottom a:focus {
    background: #3e6870;
}

#scrollBottom a::after {
    content: "";
    position: absolute;
    display: inline-block;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 13px;
    height: 13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20px' viewBox='0 -960 960 960' width='20px' fill='%23ffffff' %3E%3Cpath d='M444-768v438L243-531l-51 51 288 288 288-288-51-51-201 201v-438h-72Z'/%3E%3C/svg%3E") center no-repeat;
}

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

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

@media (min-width: 1200px) {
    #content {
        position: relative;
    }

    #content>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: -185px;
        left: -175px;
        width: 74px;
        height: 729px;
        background: url('../img/welle-senkrecht.png') center no-repeat;
        z-index: 12;
    }
}

/* ----------------------------------------------- @2ev events -------------------------------------------- */

#ev2 {
    padding-top: clamp(40px, 4vw, 80px);
    padding-bottom: clamp(40px, 4vw, 80px);
    background-color: #e8e9e0;
}

@media (min-width: 1200px) {
    #ev2 {
        position: relative;
    }

    #ev2>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -445px;
        right: -180px;
        width: 74px;
        height: 729px;
        background: url('../img/welle-senkrecht-transparent.png') center no-repeat;
        z-index: 12;
    }
}

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

#ev2 .tabHeadline {
    color: #606b25;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    text-transform: uppercase;
    margin-bottom: 0;
}

#ev2 .tab_link {
    display: grid;
    gap: 30px;
}

#ev2 .tab_link_entries {
    counter-reset: section;
    display: grid;
    gap: 30px;
}

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

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

#ev2 .tab_link_entry {
    overflow: hidden;
    position: relative;
    padding: 45px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #606b25;
}

#ev2 .tab_link_entry::before {
    counter-increment: section;
    content: "0"counter(section);
    position: absolute;
    pointer-events: none;
    right: 31px;
    bottom: -37px;
    font-size: 180px;
    font-weight: 700;
    font-style: italic;
    color: #606b25;
    line-height: 1;
    opacity: 0.1;
}

#ev2 .tab_link_title {
    margin-bottom: 6px;
}

#ev2 .tab_link_title a {
    display: block;
    color: #2d2d2d;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

#ev2 .tab_link_date {
    font-size: 1rem;
}

#ev2 .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

#ev2 .tab_link_mehr a {
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 45px 8px 20px;
    border-radius: 20px;
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="12px" viewBox="0 -960 960 960" width="12px" fill="%23ffffff"><path d="M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z"/></svg>') right 20px center no-repeat, #606b25;
    transition: background 300ms linear, color 300ms linear;
}

#ev2 .tab_link_mehr a:hover,
#ev2 .tab_link_mehr a:focus {
    color: #ffffff;
    background-color: #3e6870;
}

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

#nw11 {
    margin-top: clamp(30px, 3vw, 50px);
    margin-bottom: clamp(30px, 6vw, 100px);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    #nw11::before {
        content: "";
        position: absolute;
        pointer-events: none;
        display: block;
        left: calc(50% - 580px);
        width: 1167px;
        height: calc(100% + -22px);
        border-radius: 20px;
        border: 2px solid #5e99a7;
        z-index: -1;
    }
}

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

#nw11 #newsHeadline :is(b, strong) {
    font-size: 1.125rem;
}

#nw11 #newsHeadline .tabHeadline {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #3e6870;
    text-transform: uppercase;
    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: #ffffff;
    border-radius: 20px;
    padding: 150px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    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: 20px 20px 0 0;
    background: center / cover no-repeat, #e8e9e0;
}

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

#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: #2d2d2d;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

#nw11 .tab_link_entry .tab_date {
    font-size: 1.875rem;
    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: #5e99a7;
    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: #2d2d2d;
}

#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: #5e99a7;
    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: 20px 20px 0 0;
    background: #ffffff;
}

#nw11 .tab_link_entries .tab_link_entry:nth-child(1) .tab_preview_picture {
    max-height: 355px;
}

@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 {
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 45px 8px 20px;
    border-radius: 20px;
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="12px" viewBox="0 -960 960 960" width="12px" fill="%23ffffff"><path d="M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z"/></svg>') right 20px center no-repeat, #3e6870;
    transition: background 300ms linear, color 300ms linear;
}

#tab_link_mehr a:hover,
#tab_link_mehr a:focus {
    color: #ffffff;
    background-color: #363926;
}

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

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

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

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

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

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

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

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

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

footer {
    color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #363926;
}

#counterElement{
    font-size: 1.125rem;
    color: #fff;
}

#counterElement strong{
    margin-right: 10px;
}
/* --------------------------------------------- footerKontakt -------------------------------------------- */

#footerKontakt {
    font-size: 1rem;
    color: #ffffff;
    padding-top: 35px;
    padding-bottom: 0;
}

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

#footerKontakt hr {
    border-color: #ffffff;
    opacity: 0.5;
    background: transparent;
    margin: 0;
}

#footerKontakt hr.hr1 {
    margin-bottom: 22px;
}

#footerKontakt hr.hr2 {
    margin-top: 40px;
}

@media (min-width: 768px) {
    #footerKontakt .tab2 {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }

    #footerKontakt .tab {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

#footerKontakt a {
    color: #ffffff;
    text-decoration: underline;
}

#footerKontakt .tabHeadline {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 1.375rem;
}

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

#f5 {
    color: #ffffff;
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
}

@media (min-width: 1200px) {
    #f5>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -24px;
        left: -175px;
        width: 74px;
        height: 729px;
        background: url('../img/welle-senkrecht.png') center no-repeat;
    }

    #f5>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -24px;
        right: -234px;
        width: 236px;
        height: 229px;
        background: url('../img/footer-storch.png') center no-repeat;
    }
}

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

/* --------------------------------------------- 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 15px;
    }
}

@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.9375rem;
    color: #ffffff;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

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

.contrast_light_font #logo,
.contrast_light_font form [id^="search_submit"] {
    background-color: #ffffff !important;
}

.contrast_light_font form[id^="search"],
.contrast_light_font #style button,
.contrast_light_font #contrast_style button {
    border: 1px solid #ffffff !important;
}

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

.contrast_dark_font form[id^="search"],
.contrast_dark_font #style button,
.contrast_dark_font #contrast_style button {
    border: 1px solid #000000 !important;
}

.contrast_dark_font #ev2 .tab_link_mehr a,
.contrast_dark_font #tab_link_mehr a {
    color: #ffffff !important;
}