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

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

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

a {
    color: #806a00;
}

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

#content a {
    text-decoration: underline;
}

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

#overflow {
    overflow: hidden;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        top: -58px;
        z-index: 55;
    }
}

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

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

.buttonStyle a:not(.has-image):not([rel]) {
    background-color: #d6e36e;
    color: #0f1008;
    border-radius: 6px;
    padding: 12px 20px;
    display: inline-block;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    font-weight: 500;
    position: relative;
    line-height: 1.2;
}

.buttonStyle a:not(.has-image):not([rel]):is(:hover, :focus) {
    text-decoration: none;
    background-color: #806a00;
    color: #ffffff;
}

nav .buttonStyle a:not(.has-image):not([rel]) {
    background-color: #d6e36e;
    color: #0f1008;
}

.buttonStyle a:not(.has-image):not([rel]):after {
    content: "»";
    position: absolute;
    opacity: 0;
    top: 50%;
    transform: translateY(-55%);
    right: -20px;
    transition: all 300ms linear;
}

.buttonStyle a:not(.has-image):not([rel]):is(:hover, :focus):after {
    opacity: 1;
    right: 6px;
}

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

#topbar {
    padding: 5px 0;
    font-size: 0.875rem;
    border-top: 6px solid #f7f7e8;
    background: #ffffff;
}

@media (min-width: 992px) {
    #topbar {
        font-size: 0.9375rem;
        padding: 35px 0 30px 0;
        position: relative;
        z-index: 102;
    }
}

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

@media (max-width: 767px) {
    #topbar>.row>*+* {
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 991px) {
    body:not(.index) #topbar {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
}

/* phone / location */

.contact {
    column-gap: clamp(15px, 2vw, 40px);
}

@media (max-width: 991px) {
    body:not(.index) .contact {
        display: none !important;
    }
}

#phone-tab,
#location-tab {
    display: block;
    min-height: 42px;
    min-width: 42px;
    background: center / auto 34px no-repeat;
    position: relative;
    width: 50%;
    padding: 0 0 0 50px;
}

@media (min-width: 768px) {

    #phone-tab,
    #location-tab {
        width: unset;
        padding: 0 0 0 60px;
    }
}

:is(#phone-tab, #location-tab)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    z-index: 1;
    background: #d6e36e center / 23px auto no-repeat;
}

@media (min-width: 992px) {
    :is(#phone-tab, #location-tab)::before {
        top: calc(50% - 20px);
    }
}

#phone-tab::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23000000" height="48" viewBox="0 -960 960 960" width="48"><path d="M795-120q-116 0-236.5-56T335-335Q232-438 176-558.5T120-795q0-19 13-32t32-13h140q14 0 24 10t14 25l27 126q2 14-.5 25.5T359-634L259-533q26 44 55 82t64 72q37 38 78 69.5t86 55.5l95-98q10-11 23-15t26-2l119 26q15 4 25 16t10 27v135q0 19-13 32t-32 13Z"/></svg>');
}

:is(#phone-tab, #location-tab) h2 {
    font-size: inherit;
    color: inherit;
    font-weight: 500;
    margin-bottom: 0;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    body:not(.index) .termin {
        display: none;
    }

    body.index nav.horizontally {
        padding-top: 15px;
        padding-bottom: 15px;
        background: rgba(215, 215, 92, 0.2);
    }

    nav.horizontally {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 8px;
        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: #806a00;
        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(-5px, -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: 25px;
        right: 15px;
        z-index: 101;
        transition: top 300ms linear;
    }

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

    .dropdown-toggle-button-wrapper {
        top: 10px;
        right: 0;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        background-color: rgba(255, 255, 255, 0.98);
    }

    .is-sticky nav.horizontally {
        border-top: none;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    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, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>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.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav li:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #4c4c4c;
    font-weight: 500;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    hyphens: auto;
}

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 6px 0;
        font-size: 1.125rem;
    }

    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 15px;
    }
}

/* 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: #806a00;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

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

@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: #806a00;
}

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

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

.index header {
    overflow: hidden;
}

@media (min-width: 992px) {
    .index header {
        padding-bottom: clamp(40px, 7vw, 100px);
    }

    #headerElement>.row::after {
        content: "";
        background: #f7f7e8;
        display: inline-block;
        position: absolute;
        top: 100px;
        bottom: calc(clamp(40px, 7vw, 100px) * -1);
        left: 115px;
        right: -85px;
        pointer-events: none;
        z-index: -1;
        border-radius: clamp(40px, 7vw, 100px) 0 clamp(40px, 7vw, 100px) 0;
    }
}

#headerElement {
    padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 7vw, 100px) 0;
    position: relative;
    z-index: 12;
}

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

@media (min-width: 991px) {
    #headerElement .buttonStyle {
        margin-top: 185px;
    }
}

#bgSlider {
    background: #ffffff;
    overflow: hidden;
    box-shadow: 40px 40px 30px rgba(0, 0, 0, 0.1);
    border-radius: clamp(40px, 7vw, 100px) 0 clamp(40px, 7vw, 100px) 0;
}

/* openings */

#openings {
    line-height: 1.4;
    font-size: 0.9375rem;
    padding: 30px;
}

#openings .tabHeadline {
    margin-bottom: 22px;
}

/* banner */

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

@media (min-width: 576px) {
    #slider {
        height: 100%;
        min-height: 350px;
    }

    #headerpic {
        width: calc(100% - 200px);
    }

    #openings {
        width: 200px;
        flex-shrink: 0;
    }
}

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

.slider-wrapper,
.nivo-main-image,
#slider>a>div {
    height: 100% !important;
}

.slider-mask {
    display: none
}

/* banner arrows */

#headerpic .nivo-directionNav a {
    background: #ffffff;
    font-size: 0;
    width: 40px;
    height: 40px;
    text-indent: unset;
    top: unset;
    bottom: 0;
    left: 0;
}

#headerpic .nivo-directionNav a:is(:hover, :focus) {
    background: #d6d75c;
}

#headerpic a.nivo-prevNav {
    bottom: 50px;
}

#headerpic a:is(.nivo-prevNav, .nivo-nextNav)::after {
    content: "\203A";
    position: absolute;
    left: 35%;
    color: #806a00;
    z-index: 15;
    font-size: 45px;
    text-indent: initial;
    line-height: 0;
    top: 40%;
}

#headerpic a.nivo-prevNav::after {
    transform: scaleX(-1);
}

/* banner dots */

#headerpic .nivo-controlNav {
    right: 15px;
    width: auto;
    bottom: 10px;
}

#headerpic .nivo-controlNav li {
    width: auto;
}

#headerpic .nivo-controlNav button:not(#nivo-crtlbtn) {
    background: rgba(0, 0, 0, 0.35) !important;
    border-radius: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    color: #000;
    padding: 0;
    margin: 0 6px;
    transition: border-color 300ms linear, background 300ms linear;
}

#headerElement #headerpic .nivo-controlNav button:is(:hover, :focus),
#headerElement #headerpic .nivo-controlNav .slick-active button {
    background-color: #d6e36e !important;
}

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

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

#content {
    text-align: left;
    padding-top: 40px;
    padding-bottom: clamp(40px, 7vw, 100px);
}

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.6875rem, 3.5vw, 2.1875rem);
}

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: 1.5625rem;
}

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

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

:is(#openings, #tabs .tab, footer) .tabHeadline {
    font-size: 1.25rem;
}

.specialHeadline :is(h1, h2, h3) {
    font-size: clamp(2.1rem, 4vw, 3.125rem);
}

.specialHeadline :is(h1, h2, h3) :is(i, em) {
    font-size: 1rem;
    color: #010101;
    font-weight: 500;
    background-color: #d6e36e;
    border-radius: 20px;
    padding: 9px 20px;
    display: block;
    width: max-content;
    max-width: 100%;
    margin-bottom: 10px;
    font-style: normal;
}

.xs-text-center .specialHeadline :is(h1, h2, h3) :is(i, em) {
    margin-left: auto;
    margin-right: auto;
}

#headerElement .specialHeadline h2,
#news .tab1 .tabHeadline {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

:is(#leistung, #footerTop) .specialHeadline {
    margin-bottom: 30px;
}

#tabs>.row+.row {
    margin-top: 30px;
}

/* #region --------------------------------------- tabs ----------------------------------------- */

#tabs {
    padding-top: clamp(40px, 7vw, 90px);
    background: #fff center / cover fixed no-repeat;
    box-shadow: inset 0 0 0 100vw rgba(255, 255, 255, 0.9);
}

@media (min-width: 992px) {
    #tabs {
        margin-bottom: clamp(40px, 6vw, 80px);
    }

    #tabs>.row+.row>.tab:last-child {
        border-bottom-right-radius: clamp(40px, 4vw, 60px);
    }
}

@media (min-width: 1200px) {
    #tabs>.row+.row {
        max-width: 1170px;
        width: 100%;
    }
}

#tabs>.row+.row>.tab:first-child {
    border-top-left-radius: clamp(40px, 4vw, 60px);
}


#tabs :is(.specialHeadline, .tab) :is(h1, h2, h3, h4, h5, h6, a) {
    color: #806a00;
}

#tabs a {
    text-decoration: underline;
}

/* tab */

#tabs .tab {
    padding: 40px 30px 30px 30px;
    font-size: 1rem;
    background-color: #f0f0e0;
    color: #4d4d4d;
}

@media (min-width: 992px) {
    #tabs .tab {
        margin-bottom: calc(clamp(40px, 6vw, 80px) * -1);
    }
}

#tabs .firsttab {
    background: #f0f0e0;
}

#tabs .secondtab {
    background: #f7f7e8;
}

#tabs .thirdtab {
    background: #f0f0e0;
}

#tabs .tabHeadline::before {
    content: "";
    background: #d6e36e center no-repeat;
    width: 70px;
    height: 70px;
    display: block;
    pointer-events: none;
    margin: 0 auto 22px auto;
    border-radius: 50%;
}

#tabs .firsttab .tabHeadline::before {
    background-image: url(../img/icon-behandlung.png);
}

#tabs .secondtab .tabHeadline::before {
    background-image: url(../img/icon-gesundheit.png);
}

#tabs .thirdtab .tabHeadline::before {
    background-image: url(../img/icon-psychotherapie.png);
}

/* #endregion ------------------------------------ tabs ----------------------------------------- */


/* #region ------------------------------------- feedback --------------------------------------- */

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

#feedback>* {
    position: relative;
    z-index: 2;
}

#feedback .tab {
    font-size: 1rem;
    padding: 25px clamp(30px, 3vw, 40px) clamp(30px, 3vw, 40px) clamp(30px, 3vw, 40px);
    background: #fff;
    height: 100%;
    min-height: 100%;
}

#feedback .tab hr {
    margin: 22px 0 clamp(22px, 3vw, 40px) 0;
    background: #cccccc;
    opacity: 0.2;
}

/* #endregion ---------------------------------- feedback --------------------------------------- */



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

footer :is(.specialHeadline, .tab):not(.firsttab),
footer :is(.iframeTab, .iframeTab a) {
    color: #4d4d4d;
}

footer :is(.specialHeadline, .tab):not(.firsttab) :is(h1, h2, h3, h4, h5, h6, a) {
    color: #806a00
}

footer :is(.specialHeadline, .tab).firsttab :is(h1, h2, h3, h4, h5, h6, a) {
    color: #0f1008;
}

footer a {
    text-decoration: underline;
}

#footerTop {
    background: #fff center / cover fixed no-repeat;
    font-size: 1rem;
    padding: clamp(40px, 7vw, 100px) 0;
    box-shadow: inset 0 0 0 100vw rgba(255, 255, 255, 0.9);
}


/* Footer Tabs */

footer .tabArea>.row>.tab:first-child {
    border-top-left-radius: clamp(40px, 4vw, 60px);
}

@media (min-width: 992px) {
    footer .tabArea>.row {
        margin-left: 0;
    }
}

footer .tab {
    padding: 40px 30px 30px 30px;
    background: #f0f0e0;
}

footer .firsttab a {
    color: inherit;
}

footer .firsttab {
    background: #d6e36e;
    color: #4d4d4d;
}

footer .secondtab {
    background: #f7f7e8;
}

footer .thirdtab {
    background: #f7f7e8;
}

footer .tabHeadline::before {
    content: "";
    background: #d6e36e center no-repeat;
    background-image: none;
    width: 70px;
    height: 70px;
    display: block;
    pointer-events: none;
    margin: 0 auto 22px auto;
    border-radius: 50%;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

footer .firsttab .tabHeadline::before {
    background: #ebf1b7;
    background-image: url('../img/icon-blatt.png');
}

footer .secondtab .tabHeadline::before {
    background-image:url('../img/icon-standort.png');
}

footer .thirdtab .tabHeadline::before {
    background-image:url('../img/icon-telefon.png');
}

footer .fourthtab .tabHeadline::before {
    background-image: url('../img/icon-mail.png');
}

/* GoogleMaps */

footer .iframeTab {
    min-height: 250px;
}

@media (max-width: 991px) {
    footer .iframeTab {
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

footer .iframeTab :is(.row, .row>*) {
    position: static !important;
}

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

@media (min-width: 992px) {
    footer :is(.iframe-wrapper-manual-enabling, iframe) {
        position: absolute;
        top: 0;
        right: 15px;
        bottom: 0;
        left: 0;
        height: 100% !important;
        width: calc(100% - 15px) !important;
        min-width: calc(100% - 15px) !important;
    }
}

/* innerfooter */

@media (min-width: 576px) and (max-width: 991px) {
    .footerMenu>* {
        max-width: 50%;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .footerMenu {
        padding-left: 40px;
    }
}

#innerfooter ul {
    padding: 0;
    margin-bottom: clamp(20px, 3vw, 40px);
}

#innerfooter a {
    color: #4d4d4d;
    display: inline-block;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    text-decoration: none;
}

#innerfooter a:is(:hover, :focus) {
    color: #806a00
}


#innerfooter a::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    background-color: #806a00;
    height: 1px;
    bottom: 2px;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

#innerfooter a:is(:hover, :focus)::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

/* vernetzt */

#vernetzt {
    color: #4d4d4d;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span {
    display: block;
}

#vernetzt img {
    margin-bottom: 8px;
}

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

#scrollTop {
    background: #806a00;
    padding: 17px 0;
}

#scrollTop a {
    color: #ffffff;
    position: relative;
    padding-left: 32px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

#scrollTop a::before {
    content: "";
    position: absolute;
    width: calc(100% - 4px);
    left: 5px;
    background-color: #ffffff;
    height: 1px;
    bottom: -7px;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

#scrollTop a:is(:hover, :focus)::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

#scrollTop a::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 23px;
    width: 23px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" height="48" viewBox="0 -960 960 960" width="48"><path d="M450-160v-526L202-438l-42-42 320-320 320 320-42 42-248-248v526h-60Z"/></svg>') center / 24px auto no-repeat;
}


/* --------------------------------------------- DEKO -------------------------------------------- */
#footerTop > .row,
#lesitung > .row,
#tabs > .row:last-child {
    position: relative;
}

#footerTop > .row::before {
    content: '';
    display: block;
    position: absolute;
    top: -190px;
    left: -260px;
    width: 213px;
    height: 334px;
    background: url('../img/blaetter.png') no-repeat;
}

#leistung > .row::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -170px;
    right: -350px;
    width: 369px;
    height: 365px;
    background: url('../img/blaetter-mit-oelen.png') no-repeat;
}

#tabs > .row:last-child::before {
    content: '';
    display: block;
    position: absolute;
    top: 40px;
    left: -120px;
    width: 173px;
    height: 194px;
    background: url('../img/blaetter-leistungen.png') no-repeat;
}