@import url("http://fonts.verwaltungsportal.de/css/?family=Josefin+Sans:300,300i,400,400i,700,700i%7CAtma:700,700i");

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

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

body {
    font-family: "Josefin Sans", sans-serif;
    color: #191919;
    background: #ffcf90;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    /* 1rem = 16px */
    line-height: 1.5;
    font-weight: 300;
    position: relative;
}

a {
    color: #942b00;
}

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

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

a:focus {
    outline: 3px solid #2a4a9a !important;
}

button:focus {
    outline: 3px solid #2a4a9a !important;
}

form:focus {
    outline: 3px solid #2a4a9a !important;
}

#newsletter_input:focus,
#newsletter_submit:focus,
#search_input:focus,
#search_submit:focus {
    outline: 3px solid #2a4a9a !important;
}

/* content width + border radius */

header,
footer,
#content {
    background-color: #ffffff;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
}

header,
body:not(.index) footer {
    border-radius: 0 0;
}

@media (max-width: 991px) {
    header {
        border-radius: unset;
    }
}

footer,
#content {
    border-radius: 0 0;
}

/* #region ------------------------------- dekoflächen weiß ------------------------------------- */

#topbar,
footer {
    z-index: 1;
    position: relative;
}

:is(#topbar, footer)::after {
    content: "";
    background: #ffffff;
    opacity: 0.4;
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

@media (min-width: 992px) {
    #topbar::after {
        right: 0;
        width: 50vw;
        left: 50%;
        bottom: -35px;
        height: 30vw;
    }
}

footer::after {
    top: 0;
    bottom: -60px;
    right: 0;
    width: 50vw;
    left: 50%;
}

body:not(.index) footer::after {
    top: 50%;
}

#content {
    box-shadow: -50vw 0px 0 rgba(255, 255, 255, 0.4);
}

/* #endregion ---------------------------- dekoflächen weiß ------------------------------------- */

/* -------------------------------------------- logoBox ----------------------------------------- */

#logo {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: -20px 0 0 0;
    padding: 0 50px 25px 50px;
}

@media (max-width: 575px) {
    #logo {
        transform: translateX(-26px);
    }
}

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

@media (min-width: 1200px) {
    #logo {
        transform: translateX(20px);
        margin: -50px 0 -45px 0;
    }
}

#logo::after {
    content: "";
    background: #ffffff;
    pointer-events: none;
    position: absolute;
    left: 6px;
    bottom: 0;
    max-width: 360px;
    width: 100%;
    border-radius: 0 0 100% 100%;
    box-shadow: 10px 10px 40px 0px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    z-index: -1;
}

#logo img {
    display: block;
    max-height: 140px;
}

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

/* #region ----------------------------------- topbar ------------------------------------------- */

#topbar {
    padding: 30px 0;
}

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

@media (min-width: 1200px) {
    #topbar {
        padding: 0 0 42px 0;
    }
}

/* tabKontaktBox */

.tabKontaktBox {
    line-height: 1.2;
    gap: 30px;
}

@media (max-width: 575px) {
    .tabKontaktBox {
        font-size: 1rem;
    }
}

.tabKontakt {
    min-height: 24px;
    padding-left: 35px;
    background: top calc(50% - 2px) left / auto 30px no-repeat;
}

.tabKontaktBox a {
    text-decoration: underline;
    color: #942b00;
}

.tabPhone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' fill='%23942b00' %3E%3Cpath d='M38.75 40.9q-5.6 0-11.25-2.875T17.3 30.6q-4.55-4.55-7.4-10.175Q7.05 14.8 7.05 9.2q0-.95.625-1.575T9.25 7h5.7q.8 0 1.35.5t.75 1.35l1.2 5.35q.1.75-.05 1.35-.15.6-.6 1l-4.7 4.6q2.85 4.8 6.375 8.275Q22.8 32.9 27.35 35.4l4.5-4.7q.5-.55 1.125-.775.625-.225 1.325-.075l4.85 1.1q.8.15 1.3.75t.5 1.45v5.5q0 .95-.625 1.6-.625.65-1.575.65Zm-27-21.8 4.1-4q.1-.1.125-.225.025-.125.025-.225L14.9 9.6q-.05-.2-.15-.275-.1-.075-.25-.075H9.6q-.15 0-.225.075Q9.3 9.4 9.3 9.55q-.05 1.95.6 4.325t1.85 5.225ZM38.4 38.65q.15 0 .225-.075.075-.075.075-.225v-4.9q0-.15-.075-.25t-.225-.15l-4.55-.9q-.1-.05-.2 0l-.2.1-3.95 4.2q2.05 1 4.475 1.55t4.425.65Zm-8.95-2.2ZM11.75 19.1Z'/%3E%3C/svg%3E");
}

.tabMail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' fill='%23942b00' %3E%3Cpath d='M7.9 39q-1.2 0-2.05-.85Q5 37.3 5 36.1V11.9q0-1.2.85-2.05Q6.7 9 7.9 9h32.2q1.2 0 2.05.85.85.85.85 2.05v24.2q0 1.2-.85 2.05-.85.85-2.05.85Zm32.85-25.75L24.8 23.75q-.2.1-.375.175Q24.25 24 24 24t-.425-.075q-.175-.075-.375-.175L7.25 13.25V36.1q0 .3.175.475t.475.175h32.2q.3 0 .475-.175t.175-.475ZM24 21.9l16.3-10.65H7.75ZM7.25 13.25v.35V12.025v.075-.85.8-.075V13.6v-.35V36.75 36.1Z'/%3E%3C/svg%3E");
}

/* search */

form[id^="search"] {
    background: #ffffff;
    overflow: hidden;
    width: 100%;
    position: relative;
}

@media (max-width: 767px) {
    form[id^="search"] {
        background: #f8efd2;
        padding-left: 12px;
    }
}

@media (min-width: 768px) {
    form[id^="search"]::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 1px;
        width: calc(100% - 45px);
        background: #3a4554;
        pointer-events: none;
        opacity: 0.4;
    }
}

form[id^="search"] label {
    font-size: 1.25rem;
    font-weight: 400;
}

form [id^="search_input"] {
    color: #362f16;
    font-size: 1rem;
    font-style: normal !important;
    background: transparent !important;
    border: 0;
    width: 100%;
    padding: 6px 12px;
    font-weight: 300;
}

form [id^="search_submit"] {
    border: none;
    padding: 0;
    cursor: pointer;
    width: 46px;
    min-height: 46px;
    flex-shrink: 0;
    font-size: 0;
    border: 2px solid #362f16;
    background: #362f16 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' fill='%23ffffff' %3E%3Cpath d='M38.7 40.85 26.65 28.8q-1.5 1.3-3.5 2.025-2 .725-4.25.725-5.4 0-9.15-3.75T6 18.75q0-5.3 3.75-9.05 3.75-3.75 9.1-3.75 5.3 0 9.025 3.75 3.725 3.75 3.725 9.05 0 2.15-.7 4.15-.7 2-2.1 3.75L40.95 38.7q.45.4.45 1.025 0 .625-.5 1.125-.45.45-1.1.45-.65 0-1.1-.45Zm-19.85-12.3q4.05 0 6.9-2.875Q28.6 22.8 28.6 18.75t-2.85-6.925Q22.9 8.95 18.85 8.95q-4.1 0-6.975 2.875T9 18.75q0 4.05 2.875 6.925t6.975 2.875Z'/%3E%3C/svg%3E") center / 29px auto no-repeat;
}

form [id^="search_submit"]:is(:hover, :focus) {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' fill='%239d2e60' %3E%3Cpath d='M38.7 40.85 26.65 28.8q-1.5 1.3-3.5 2.025-2 .725-4.25.725-5.4 0-9.15-3.75T6 18.75q0-5.3 3.75-9.05 3.75-3.75 9.1-3.75 5.3 0 9.025 3.75 3.725 3.75 3.725 9.05 0 2.15-.7 4.15-.7 2-2.1 3.75L40.95 38.7q.45.4.45 1.025 0 .625-.5 1.125-.45.45-1.1.45-.65 0-1.1-.45Zm-19.85-12.3q4.05 0 6.9-2.875Q28.6 22.8 28.6 18.75t-2.85-6.925Q22.9 8.95 18.85 8.95q-4.1 0-6.975 2.875T9 18.75q0 4.05 2.875 6.925t6.975 2.875Z'/%3E%3C/svg%3E");
}

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

/* #endregion -------------------------------- topbar ------------------------------------------- */

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

/* burgermenu for tablet */

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

    #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: #362f16;
        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: #f8efd2;
        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: 0 15px;
    }

    nav.horizontally>.row {
        background: #f8efd2;
        border-radius: 10px;
        z-index: 108;
        max-width: 1380px;
        width: 100%;
        padding: 0 clamp(40px, 4vw, 60px);
    }

    nav.horizontally .navbar::after {
        content: "";
        background: #f8efd2;
        position: absolute;
        top: 0;
        height: 100%;
        left: 50%;
        transform: translate(-50%);
        z-index: -1;
        width: 100%;
        transition: width 200ms cubic-bezier(.77, 0, .18, 1), opacity 200ms linear, border-radius 400ms linear;
        opacity: 0;
        pointer-events: none;
        border-radius: 10px;
    }

    .is-sticky nav.horizontally .navbar::after {
        width: 100vw;
        opacity: 1;
        border-radius: 0;
    }

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

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

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

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

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

    nav.horizontally .navbar-nav li:is(.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;
    }

    nav.horizontally>.row::after,
    nav.horizontally>.row::before {
        content: "";
        position: absolute;
        display: inline-block;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 10px;
        height: 10px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 100%;
        transition: all 300ms linear;
    }

    nav.horizontally>.row::after {
        right: clamp(20px, 2.5vw, 30px);
    }

    nav.horizontally>.row::before {
        left: clamp(20px, 2.5vw, 30px);
    }
}

/* toplevel */

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

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

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 26px 2px 22px 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
        content: "";
        position: absolute;
        display: block;
        right: 0;
        left: 0;
        margin: auto;
        bottom: 13px;
        width: 7px;
        height: 7px;
        display: inline-block;
        border-left: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        transform: rotate(-45deg);
        transition: border 300ms linear;
    }
}

/* 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: #942b00;
    background-color: #fff
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #ffffff;
    border: 1px solid #942b00;
}

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

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding: 30px;
        box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.1);
    }

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 25px;
        left: 50%;
        transform: translateX(-50%);
    }

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #191919;
    font-weight: 300;
    text-align: center;
    padding: 9px 25px;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        text-align: left;
        font-size: 1rem;
    }
}

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

/* 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: #942b00;
    color: #ffffff;
}

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

/* #region ------------------------------------ banner ------------------------------------------ */

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

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

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

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

@media (min-width: 992px) {
    #headerpic {
        margin-top: -35px;
    }

    #headerpic>.row {
        padding-top: clamp(60px, 12vw, 115px);
        padding-bottom: 80px;
    }

    #headerpic::before {
        content: '';
        display: block;
        position: absolute;
        top: 100px;
        right: -70px;
        width: 243px;
        height: 127px;
        background: url('../img/wolke-headrechts.png') no-repeat;
    }

    #headerpic::after {
        content: '';
        display: block;
        position: absolute;
        bottom: -80px;
        left: -130px;
        width: 313px;
        height: 189px;
        background: url('../img/wolke-lhead-inks.png') no-repeat;
    }
}

@media (min-width: 1200px) {
    #headerpic {
        background: #ced8ac;
    }
}

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

.slider-mask {
    display: none;
}

/* banner Deko */



@media (min-width: 768px) {
    #headerpic>.row::before {
        content: "";
        position: absolute;
        pointer-events: none;
        top: 0;
        bottom: 0;
        left: -150px;
        width: 402px;
        background: center / cover no-repeat;
        box-shadow: inset 0 0 0 100vw #eed68f;
    }
}

@media (min-width: 1200px) {
    #headerpic>.row>:first-child::before {
        right: -140px;
        bottom: -80px;
        background-size: auto;
    }

    #headerpic>.row>:first-child::before {
    content: "";
    z-index: 12;
    position: absolute;
    pointer-events: none;
   width: 629px;
    height: 298px;
    background: url('../img/wasserzeichen.png') no-repeat;
    right: 0;
    bottom: -80px;
}
}

#headerpic>.row::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    height: 335px;
    background: #f8cdbb;
    border-radius: 0 0 200px 200px;
}

@media (min-width: 768px) {
    #headerpic>.row::after {
        right: unset;
        left: 160px;
        width: 433px;
    }
}

@media (min-width: 992px) {
    #headerpic>.row::after {
        left: 250px;
    }
}

/* banner Tab */

#headerpic .tabHeader {
    padding-top: clamp(40px, 6vw, 70px);
    padding-bottom: clamp(50px, 7vw, 80px);
    z-index: 12;
}

#headerpic .tabHeader :is(h1, h2) {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    line-height: 1.15;
}

#headerpic .tabHeader a {
    margin-top: 10px;
}

@media (min-width: 576px) {
    #headerpic .tabHeader a+a {
        margin-left: clamp(10px, 2vw, 30px);
    }
}

/* #endregion --------------------------------- banner ------------------------------------------ */

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

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]) {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    background: #942b00;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    border: 2px solid #942b00;
    padding: 20px 50px 20px 25px;
    position: relative;
    transition: all 300ms linear;
}

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus){
    background: #fff;
    color: #942b00;
}

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel])::after,
#newsBox .tabnews .tab_link_mehr a::after {
    content: "";
    position: absolute;
    display: inline-block;
    right: 18px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    background: #9d2e60;
    opacity: 0.5;
    border-radius: 100%;
    transition: all 300ms linear;
}

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus)::after,
#newsBox .tabnews .tab_link_mehr a:is(:hover, :focus)::after {
    background: #ffffff;
}

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

#content {
    text-align: left;
    padding-top: clamp(40px, 6vw, 70px);
    padding-bottom: clamp(40px, 6vw, 70px);
    position: relative;
}

/* #region ----------------------------------- newsBox ------------------------------------------ */

#newsBox {
    padding: clamp(40px, 7vw, 80px) 0;
    position: relative;
    z-index: 3;
    background-color: rgba(255,255,255,0.6);
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 992px) {
    #newsBox>.row::after {
        content: "";
        position: absolute;
        z-index: -1;
        pointer-events: none;
        top: -190px;
        right: -250px;
        width: 283px;
        height: 558px;
        background: url('../img/baetter-rechts.png') no-repeat;
    }

    #newsBox>.row::before {
        content: "";
        position: absolute;
        z-index: -1;
        pointer-events: none;
        top: -95px;
        left: -230px;
        width: 302px;
        height: 519px;
        background: url('../img/blaetter-links.png') no-repeat;
    }
}

#newsBox a {
    text-decoration: underline;
    font-weight: 400;
}

#newsBox .tab1 {
    background-color: #fff;
    padding: 50px;
    outline: 2px solid #857f78;
    font-size: 1.25rem;
    color: #191919;
    position: relative;
}

#newsBox .tab1::before {
    content: '';
    display: block;
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    outline: 2px solid #c2c2c2;
    pointer-events: none;
}

#newsBox .tab1 :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.875rem, 3vw, 2.875rem);
    color: #942b00;
    font-family: "Josefin Sans", sans-serif;
}
/* #endregion -------------------------------- newsBox ------------------------------------------ */

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

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

h1,
.h1,
.legacy_h1,
:is(#aboutUs .tabAboutText, #newsBox .tabNewsHeadline) :is(h1, h2) {
    font-size: clamp(36px, 3vw, 46px);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(28px, 3vw, 42px);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(26px, 3vw, 38px);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(28px, 3vw, 34px);
}

h5,
.h5,
.legacy_h5,
:is(#aboutUs .tabDetails .tab, #newsBox .tabIMG) :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(22px, 2vw, 30px);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(21.2px, 2vw, 26px);
}

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

@media (min-width: 992px) {
    footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

#footerBox {
    background-color: #fad9cb;
    color: #191919;
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
    font-size: 1.125rem;
    padding-top: clamp(40px, 4vw, 60px);
    padding-bottom: clamp(30px, 4vw, 60px);
}

@media (min-width: 992px) {
    #footerBox::before {
        content: "";
        position: absolute;
        pointer-events: none;
        right: 0;
        bottom: 0;
        top: 0;
        height: 100%;
        width: 33.33%;
        background: #b8ddef;
    }

    #footerBox::after {
        content: "";
        position: absolute;
        pointer-events: none;
        right: -180px;
        top: -80px;
        height: 159px;
        width: 305px;
        background: url('../img/wolkenrechts-footere.png') no-repeat;
    }
}

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

#footerBox>.row>:last-child {
    column-gap: 15px;
}

#footerBox,
#footerBox :is(h1, h2, h3, h4, h5, h6, a) {
    color: #191919;
}

#footerBox :is(.tab, .iframetab) a {
    text-decoration: underline;
    color: #942b00;
}

#footerBox .tab .tabHeadline {
    font-size: 1.75rem;
    margin-bottom: 25px;
}

footer :is(.iframe-wrapper-manual-enabling, iframe) {
    overflow: hidden;
    width: 100% !important;
    min-width: 100% !important;
    min-height: 265px !important;
}

#footerBox>.row>div:has(#scrollTopBtn) {
    row-gap: 35px;
}

/* scrollTopBtn */

#scrollTopBtn {
    color: #191919;
    font-size: 0;
    width: 62px;
    height: 44px;
    display: inline-block;
    position: relative;
    border-radius: 20px 10px 20px 10px;
    border: 2px solid #191919;
}

#scrollTopBtn:is(:hover, :focus) {
    background-color: #fad9cb;
}

@media (max-width: 1199px) {
    #scrollTopBtn:is(:hover, :focus) {
        background-color: rgba(0, 0, 0, 0.2);
    }
}

#scrollTopBtn::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24' fill='%23191919' %3E%3Cpath d='M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z'/%3E%3C/svg%3E") center / 30px auto no-repeat;
}

/* vernetzt */

#vernetzt {
    gap: 16px;
    text-align: right;
    font-size: 0.9375rem;
    color: #191919;
    line-height: 1.3;
    font-weight: 300;
    text-decoration: none;
    margin-left: auto;
}

#vernetzt span span {
    display: block;
}

/* footerMenu */

#footerMenu {
    padding: 30px 0;
}

#footerMenu > .row {
    position: relative;
}

#footerMenu > .row::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -260px;
    width: 313px;
    height: 189px;
    background: url('../img/wolke-links-footer.png') no-repeat;
}



#innerfooter ul {
    padding: 0;
}

@media (max-width: 767px) {
    #innerfooter li {
        padding: 5px;
    }
}

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

    #innerfooter li+li::before {
        content: "•";
        margin: 0 clamp(15px, 2vw, 30px);
        color: #191919;
    }
    #footerMenu > .row::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    width: 196px;
    height: 190px;
    background: url('../img/blatt-footer.png') no-repeat;
}
}

#innerfooter a {
    color: #191919;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
}

@media (min-width: 992px) {
    #innerfooter a {
        font-size: 1.125rem;
    }
}

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

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