@import url('https://fonts.verwaltungsportal.de/import/?family=Hanken+Grotesk:400,400i,600,600i%7CExo:400,400i,700,700i');

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

body {
    font-family: "Hanken Grotesk", sans-serif;
    font-weight: 400;
    color: #404040;
    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,
a:is(:hover, :focus) {
    color: #2575bb;
}

a:is(:hover, :focus),
:is(#topbar, main, #quote, #footer .template-page) a {
    text-decoration: underline;
}

:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}

b,
strong,
:is(#topbar, main, #quote, #footer .template-page) a {
    font-weight: 600;
}

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

hr {
    opacity: 1;
    border-color: #a7cf56;
    margin: clamp(20px, 4vw, 40px) 0 clamp(20px, 4vw, 36px) 0;
}

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

#logo {
    display: inline-block;
}

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

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

#topbar {
    font-size: 0.875rem;
}

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

    .contactCol {
        padding-top: 35px;
    }
}

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

#topbar :is(b, strong, a) {
    font-size: 1rem;
}

/* contact col */

#phone-tab,
#phone-tab2 {
    padding-top: 0;
        padding-left: 48px;
    display: block;
    min-height: 42px;
    min-width: 42px;
    background-position: center left;
    background-repeat: no-repeat;
    background-size: auto 34px;
    color: #fff;
}


#phone-tab,
#phone-tab2 {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%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.225ZM29.5 36.45q2.05 1 4.475 1.55t4.425.65q.15 0 .225-.075.075-.075.075-.225v-4.9q0-.15-.075-.25t-.225-.15l-4.55-.9q-.1-.05-.2 0l-.2.1ZM11.75 19.1ZM29.5 36.45Z' fill='%23a7cf56'/%3E%3C/svg%3E");
}

/* -------------------------------------------- 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: #000000;
        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: #000000;
        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: 8px;
        right: 0;
    }

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

/* menu desktop */

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

    .is-sticky nav.horizontally {
        left: auto !important;
        background: #000000;
    }

    nav.horizontally .navbar-nav {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding: 20px 0;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .is-sticky nav.horizontally .navbar-nav {
        border-top-color: transparent;
    }

    nav.horizontally li[class*="toplevel"] {
        flex-grow: 1;
    }

    nav.horizontally [class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

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

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

    nav.horizontally .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

@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 a[class*="toplevel"] {
        padding: 6px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

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

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
    height: 5px;
    width: 0;
    background: #a7cf56;
    transform: translateX(-50%);
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"]::after {
        top: -23px;
        bottom: auto;
    }
}

/* toplevel-over */

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
}

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

@media(min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding: 18px 30px;
    }

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 20px;
    }

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

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

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

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

/* secondlevel + thirdlevel */

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #404040;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    padding: 11px 0;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

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

/* 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) {
    color: #0666b1;
}

/* --------------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
    row-gap: 25px;
}

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

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

#headerpic {
    background: #000000;
    position: relative;
    min-height: 450px;
}

#headerpic>*:not(.slider-wrapper):not(.sticky-wrapper):not(nav.horizontally) {
    position: relative;
    z-index: 10;
}

/* header text */

#header-text {
    font-weight: 600;
    font-size: clamp(1.25rem, 2vw, 1.875rem);
    padding: clamp(60px, 12vw, 173px) 0 clamp(80px, 20vw, 260px) 0;
}

.theme-default .nivo-controlNav a,
#header-text,
#header-text :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* banner */

#slider {
    position: relative;
    height: 100%;
}

@media (min-width: 768px) {
    body.index #headerpic .nivo-controlNav {
        bottom: clamp(50px, 8vw, 110px);
    }
}

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

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

@media (max-width: 1199px) {
    #headerpic a:is(.nivo-prevNav, .nivo-nextNav) {
        top: auto;
        bottom: 8px;
        z-index: 51;
    }
}

.slider-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.slider-mask {
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

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

/* ----------------------------------------------- tabs ----------------------------------------- */

#tabs {
    position: relative;
    z-index: 30;
    background: #f1f1f1;
    padding-bottom: clamp(40px, 6vw, 80px);
}

@media (max-width: 767px) {
    #tabs {
        padding-top: clamp(40px, 6vw, 80px);
    }
}

#tabs-bg {
    font-size: 1rem;
    background: #ffffff;
}

@media (min-width: 768px) {
    #tabs-bg {
        margin-top: clamp(-100px, -8vw, -40px);
    }
}

@media (min-width: 992px) {
    #tabs-bg::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        right: -5px;
        bottom: -20px;
        width: 100px;
        height: 100px;
        background: #a7cf56;
    }
}

#tabs-bg>.row {
    margin: 0;
}

#tabs-bg .tab {
    max-width: 100%;
    flex-grow: 1;
    position: relative;
    padding: 80px clamp(15px, 4vw, 30px) 36px clamp(15px, 4vw, 30px);
}

#tabs-bg .tab::after,
#tabs-bg .tab::before {
    content: "";
    display: block;
    position: absolute;
}

#tabs-bg .tab::after {
    left: clamp(15px, 4vw, 30px);
    top: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

#tabs-bg .tab-1::after {
    height: 23px;
    width: 26px;
    background-image: url('../img/icon-haus.png');
}

#tabs-bg .tab-2::after {
    height: 25px;
    width: 34px;
    background-image: url('../img/icon-reinigung.png');
}

#tabs-bg .tab-3::after {
    height: 27px;
    width: 29px;
    background-image: url('../img/icon-garten.png');
}

#tabs-bg .tab-4::after {
    height: 24px;
    width: 25px;
    background-image: url('../img/icon-miethaus.png');
}

#tabs-bg .tab:not(.tab-1)+.tab::before {
    left: clamp(15px, 4vw, 30px);
    right: clamp(15px, 4vw, 30px);
    top: 0;
    height: 1px;
    background: #9db5e0;
}

@media (min-width: 576px) and (max-width: 911px) {
    #tabs-bg .tab:not(.tab-1)+.tab:nth-child(3):before {
        display: none;
    }
}

@media (min-width: 992px) {
    #tabs-bg .tab:not(.tab-1)+.tab::before {
        left: 0;
        right: unset;
        top: 80px;
        height: unset;
        bottom: 90px;
        width: 1px;
    }
}

#tabs-bg .tab-1 {
    background: #0666b1;
}

#tabs-bg .tab-1,
#tabs-bg .tab-1 :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

#tabs-bg .tab:not(.tab-1) :is(h1, h2, h3, h4, h5, h6) {
    color: #262626;
}

#tabs-bg a {
    padding-right: 30px;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%230666b1'/%3E%3C/svg%3E") center right / 26px auto no-repeat;
}

#tabs-bg .tab-1 a {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23fff'/%3E%3C/svg%3E");
}

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

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

/* ---------------------------------------------- service --------------------------------------- */

#service {
    z-index: 1;
    position: relative;
}

@media (min-width: 992px) {
    #service .image-col {
        position: relative;
        z-index: 1;
        transform: translateY(clamp(40px, 8vw, 80px));
    }

    #service .image-col::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: 0;
        right: 15px;
        bottom: 0;
        left: clamp(-465px, -24vw, -15px);
    }
}

#service .image-col::after {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#service .background-tab {
    background: url('../img/werkzeug.png') top right no-repeat, #f1f1f1;
    padding: clamp(40px, 8vw, 67px) clamp(15px, 4vw, 30px) clamp(40px, 8vw, 75px) clamp(15px, 4vw, 30px);
}

@media (min-width: 992px) {
    #service .background-tab {
        padding-left: 160px;
        padding-right: clamp(15px, 24vw, 390px);
        margin-right: clamp(-390px, -24vw, -15px);
        margin-left: -15px;
    }
}

#service :is(h1, h2, h3, h4, h5, h6, .tab) {
    color: #262626;
}

#service .background-tab hr {
    border-color: #a7cf56;
}

#service .background-tab img {
    margin-bottom: 8px;
}

#service .background-tab .btgrid {
    font-size: 1rem;
}

#service .background-tab .btgrid :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
}

#service .tab {
    font-size: 1rem;
    padding: 40px clamp(15px, 4vw, 30px);
    background: #a7cf56;
}

#service .tab a {
    color: #262626;
}

@media (min-width: 992px) {
    #service .tab {
        margin-right: -115px;
    }

    #service .image-col::after {
        right: -100px;
    }
}

/* ----------------------------------------------- about ---------------------------------------- */

#about {
    padding-top: clamp(40px, 10vw, 150px);
    padding-bottom: clamp(40px, 10vw, 105px);
}

#about > .row > div {
    margin-bottom: 15px;
}

#about :is(h1, h2, h3, h4, h5, h6) {
    color: #262626;
}

#about .tab2 {
    font-size: 1rem;
}

#about .tab2 :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
}

#about img {
    margin-bottom: 20px;
}

#about a:not(.has-image) {
    margin-top: 12px;
    display: inline-block;
}

#about .tab2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    display: inline-block;
    line-height: 1.2;
    color: #0666b1 !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 58px 5px 0;
    position: relative;
    text-decoration: none !important;
    text-shadow: none !important;
}

#about .tab2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    top: 1px;
    right: 16px;
    width: 26px;
    transition: 300ms background linear;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%230666b1'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

#about .tab2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus)::after {
    background-position-x: left 26px;
}

#about .tab2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
    text-decoration: underline !important;
}

/* ----------------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    display: inline-block;
    line-height: 1.2;
    color: #262626 !important;
    font-size: 1rem;
    font-weight: 600;
    background: #a7cf56;
    padding: 12px 58px 11px 20px;
    position: relative;
    text-decoration: none !important;
    text-shadow: none !important;
}

#header-text.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-top: clamp(20px, 2vw, 25px);
    margin-right: 20px;
}

#service .tab.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-top: 10px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    top: 1px;
    right: 16px;
    width: 26px;
    transition: 300ms background linear;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23262626'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus)::after {
    background-position-x: left 26px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
    background: #ffffff;
}

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

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

:is(#header-text, #service .background-tab, #quote) :is(h1, h2, h3, h4, h5, h6),
#about :is(h2, h3) {
    font-weight: 700;
}

:is(#service .background-tab, #about) :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    font-weight: 400;
    color: #0666b1;
    font-size: 1.25rem;
    font-style: normal;
}

:is(#headerpic, #quote) :is(h1, h2, h3, h4, h5, h6),
#about :is(h3, h4, h5, h6) {
    margin-bottom: 0;
}

:is(#tabs-bg, #footer, #service .image-col) :is(h1, h2, h3, h4, h5, h6),
:is(#service .background-tab, #about) :is(h3, h4, h5, h6) {
    font-size: 1.25rem;
    font-weight: 700;
}

:is(#tabs-bg, #footer, #service .image-col):is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 12px;
}

#service .background-tab :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 7px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2rem, 6vw, 2.5rem);
}

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

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

#quote :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.75rem, 5.5vw, 2.0625rem);
}

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

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

h4,
.h4,
.legacy_h4 {
    font-size: 1.625rem;
}

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

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

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

#quote {
    background-color: #000000;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: clamp(60px, 10vw, 93px) 0;
}

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

footer {
    font-size: 1rem;
}

#footer {
    padding: clamp(40px, 8vw, 86px) 0;
    background: #0666b1;
}

@media (min-width: 992px) {
    #footer>.row>*+*:not(:last-child) {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    #footer>.row>*:nth-child(1) {
        padding-right: 60px;
    }

    #footer>.row>*:nth-child(2) {
        padding-left: 60px;
    }
}

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

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

#map-tab {
    z-index: 1;
    position: relative;
}

#map-tab .banner {
    line-height: 0;
}

@media (min-width: 992px) {
    #map-tab .banner {
        position: absolute;
        min-width: 760px;
        min-height: 605px;
        bottom: calc(clamp(-164px, -15vw, -40px) - 20px);
    }

    #map-tab .banner::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        left: -20px;
        top: -20px;
        width: 100px;
        height: 100px;
        background: #a7cf56;
    }
}

#innerfooter {
    font-size: 0.9375rem;
    padding: 35px 0;
}

#innerfooter ul {
    padding: 0;
}

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 clamp(15px, 2vw, 22px);
    }

    #innerfooter li {
        display: inline-block;
    }
}

#innerfooter li a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 575px) {
    #innerfooter li a {
        padding: 4px;
        display: inline-block;
    }
}

#innerfooter li a:is(:hover, :focus) {
    color: #125be1;
}

/* vernetzt */

#vernetzt-helper {
    margin-top: 20px;
}

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

.contrast_dark_font #tabs-bg .tab-1::after,
.contrast_light_font .dropdown-toggle-button,
.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner {
    background-color: #000 !important;
}

.contrast_dark_font #quote {
    background: #ffffff !important;
}

.contrast_dark_font #header-text>*,
.contrast_dark_font #topbar,
.contrast_light_font #about .tab2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]),
.contrast_light_font #service .background-tab .btgrid img,
.contrast_light_font #tabs-bg .tab:not(.tab-1)::after,
.contrast_light_font .button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]),
.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
    background-color: #fff !important;
}

.contrast_dark_font .button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    border: 1px solid #000;
}