/*#region header*/
/*Homepage id*/
.home-header {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.icon-header {
    width: 80px;
    vertical-align: sub;
}

.start-headline h2 {
    font-size: 80px;
    line-height: 1em;
    hyphens: none;
}

@media(min-width:1921px) {
    .home-header {
        height: 1080px;
    }
}

@media(max-width:980px) {
    .icon-header {
        width: 50px;
    }

    .home-header {
        height: initial;
    }

    .start-headline h2 {
        font-size: 40px;
        line-height: 1em;
    }

}

/*#endregion header*/

/*#region Auszeichnungmodul*/
.itm-black img {
    background-color: var(--color-black);
}

.auszeichnung {
    padding-bottom: 0px;
}

.auszeichnung .et_pb_column {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auszeichnung .et_pb_text_inner {
    font-family: var(--font-family-medium);
    font-size: var(--font-size-copy);
}

.auszeichnung .et_pb_column::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--color-off-white);
    z-index: -1;
    position: absolute;
}

.auszeichnung .color-off-white {
    background-color: var(--color-black);
    padding-right: 20px;
}

.auszeichnung .noheart.color-red {
    background-color: var(--color-black);
}

.auszeichnung .withheart {
    padding-left: 20px;
    background-color: var(--color-black);
}

.auszeichnung .withheart::before {
    content: "";
    background-image: url('/wp-content/uploads/2023/09/aceArt_Ace_Red-Heart.svg');
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 29px;
    position: absolute;
    left: -14px;
    top: 3px;
}

.auszeichnung.a-grey .et_pb_column::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    z-index: -1;
    position: absolute;
}

.background-off-white .auszeichnung.a-grey .color-black {
    background-color: var(--color-off-white);
    padding-right: 20px;
}

.background-off-white .auszeichnung.a-grey .color-red {
    background-color: var(--color-off-white);
    padding-left: 20px;
}


@media(max-width:980px) {
    .auszeichnung .withheart::before {
        top: 6px;
        padding-left: 20px;
    }

    .auszeichnung .withheart {
        margin-left: 17px;
    }

    .auszeichnung.a-grey .et_pb_column {
        flex-direction: column;
        align-items: flex-start;
    }

    .auszeichnung.a-grey .et_pb_column::after {
        display: none;
    }

}

@media(max-width:580px) {

    .auszeichnung .withheart::before {
        width: 13px;
        height: 15px;
        left: 0px;
    }

    .auszeichnung .et_pb_column {
        flex-direction: column;
        align-items: flex-start;
    }

    .auszeichnung.a-grey .et_pb_column::after,
    .auszeichnung .et_pb_column::after {
        content: none;
    }
}

/*#endregion Auszeichnungmodul*/


/*#region Drehkreis*/
.turn-module {
    z-index: 0;
}

.turn-module .et_pb_column {
    display: flex;
    justify-content: end;
    position: absolute;
    bottom: 0;
}

.turnjoke {
    animation: rotate 13s linear infinite;
    margin: 0px;
    width: 180px;
}

/*consulting*/
.turn-module.half-section {
    padding-top: 100px;
    padding-bottom: 0px;
}

@media(max-width:980px) {
    .turn-module.half-section {
        padding-top: 50px;
        padding-bottom: 0px;
    }
}

/*services turnjoke*/
.turnjoke.size-medium {
    width: 260px;
}

@keyframes rotate {
    to {
        transform: rotate(-360deg);
    }
}


@media(max-width:980px) {
    .turnjoke {
        width: 100px;
    }

    .turn-module .et_pb_column {
        right: 20px;
    }
}

/*#endregion Drehkreis*/

/*#region customer-wall*/
.customer-wall .et_pb_column {
    display: flex;
    gap: 15px;
}

.customer-wall .et_pb_image {
    width: 16%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 40px;
    cursor: pointer;
    transition: 0.3s;
}

.et-db #et-boc .et-l .et_pb_section .customer-wall .et_pb_image {
    display: flex !important;
    justify-content: center;
}

.et-db #et-boc .et-l .et_pb_section .customer-wall .et_pb_image:hover {
    background-color: var(--color-red);
}

.customer-wall .et_pb_image img {
    height: 80px;
    filter: grayscale(1) contrast(100) brightness(0);
    backface-visibility: hidden;
    transition: filter 300ms ease 0ms;
    object-fit: contain;
    border-radius: 0px;
}

.customer-wall .pac_dcm_column_1 .slick-prev:before {
    content: "" !important;
    background-image: url("/wp-content/uploads/2023/10/aceArt_Ace_Heart.svg");
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

.customer-wall .pac_dcm_column_1 .slick-next:before {
    content: "" !important;
    background-image: url("/wp-content/uploads/2023/10/aceArt_Ace_Heart.svg");
    background-repeat: no-repeat;
    transform: rotate(-90deg);
}

@media(max-width:1200px) {
    .et-db #et-boc .et-l .et_pb_section .customer-wall .et_pb_image {
        padding: 30px 10px;
    }
}

@media(max-width:980px) {
    .customer-wall .et_pb_column {
        flex-wrap: wrap;
    }

    .et-db #et-boc .et-l .et_pb_section .customer-wall .et_pb_image {
        width: 32%;
        margin: auto;
        padding: 30px 20px;
    }
}

@media(max-width:910px) {
    .customer-wall .et_pb_image {
        width: 48%;
    }
}

@media(max-width:506px) {
    .customer-wall .et_pb_image {
        width: 100%;
    }
}

/*#endregion customer-wall*/

/*#region Kununu*/
.kununu-module .et_pb_code_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.kununu-module .et_pb_code_inner img {
    width: 200px;
}

@media(max-width:767px) {
    .kununu-module .et_pb_code_inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .kununu-module .et_pb_code_inner img {
        width: 200px;
    }
}

/*#endregion Kununu*/
/*#region Leistungen*/
.service-module .service-icon {
    width: 130px;
}

.service-module .service-line::before {
    content: "";
    display: block;
    height: 140px;
    width: 2px;
    background-color: var(--color-red);
}

.service-line {
    width: 2px;
    height: 140px;
}

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
    height: 730px;
    perspective: 1000px;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner,
.flip-card:active .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front {
    z-index: 0;
}

.flip-card-back {
    z-index: 1;
}


.flip-card-front,
.flip-card-back {
    position: absolute;
    padding: 50px;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    border: 2px solid var(--color-off-white);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* Style the back side */
.flip-card-back {
    background-color: var(--color-off-white);
    color: var(--color-black);
    transform: rotateY(180deg);
    font-family: var(--font-family-medium);
}

.flip-card-back h3 {
    font-family: var(--font-family-regular);
    font-size: var(--font-size-head-two);
    line-height: var(--line-height-head-two);
    text-transform: uppercase;
}

.flip-back-line {
    position: relative;
}

.flip-back-line::before {
    content: "";
    display: block;
    height: 140px;
    width: 2px;
    background-color: var(--color-black);
}

.flip-back-line::after {
    content: "";
    background-image: url('/wp-content/uploads/2023/10/aceArt_Ace_Heart.svg');
    background-repeat: no-repeat;
    background-size: 15px;
    display: block;
    height: 15px;
    width: 15px;
    position: absolute;
    right: -7px;
    bottom: -7px;
}

@media(max-width:1520px) {
    .flip-back-line {
        display: none;
    }

    .flip-card-back h3 {
        font-size: var(--font-size-head-three);
        line-height: var(--line-height-head-three);
    }

    .flip-card-front,
    .flip-card-back {
        padding: 20px;
    }

}

@media(max-width:980px) {
    .flip-card {
        /* height: 600px; */
    }

    .flip-card-front,
    .flip-card-back {
        padding: 50px;
    }

    .service-module .service-icon {
        width: 130px;
    }

    .turnjoke.size-medium {
        width: 120px;
    }

    .flip-back-line {
        display: block;
    }

}

@media(max-width:767px) {


    .flip-card-front,
    .flip-card-back {
        gap: 30px;
        padding: 20px;
    }

    .flip-card {
        min-height: 400px;
    }

    .flip-back-line::before {
        height: 70px;
    }

    .service-module .service-icon {
        width: 80px;
    }

    .turnjoke.size-medium {
        width: 100px;
    }
}


/*#engredion Leistungen*/