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

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

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

a {
    color: #896f58;
}

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

b,
strong {
    font-weight: 400;
}

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

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

header {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #171310;
    padding-bottom: clamp(40px, 6vw, 110px);
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: 27px;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ffd992, #a88c76);
}

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

@media (min-width: 992px) {
    #topbar {
        padding-top: clamp(30px, 4vw, 50px);
        padding-bottom: clamp(30px, 4vw, 50px);
        transition: padding 300ms linear, background 300ms linear;
    }

    .is-sticky #topbar {
        padding: 20px 0;
        background-color: #171310;
    }
}

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

/* burgermenu for tablet */

#burgerButton {
    font-size: 0;
    border: none !important;
    position: relative;
    z-index: 1004;
    display: block;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: transparent !important;
}

@media (max-width: 991px) {
    #burgerButton {
        position: fixed;
        right: 15px;
        top: 15px;
        background-color: rgba(0, 0, 0, 0) !important;
        box-shadow: none;
        border-radius: 50%;
    }

    .is-sticky #burgerButton {
        background-color: rgba(0, 0, 0, 0.3) !important;
    }
}

@media (min-width: 992px) {
    #burgerButton {
        margin: 0 -10px 0 0;
    }
}

#burgerButton::before,
#burgerButton::after,
#burgerButtonInner {
    position: absolute;
    background: #ffffff;
    width: 28px;
    height: 2px;
    left: calc(50% - 14px);
    color: #171310 !important;
    transition: transform 200ms linear, opacity 200ms linear, width 200ms linear;
}

@media (prefers-contrast: more) {

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        border: 1px solid #ffffff;
        box-sizing: border-box;
    }
}

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

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

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

#burgerButtonInner {
    top: 16px;
}

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

#burgerButton::after {
    top: 30px;
    width: 14px;
    content: "";
}

@media (min-width: 992px) {
    #menuspan {
        color: #ffffff;
        font-size: 0.875rem;
        text-transform: uppercase;
        font-weight: 500;
    }

    nav.burger .navbar {
        text-align: right;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: end;
    }
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #a39f9f;
        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);
    }

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

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

/* menu desktop */

@media (min-width: 992px) {
    #myNavbar {
        background: #fcf5e5;
        pointer-events: none;
        position: absolute;
        z-index: 1002;
        top: 70px;
        right: -10px;
        opacity: 0;
        width: 570px;
        border-radius: 0;
        height: auto !important;
        overflow: visible !important;
        box-shadow: 0 0 15px 0 rgba(252, 245, 229, 0.5);
        transition: opacity 300ms linear, top 300ms linear;
    }

    #burgerButton[aria-expanded="true"]+#myNavbar,
    #myNavbar:focus-within {
        pointer-events: auto;
        opacity: 1;
        top: 85px;
    }

    #myNavbar::before {
        content: "";
        display: block;
        position: absolute;
        right: 15px;
        top: -18px;
        width: 50px;
        height: 18px;
        clip-path: polygon(0 100%, 100% 100%, 50% 0);
        background: #ffd992;
        opacity: 0.98;
    }

    .navbar-nav {
        padding: 23px 0 25px 0;
        background-color: #ffd992;
        background: linear-gradient(to left, #ffd992, #fcf5e5);
        min-height: 300px;
        position: relative;
        left: 50%;
    }

    .navbar-nav,
    nav.burger li[class*="toplevel"]>ul {
        width: 50%;
    }

    nav.burger li[class*="toplevel"]>ul {
        padding: 25px 20px;
        position: absolute;
        z-index: 2;
        left: -100%;
        top: 0 !important;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
        width: 100% !important;
    }

    nav.burger li[class*="toplevel"]:is(:hover, :focus-within)>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    nav.burger li[class*="toplevel"]:is(:hover, :focus-within)>ul {
        z-index: 3;
    }

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

/* toplevel */

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

@media (max-width: 991px) {
    nav.burger .navbar-nav a[class*="toplevel"].dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    nav.burger .navbar-nav a[class*="toplevel"] {
        padding: 7px 30px;
        text-align: right;
    }

    nav.burger .navbar-nav a[class*="toplevel"]::before {
        content: "";
        position: absolute;
        display: block;
        width: 25px;
        top: 0;
        bottom: 0;
        left: -25px;
    }
}

/* toplevel-over */

nav.burger .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.burger .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus),
nav.burger .navbar-nav li[class*="toplevel"].open>a,
nav.burger .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus),
nav.burger .navbar-nav li[class*="toplevel"][class*="_over"]>a,
nav.burger .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #2b2b2b;
    background-color: #a88c76;
    background: linear-gradient(to left, #a88c76, #a88c76, #ffd992);
}

/* secondlevel + thirdlevel dropdown-box */

nav.burger li[class*="toplevel"]>ul {
    background: #ffffff;
}

/* secondlevel + thirdlevel */

nav.burger a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #2b2b2b;
    font-weight: 300;
    text-align: left;
    padding: 8px 35px 8px 25px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

nav.burger li:is([class*="_start"], [class*="end"]) {
    display: none;
}

@media (min-width: 992px) {
    nav.burger li[class*="secondlevel"] {
        border-top: 1px dashed rgba(82, 82, 82, 0.4);
    }

    nav.burger a[class*="secondlevel"] {
        padding: 9px 2px;
    }

    nav.burger a[class*="thirdlevel"] {
        padding: 5px 10px 5px 34px;
    }

    nav.burger a[class*="thirdlevel"]::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 50%;
        background: #ffffff;
        width: 5px;
        height: 5px;
        margin-top: -2px;
        border-radius: 50%;
    }
}

/* secondlevel + thirdlevel over */

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

nav.burger li[class*="thirdlevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="thirdlevel"]>a:is(:hover, :focus),
nav.burger li[class*="thirdlevel"].open>a,
nav.burger li[class*="thirdlevel"].open>a:is(:hover, :focus),
nav.burger li[class*="thirdlevel"][class*="_over"]>a,
nav.burger li[class*="thirdlevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #2b2b2b;
    background-color: #a88c76;
    background: linear-gradient(to right, #a88c76, #a88c76, #ffd992);
}

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

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

#slider {
     max-height: clamp(400px, 62vw, 660px);
    overflow: hidden;
    position: relative;
}

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

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

#headerpic {
    padding: 0;
    position: relative;
    padding-top: clamp(30px, 4vw, 50px);
}

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

.slider-mask {
    display: none;
}

.slider-wrapper {
    position: relative;
}

.slider-wrapper::after {
    content: "";
    position: absolute;
    display: block;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border: 4px solid;
    pointer-events: none;
    border-image-slice: 1;
    border-width: 4px;
    border-image-source: linear-gradient(to bottom, #fcf5e5, #ffd992, #a88c76);
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

.tabHeader {
    color: #ffffff;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    position: relative;
    padding-top: 30px;
    margin-top: 30px;
    text-shadow: 1px 1px 2px rgba(43, 43, 43, 0.5);
}

@media (max-width: 991px) {
    .tabHeader{
        margin-bottom: 15px;
    }
}

.tabHeader::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    max-width: 170px;
    height: 1px;
    background: linear-gradient(to right, #ffd992, #a88c76);
}

.tabHeader a {
    color: #ffffff;
}

.tabHeader .tabHeadline {
    color: #ffffff;
    font-weight: 300;
    text-transform: uppercase;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

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

#content {
    text-align: left;
    padding-top: clamp(50px, 8vw, 130px);
    padding-bottom: clamp(50px, 8vw, 150px);
    background: linear-gradient(to bottom, #f0e3cd, #f7ead2, #fcf5e5 100px);
    position: relative;
}

@media (min-width: 1200px) {

    #content>.row::before,
    #content>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        background: url('../img/logo-wasserzeichen2.png?v=2') center no-repeat;
        width: 488px;
        height: 566px;
    }


    #content>.row::before {
        bottom: -100px;
        left: -310px;
    }

    #content>.row::after {
        top: -70px;
        right: -310px;
    }
}

/* ------------------------------------------------ @20tab ----------------------------------------------- */

#tab20 {
    color: #2b2b2b;
    font-size: 1.125rem;
    padding-top: clamp(40px, 6vw, 90px);
    padding-bottom: clamp(40px, 6vw, 100px);
    background: #fcf5e5;
    box-shadow: 0px -4px 60px 0px rgba(168, 140, 118, 0.25);
    position: relative;
}

#tab20 .tabSpecialHeadline {
    font-size: 1.25rem;
    color: #2b2b2b;
    line-height: 1.4;
    padding-bottom: 33px;
    margin-bottom: 38px;
    position: relative;
}

#tab20 .tabSpecialHeadline::after {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ffd992, #a88c76);
}

#tab20 .tabSpecialHeadline .tabHeadline {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    color: #2b2b2b;
    margin-bottom: 6px;
}

@media (max-width: 767px) {
    .tab20IMGBox>*+* {
        border-top: 2px solid #fcf5e5;
    }
}

@media (min-width: 768px) {
    .tab20IMGBox>*:nth-child(1) {
        padding-right: 0;
    }

    .tab20IMGBox>*:nth-child(2) {
        padding-right: 0;
        padding-left: 0;
        border-left: 2px solid #fcf5e5;
        border-right: 2px solid #fcf5e5;
    }

    .tab20IMGBox>*:nth-child(3) {
        padding-left: 0;
    }
}

#tab20 .tab20IMG {
    line-height: 0;
    font-size: 0;
}

#tab20 .tab20IMG img {
    display: block;
    width: 100%;
    min-height: 370px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    transition: filter 300ms linear;
}

#tab20 .tab20IMG:hover img,
#tab20 .tab20IMG:focus img {
    filter: grayscale(0%);
}

#tab20>.row:not(.tabSpecialHeadline)+.row {
    margin-top: 30px;
}

@media (max-width: 767px) {
    #tab20>.row:not(.tabSpecialHeadline, .tab20IMGBox)>*+* {
        margin-top: 20px;
    }
}

#tab20 .tab20MiniHeadline {
    font-weight: 300;
    margin: 0;
    color: #2b2b2b;
    font-size: 1.125rem;
}

#tab20 .tab20Button a:not(.has-image):not([rel]) {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    padding: 11px 28px 10px 28px;
    background-color: #896f58;
    box-shadow: 0px 2px 12px 0px rgba(137, 111, 88, 0.25);
}

#tab20 .tab20Button a:not(.has-image):not([rel]):hover,
#tab20 .tab20Button a:not(.has-image):not([rel]):focus {
    color: #2b2b2b;
    background-color: #ffd992
}

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

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

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

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

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

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

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

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
}

/* ----------------------------------------------- @2f footer ----------------------------------------------- */

#footer {
    color: #2b2b2b;
    padding-top: clamp(30px, 5vw, 75px);
    padding-bottom: clamp(30px, 3vw, 40px);
    background-color: #fcf5e5;
}

body:not(.index) #footer {
    position: relative;
    box-shadow: 0px -4px 60px 0px rgba(168, 140, 118, 0.25);
}

@media (min-width:768px) and (max-width: 991px) {
    #footer>.row>*+* {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #2b2b2b;
        content: " ";
        display: block;
        height: 1px;
        margin: 25px 0;
        opacity: 0.2;
        width: 100%;
    }

    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

/* --------------------------------------------- logoFooter -------------------------------------------- */

#logoFooter {
    display: inline-block;
}

#logoFooter img {
    display: block;
}

/* --------------------------------------------- footerTab -------------------------------------------- */

#footerTab {
    margin-top: 20px;
    padding-top: 15px;
    position: relative;
}

#footerTab::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: -3px;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ffd992, #a88c76);
}

#footerTab a {
    color: #2b2b2b;
    text-decoration: underline;
}

/* ----------------------------------------------- scrollTop ----------------------------------------------- */

#scrollTop {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    opacity: 1 !important;
    max-width: 170px;
    padding: 5px 20px;
    margin: 0 auto 25px auto;
    background-color: #896f58;
    box-shadow: 0px 2px 12px 0px rgba(137, 111, 88, 0.25);
}

@media (min-width: 992px) {
    #scrollTop {
        margin: auto 0 45px auto;
    }
}

#scrollTop:hover,
#scrollTop:focus {
    color: #2b2b2b;
    background-color: #ffd992
}

#scrollTop span {
    position: relative;
    display: inline-block;
    font-size: 0;
    height: 35px;
    width: 18px;
    margin-right: 4px;
    transition: border-radius 300ms linear;
}

#scrollTop span::after {
    content: "";
    position: absolute;
    display: inline-block;
    margin-top: -1px;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(-45deg);
    transition: border 300ms linear;
}

#scrollTop:hover span::after,
#scrollTop:focus span::after {
    border-color: #2b2b2b;
}

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

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

#vernetzt span span {
    display: block;
}

#vernetzt :is(b, strong) {
    color: #896f58;
    font-weight: 500;
}

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

#innerfooter {
    font-size: 1rem;
    color: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #896f58;
    position: relative;
}

#innerfooter::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ffd992, #a88c76);
}

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

#innerfooter ul {
    padding: 0 !important;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter li a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}

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

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

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

.tabSocials {
    line-height: 0;
}

.tabSocials p {
    display: inline-block;
}

.tabSocials p+p {
    margin-left: 20px;
}

.tabSocials a.has-image {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    background: #725d4b;
}

.tabSocials a.has-image:is(:hover, :focus) {
    background: #2b2b2b;
}