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

body {
    font-family: "Josefin Sans", sans-serif;
    color: #222222;
    background: #ebfbff;
    font-size: 1.125rem;
    /* 1rem = 16px */
    line-height: 1.5;
    font-weight: 300;
    position: relative;
}

@media (min-width: 992px) {
    body {
        font-size: 1.25rem;
        padding-top: 60px;
    }
}

a {
    color: #637935;
}

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

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



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

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

footer,
.index #content {
    border-radius: 0 0 40px 40px;
}

body:not(.index) #content {
    border-radius: 0;
}

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

@media (min-width: 992px) {
    body::after {
        content: '';
        background: #ffffff;
        position: absolute;
        top: 0;
        right: 0;
        pointer-events: none;
        width: 43vw;
        max-width: 810px;
        height: 12vw;
        max-height: 228px;
        z-index: -1;
    }
}

.index main::after {
    content: '';
    background: #d3e8ed;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 40vw;
    max-width: 745px;
    height: 34vw;
    max-height: 637px;
    z-index: -1;
    border-radius: 0 0 200px 0;
}

footer::after {
    content: '';
    background: #ffffff;
    position: absolute;
    top: 0;
    bottom: -65px;
    left: -210px;
    pointer-events: none;
    width: 64vw;
    max-width: 1210px;
    z-index: -1;
}

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

#logo {
    z-index: 1;
    position: relative;
    margin-top: -100px;
    display: inline-block;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.08);
}

#logo img {
    display: block;
}

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

    #logo img {
        max-width: 280px;
        width: 100%;
    }
}

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

.topbar {
    padding: 40px 0 30px 0;
}

@media (max-width: 767px) {
    .topbar>.row>*+* {
        margin-top: 10px;
    }
}

/* ------------------------------------------------- tabKontaktBox ------------------------------------------------ */

.tabKontaktBox {
    color: #222222;
    line-height: 1.2;
    font-size: 1.125rem;
}

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

.tabKontakt {
    padding-left: 25px;
    position: relative;
}

.tabKontakt+.tabKontakt {
    margin-left: 15px;
}

.tabKontaktBox a {
    text-decoration: underline;
}

.tabKontakt a,
.tabKontakt a[href^="mailto:"] {
    color: #637935;
}


.tabKontakt::before {
    content: '';
    position: absolute;
    left: 0;
    top: -5px;
    bottom: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tabPhone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' fill='%23000000' %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::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' fill='%23000000' %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");
}

.tabHandy::before {
    background-image: url(../img/icon-handy.png);
    width: 14px;
    height: 24px;
}

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

form[id^="search"] {
    height: 46px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    border-radius: 0 20px 10px 0;
    overflow: hidden;
    width: 100%;
    margin-top: 5px;
}

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

form[id^="search"] label {
    color: #637935;
    font-size: 20px;
    font-weight: 400;
    position: absolute;
    left: 0;
    line-height: 46px;
    height: 46px;
}

form [id^="search_input"] {
    color: #222222;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 46px;
    padding-left: 66px;
    padding-right: 60px;
    height: 46px;
    width: 100%;
}

form [id^="search_submit"] {
    padding: 0;
    cursor: pointer;
    line-height: 46px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 46px;
    width: 46px;
    font-size: 0;
    border-radius: 10px 20px 10px 20px;
    background-color: #22667d;
    border: 2px solid #22667d;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 29px auto;
    background-image: 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");
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' fill='%2322667d' %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");
}

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

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

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

form [id^="search_input"]:hover,
form [id^="search_input"]:focus {
    background-color: #ffffff !important;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .is-sticky .horizontally {
        position: relative !important;
    }

    #sticky-wrapper {
        height: 0 !important;
    }

    #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: #637935;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        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: 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: #637935;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        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;
        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: 0 60px;
    }

    #menu>.row {
        background: #637935;
        border-radius: 35px;
        position: relative;
        z-index: 108;
        max-width: 1440px;
        width: 100%;
        padding: 0 60px;
    }

    #menu .navbar::after {
        content: '';
        background: #637935;
        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: 35px;
    }

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

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between !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;
    }

    /* Fade in Hover Start */
    .navbar-default .navbar-nav li[class*="toplevel"]>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        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>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 30px;
        left: 0;
        right: 0;
        top: -30px;
    }

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

    #menu>.row::after {
        content: '';
        position: absolute;
        display: inline-block;
        right: 1.5vw;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 10px;
        height: 10px;
        background: #fff;
        opacity: 0.5;
        border-radius: 100%;
        transition: all 300ms linear;
    }

    #menu>.row::before {
        content: '';
        position: absolute;
        display: inline-block;
        left: 1.5vw;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 10px;
        height: 10px;
        background: #fff;
        opacity: 0.5;
        border-radius: 100%;
        transition: all 300ms linear;
    }

}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 15px 35px 8px 15px;
    text-transform: uppercase;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 5px;
    }

    .navbar-default .navbar-nav>li>a {
        padding: 28px 0 21px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .navbar-default .navbar-nav>li>a[data-toggle="dropdown"]::after {
        content: "";
        position: absolute;
        display: block;
        right: 0;
        left: 0;
        margin: auto;
        bottom: 14px;
        width: 7px;
        height: 7px;
        border-radius: 1px;
        display: inline-block;
        border-left: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        transform: rotate(-45deg);
        transition: border 300ms linear;
    }
}

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

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li>a:focus-within,
.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: #ffffff;
    background-color: #3b6442;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid rgba(46, 93, 157, 0.4);
}

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

    #menu .dropdown-toggle-button-wrapper,
    #menu .dropdown-toggle-button-wrapper2 {
        top: 3px;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 25px;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding: 30px;
        box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -30px;
        margin-left: 50px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #222222;
    font-weight: 300;
    text-align: center;
    padding: 9px 25px;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: left;
        font-size: 1rem;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li+li:not(:nth-child(2)),
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li+li:not(:nth-child(2)) {
    border-top: 1px solid rgba(46, 93, 157, 0.2);
}

/* ------------------------------------------ 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:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a,
.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:hover>a,
.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: #637935;
    color: #ffffff;
}

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

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    background-color: #ededed;
}

#slider {
    overflow: hidden;
    position: relative;
    border-radius: 229px 239px 0 0;
    z-index: 1;
}

@media (min-width: 992px) {
    #slider {
        max-height: 610px;
    }

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

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

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

.slider-mask {
    display: none;
}

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

    #headerpic>.row {
        padding-top: 60px;
    }
}

@media (min-width: 1200px) {
    #headerpic::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 1500px;
        height: 100px;
        background: url('../img/overlay-banner.png') no-repeat;
        z-index: 1;
        pointer-events: none;
    }

    #headerpic>.row {
        padding-top: 115px;
    }
}

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

#headerpic>.row::before {
    content: '';
    pointer-events: none;
    position: absolute;
    left: -150px;
    top: 0;
    width: 400px;
    height: calc(100% + 115px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#headerpic>.row::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 250px;
    width: 433px;
    height: 300px;
    background: #ffffff;
    border-radius: 0 0 200px 200px;
}

@media (max-width: 991px) {
    #headerpic>.row::after {
        left: unset;
        right: 0;
    }
}

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

main {
    position: relative;
}

#content {
    text-align: left;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    #content {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    body:not(.index) #content {
        padding-top: 30px;
    }
}

/* ------------------------------------------------ aboutUs ----------------------------------------------- */

#aboutUs {
    padding: 40px 0;
    position: relative;
}

#aboutUs .tabAboutText :is(h2) {
    color: #222222;
    font-size: clamp(1.75rem, 3vw, 2.875rem);
}

#aboutUs .tabDetails {
    font-weight: 400;
    font-size: clamp(1rem, 4vw, 1.375rem);
}

#aboutUs .tabDetails :is(b, strong) {
    font-weight: 700;
    color: #637935;
    font-size: clamp(1.625rem, 4vw, 2.5rem);
    line-height: 1.2;
}

@media (min-width: 992px) {
    #aboutUs {
        padding: 105px 0;
    }

    #aboutUs .tabAboutText :is(h2) {
        margin-bottom: 45px;
    }

}

@media (min-width: 1200px) {
    #aboutUs::before {
        content: '';
        z-index: -2;
        position: absolute;
        pointer-events: none;
        right: 0;
        top: -85px;
        width: clamp(346px, 29vw, 546px);
        height: 714px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 350px 0 0 350px;
    }

}

#aboutUs .tabDetails>.row>*:nth-child(3),
#aboutUs .tabDetails>.row>*:nth-child(4) {
    margin-top: 30px;
}

@media (max-width: 767px) {
    #aboutUs .tabDetails>.row>* {
        margin-top: 30px;

    }
}

#aboutUs .tabDetails .tab::before {
    content: '';
    position: relative;
    pointer-events: none;
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 10px 20px 10px 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffffff;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
    display: block;
    margin-bottom: 15px;
}

#aboutUs .tabDetails .tab1:before {
    background-image: url("../img/icon-wohnflaeche.png");
}

#aboutUs .tabDetails .tab2:before {
    background-image: url('../img/icon-personen.png');
}

#aboutUs .tabDetails .tab3:before {
    background-image: url("../img/icon-garten.png");
}

#aboutUs .tabDetails .tab4:before {
    background-image: url("../img/icon-wlan.png");
}

/* ------------------------------------------------ newsBox ----------------------------------------------- */

#newsBox {
    padding-top: 40px;
    padding-bottom: 10px;
    position: relative;
}

@media (max-width: 767px) {
    #newsBox .tabnews {
        background: rgba(46, 92, 157, 0.05);
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 30px;
    }
}

@media (min-width: 992px) {
    #newsBox {
        padding-top: 85px;
        padding-bottom: 10px;
        background-repeat: no-repeat;
    }

    #newsBox>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: -85px;
        left: 188px;
        width: 433px;
        height: 301px;
        opacity: 0.15;
        background: #ededed;
        border-radius: 0 0 200px 200px;
    }

    #newsBox .tabnews {
        padding: 0 35px;
    }
}

#newsBox .tabIMG {
    margin-bottom: 30px;
}

#newsBox .tabIMG img {
    border-radius: 165px 173px 0 0;
    margin-bottom: 0px;
}

#newsBox .tabnews {
    color: #222222;
}

#newsBox .tabNewsHeadline {
    margin-bottom: 30px;
}

#newsBox :is(h2, h3, h4, h5, h6, a) {
    margin-bottom: 0;
    color: #24687e;
    font-size: clamp(1.375rem, 2vw, 1.875rem);
    text-decoration: none;
    font-weight: 700;
    position: relative;
}

#newsBox :is(h2, h3, h4, h5, h6)::after {
    content: '»';
    position: relative;
    display: inline-block;
    padding-left: 10px;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #24687e;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Josefin Sans", sans-serif;
}

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

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

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

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
    font-size: clamp(1.75rem, 3vw, 2.125rem);
}

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

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.325rem, 2vw, 1.625rem);
}


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

footer {
    padding: 60px 60px 0 60px;
    margin-bottom: 60px;
    position: relative;
}

#footerBox {
    background-color: #637935;
    color: #ffffff;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

@media (max-width: 767px) {
    #footerBox>.row>*+* {
        margin-top: 30px;
    }

    footer {
        padding: 0 15px;
    }
}

@media (max-width: 1199px) {
    #footerBox {
        padding: 40px 15px;
    }
}

@media (min-width: 1200px) {
    #footerBox {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (min-width: 992px) {
    #footerBox {
        font-size: 1.125rem;
        border-radius: 40px;
    }
}

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

#footerBox .tab a[href^="mailto:"] {
    text-decoration: underline;
}

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

@media (min-width: 1200px) {
    #footerBox::before {
        content: '';
        position: absolute;
        pointer-events: none;
        right: 0;
        bottom: 0;
        top: 0;
        height: 100%;
        width: 437px;
        background: url('../img/wasserzeichen-logo.png') center no-repeat, #3b6442;
    }
}

.iframetab {
    border-radius: 10px;
    overflow: hidden;
}


.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100%;
    display: block;
    max-height: 100%;
    min-height: 100%;
    min-height: 265px;
}

/* --------------------------------------------- scrollTopBtn -------------------------------------------- */

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

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

@media (max-width: 420px) {
    #scrollTopBtn {
        margin-bottom: 20px;
    }
}

#scrollTopBtn:hover,
#scrollTopBtn:focus {
    background-color: #637935;
}

@media (max-width: 1199px) {

    #scrollTopBtn:hover,
    #scrollTopBtn: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-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24' fill='%23ffffff' %3E%3Cpath d='M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z'/%3E%3C/svg%3E");
    background-size: 30px auto;
}

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

#vernetzt {
    text-align: right;
    font-size: 0.9375rem;
    color: #ffffff;
    line-height: 1.3;
    margin-left: auto;
    font-weight: 300;
    display: inline-block;
    text-decoration: none;
}

#vernetzt b {
    color: #ffffff;
    font-weight: 300;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 16px;
}

/* ----------------------------------------------- footerMenu ----------------------------------------------- */

#footerMenu {
    padding: 30px 0;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

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

#innerfooter li+li::before {
    content: "•";
    margin: 0 15px;
    color: #637935;
    font-weight: 500;
}

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

@media (max-width: 767px) {
    #footerMenu {
        padding: 20px 0;
    }

    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

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