/*
 Theme Name:     EBE Theme
 Theme URI:      http://www.elegantthemes.com
 Description:  	 EBE Theme
 Author:         aceArt
 Author URI:     https://aceart.de
 Template:       Divi
 Version:        1.0.0
*/

/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

/* @font-face {
    font-family: "roboto-light";
    src: url("/wp-content/themes/child-theme/fonts/Roboto-Light.ttf") format("truetype");
    font-style: normal;
    font-display: swap;
} */


:root {
    --color-white: #fff;
    --color-blue: #005970;
    --color-red: #e63429;
    --color-grey: #7a7b7c;
    --color-black: #000;
    /* --color-off-white: #EBE9E9;
    --color-grey: #7D847E;
    --color-dark-grey: #363936;
    --color-green: #AFCB38; */

    --box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    --grey-gradient: linear-gradient(90deg, #fff 40%, #e7e7e7 60%);

    /* --font-family-light: "roboto-light", Arial, Helvetica, sans-serif; */
    /* --font-family-regular: "roboto-regular", Arial, Helvetica, sans-serif; */
    /* --font-family-bold: "roboto-black", Arial, Helvetica, sans-serif; */

    --font-size-h1: 60px;
    --font-size-h2: 48px;
    --font-size-h3: 26px;
    --font-size-h4: 22px;
    --font-size-h5: 16px;
    --font-size-p: 15px;

    --line-height-h1: 1.2em;
    --line-height-h2: 1.2em;
    --line-height-h3: 1.2em;
    --line-height-h4: 1.2em;
    --line-height-h5: 1.2em;
    --line-height-p: 1.7em;
}

@media (max-width: 980px) {
    :root {
        --font-size-h1: 40px;
        --font-size-h2: 26px;
        --font-size-h3: 22px;
        --font-size-h4: 19px;
        --font-size-h5: 14px;
        --font-size-p: 14px;
    }
}

@media (max-width: 767px) {
    :root {
        --font-size-h1: 30px;
        --font-size-h2: 22px;
        --font-size-h3: 20px;
    }
}

*,
::before,
::after {
    box-sizing: border-box;
}


body {
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
}

#et-main-area {
    overflow: hidden;
}

sup {
    bottom: 0.4em;
}

h1 {
    font-size: var(--font-size-h1) !important;
    line-height: var(--line-height-h1) !important;
    font-weight: 700;
}

h2 {
    font-size: var(--font-size-h2) !important;
    line-height: var(--line-height-h2) !important;
    font-weight: 700;
}

h3,
h3 span {
    font-size: var(--font-size-h3) !important;
    line-height: var(--line-height-h3) !important;
    font-weight: 700;
}

h4 {
    font-size: var(--font-size-h4) !important;
    line-height: var(--line-height-h4) !important;
}

h5 {
    font-size: var(--font-size-h5) !important;
    line-height: var(--line-height-h5) !important;
}

p,
span {
    font-size: var(--font-size-p);
    line-height: var(--line-height-p);
}

li {
    font-size: var(--font-size-p);
    line-height: var(--line-height-p);
    padding-bottom: 5px;
}

.preheadline,
.preheadline p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--font-size-p);
    color: #e63429 !important;
    letter-spacing: 1px;
    line-height: 1.4em;
}

.et_pb_image_wrap {
    line-height: 0;
}


li::marker {
    color: var(--color-red);
}

.wptb-list-container li p.wptb-list-style-type-disc::before {
    color: var(--color-red);
}

.wptb-table-container table {
    background-color: #fff;
}

@media(max-width:767px) {
    .wptb-table-container table td {
        width: auto !important;
    }

    .wptb-list-container li p {
        padding-left: 5px !important;
        hyphens: auto;
    }
}

#et-main-area {
    padding-top: 120px;
    transition: 0.5s;
}

body.et-db:is(.post-type-archive, .single) #et-boc .et-l .et_pb_row {
    max-width: 1540px;
    width: 90%;
}

.et_builder_inner_content .et_pb_section_0 {
    padding-top: 0px;
}

.box-shadow {
    box-shadow: var(--box-shadow);
}

.box-shadow.et_pb_column_empty {
    box-shadow: none;
}

@media only screen and (max-width:1150px) {
    #et-main-area {
        padding-top: 80px;
    }
}

.sticky-menu~#et-main-area {
    padding-top: 80px;
}

.ebe-header {
    margin-bottom: -1px;
    min-height: 644px;
}

.ebe-header .et_pb_row .ebe-header-headline h1 {
    font-weight: 700;
    color: #FFFFFF !important;
}

.ebe-header .et_pb_row .ebe-header-background-writing p,
.cta-section .et_pb_row .ebe-cta-background-writing p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 130px;
    line-height: 130px;
    white-space: nowrap;
}


.ebe-header .et_pb_bottom_inside_divider {
    background-image: url(/wp-content/themes/child-theme/images/divider-top-white.svg) !important;
}

body.home .ebe-header .et_pb_bottom_inside_divider {
    background-image: url(/wp-content/themes/child-theme/images/divider.svg) !important;
}

.cta-section .et_pb_top_inside_divider {
    background-image: url(/wp-content/themes/child-theme/images/divider-top-white.svg) !important;
}

#page-container .cta-section .et_pb_bottom_inside_divider {
    bottom: -1px;
}


.v-blog article {
    min-height: 545px;
}

.leistung-image,
.leistung-image img {
    height: 420px;
    object-fit: cover;
    margin-bottom: 0px !important;
}

@media(max-width:980px) {

    .ebe-header {
        min-height: initial;
    }
}

/* #region Starseite1 */

.startseite1-news img {
    height: 285px;
    width: 100%;
    object-fit: cover;
}

.startseite1-header-text h1::after {
    content: url(/wp-content/themes/child-theme/images/logo-ecke.webp);
    position: absolute;
    top: -30px;
    right: -37px;
}

.startseite1-header-text h1 em {
    font-style: normal;
    color: var(--color-red);
}

.products-teaser-column .et_pb_image .et_pb_image_wrap {
    width: 100%;
}

.products-teaser-column .et_pb_image .et_pb_image_wrap img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.startseite1-news article.et_pb_post {
    border: 0;
    /* padding: 30px; */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: -6px 6px 23px -7px rgba(0, 0, 0, 0.2);
    background-color: #f3f3f3;

    display: flex;
    flex-direction: column;
}

.startseite1-news article .entry-title,
.startseite1-news article .post-meta,
.startseite1-news article .post-content {
    padding-left: 30px;
    padding-right: 30px;
}

.startseite1-news article .post-content .more-link {
    padding-bottom: 30px;
}

/* .startseite1-news article .entry-featured-image-url img{
    height: 290px;
    object-fit: cover;
} */

.startseite1-news article.et_pb_post .et_pb_image_container {
    margin: -30px -30px 30px;
    order: 1;
}

.startseite1-news article.et_pb_post .et_pb_image_container a {
    margin: 0;
}

.startseite1-news article.et_pb_post .entry-title {
    order: 3;
}

.startseite1-news article.et_pb_post .post-meta {
    order: 2;
}

.startseite1-news article.et_pb_post .post-content {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.startseite1-news article.et_pb_post .post-content a {
    align-self: flex-end;
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #005970;
    font-size: 14px;

    margin-top: 30px;
    margin-right: 15px;
}

.startseite1-news article.et_pb_post .post-content a::after {
    font-family: ETmodules !important;
    font-size: 23px;
    line-height: 1em;
    content: "\35";
    opacity: 0;
    position: absolute;
    margin-left: -1em;
    -webkit-transition: all .2s;
    transition: all .2s;
    text-transform: none;
    -webkit-font-feature-settings: "kern" off;
    font-feature-settings: "kern" off;
    font-variant: none;
    font-style: normal;
    font-weight: 400;
    text-shadow: none;
}

.startseite1-news article.et_pb_post .post-content a:hover::after {
    opacity: 1;
    margin-left: 0;
}


.startseite1-footer a {
    color: #333;
}


.startseite1-footer .footer-icon span.et-pb-icon {
    transition: 0.3s;
}

.startseite1-footer .footer-icon span.et-pb-icon:hover {
    color: #e63429;
    cursor: pointer;
}

/* #endregion Starseite1 */
/* #region Datenschutz*/

.data-text h2 {
    font-size: var(--font-size-h4) !important;
}

/* #endregion Datenschutz*/

/* #region Job offers */
#page-container .job-offers-blog-module .et_pb_blog_grid article.et_pb_post.job_offers {
    border: 0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    hyphens: auto;
}

.job-offers-blog-module article {
    border: 0;
    padding: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: -6px 6px 23px -7px rgba(0, 0, 0, 0.2);
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    width: 48%;
    margin-bottom: 20px !important;
    justify-content: space-between;
}

.job-offers-blog-module .et_pb_ajax_pagination_container {
    display: flex;
    flex-wrap: wrap;

    gap: 2%;
}


@media(max-width:980px) {
    .job-offers-blog-module article {
        width: 100%;
    }

    .job-offers-blog-module .et_pb_ajax_pagination_container {
        flex-direction: column;
        gap: 2%;
    }

}

/* #endregion Job offers */

/* #region application process */
.application-process-contact .et_pb_blurb_content {
    width: 100%;
    max-width: unset;
    display: flex;
    gap: 40px;
}

.application-process-contact .et_pb_blurb_content .et_pb_main_blurb_image {
    width: unset;
    display: inline-block;
    margin-bottom: 0;
    height: 100%;
}

.application-process-contact .et_pb_blurb_content .et_pb_blurb_container {
    padding-left: 0;
}

@media only screen and (max-width: 767px) {
    .application-process-contact .et_pb_blurb_content {
        flex-direction: column;
    }
}

/* --------------------------------------------------- */
.recruiting-process-row .et_pb_column {
    display: grid;
    grid-gap: 50px;
    grid-template-columns: 1fr 300fr;
}

.recruiting-process-row .et_pb_column:last-child {
    padding-left: 80px;
    border-left: 1px solid var(--color-grey);
}

.recruiting-process-row .et_pb_column .et_pb_text {
    grid-column: 1 / -1;
}

.recruiting-process-row .et_pb_column .recruiting-process-module {
    margin-bottom: 0;
    width: min-content;
}

.recruiting-process-row .et_pb_column .recruiting-process-module:first-child {
    margin-left: 20px;
}

.recruiting-process-row .et_pb_column .recruiting-process-module:nth-child(odd) {
    margin-top: 180px;
}

.recruiting-process-row .et_pb_column .recruiting-process-module:not(:last-child)::after {
    content: "";
    background-image: url(/wp-content/themes/child-theme/images/pfeil.png);
    background-size: 95px;
    background-repeat: no-repeat;
    width: 115px;
    aspect-ratio: 1;
    position: absolute;
}

.recruiting-process-row .et_pb_column .recruiting-process-module:nth-child(odd)::after {
    transform: scaleX(-100%) translateY(50%);
    bottom: 0;
    left: -115%;
}

.recruiting-process-row .et_pb_column .recruiting-process-module:nth-child(even)::after {
    top: 0;
    left: 115%;
    transform: translateY(50%);
}

.recruiting-process-module .et_pb_blurb_content {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.recruiting-process-row .et_pb_column .recruiting-process-module:nth-child(even) .et_pb_blurb_content {
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.recruiting-process-module .et_pb_blurb_content .et_pb_main_blurb_image {
    margin: 0;
    width: 130px;
}

#page-container .recruiting-process-module .et_pb_blurb_content .et_pb_blurb_container {
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translate(-50%, 100%);
    max-width: 250px;
    width: max-content;
    text-align: center;
}

.recruiting-process-module .et_pb_blurb_content .et_pb_blurb_container h5 span {
    font-size: 17px;
    color: #555;
    letter-spacing: .5px;
}


@media only screen and (max-width:767px) {
    .recruiting-process-row .et_pb_column .recruiting-process-module:nth-child(odd) {
        margin-right: 20px;
    }

    .recruiting-process-row .et_pb_column .recruiting-process-module:nth-child(even) {
        margin-left: 20px;
    }

    .recruiting-process-row .et_pb_column .recruiting-process-module:nth-child(2n+1)::after {
        left: -125%;
    }

    .recruiting-process-module .et_pb_blurb_content .et_pb_main_blurb_image {
        width: 100px;
    }

    #page-container .recruiting-process-module .et_pb_blurb_content .et_pb_blurb_container {
        max-width: 180px;
    }

    .recruiting-process-module .et_pb_blurb_content .et_pb_blurb_container h5 span {
        font-size: 15px;
        letter-spacing: 0px;
    }
}

/* #endregion application process */

@keyframes fade-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-10%);
        transform: translateX(-10%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}


@keyframes fade-bottom {
    0% {
        opacity: 0;
        -webkit-transform: translateY(10%);
        transform: translateY(10%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

.brlbs-cmpnt-h1{
    font-size:18px!important;
}

/*#region EBE als Arbeitgeber*/
.ebe-employer .et_pb_blurb_content {
    display: flex;
    align-items: center;
}

.ebe-employer .et_pb_main_blurb_image {
    width: 200px;
}

@media(max-width:767px) {
    .ebe-employer .et_pb_blurb_content {
        flex-direction: column;
    }
}

/*#endregion EBE als Arbeitgeber*/

/*#region Custom Row - on  mobile change order*/
@media(max-width:980px) {
    .custom_row {
        display: flex;
        flex-direction: column;
    }

    .et_pb_column.first-mobile {
        order: 1;
    }

    .et_pb_column.second-mobile {
        order: 2;
        padding-top: 35px;
    }
}