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

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #f3f1ea;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    scrollbar-color: #4c7f2f #ffffff;
    scrollbar-width: thin;
}

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

a {
    color: #4c7f2f;
}

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

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

:is(main, footer) a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

hr {
    height: 2px;
    opacity: 0.2;
    background: #8d7334;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
    display: inline-block;
    background: #dbe7d1;
    padding: 20px clamp(20px, 4vw, 55px) clamp(20px, 2vw, 36px) clamp(20px, 4vw, 55px);
    border-radius: 0 0 150px 150px;
}

#logo img {
    display: block;
}

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

    #logo .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (min-width: 992px) {
    #logo {
        transition: margin 300ms linear, padding 300ms linear;
    }

    .is-sticky #logo {
        margin-bottom: -100px;
        padding-top: 14px;
        padding-bottom: 20px;
    }

    #logo img {
        max-height: 136px;
    }

    .is-sticky #logo img {
        max-height: 90px;
    }
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #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: 6px;
        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: #859f3d;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        position: fixed;
        top: 30px;
        right: 15px;
        z-index: 101;
        transition: top 300ms linear;
    }

    .is-sticky .navbar-header {
        top: 15px;
    }

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

    .dropdown-toggle-button-wrapper2 {
        top: 8px;
        right: 0;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        transition: background 300ms linear, box-shadow 300ms linear;
    }

    .is-sticky nav.horizontally {
        background: #f0f3e7;
        box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
    }

    nav.horizontally .navbar-nav {
        margin: 10px 0 54px 0;
        position: relative;
        display: flex;
        justify-content: space-between;
        transition: margin 300ms linear;
        flex-wrap: wrap;
    }

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

    nav.horizontally li[class*="toplevel"] {
        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 */

nav.horizontally a[class*="toplevel"] {
    color: #1a1a19;
    font-weight: 700;
    text-align: left;
    padding: 14px 15px;
    position: relative;
    font-size: 1.375rem;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 3px;
}

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

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 12px clamp(10px, 1.3vw, 15px);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

nav.horizontally a[class*="toplevel"]::after,
nav.horizontally a[class*="toplevel"].dropdown-toggle::before {
    content: "";
    display: block;
    position: absolute;
}

nav.horizontally a[class*="toplevel"]::after {
    z-index: -1;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #859f3d;
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"].dropdown-toggle::before {
        z-index: 1004;
        pointer-events: none;
        opacity: 0;
        bottom: -15px;
        left: calc(50% - 17px);
        width: 34px;
        height: 20px;
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        background: #fff;
        transition: opacity 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: #1a1a19;
    background: #859f3d;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open>a::after,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
    width: 100%;
}

@media (min-width: 992px) {

    nav.horizontally li[class*="toplevel"]:hover>a.dropdown-toggle::before,
    nav.horizontally li[class*="toplevel"].open>a.dropdown-toggle::before,
    nav.horizontally li[class*="toplevel"].open>a.dropdown-toggle:is(:hover, :focus)::before {
        opacity: 1;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 18px;
    border-radius: 4px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 10px;
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -18px;
        top: 0;
        margin-left: 32px;
    }
    .navbar-default .navbar-nav > li > .dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 32px;
        top: 0;
        bottom: 0;
        left: -32px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #333333;
    font-weight: 400;
    text-align: center;
    padding: 8px 6px;
    background-color: #ffffff;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 3px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>a::after,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::after {
    content: "";
    display: block;
    position: absolute;
    background-color: #31511e;
    height: 1px;
    top: 50%;
    width: 0;
    -webkit-transition: width 200ms linear;
    -moz-transition: width 200ms linear;
    -ms-transition: width 200ms linear;
    -o-transition: width 200ms linear;
    transition: width 200ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a::after,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::after {
        z-index: -1;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    left: -18px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::after, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::after {
    right: -18px;
}

/* ------------------------------------------ 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 {
    color: #31511e;
    background-color: #ffffff;
}

.navbar-nav > li > .dropdown-menu > li:hover > a::before,
.navbar-nav > li > .dropdown-menu > li > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > a:focus::before,
.navbar-nav > li > .dropdown-menu > li.open > a::before,
.navbar-nav > li > .dropdown-menu > li.open > a:hover::before,
.navbar-nav > li > .dropdown-menu > li.open > a:focus::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus::before,
.navbar-nav > li > .dropdown-menu > li:hover > a::after,
.navbar-nav > li > .dropdown-menu > li > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > a:focus::after,
.navbar-nav > li > .dropdown-menu > li.open > a::after,
.navbar-nav > li > .dropdown-menu > li.open > a:hover::after,
.navbar-nav > li > .dropdown-menu > li.open > a:focus::after,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a::after,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover::after,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus::after {
    width: 25px;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a::before,
.navbar-nav > li > .dropdown-menu > li:focus-within > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a::after {
    width: 25px;
}

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

:is(#headerpic, #footer) .row {
    row-gap: 30px;
}

#footer-2>.row {
    row-gap: 20px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

header {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1921px' height='741px'%3E%3Cpath fill-rule='evenodd' opacity='1' fill='rgb(240, 243, 231)' d='M0.001,0.000 L1920.999,0.000 L1920.999,420.1000 C1601.038,420.1000 1281.077,740.1000 961.116,740.1000 C640.744,740.1000 320.373,420.1000 0.001,420.1000 C0.001,140.1000 0.001,280.000 0.001,0.000 Z'/%3E%3Cpath fill-rule='evenodd' opacity='0.1' fill='rgb(49, 80, 30)' d='M1920.000,679.008 C1849.689,714.086 1770.385,733.823 1686.469,733.823 C1397.177,733.823 1162.660,499.306 1162.660,210.014 C1162.660,135.327 1178.292,64.292 1206.461,-0.000 L1920.000,-0.000 L1920.000,679.008 Z'/%3E%3C/svg%3E") center top / 100% auto no-repeat;
}

@media (min-width: 1200px) {
    body:not(.index) header {
        background-position-y: -270px;
    }
}

#headerpic {
    margin-top: -12px;
}

/* header text */

#header-text {
    padding-top: clamp(30px, 8vw, 45px);
    padding-bottom: clamp(30px, 8vw, 65px);
}

#header-text :is(b, strong) {
    font-size: clamp(1.125rem, 6vw, 1.5rem);
}

body:not(.index) #header-text p {
    display: none;
}




/* #endregion ----------------------------------- header ---------------------------------------- */

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

#slider {
    height: 100vw;
    max-height: 300px;
    position: relative;
}

body.index #slider {
    max-height: 688px;
}

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

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

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

#slider {
    animation: initBoxShadow 1s forwards;
}

@keyframes initBoxShadow {
    0% {
        box-shadow: 0 0 rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: -30px -30px #dbe7d1;
    }
}

.slider-wrapper {
    position: relative;
    z-index: 1;
    height: auto !important;
}

@media (min-width: 576px) {
    .slider-wrapper {
        margin: 0 30px 30px 30px;
    }
}

@media (min-width: 992px) {
    .slider-wrapper {
        margin-left: 70px;
    }
}

.slider-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 30px;
    left: 30px;
    right: 0;
    bottom: 0;
    border: 2px solid #31511e;
    animation: initBorderRight 1s forwards;
}

@keyframes initBorderRight {
    0% {
        right: 0;
        bottom: 0;
    }

    100% {
        right: -30px;
        bottom: -30px;
    }
}

#slider,
.slider-wrapper::after {
    border-radius: 300px 300px 0 0;
}

.slider-mask {
    display: none;
}

#headerpic .nivo-main-image {
    min-height: 100% !important;
}

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

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

#content-area {
    text-align: left;
    padding: clamp(40px, 6vw, 60px) 0 clamp(40px, 10vw, 90px) 0;
}

/* #region --------------------------------------- news ----------------------------------------- */

#news {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(70px, 10vw, 90px);
    background: url('../img/plant.png') bottom right no-repeat;
}

@media (max-width: 767px) {
    .news-content {
        margin-bottom: 60px;
    }
}

@media (min-width: 992px) {
    .news-content {
        padding-bottom: clamp(40px, 10vw, 90px);
    }
}

#news .tab_link_entries {
    display: grid;
    column-gap: 30px;
    margin-bottom: clamp(20px, 2vw, 32px);
}

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

#news .tab_link_entry {
    position: relative;
    z-index: 1;
    font-weight: 500;
    padding: clamp(20px, 2vw, 28px) 0;
}

#news .tab_link_entry::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    right: -35px;
    bottom: 0;
    left: -35px;
    background: #ffffff;
    box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
    transition: opacity 300ms linear;
    opacity: 0;
}

#news .tab_link_entry:is(:hover, :focus-within) {
    z-index: 2;
}

#news .tab_link_entry:is(:hover, :focus-within)::after {
    opacity: 1;
}

#news .tab_link_title a {
    display: inline-block;
    padding-bottom: 10px;
    line-height: 1.4;
    font-size: 1.25rem;
    color: #31511e;
}

#news .tab_link_title a:not(:hover):not(:focus) {
    text-decoration: none;
}

/* #endregion ------------------------------------ news ----------------------------------------- */

/* #region ------------------------------------ deco words -------------------------------------- */

@media (min-width: 992px) {
    #news::after {
        color: #31511e;
        opacity: 0.1;
        position: absolute;
        z-index: -1;
        line-height: 0;
        font-size: 300px;
        font-weight: 700;
        white-space: nowrap;
        display: block;
    }

    #news::after {
        content: "Yoga";
        top: 165px;
        left: -30px;
    }
}

/* #endregion --------------------------------- deco words -------------------------------------- */

/* #region -------------------------------- service + news banner ------------------------------- */

:is(#service, #news) .banner {
    position: relative;
    z-index: 1;
    min-height: 400px;
    max-height: 800px;
    height: 100%;
}

@media (max-width: 767px) {
    :is(#service, #news) .banner {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #service .banner {
        margin-right: 40px;
    }

    #news .banner {
        margin-left: 40px;
    }
}

:is(#service, #news) .banner::after {
    content: "";
    display: block;
    position: absolute;
}

:is(#service, #news) .banner::after {
    z-index: -1;
    top: 50%;
    border: 2px solid #31511e;
    bottom: -30px;
}

#service .banner::after {
    left: 30px;
    right: -30px;
}

#news .banner::after {
    left: -30px;
    right: 30px;
}

#news .banner,
#news .banner img,
#news .banner::after {
    border-bottom-left-radius: 205px;
}

:is(#service, #news) .banner img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* #endregion ----------------------------- service + news banner ------------------------------- */


/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image),
#news .tab_link_mehr a {
    display: inline-block;
    line-height: 1.2;
    color: #1a1a19;
    font-size: 1rem;
    font-weight: 700;
    background: #859f3d;
    padding: 15px clamp(24px, 3vw, 50px);
    position: relative;
    z-index: 1;
    text-decoration: none;
    overflow: hidden;
    border-radius: 3px;
}

.button-design a:not(.has-image):is(:hover, :focus),
#news .tab_link_mehr a:is(:hover, :focus) {
    background: #dbe7d1;
}

.button-design a:not(.has-image)::after,
#news .tab_link_mehr a::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    width: 0;
    top: 0;
    bottom: 0;
    background: #dbe7d1;
    transition: width 300ms linear;
}

.button-design a:not(.has-image):is(:hover, :focus)::after,
#news .tab_link_mehr a:is(:hover, :focus)::after {
    width: 100%;
}

#header-text.button-design a:not(.has-image) {
    margin-top: clamp(1px, 2vw, 26px);
}

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

#news .tab_link_mehr a {
    font-size: 1rem;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #31511e;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Roboto", serif;
    margin-bottom: 15px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 10px;
}

:is(#header-text, .tab-headline, .offer-headline) :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.875rem, 3vw, 2.625rem);
}

.tab-headline :is(h1, h2, h3, h4, h5, h6) {
    color: #2a401f;
    margin: 0;
}

.tab-headline :is(h1, h2)::after {
    content: "";
    display: block;
    margin: 18px auto clamp(20px, 8vw, 80px) auto;
    height: 2px;
    width: 150px;
    background: #859f3d;
}

:is(#header-text, .offer-headline) :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    color: #2a401f;
    font-weight: 700;
    font-style: normal;
    font-size: inherit;
}

#offer-tab :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 20px;
}

h1,
.h1,
.legacy_h1,
:is(.service-content, .news-content, #offer-tab) :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2.125rem, 6vw, 2.625rem);
}

h1,
.h1,
.legacy_h1 {
    margin-bottom: clamp(15px, 4vw, 38px);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.9375rem, 5.5vw, 2.25rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.75rem, 5vw, 2rem);
}

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.5625rem, 4.5vw, 1.75rem);
}

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

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

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

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

footer {
    color: #1a1a19;
    background: #859f3d;
    font-size: 0.9375rem;
}

footer a,
footer a:is(:hover, :focus) {
    color: #1a1a19;
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
    color: #1a1a19;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    margin: 0;
}

#footer {
    padding: 40px 0 40px 0;
}

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

:is(.footerTab, .socialTab) a {
    text-decoration: underline;
}

.footerTab :is(iframe, .iframe-wrapper-manual-enabling) {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
}

#innerfooter {
    border-left: 1px solid #1a1a19;
}

#innerfooter ul {
    padding: 0;
    line-height: 1.9;
}

@media (min-width: 992px) {
    #innerfooter ul {
        margin-bottom: -10px;
    }
}

#innerfooter a {
    font-size: 1rem;
    color: #1a1a19;
    text-decoration: none;
}

#innerfooter a:hover {
    text-decoration: underline;
}
/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
    gap: 18px;
    text-align: right;
    font-size: 0.8125rem;
    color: #1a1a19;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}