@import url("https://fonts.verwaltungsportal.de/css/?family=font-family:Lexend:300,400,500,600,700,300i,400i,500i,600i,700i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Comic+Neue:700");

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

@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
}

a {
    color: #b23031;
}

#content a {
    font-weight: 500;
    text-decoration: underline;
}

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

b,
strong {
    font-weight: 700;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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


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

#mobileButton {
    background: rgba(255, 255, 255, 0.2);
}

#mobileButton>.row>div.col-xs-12 {
    padding-right: 90px;
}

#mobileButton {
    padding: 10px 0;
}

#topbar {
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 0.875rem;
    border-top: 6px solid #f7e518;
}

@media (min-width: 992px) {
    #topbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

#phone-tab,
#location-tab {
    padding-top: 42px;
    display: block;
    min-height: 42px;
    min-width: 42px;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: auto 34px;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.4;
    font-weight: 300;
    color: #4c4c4c;
}

@media (max-width: 991px) {

    #phone-tab,
    #location-tab {
        width: 100%;
    }
}

@media (min-width: 768px) {

    #phone-tab,
    #location-tab {
        padding-top: 0;
        padding-left: 60px;
        background-position: center left;
    }
}

#phone-tab::before,
#location-tab::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 7px;
    height: 39px;
    width: 39px;
    border-radius: 50%;
    background-color: #fef6ed;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: 23px auto;
    background-position: center;
}

#phone-tab::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%233e6737" 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>');
}

#location-tab::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%233e6737" height="48" viewBox="0 -960 960 960" width="48"><path d="M480.089-490Q509-490 529.5-510.589q20.5-20.588 20.5-49.5Q550-589 529.411-609.5q-20.588-20.5-49.5-20.5Q451-630 430.5-609.411q-20.5 20.588-20.5 49.5Q410-531 430.589-510.5q20.588 20.5 49.5 20.5ZM480-80Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Z"/></svg>');
}

#location-tab {
    margin-left: clamp(20px, 4vw, 40px);
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 50px;
        padding: 6px 8px;
        cursor: pointer;
        background: #fff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        border-radius: 15px;
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #3e6737;
        border-radius: 2px;
        position: absolute;
        width: 30px;
        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"] #burgerButtonInner2 {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }

    .navbar-nav {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #fff;
        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[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

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

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

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

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

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        transition: background 300ms linear;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        background-color: rgba(255, 255, 255, 0.98);
    }

    nav.horizontally .navbar-nav {
        padding: 20px 0;
        position: relative;
        display: flex;
        justify-content: space-between !important;
        align-items: center !important;
    }

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

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

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

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

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) {
        position: relative;
    }

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

    .navbar-default :is(.open > .dropdown-menu,
        .navbar-nav li[class*="toplevel"]:hover > ul,
        .navbar-nav li[class*="secondlevel"]:hover > ul,
        .navbar-nav li[class*="secondlevel"] > ul[style*="block"]) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:focus-within > ul, 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 :is(li[class*="toplevel"]:hover > ul, li[class*="secondlevel"]:hover > ul) {
        z-index: 1003;
    }

}

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

.navbar-default li[class*="toplevel"]>a {
    color: #4c4c4c;
    font-weight: 500;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1.125rem;
    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 li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        padding: 6px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

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

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

.navbar-default li[class*="toplevel"]:hover>a,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class*="_over"]>a,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus,
.navbar-default li[class*="toplevel"]:focus-within>a {
    color: #3e6737;
}

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

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

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

    .navbar-default :is([class*="toplevel"] > ul, [class*="secondlevel"] > ul) {
        box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.15);
    }
}

@media (min-width: 992px) {
    .navbar-default :is(li[class*="toplevel"] > ul, li[class*="secondlevel"] > ul) {
        padding: 18px 30px;
    }

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

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

    .navbar-default li[class*="toplevel"]>ul::before,
    .navbar-default li[class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

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

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

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

.navbar-default :is(li[class*="secondlevel"]:not(:nth-last-child(2)), li[class*="thirdlevel"]):not(:nth-last-child(2)) {
    border-bottom: 1px solid #cccccc;
}

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

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

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

.navbar-default li[class*="secondlevel"]:hover>a,
.navbar-default li[class*="secondlevel"]>a:hover,
.navbar-default li[class*="secondlevel"]>a:focus,
.navbar-default li[class*="secondlevel"].open>a,
.navbar-default li[class*="secondlevel"].open>a:hover,
.navbar-default li[class*="secondlevel"].open>a:focus,
.navbar-default li[class*="secondlevel"][class*="_over"]>a,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:focus,
.navbar-default li[class*="thirdlevel"]:hover>a,
.navbar-default li[class*="thirdlevel"]>a:hover,
.navbar-default li[class*="thirdlevel"]>a:focus,
.navbar-default li[class*="thirdlevel"].open>a,
.navbar-default li[class*="thirdlevel"].open>a:hover,
.navbar-default li[class*="thirdlevel"].open>a:focus,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:focus,
.navbar-default li[class*="secondlevel"]:focus-within>a,
.navbar-default li[class*="thirdlevel"]:focus-within>a {
    color: #3e6737;
}

/* ------------------------------------------------ socialMedia ----------------------------------------------- */

.socialMedia {
    line-height: 0;
}

.socialMedia p {
    display: inline-block;
}

.socialMedia p+p {
    margin-left: 30px;
}

/* ------------------------------------------------ headerpic ----------------------------------------------- */

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

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

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

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

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

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

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

.slider-mask {
    display: none;
}

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

#tabs {
    padding-bottom: 50px;
    padding-top: clamp(30px, 6vw, 60px);
    position: relative;
    background: #e6e6e6;
}

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

    #tabs::after {
        position: absolute;
        left: 0px;
        right: 0px;
        bottom: 0px;
        height: 640px;
        background: #fff;
        display: block;
        content: "";
        pointer-events: none;
        z-index: 0;
    }

    #tabs>.row {
        max-width: 1170px;
        width: 100%;
        z-index: 12;
    }

    #tabs>.row::before {
        content: "";
        width: 70vw;
        max-width: 1418px;
        height: 24vw;
        max-height: 610px;
        display: inline-block;
        pointer-events: none;
        position: absolute;
        right: -100px;
        bottom: 260px;
        z-index: -1;
        background: transparent;
        border: 6px solid #d9d9d9;
        border-radius: clamp(30px, 7vw, 100px);
    }
}

#tabs .bigTab {
    padding: 30px 45px 30px 0;
}

#tabs .bigTab .tabHeadline {
    font-size: clamp(1.8rem, 3vw, 40px);
    margin-bottom: clamp(20px, 4vw, 30px);
}

#tabs .tab .tabHeadline {
    color: #4c4c4c;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
}

#tabs .tab {
    padding: 40px 40px 25px 40px;
    font-size: 1rem;
    background-color: #a8cc46;
    transition: all, 400ms ease-in-out;
    position: relative;
    min-height: 100%;
    color: #4c4c4c;
    border-radius: 60px;
}

@media (max-width: 1199px) {
    #tabs .tab {
        padding: 20px 20px 40px 20px;
        font-size: 1rem;
    }
}

#tabs .tab a {
    color: #4c4c4c;
    text-decoration: underline;
}

#tabs .tab a::after {
    content: ' \00BB';
}

#tabs .firsttab,
#tabs .tab6 {
    border: 4px solid #a8cc46;
    background: #fff;
}

#tabs .secondtab {
    border: 4px solid #b3d750;
    background: #fff;
}

#tabs .thirdtab,
#tabs .fourthtab {
    border: 4px solid #cae974;
    background: #fff;
}

#tabs .tab5 {
    border: 4px solid #f7e518;
    background: #fff;
}

#tabs>.row>.col-xs-12 {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    #tabs {
        padding: 30px 15px;
    }

    #tabs>.row {
        overflow: hidden;
    }
}

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

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

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

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

#tabs .fourthtab .tabHeadline::before {
    background-image: url('../img/icon-wellness.png');
}

#tabs .tab5 .tabHeadline::before {
    background-image: url('../img/icon-osteopathie-und-heilkunde.png');
    background-color: rgba(255, 255, 5255, 0.25);
}

#tabs .tab6 .tabHeadline::before {
    background-image: url('../img/icon-vortraege.png');
}

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

body:not(.intro) #content {
    text-align: left;
    padding-top: clamp(30px, 6vw, 70px);
    padding-bottom: clamp(30px, 6vw, 100px);
}

/* ------------------------------------------------ Leistungen ----------------------------------------------- */

#leistung {
    position: relative;
    overflow: hidden;
    padding-top: clamp(30px, 4vw, 50px);
    padding-bottom: clamp(5px, 6vw, 115px);
}

#leistung>.row::before {
    content: "";
    width: 29vw;
    max-width: 555px;
    height: 36vw;
    max-height: 690px;
    display: inline-block;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: -80px;
    top: -55px;
    z-index: 0;
    background-color: #e6e6e6;
    border-radius: clamp(30px, 7vw, 100px);
}

@media (min-width: 992px) {
    #leistung>.row::after {
        content: "";
        width: 20vw;
        max-width: 250px;
        height: 21vw;
        max-height: 330px;
        display: inline-block;
        pointer-events: none;
        position: absolute;
        right: 0;
        bottom: 90px;
        z-index: -1;
        background: #fff;
        border: 6px solid #e5e5e5;
        border-radius: clamp(30px, 7vw, 100px);
    }
}

#leistung .tabBoxMini>.row>*:not(:nth-child(1), :nth-child(2), :nth-child(3))+* {
    margin-top: 30px;
}

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

#leistung .tabBox {
    border-radius: 30px;
    transition: all, 300ms;
    background-color: #010101;
    z-index: 12;
    position: relative;
    color: #fff;
    display: block;
    overflow: hidden;
    hyphens: auto;
    line-height: 0;
    max-width: 170px;
    margin-left: auto;
    margin-right: auto;
}

#leistung .tabBox a {
    color: #ffffff;
}

#leistung .tabDescription {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    margin-bottom: 0;
    padding: 8px 40px;
    background: rgba(0, 0, 0, 0.6);
    hyphens: manual;
    font-family: 'Lexend', sans-serif;
}

#leistung .tabBoxBig {
    border-radius: clamp(30px, 7vw, 100px) !important;
    max-width: 970px;
    /* max-height: 530px; */
}

#leistung .tabBoxBig .tabDescription {
    font-size: 1.875rem;
    padding: 20px 75px;
}

#leistung .tabBoxBig img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #2d5426;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Comic Neue", cursive;
}

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

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

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

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

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

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

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

.specialHeadline :is(h4, h5, h6) {
    font-size: 1rem;
    color: #4c4c4c;
    font-weight: 400;
    background-color: #f7e518;
    border-radius: 19px;
    padding: 9px 20px;
    display: inline-block;
    width: auto;
    margin-bottom: 10px;
}

#leistung .specialHeadline {
    margin-bottom: 30px;
}

footer .specialHeadline :is(h1, h2, h3),
#tabs .specialHeadline :is(h1, h2, h3) {
    color: #3e5426;
    margin-bottom: clamp(20px, 4vw, 50px);
}

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

#footerTop {
    background-color: #cae974;
    background-attachment: fixed;
    background-size: cover;
    color: #4c4c4c;
    font-size: 1rem;
    padding-top: clamp(30px, 7vw, 100px);
    padding-bottom: clamp(30px, 7vw, 105px);
}

footer a {
    color: #3e5426;
}

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

@media (max-width: 992px) {
    .footerMenu {
        margin-top: 30px;
    }
}

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

body:not(.intro) #innerfooter ul {
    padding: 0;
}

@media (max-width: 575px) {
    body:not(.intro) #innerfooter ul {
        margin-bottom: 50px;
    }
}

@media (min-width: 992px) {
    body:not(.intro) #innerfooter ul {
        margin-bottom: 50px;
    }
}

body:not(.intro) #innerfooter a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 6px 0px;
    position: relative;
    text-decoration: none;
}

body:not(.intro) #innerfooter a:hover {
    color: #3e5426;
}

body:not(.intro) #innerfooter a::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
}

body:not(.intro) #innerfooter a::before {
    background-color: #f7e518;
    height: 1px;
    bottom: 2px;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

body:not(.intro) #innerfooter a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

body:not(.intro) #innerfooter a:hover span {
    transform: translate3d(-200%, 0, 0);
}

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

body:not(.intro) #vernetzt {
    color: #4c4c4c;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.3;
    text-decoration: none;
}

body:not(.intro) #vernetzt span {
    display: block;
}

body:not(.intro) #vernetzt img {
    margin-bottom: 8px;
}

body:not(.intro) #vernetzt b {
    font-weight: 300;
}

/* --------------------------------------------- Footer Tabs -------------------------------------------- */

footer .tabHeadline {
    color: #3e5426;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
}

footer .firsttab .tabHeadline {
    color: #4c4c4c;
    font-size: 1.5625rem;
}

footer .tab {
    padding: 40px 25px 30px 25px;
    font-size: 1rem;
    color: #4c4c4c;
    position: relative;
    min-height: 100%;
    display: block;
    overflow: hidden;
}

@media (max-width: 1199px) {
    footer .tab {
        padding: 20px 20px 40px 20px;
    }
}

footer .tab a {
    color: #4c4c4c;
    text-decoration: underline;
}

footer .firsttab {
    border: 4px solid #f7e518;
}

footer .secondtab {
    border: 4px solid #cae974;
}

footer .thirdtab {
    border: 4px solid #a8cc46;
}

footer .fourthtab {
    border: 4px solid #b3d750;
}

footer .tabArea>.row {
    margin: 0px;
}

footer .tabArea>.row>div {
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    footer .tabArea .tab {
        border-radius: 60px;
    }
}

footer .tabHeadline::before {
    content: "";
    width: 70px;
    height: 70px;
    display: block;
    pointer-events: none;
    margin: auto;
    margin-bottom: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px auto;
    background-color: #86a13c;
    border-radius: 50%;
}

footer .firsttab .tabHeadline::before {
    background-image: url('../img/logo-footer.png');
    background-size: auto;
    background-color: rgba(255, 255, 255, 0.25);
}

footer .secondtab .tabHeadline::before {
    background-image: 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="M480-170.305q130.174-117.608 192.543-210.739 62.37-93.13 62.37-172.652 0-114.946-73.899-188.081-73.898-73.136-181.034-73.136t-181.014 73.136q-73.879 73.135-73.879 188.081 0 79.522 63.87 172.37Q352.826-288.479 480-170.305Zm-.385 82.175q-11.745 0-23.992-4.065-12.246-4.065-21.275-12.631-45.392-39.13-96.088-89.195-50.695-50.066-93.543-107.913-42.848-57.848-70.848-121.827-28-63.978-28-129.935 0-155.494 100.882-248.247Q347.634-894.696 480-894.696q132.366 0 233.531 92.753 101.165 92.753 101.165 248.247 0 65.957-28.282 129.935-28.283 63.979-71.131 121.827-42.848 57.847-93.543 107.913-50.696 50.065-95.522 89.195-9.671 8.566-22.264 12.63-12.593 4.066-24.339 4.066ZM480-560Zm.089 73.957q31.172 0 52.802-21.437 21.631-21.436 21.631-52.609 0-31.172-21.719-52.802-21.719-21.631-52.892-21.631-31.172 0-52.52 21.719-21.348 21.719-21.348 52.892 0 31.172 21.437 52.52 21.436 21.348 52.609 21.348Z"/></svg>');
}

footer .thirdtab .tabHeadline::before {
    background-image: 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="M796.13-105.869q-119.446 0-242.462-57.13-123.016-57.131-227.995-162.109Q220.695-430.087 163.282-553.39q-57.413-123.303-57.413-242.175 0-25.019 16.894-42.075 16.895-17.056 41.672-17.056h140q23.609 0 38.979 13.674 15.37 13.674 21.065 37.718l26.929 116.597q3.202 21.142-.994 37.446-4.196 16.305-16.946 27.923l-102.033 97.382q23.739 39.478 50.478 74.086 26.739 34.609 60.044 66.348 34.739 36.304 71.499 64.695 36.761 28.392 76.109 49l97.826-99.696q13.957-14.956 31.63-20.087 17.673-5.13 36.588-.869l107.695 24.304q24.044 6.826 37.718 23.392 13.674 16.566 13.674 39.957v138.391q0 25.1-17.096 41.833-17.097 16.733-41.47 16.733ZM231.826-594.783l80.435-78.043-22.435-102.087H186.218q1.434 38.609 11.78 82.249 10.345 43.641 33.828 97.881Zm370.696 365.261q38.174 17.87 83.63 29.304 45.457 11.435 88.761 14v-104.638l-94.522-19.97-77.869 81.304ZM231.826-594.783Zm370.696 365.261Z"/></svg>');
}

footer .fourthtab .tabHeadline::before {
    background-image: 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="M145.087-145.869q-32.507 0-55.862-23.356-23.356-23.355-23.356-55.862v-509.826q0-32.74 23.356-56.262 23.355-23.521 55.862-23.521h669.826q32.74 0 56.262 23.521 23.521 23.522 23.521 56.262v509.826q0 32.507-23.521 55.862-23.522 23.356-56.262 23.356H145.087Zm669.826-521.043L501.708-458.887q-5.645 3.149-10.611 4.931-4.967 1.783-11.097 1.783t-11.097-1.783q-4.966-1.782-10.611-4.931L145.087-666.912v441.825h669.826v-441.825ZM480-516.913l330.913-218H150.087l329.913 218ZM145.087-666.912v8.696-48.081.92-29.536 29.218-1.478 48.957-8.696 441.825-441.825Z"/></svg>');
}


/* --------------------------------------------- GoogleMaps -------------------------------------------- */

.iframeMapsTab,
.iframeMapsTab .template-page,
.iframeMapsTab .row,
.iframeMapsTab .row p {
    height: 100%;
    border-radius: 60px;
}

.iframeMapsTab iframe,
.iframeMapsTab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100%;
    display: block;
    max-height: 100% !important;
    min-height: 100% !important;
    height: 100% !important;
    border-radius: 60px;
}

@media (min-width: 992px) {
    .frameMobileView {
        padding-left: 0;
        margin-left: -15px;
        padding-right: 0;
    }
}

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

#scrollTop {
    background: #cae974;
    padding: 19px 0;
    text-align: center;
}

#scrollTop a {
    color: #3e5426;
    position: relative;
    padding-left: 32px;
    font-size: 1rem;
    font-weight: 500;
}

#scrollTop a:focus,
#scrollTop a:hover {
    color: #3e5426;
    text-decoration: none;
}

#scrollTop a::before {
    content: "";
    position: absolute;
    width: calc(100% - 4px);
    left: 5px;
}

#scrollTop a::before {
    background-color: #3e5426;
    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:focus::before,
#scrollTop a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

#scrollTop a:focus span,
#scrollTop a:hover span {
    transform: translate3d(-200%, 0, 0);
}

#scrollTop a::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 23px;
    width: 23px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%233e5426" 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>');
    background-repeat: no-repeat;
    background-size: 24px auto;
    background-position: center;
}

/* ---------------------------------------------- intro ---------------------------------------------- */

.intro #aboveContent {
    display: none;
}

#logoIntro {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    z-index: 12;
}

#introTabs>.row {
    min-width: 100%;
    width: 100%;
}

#introTabs .introIMG {
    color: #4c4c4c;
    background-color: #174d7b;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 768px) {

    #introTabs>.row>*:first-child,
    #introTabs>.row>*:nth-child(2) {
        border-bottom: 6px solid #ffffff;
    }

    #introTabs>.row>*:nth-child(4),
    #introTabs>.row>*:nth-child(5) {
        border-top: 6px solid #ffffff;
    }

    #introTabs>.row>*:first-child,
    #introTabs>.row>*:nth-child(4) {
        border-right: 6px solid #ffffff;
    }

    #introTabs>.row>*:nth-child(2),
    #introTabs>.row>*:nth-child(5) {
        border-left: 6px solid #ffffff;
    }
}

@media (max-width: 767px) {
    #introTabs>.row>*+* {
        border-top: 12px solid #ffffff;
    }
}

#introTabs .tab {
    position: relative;
    font-size: clamp(2.1rem, 4vw, 3.4375rem);
    font-weight: 400;
    line-height: 1.2;
}

#introTabs .tab a {
    color: #4c4c4c;
    font-family: "Comic Neue", cursive;
    position: relative;
    font-size: 0;
}

#introTabs>.row>div:nth-child(1) .tab a::before {
    content: '';
    display: block;
    position: absolute;
    top: -72px;
    left: 0;
    width: 282px;
    height: 57px;
    background: url('../img/text-osteopathie.png') no-repeat;
}

#introTabs>.row>div:nth-child(2) .tab a::before {
    content: '';
    display: block;
    position: absolute;
    top: -72px;
    right: 0;
    width: 361px;
    height: 57px;
    background: url('../img/text-naturheilpraxis.png') no-repeat;
}

#introTabs>.row>div:nth-child(4) .tab a::before {
    content: '';
    display: block;
    position: absolute;
    top: -72px;
    left: 0;
    width: 346px;
    height: 57px;
    background: url('../img/text-physiotherapie.png') no-repeat;
}

#introTabs>.row>div:nth-child(5) .tab a::before {
    content: '';
    display: block;
    position: absolute;
    top: -72px;
    right: 0;
    width: 137px;
    height: 47px;
    background: url('../img/text-kurse.png') no-repeat;
}

@media (max-width: 767px) {

    #introTabs>.row>div:nth-child(1) .tab a::before,
    #introTabs>.row>div:nth-child(2) .tab a::before,
    #introTabs>.row>div:nth-child(4) .tab a::before,
    #introTabs>.row>div:nth-child(5) .tab a::before {
        right: unset;
        left: 0;
        scale: 60%;
    }

    #introTabs>.row>div:nth-child(1) .tab a::before,
    #introTabs>.row>div:nth-child(2) .tab a::before {
        left: -70px;
    }

    #introTabs>.row>div:nth-child(4) .tab a::before {
        left: -100px;
    }
}

@media (min-width: 768px) and (max-width: 1399px) {
    #introTabs>.row>div:nth-child(1) .tab a::before,
    #introTabs > .row > div:nth-child(4) .tab a::before {
        left: -150px;
    }
    #introTabs > .row > div:nth-child(2) .tab a::before {
        right: -160px;
    }
}

#introTabs>.row>*:first-child .tab {
    margin-left: clamp(4vw, 18vw, 19vw);
    padding-top: 135px;
    padding-bottom: 200px;
    padding-right: 30px;
}

#introTabs>.row>*:nth-child(4) .tab {
    margin-left: clamp(4vw, 18vw, 19vw);
    padding-top: 215px;
    padding-bottom: 110px;
    padding-right: 30px;
}

#introTabs>.row>*:nth-child(2) .tab {
    margin-right: clamp(4vw, 18vw, 19vw);
    padding-top: 135px;
    padding-bottom: 200px;
    padding-left: 30px;
}

#introTabs>.row>*:nth-child(5) .tab {
    margin-right: clamp(4vw, 18vw, 19vw);
    padding-top: 215px;
    padding-bottom: 110px;
    padding-left: 30px;
}

@media (max-width: 767px) {
    #introTabs>.row>*:first-child .tab {
        padding-bottom: 100px; 
    }
    #introTabs > .row > :nth-child(5) .tab {
        padding-top: 151px;
        padding-bottom: 100px;
    }
}

/* ---------------------------------------------- introFooter ---------------------------------------------- */

#introFooter {
    background-color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
}

@media (max-width: 767px) {
    #introFooter #innerfooter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

#introFooter #innerfooter ul {
    padding: 0;
}

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

#introFooter #innerfooter a {
    color: #4c4c4c;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 575px) {

    #introFooter #innerfooter li,
    #introFooter #innerfooter a {
        display: block;
        line-height: 2;
    }
}

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

@media (min-width: 576px) {
    #introFooter #innerfooter li+li::before {
        content: "";
        margin: 0 6px;
    }
}

@media (min-width: 992px) {
    #introFooter #innerfooter li+li::before {
        margin: 0 20px;
    }
}

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

#introFooter #vernetzt {
    text-align: left;
    font-size: 0.875rem;
    color: #4c4c4c;
    line-height: 1.3;
    margin: 0 auto;
    text-decoration: none;
    font-weight: 300;
}

@media (min-width: 768px) {
    #introFooter #vernetzt {
        margin: 0;
    }
}

#introFooter #vernetzt span {
    color: #4c4c4c;
}

#introFooter #vernetzt b {
    font-weight: 300;
}

#introFooter #vernetzt span span {
    display: block;
}

#introFooter #vernetzt img {
    margin-right: 12px;
}