.header-active {
    overflow: hidden;
}

header section {
    z-index: 9;
}

.page-template-default .site-main {
    margin-top: -110px;
}

h2,
h2.elementor-heading-title {
    background-image: -webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor));
    background-image: -o-linear-gradient(currentColor, currentColor);
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 60px 4px;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

h4,
h4.elementor-heading-title,
.elementor-tab-content h4 {
    margin-top: 50px;
}


h4:first-child,
h4.elementor-heading-title:first-child,
.elementor-tab-content h4:first-child {
    margin-top: 0;
}

@media screen and (max-width: 768px) {

    h2,
    h2.elementor-heading-title {
        margin-bottom: 20px;
    }
}

h1,
h1.elementor-heading-title {
    margin-bottom: 25px;
}

.elementor-widget-text-editor a,
.menu-contact a,
label a,
.swtb-cookie-banner-inner a {
    background-image: -webkit-gradient(linear, left top, left bottom, from(var(--e-global-color-secondary)), to(var(--e-global-color-secondary)));
    background-image: -o-linear-gradient(var(--e-global-color-secondary), var(--e-global-color-secondary));
    background-image: linear-gradient(var(--e-global-color-secondary), var(--e-global-color-secondary));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 100% 8px;
    -webkit-transition: background-size .3s;
    -o-transition: background-size .3s;
    transition: background-size .3s;
}

.elementor-widget-text-editor a:hover,
.menu-contact a:hover,
label a:hover,
.swtb-cookie-banner-inner a:hover {
    background-size: 100% 100%;
}

.text-right {
    text-align: right;
}

.text-right h2 {
    background-position: 100% 100%;
}

.text-center {
    text-align: center;
}

.text-center h2 {
    background-position: 50% 100%;
}

main div {
    /*hyphens: auto;*/
}

p:last-child {
    margin-bottom: 0;
}

.elementor-widget-text-editor ul,
.elementor-widget-toggle ul {
    padding-left: 0;
}

.elementor-widget-text-editor li,
.elementor-widget-toggle li {
    list-style: none;
    padding-left: 40px;
    margin-bottom: 1em;
    background-image: -webkit-gradient(linear, left top, left bottom, from(var(--e-global-color-secondary)), to(var(--e-global-color-secondary)));
    background-image: -o-linear-gradient(var(--e-global-color-secondary), var(--e-global-color-secondary));
    background-image: linear-gradient(var(--e-global-color-secondary), var(--e-global-color-secondary));
    background-position: 0% 12px;
    background-repeat: no-repeat;
    background-size: 30px 3px;
}

/* HEADER */
header .elementor-widget-theme-site-logo {
    z-index: 999;
    position: relative;
}

/* BURGER MENU */
.burger-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    z-index: 999;
}

.menu-icon {
    -webkit-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}

.menu-icon {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.menu-icon .menu-icon__cheeckbox {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    z-index: 2;
    -webkit-touch-callout: none;
    position: absolute;
    opacity: 0;
}

.menu-icon div {
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 14px;
}

.menu-icon span {
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--e-global-color-secondary);
    border-radius: 1px;
    -webkit-transition: all 0.2s cubic-bezier(0.1, 0.82, 0.76, 0.965);
    -o-transition: all 0.2s cubic-bezier(0.1, 0.82, 0.76, 0.965);
    transition: all 0.2s cubic-bezier(0.1, 0.82, 0.76, 0.965);
}

.menu-icon span:first-of-type {
    top: 0;
}

.menu-icon span:last-of-type {
    bottom: 0;
}

.menu-icon.active span:first-of-type,
.menu-icon .menu-icon__cheeckbox:checked+div span:first-of-type {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 5px;
}

.menu-icon.active span:last-of-type,
.menu-icon .menu-icon__cheeckbox:checked+div span:last-of-type {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 5px;
}

.menu-icon.active:hover span:first-of-type,
.menu-icon.active:hover span:last-of-type,
.menu-icon:hover .menu-icon__cheeckbox:checked+div span:first-of-type,
.menu-icon:hover .menu-icon__cheeckbox:checked+div span:last-of-type {
    width: 22px;
}

@media (min-width: 1024px) {
    .menu-icon:hover span:first-of-type {
        width: 26px;
    }

    .menu-icon:hover span:last-of-type {
        width: 12px;
    }
}

/* MAIN MENU */
.le-main-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 40vw;
    right: -100vw;
    -webkit-transition: right .5s;
    -o-transition: right .5s;
    transition: right .5s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    background-color: #fff;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 5em;
    min-width: 500px;
    max-height: 100vh;
    pointer-events: none;
}

.le-menu-overlay {
    position: fixed;
    top: 0;
    right: 100vw;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
    opacity: 0;
    -webkit-transition: opacity .5s, right .5s;
    -o-transition: opacity .5s, right .5s;
    transition: opacity .5s, right .5s;
}

.menu-item {
    margin-left: -3em;
    margin-right: 2em;
    -webkit-transition: margin-left 1s, margin-right 1s, opacity 1s;
    -o-transition: margin-left 1s, margin-right 1s, opacity 1s;
    transition: margin-left 1s, margin-right 1s, opacity 1s;
    font-size: 25px;
    opacity: 0;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 1em;
}

.le-menu.active .le-main-menu {
    pointer-events: initial;
    right: 0;
}

.le-menu.active .le-menu-overlay {
    opacity: 1;
    right: 0;
}

.le-menu.active .menu-item {
    margin-left: 0;
    margin-right: 0;
    opacity: 1;
}

.le-menu.active .sub-menu .menu-item {
    margin-left: 2em;
}

.menu-main-menu-container {
    width: 100%;
    max-width: 1140px;
    padding: 1em;
}

.menu,
.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.menu-item>a {
    background-image: -webkit-gradient(linear, left top, left bottom, from(var(--e-global-color-secondary)), to(var(--e-global-color-secondary)));
    background-image: -o-linear-gradient(var(--e-global-color-secondary), var(--e-global-color-secondary));
    background-image: linear-gradient(var(--e-global-color-secondary), var(--e-global-color-secondary));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 100% 0;
    -webkit-transition: background-size .3s;
    -o-transition: background-size .3s;
    transition: background-size .3s;
}

.menu-item>a:hover,
.menu-item.current-menu-item>a {
    background-size: 100% 8px;
}

.sub-menu .menu-item {
    font-size: 18px;
    font-weight: normal;
}

.menu-item:nth-child(1) {
    -webkit-transition-delay: .3s;
    -o-transition-delay: .3s;
    transition-delay: .3s;
}

.menu-item:nth-child(2) {
    -webkit-transition-delay: .4s;
    -o-transition-delay: .4s;
    transition-delay: .4s;
}

.menu-item:nth-child(3) {
    -webkit-transition-delay: 1.1s;
    -o-transition-delay: 1.1s;
    transition-delay: 1.1s;
}

.menu-item:nth-child(4) {
    -webkit-transition-delay: 1.2s;
    -o-transition-delay: 1.2s;
    transition-delay: 1.2s;
}

.menu-item:nth-child(5) {
    -webkit-transition-delay: 1.4s;
    -o-transition-delay: 1.4s;
    transition-delay: 1.4s;
}

.sub-menu .menu-item:nth-child(1) {
    -webkit-transition-delay: .5s;
    -o-transition-delay: .5s;
    transition-delay: .5s;
}

.sub-menu .menu-item:nth-child(2) {
    -webkit-transition-delay: .6s;
    -o-transition-delay: .6s;
    transition-delay: .6s;
}

.sub-menu .menu-item:nth-child(3) {
    -webkit-transition-delay: .7s;
    -o-transition-delay: .7s;
    transition-delay: .7s;
}

.sub-menu .menu-item:nth-child(4) {
    -webkit-transition-delay: .8s;
    -o-transition-delay: .8s;
    transition-delay: .8s;
}

.sub-menu .menu-item:nth-child(5) {
    -webkit-transition-delay: .9s;
    -o-transition-delay: .9s;
    transition-delay: .9s;
}

.sub-menu .menu-item:nth-child(6) {
    -webkit-transition-delay: 1s;
    -o-transition-delay: 1s;
    transition-delay: 1s;
}


@media screen and (max-width: 768px) {
    #wpadminbar {
        display: none;
    }

    html[lang="de-DE"] {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 500px) {
    .le-main-menu {
        min-width: auto;
        width: 100vw;
        right: -120vw;
        padding-left: 1em;
    }

    .le-menu.active .sub-menu .menu-item {
        margin-left: 1em;
    }
}

@media screen and (max-width: 500px) and (max-height: 750px) {
    .le-menu.active .menu-item {
        margin-top: .5em;
    }

    .le-menu.active .menu>.menu-item {
        font-size: 1.2em;
    }

    .le-menu.active .sub-menu>.menu-item {
        font-size: .8em;
    }
}

/* IMAGE LINK BLOCK */
figure {
    position: relative;
}

figcaption {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .5);
    text-align: left;
    padding: 1em;
    font-style: normal !important;
    color: #fff !important;
}

figcaption,
figcaption a {
    height: 100%;
    width: 100%;
    color: #fff !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

figcaption h5 {
    margin: 0;
}

figcaption p {
    overflow: hidden;
    max-height: 0;
    margin: 0;
    -webkit-transition: max-height 0.5s ease-in-out, margin-top .5s ease-in-out;
    -o-transition: max-height 0.5s ease-in-out, margin-top .5s ease-in-out;
    transition: max-height 0.5s ease-in-out, margin-top .5s ease-in-out;
}

figcaption:hover p {
    max-height: 100px;
    margin-top: 1em;
}


@media (hover: none) {
    figcaption p {
        max-height: 100px;
        margin-top: 1em;
    }
}

figcaption .arrow-right {
    display: block;
    content: url('/wp-content/uploads/arrow-right_white.svg');
    width: 20px;
    margin-top: 1em;
}

/* IMG HOVER */

.entual-img-hover img:last-of-type {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

.entual-img-hover figcaption {
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

.entual-img-hover:hover img:last-of-type {
    opacity: 1;
}

.entual-img-hover:hover figcaption {
    opacity: 1;
}

.entual-img-hover figcaption a {
    height: auto;
    width: auto;
    display: inline-block !important;
    margin-right: 15px;
}

.entual-img-hover figcaption a {
    background-image: -webkit-gradient(linear, left top, left bottom, from(var(--e-global-color-secondary)), to(var(--e-global-color-secondary)));
    background-image: -o-linear-gradient(var(--e-global-color-secondary), var(--e-global-color-secondary));
    background-image: linear-gradient(var(--e-global-color-secondary), var(--e-global-color-secondary));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 100% 8px;
    -webkit-transition: background-size .3s;
    -o-transition: background-size .3s;
    transition: background-size .3s;
}

.entual-img-hover figcaption a:hover {
    background-size: 100% 100%;
}

@media (hover: none) {

    .entual-img-hover figcaption {
        opacity: 1;
    }

    .entual-img-hover img:last-of-type {}

    .entual-img-hover figcaption {
        font-size: .8em;
        font-weight: 500;
        line-height: 1.2;
    }

    .entual-img-hover figcaption a span {
        display: none;
    }

    .entual-img-hover figcaption a span:nth-child(2) {
        display: inline;
    }
}

/* LEISTUNGEN */

.leistungen {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.leistung {
    -webkit-box-flex: 30%;
    -ms-flex: 30%;
    flex: 30%;
    margin: 1em;
    padding: 2em;
    padding-bottom: 0;
    border-radius: 2px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: -webkit-box-shadow .2s ease-in-out;
    transition: -webkit-box-shadow .2s ease-in-out;
    -o-transition: box-shadow .2s ease-in-out;
    transition: box-shadow .2s ease-in-out;
    transition: box-shadow .2s ease-in-out, -webkit-box-shadow .2s ease-in-out;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .leistung {
        -webkit-box-flex: 50%;
        -ms-flex: 50%;
        flex: 50%;
    }
}

.leistung:hover {
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.leistung-img {
    height: 250px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.leistung-img img {
    max-height: 100%;
    width: auto;
}

.leistung a h3 {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.elementor-tab-title {
    position: relative;
    padding-right: 40px !important;
}

.elementor-tab-title:before,
.elementor-tab-title:after {
    content: "";
    position: absolute;
    background-color: #000;
    -webkit-transition: -webkit-transform 0.25s ease-out;
    transition: -webkit-transform 0.25s ease-out;
    -o-transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

/* Vertical line */
.elementor-tab-title:before {
    top: calc(50% - 7.5px);
    right: 21px;
    width: 3px;
    height: 15px;
}

/* horizontal line */
.elementor-tab-title:after {
    top: calc(50% - 1.5px);
    right: 15px;
    width: 15px;
    height: 3px;
}

.elementor-tab-title.elementor-active:before {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.elementor-tab-title.elementor-active:after {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* FILE UPLOAD */
input[type="file"] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.elementor-field-type-upload:before {
    content: '';
    display: block;
    position: absolute;
    font-size: 16px;
    letter-spacing: normal;
    text-transform: none;
    top: 0;
}

.elementor-field-type-upload label {
    top: 0;
    position: static;
    height: auto;
    width: auto;

    color: var(--e-global-color-secondary);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-secondary);
    padding: 10px 32px 10px 32px !important;
    -webkit-transition: color .5s, background-color .5s, border-color .5s;
    -o-transition: color .5s, background-color .5s, border-color .5s;
    transition: color .5s, background-color .5s, border-color .5s;
    position: relative;
    margin-top: 2em;
}

.elementor-field-type-upload label:hover {
    color: #FFFFFF;
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
}

select {
    font-size: 15px !important;
    color: #373a3c !important;
}

.elementor-field-group .elementor-select-wrapper::before {
    content: '' !important;
    background-image: url('/wp-content/uploads/arrow-down.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 12px;
    height: 15px;
}

.elementor-field-type-acceptance {
    margin-top: 20px;
    margin-bottom: 20px !important;
}

.elementor-toggle-item:first-child {
    border-top: 1px solid var(--e-global-color-secondary);
}

.elementor-acceptance-field+label {
    font-size: 16px;
}

.apply-btn button {
    margin: 40px 0;
}

/* HOME HEADER FIX */
@media screen and (max-width: 2086px) {

    .elementor-2 .elementor-element.elementor-element-121418ad:not(.elementor-motion-effects-element-type-background),
    .elementor-2 .elementor-element.elementor-element-121418ad>.elementor-motion-effects-container>.elementor-motion-effects-layer {
        background-size: 800px auto !important;
    }
}

@media screen and (max-width: 1640px) {

    .elementor-2 .elementor-element.elementor-element-121418ad:not(.elementor-motion-effects-element-type-background),
    .elementor-2 .elementor-element.elementor-element-121418ad>.elementor-motion-effects-container>.elementor-motion-effects-layer {
        background-size: 700px auto !important;
    }
}


@media screen and (max-width: 1440px) {

    .elementor-2 .elementor-element.elementor-element-121418ad:not(.elementor-motion-effects-element-type-background),
    .elementor-2 .elementor-element.elementor-element-121418ad>.elementor-motion-effects-container>.elementor-motion-effects-layer {
        background-size: 600px auto !important;
    }
}

@media screen and (max-width: 1240px) {

    .elementor-2 .elementor-element.elementor-element-121418ad:not(.elementor-motion-effects-element-type-background),
    .elementor-2 .elementor-element.elementor-element-121418ad>.elementor-motion-effects-container>.elementor-motion-effects-layer {
        background-size: 500px auto !important;
    }
}

/* COOKIE BANNER */
body .swtb-cookie-banner {
    bottom: 2em;
    font-size: 14px !important;
    left: initial;
    right: 2em;
    max-width: 400px;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
}

body .swtb-cookie-banner-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 2em;
}

@media screen and (max-width: 500px) {
    body .swtb-cookie-banner {
        left: 0;
        right: 0;
        bottom: 0;
        max-width: initial;
    }

    body .swtb-cookie-banner-inner {
        padding: 1em;
    }
}

.swtb-cookie-banner-buttons {
    margin: 1em 0;
}

.swtb-cookie-banner-buttons button {
    padding: 8px 12px !important;
    font-size: 14px !important;
}

@media screen and (max-width: 370px) {
    .swtb-cookie-banner-buttons button {
        font-size: 12px !important;
    }
}
