/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/** {hyphens: auto;}*/

.post-password-form {
    margin-top: 300px;
    margin-left: 20px;
}

.cpp-btn,
.cpp-btn-submit button {
    position: relative;
    padding: 18px 20px;
    background: linear-gradient(90deg, #93C67C 0%, #588451 100%) !important;
    color: #fff !important;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    z-index: 0;
    overflow: hidden;
}

.cpp-btn:after,
.cpp-btn-submit button:after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(90deg, #588451 0%, #93C67C 100%) !important;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

.cpp-btn:hover:after,
.cpp-btn-submit button:hover:after {
    opacity: 1;
}

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

    .home-quali-txt h1,
    .home-nachhaltig-txt h1,
    .ral-wrapper h1 {
        font-size: 45px !important;
    }
}

/* ------- Home Teaser ------- */
.home-teaser-cont .fusion-builder-row {
    margin: 0 !important;
}

.home-teaser-bg {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    z-index: 0;
    clip-path: inset(0 0 0 0);
}

.home-teaser-bg video,
.home-teaser-bg img {
    width: 100%;
    height: 100%;
    position: fixed;
    object-fit: cover;
}

.home-teaser-bg p {
    z-index: 1;
}

.home-teaser-container .hero-title {
    position: sticky;
    bottom: 150px;
    padding: 50px 50px 0 50px;
    margin-bottom: 0px;

    max-width: 1440px;
    margin: 100px auto 0 auto;
}

.home-teaser-btn {
    position: fixed;
    z-index: 1;
    padding: 18px 20px;
    margin: 50px;
    background: linear-gradient(90deg, #93C67C 0%, #588451 100%) !important;
    color: #fff !important;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.home-teaser-btn:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, #588451 0%, #93C67C 100%) !important;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

.home-teaser-btn:hover:after {
    opacity: 1;
}

.disable-btn {
    opacity: 0;
    pointer-events: none;
}

.home-sticky-teaser p,
.home-sticky-teaser h1 {
    color: rgba(255, 255, 255, 1) !important;
    transition: color 0.1s linear;
}

.home-teaser-colum .fusion-column-wrapper {
    margin: 0 !important;
}

@media screen and (max-width: 700px) {
    .home-teaser-container .hero-title {
        padding: 3%;
    }

    .home-teaser-btn {
        margin: 50px 3%;
    }

    .home-teaser-btn {
        color: #fff !important;
        font-size: 14px;
    }

}

@media screen and (max-width: 600px) {
    .home-teaser-bg:after {
        content: "";
        background: linear-gradient(0, #000000, transparent 50%);
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: .75;
    }

}

@media screen and (max-width: 400px) {
    .home-sticky-teaser h1 {
        font-weight: 800 !Important;
        font-size: 35px !important;
        line-height: 120% !Important;
        letter-spacing: -0.03em !Important;
        /*color: #FFFFFF !Important;
        margin: 0 !important;*/
    }

    .home-sticky-teaser .home-sticky-teaser-txt {
        white-space: nowrap;
        font-size: clamp(22px, 4vw, 28px);
    }
}

.home-btn-wrapper {
    height: 100px;
    max-width: 1440px;
    width: 100%;
    z-index: 1;
    position: relative;
    margin: 0 auto 50px auto;
}

/* ------- ------- ------- ------- */
.gradient_txt {
    background: #93C67C;
    background: linear-gradient(to right, #93C67C 0%, #588451 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-id-853 .gradient_txt {
    padding-right: 6px;
}

.fullwidth-box.video-background .fullwidth-video {
    min-width: 101% !important;
}

/* ------- Menu ------ */
nav ul ul li a {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

nav .wpml-ls-item ul li {
    background: transparent !important;
}

nav .wpml-ls-item-it ul {
    margin-top: -25px !important;
}

.sticky-navbar .menu-text {
    color: #588451;
}

.main-navigation {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 9 !important;
    width: 100% !important;
}

.sticky-navbar i::before,
.main-nav i::before {
    background: #93C67C;
    background: linear-gradient(to right, #93C67C 0%, #588451 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sticky-navbar .main_logo_big {
    display: none !important;
}

.sticky-navbar .main_logo_small {
    display: flex !important;
}

.sticky-navbar {
    background: rgb(255, 255, 255) !important;
}

.main-navigation .main_logo_small {
    display: none;
}


.main_logo_big {
    max-width: 192px;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.1));
}

.main_logo_small {
    max-width: 70px;
}

.main_logo_big br,
.main_logo_small br {
    display: none;
}

.sticky-navbar .nav-menu-wrapper {
    margin-top: 0;
}

.main-navigation.fusion-sticky-transition .nav-logo-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo-wrapper p {
    margin: 0px;
}

.navbar-container {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    transform: translateY(0);
}

.navbar-container.hide-navbar {
    transform: translateY(-100%);
}


.home-header-teaser .fullwidth-video:after {
    mix-blend-mode: multiply;
    content: "";
    background: linear-gradient(0deg, #00000053 0%, #ffffff00 100%);
    z-index: 999999;
    position: absolute;
    height: 100%;
    width: 100%;
}

.main-navigation #menu-main-menue {
    height: fit-content;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;

}

/*
.main-navigation li {
    height: fit-content;
    aspect-ratio: 1 / 1;
}*/

.sticky-navbar.navbar-container .fusion-builder-row:first-child {
    align-items: center !important;
}

@media screen and (max-width: 1035px) {
    .sticky-navbar .main_logo_small {
        padding-top: 20px;
    }

    .sticky-navbar .awb-menu__m-toggle * {
        color: #4a4e57;
    }
}


.menue-icon-log {
    margin: 0 !important;
}

/*------------- 404 Page ---------------*/
#post-404page {
    margin-top: 300px;
}


@media screen and (max-width: 600px) {
    #post-404page {
        margin-top: 200px;
    }
}

/* ------- BUTTON ------- */
.gradient-btn {
    position: relative;
    background: linear-gradient(90deg, #93C67C 0%, #588451 100%) !important;
}

.gradient-btn>* {
    z-index: 2;
}

.gradient-btn:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    background: linear-gradient(90deg, #588451 0%, #93C67C 100%) !important;
    transition: all 0.3s ease-in-out;
}

.gradient-btn:hover:after {
    opacity: 1;
}

/* Menu */
.main-menu i {
    font-size: 30px;
}


.home-vorteile-unbr-txt {
    white-space: nowrap !important;
}

/* ------- Home ------- */


@media screen and (max-width: 950px) and (min-width: 600px) {

    .ppc-intro-textblock {
        width: 100% !Important;
    }

    .ppc-intro-textblock .fusion-column-wrapper {
        margin: 0 3% 30px 3% !Important;
    }

    .ppc-intro-infoblock {
        width: 50% !Important;
    }
}


.home-sticky-teaser h1 {
    font-weight: 800 !Important;
    font-size: clamp(50px, 5vw, 120px) !important;
    line-height: 120% !Important;
    letter-spacing: -0.03em !Important;
    /*color: #FFFFFF !Important;*/
    margin: 0 !important;
    margin-left: -7px !important;
}

.home-sticky-teaser h1 span {
    font-weight: 400 !Important;
}

.home-sticky-teaser p {
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    color: #fff;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 !important;
}

@media screen and (max-width: 400px) {
    .home-sticky-teaser h1 {
        font-weight: 800 !Important;
        font-size: 35px !important;
        line-height: 120% !Important;
        letter-spacing: -0.03em !Important;
        /*color: #FFFFFF !Important;*/
        margin: 0 !important;
    }
}

/* ------- Home Quali ------- */
.home-quali-cont {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    /*margin-right: 150px;*/
}

.home-quali-img {
    grid-area: 1 / 1 / 2 / 4;
}

.home-quali-img img {
    width: 100%;
}

.home-quali-txt-wrapper {
    grid-area: 1 / 3 / 2 / 5;
    position: relative;
}

.home-quali-txt {
    background-color: #fff;
    padding: 32px 42px;
    margin-top: calc(40% - 84px);
}

.home-quali-txt strong p {
    margin: 0 !important;
}

.home-quali-txt h1 {
    margin: 0 0 37px 0;
}


@media screen and (max-width: 1440px) {
    .home-quali-txt-wrapper {
        grid-area: 1 / 2 / 2 / 5;
    }

    .home-nachhaltig-txt-wrapper {
        grid-area: 1 / 1 / 2 / 4 !important;
    }
}


/*------- Home Nachhaltig ------- */
.home-nachhaltig-cont {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    /*margin-left: 150px;*/
}

.home-nachhaltig-img {
    grid-area: 1 / 2 / 2 / 5;
}

.home-nachhaltig-img img {
    width: 100%;
}

.home-nachhaltig-txt-wrapper {
    grid-area: 1 / 1 / 2 / 3;
    position: relative;
}

.home-nachhaltig-txt {
    margin-top: calc(40% - 84px);
    background-color: #fff;
    padding: 32px 42px;
}

.home-nachhaltig-txt strong p {
    margin: 0 !important;
}

.home-nachhaltig-txt h1 {
    margin: 0 0 37px 0;
}


@media screen and (max-width: 1400px) {
    .home-nachhaltig-cont {
        margin-left: 0px;
    }

    .home-quali-cont {
        margin-right: 0px;
    }
}

@media screen and (max-width: 1050px) {
    .home-quali-img {
        grid-area: 1 / 1 / 2 / 5;
    }

    .home-quali-txt-wrapper {
        grid-area: 1 / 2 / 2 / 5;
    }

    .home-nachhaltig-img {
        grid-area: 1 / 1 / 2 / 5;
    }

    .home-nachhaltig-txt-wrapper {
        grid-area: 1 / 1 / 2 / 4;
    }
}


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

    .home-quali-cont,
    .home-nachhaltig-cont {
        display: flex;
        flex-direction: column;
    }

    .home-quali-txt,
    .home-nachhaltig-txt {
        margin-top: 0;
        padding: 32px 0;
    }

}

@media screen and (max-width: 450px) {
    .headline__logo {
        max-height: 43px;
    }

    .headline br {
        display: none !important;
    }
}

/*------- Home RAL ------- */
.ral-bg>div {
    position: relative;
}

.ral-bg>div:after {
    content: "";
    background: linear-gradient(90deg, transparent 20%, #000 80%, #000);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
}


.ral-container {
    display: flex;
    z-index: 1;
    justify-content: flex-end;
}

.ral-wrapper {
    width: 55%;
}

@media screen and (max-width: 1185px) {
    .ral-wrapper {
        width: calc(60% + 5vw);
    }
}


@media screen and (max-width: 1014px) {
    .ral-wrapper {
        width: 80%;
    }
}

@media screen and (max-width: 800px) {
    .ral-wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .ral-bg>div {
        background-position: 15% !important;
    }
}

/* ------- HOME Teaser ------- */
.home-teaser-wrapper {
    display: flex;
    gap: 10px;
}

.home-teaser-wrapper i {
    font-size: 60px;
    background: #93C67C;
    background: linear-gradient(to right, #93C67C 0%, #588451 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-teaser-wrapper h2 {
    font-size: 26px !important;
    line-height: 120% !important;
    letter-spacing: -0.03em !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}

.home-teaser-wrapper h2 span {
    font-weight: 400 !important;
}

.home-teaser-cont {
    margin-bottom: 30px;
}


/* ------- HOME Tabelle ------- */
.table-container {
    position: relative;
    /* legt fest, wo sich das Overlay orientiert */
    display: inline-block;
    width: 100%;
}

.cert-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Spaltenbreiten festlegen, damit Overlay korrekt sitzt */
.cert-table col:nth-child(1) {
    width: 25%;
}

.cert-table col:nth-child(2) {
    width: 25%;
}

/* CPP */
.cert-table col:nth-child(3) {
    width: 25%;
}

.cert-table col:nth-child(4) {
    width: 25%;
}

/* Standard-Zellengitter */
.cert-table thead th {
    color: #fff;
    line-height: 160%;
    font-size: clamp(16px, 3vw, 22px) !important;
    font-weight: 600 !important;
    padding: 5px;
}

.cert-table th,
.cert-table td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
}

.cpp-table-title {
    background: linear-gradient(90deg, #93C67CFC 0%, #588451 100%);
    font-size: clamp(18px, 3vw, 26px) !important;
}

.cert-table th.row-header {
    text-align: left;
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: normal;
    color: #fff;
    font-size: clamp(14px, 3vw, 20px) !important;
    line-height: 160%;
    letter-spacing: 0;
    font-size: 17px ! IMPORTANT;
}


.cert-table thead th {
    font-weight: normal;
}

.cert-table tbody {
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}


.c1_r1,
.c3_r1,
.c4_r1 {
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.c3_r1,
.c3_r2,
.c3_r3,
.c3_r4,
.c3_r5 {
    border-right: 1px solid #ffffff3b;
}


tbody tr:not(:last-child) {
    border-bottom: 1px solid #ffffff3b;
    border-left: 1px solid #ffffff;
}


.icon-check i {
    font-size: 40px;
    color: #93C67C;
}

.icon-cross i {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.5);
}

/* Das Gradient-Overlay: */
.gradient-highlight {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25%;
    width: 25%;
    pointer-events: none;
    border: 5px solid transparent;
    border-image: linear-gradient(90deg, #93C67CFC 0%, #588451 100%) 1;
    border-radius: 4px;
    font-size: 26px !important;
}


@media (max-width: 1450px) {
    .cert-table col:nth-child(1) {
        width: 40%;
    }

    .cert-table col:nth-child(2) {
        width: 20%;
    }

    /* CPP */
    .cert-table col:nth-child(3) {
        width: 20%;
    }

    .cert-table col:nth-child(4) {
        width: 20%;
    }

    .gradient-highlight {
        left: 40%;
        width: 20%;
    }

    .icon-check i,
    .icon-cross i {
        font-size: 30px;
    }
}

@media (max-width: 1100px) {
    .cert-table col:nth-child(1) {
        width: 49%;
    }

    .cert-table col:nth-child(2) {
        width: 17%;
    }

    /* CPP */
    .cert-table col:nth-child(3) {
        width: 17%;
    }

    .cert-table col:nth-child(4) {
        width: 17%;
    }

    .gradient-highlight {
        left: 49%;
        width: 17%;
    }

    .icon-check i,
    .icon-cross i {
        font-size: 22px;
    }
}

@media (max-width: 810px) {
    .ral-container .headline {
        font-size: 30px !important;
    }

    .headline__logo {
        max-width: 70px;
    }
}

@media (max-width: 500px) {

    .cert-table col:nth-child(1) {
        width: 43%;
    }

    .cert-table col:nth-child(2) {
        width: 19%;
    }

    /* CPP */
    .cert-table col:nth-child(3) {
        width: 19%;
    }

    .cert-table col:nth-child(4) {
        width: 19%;
    }

    .gradient-highlight {
        left: 43%;
        width: 19%;
    }

    .cert-table th.row-header {
        hyphens: auto;
    }

    .cert-table br {
        display: none;
    }

    .cert-table th,
    .cert-table td {
        padding: 14px;
    }

}


/* ------- Footer ------- */
.foo-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    font-size: 15px;
}

.foo-links {
    display: flex;
    gap: 20px;
}


.privacy-txt-undeline h3 {
    text-decoration: underline;
}


@media (max-width: 650px) {
    .foo-wrapper {
        display: flex;
        gap: 20px;
        justify-content: space-between;
        flex-direction: column-reverse;
    }
}

/* ------- MAPS ------- */
.cpp-btn.switch-view {
    padding: 10px 15px !important;
}

.cpp-btn.switch-view {
    background: #B3B3B3 !important;
}

.cpp-btn.switch-view.is-active {
    background: linear-gradient(90deg, #93C67C 0%, #588451 100%) !important;
}

.cpp-btn.switch-view::after {
    background: linear-gradient(90deg, #93C67C 0%, #588451 100%) !important;
}

.cpp-btn.switch-view.is-active::after {
    background: #B3B3B3 !important;
}


/*.view { display: none; }*/
/*.view.is-active { display: block; }*/


.map-view-container.is-hidden {
    opacity: 0;
    display: none !important;
}

.cpp-btn.switch-view:before {
    content: "";
    background: #B3B3B3;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cpp-btn.switch-view.is-active:before {
    content: "";
    background: rgba(255, 0, 0, 0);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ------- MAPS ------- */
.cpp-location-infobox {
    padding: 20px !important;
}

.cpp-location-infobox img {
    max-height: 100px !important;
    width: auto !important;
    margin-bottom: 20px !important;
}

.cpp-loc-title {
    font-size: 18px !important;
    font-weight: 600;
    color: #000;
    line-height: 1.2em;
    margin-bottom: 5px !important;
}

.cpp-loc-adress {
    font-size: 16px !important;
    color: #242424;
    line-height: 1.2em;
    padding-top: 5px;
}

.cpp-location-infobox a {
    display: block;
    padding-top: 5px;
}

.infoBoxTail::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    bottom: -12px;
    left: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.wpgmp_infowindow {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
}

/*
.cpp-logos .fusion-imageframe{
    max-width: 230px;
    max-height: 70px;
    width: 100%;
    object-fit: contain;
    width: 100%;
    height: auto;
}*/

.map-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.map-logos img {
    max-width: calc(20% - 50px);
    width: 100%;
    object-fit: contain;
    max-height: 90px;
}

@media (max-width: 820px) {
    .map-logos img {
        max-width: calc(25% - 50px);
    }
}

@media (max-width: 640px) {
    .map-logos img {
        max-width: 200px;
        max-height: 70px;
    }
}

@media (max-width: 500px) {
    .map-logos img {
        max-width: calc(50% - 50px);
    }
}

/*
@media (max-width: 640px) {
    .cpp-list img {
        max-width: 60px;
        max-height: 30px;
    }
}*/

/* ------- Liste ------- */
.cpp-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid var(--awb-color2);
    padding: 20px 0px;
}

.cpp-list p {
    margin-bottom: 5px !important;
}

.cpp-list .img-wrapper {
    margin-right: 20px;
    width: 120px;
    display: flex;
    justify-content: center;
}

.cpp-list img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
}

@media (max-width: 640px) {
    .cpp-list {
        flex-wrap: wrap;
        padding: 30px 0px;
    }

    .cpp-list .img-wrapper {
        margin-right: 0px;
        margin-bottom: 20px;
        width: 100%;
        justify-content: flex-start;
    }

    .cpp-list img {
        max-width: 200px;
        max-height: 100px;
    }
}

/* ------------ Events ------------ */

.cpp-date {
    background: linear-gradient(to right, #93C67C 0%, #588451 100%);
    padding: 20px !important;
}

.event-popup {
    z-index: 990 !important;
}

.event-popup .awb-off-canvas {
    top: 150px;
    height: auto !important;
    position: absolute !important;
}

@media (max-width: 640px) {
    .event-popup .fusion-title-heading {
        font-size: 16px !important;
    }
}

/*------------------- Über und -------------------------*/
.custom_content_width .fusion-builder-row {
    max-width: calc(1100px + 140px) !important;
}

.team_img_cont .fusion-image-element:after {
    content: "";
    background: #ffffff20;
    width: 100%;
    position: absolute;
    z-index: -1;
    bottom: 0;
    right: 0;
    aspect-ratio: 1 / 1;
    /*border-radius: 20px;*/
    box-shadow: rgb(0 0 0 / 18%) 0px 5px 10px;
}

.team_img_cont .fusion-image-element {
    position: relative;
}

.team_img_cont img,
.team_img_cont .fusion-imageframe {
    width: 100%;
}

.team_img_cont .fusion-imageframe {
    /*border-radius: 20px;*/
}