@import '/styles/global.css';
@import '/styles/HeaderManager.css';
@import '/styles/FooterManager.css';
@import '/styles/ClosingElementGrey.css';

/*   LANDINGPAGE   */

#hero__landing {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* for some reason the overlay is not working?? */
/*  overlay  */
#hero__landing::after {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(0,68,102,0.5);
}

#hero__landing video {
    width: 100%;
    height: 100%;
    min-height: 450px;
    max-height: 90vh;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 5;
    object-fit: cover;
    border-bottom: 5px solid transparent;
    border-image: var(--color-gradient);
    border-image-slice: 1;
    pointer-events: none;
}

.hero__landing--caption {
    position: relative;
    top: 10%;
    z-index: 20;
    text-shadow: 1px 1px 2px var(--light-black-shadowing-text);
    padding-inline: 20px;
}

.hero__landing--caption h1 {
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.hero__landing--caption h4 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 1rem;
}
.intro--landing {
    margin-top: 100px;
}
.container--intro {
    max-width: 1500px;
    padding-inline: 120px;
    text-align: center;
}


.container--intro h2 {
    padding-top: 15px; 
}



.container--intro a {
    text-transform: uppercase;
    color: var(--color-text);
    font-family: "inter-bold";
    cursor: pointer;
}

.container--intro a:hover {
    text-decoration: underline;
}
.ueber-uns-link-responsive {
    display: none;
}
.spacer-landing {
    content:'';
    text-align: center;
    width: 15%;
    border-top: 5px solid transparent;
    border-image: var(--color-gradient);
    border-image-slice: 1;
}
/*  DIVIDING BANNER   */

.dividing-banner {
    background-color: var(--color-dropdowns-backgrd);
    border-bottom: 5px solid transparent;
    border-image: var(--color-gradient);
    border-image-slice: 1;
    margin-top: 50px;
}
.banner-elements {
    max-width: 1500px;
    height: 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-inline: 120px;
}
.div-banner-element img{
    width: 25px;
    margin-right: 6px;
}

.div-banner-element {
    display: flex;
    align-items: center;
    justify-content: center;
}
.div-banner-element h6{
    display: flex;
    font-weight: 700;
    font-size: .9rem;
}
/*------------*/

.divider {
    width: 65%;
}
/*------------*/
.container--expertise {
    max-width: 100%;
}
.expertise-title {
    max-width: 1500px;
    text-align: center;
    padding-inline: 120px;
    margin-top: 100px;
    position: relative;
}
.expertise-title h2 {
    padding-top: 15px; 
}
/*  CAROUSEL  */
.carousel__container-responsive {
    display: none;
}
.carousel__container {
    height: 300px;
    width: 100%;
    padding-left: max(0px, calc((100% - 1300px) / 2));
    position: relative;
}

.slider__wrapper {
    padding-left: 20px;
}


.slider__wrapper .image__list {
    display: grid;
    gap: 10px;
    font-size: 0;
    margin-top: 50px;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    grid-template-columns: repeat(4, 500px);
}

.slider__wrapper .image__list::-webkit-scrollbar {
    display: none;
}

.slider__wrapper .image__list .image__item {
    width: 500px;
    height: 300px;
    background-repeat: no-repeat;
    background-size: contain;
    
}
.item1 {background-image: url("https://awstorageus1.blob.core.windows.net/meurer-public/images/Home-Page-1.webp");}
.item2 {background-image: url("https://awstorageus1.blob.core.windows.net/meurer-public/images/Home-Page-2.webp");}
.item3 {background-image: url("https://awstorageus1.blob.core.windows.net/meurer-public/images/Home-Page-3.webp");}
.item4 {background-image: url("https://awstorageus1.blob.core.windows.net/meurer-public/images/Automation_Vernetzungstechnik_9.webp");}

.image__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to the bottom */
    align-items: flex-start;
    height: 100%; /* Ensure it takes full height */
    
}
.image__item h4 {
    text-align: left;
}
.image__item h4,
.image__item a {
    color: var(--color-white);
    margin-left: 0; /* Reset left margin */
    margin-bottom: 20px;
    margin-left: 20px;
    
}



.banner-title-responsive {
    display: none;
}
.banner-quote {
    position: relative;
    margin-top: 120px;
    width: 100%;
    height: 450px;
    background-image: url("https://awstorageus1.blob.core.windows.net/meurer-public/images/Home-Page-5.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.banner-blue {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    top: 50%;
    left: 0; /* Extends to the left edge */
    width: calc(100% - 50%); /* Stops 20px before the right edge */
    transform: translate(0, -50%); /* Adjusted to keep positioning */
    background-color: var(--color-accent1);
}

.banner-content {
    margin-right: 0;
    max-width: 1500px;
    width: 50%;
    margin-left: auto; /* Pushes content to the right */
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


.banner-content img {
    margin-bottom: -20px; /* Add spacing below the image */
    margin-left: 0;
}

.banner-content h2,
.banner-content p {
    color: var(--color-white);
    margin-left: 50px;
}



.lndg__karriere {
    padding-block: 100px;
}
.lndg-karriere-text {
    margin-top: 30px;
}
.lndg__karriere .container__flex-50-50--left {
    padding-right: 60px;
}
.lndg__karriere .container__flex-50-50--left a {
    display: inline-block;
    margin-bottom: 50px;
    margin-top: 30px;
}

.lndg__karriere .container__flex-50-50--right {
    text-align: center;
}

/* Base styles for both images */
.mobile-image,
.desktop-image {
    width: 100%;
    height: auto;
    display: block;
}

/* By default, hide mobile image */
.mobile-image {
    display: none;
}

/*-----------------
.referezen-container {
    background-color: var(--light-grey-background);
}
.referezen p {
    padding-top: 10px;
    padding-bottom: 10px;
}
.referezen h6 {
    font-weight: bold;
    margin-top: 8px;
}
/* REFERENCE CAROUSEL

.reference-carousel {
    height: 320px; 
}
--------------------*/

@media(max-width: 2025px) {
    .banner-blue {
        position: absolute;
        display: flex;
        justify-content: flex-end;
        top: 50%;
        left: 0; /* Extends to the left edge */
        width: calc(100% - 50%); /* Stops 20px before the right edge */
        transform: translate(0, -50%); /* Adjusted to keep positioning */
        background-color: var(--color-accent1);
    }
    .banner-content {
        margin-right: 0;
        max-width: 1500px;
        width: 60%;
        margin-left: auto; /* Pushes content to the right */
        padding: 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
}
@media(max-width: 1777px) {
    .banner-content {
        width: 70%;
    }
}
@media(max-width: 1400px) {
    .banner-content {
        width: 80%;
        padding-right: 0px;
    }
}
@media(max-width: 1180px) {
    .banner-content {
        width: 90%;
        padding-right: 20px;
    }
}
@media(max-width: 1024px) {
    #hero__landing video {
        top: 60px;
    }
    /*-------------*/
    .expertise-title {
        padding-inline: 20px;
        margin-top: 80px;
        margin-bottom: 20px;
    }
    
    /*-------------*/
    .banner-content {
        width: 100%;
        padding-right: 20px;
    }
    .banner-elements {
        padding-inline: 20px;
    }
    .container--intro {
        padding-inline: 20px;
        text-align: center;
    }
    
    /*  CAROUSEL  */
    

    .slider__scrollbar .scrollbar__thumb {
        width: 20%
    }
    /*-------------*/
    .banner-quote {
        background-position: 80% 50%;
        height: 400px;
    }
}

@media(max-width: 900px) {

    
    /*   GRID LEISTUNG  */
    .grid--leistung {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-column-gap: 30px;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        grid-row-gap: 30px;
        margin-block: 20px;
    }

    .grid--leistung-wrapper:nth-child(1) {
        margin-top: 20px;
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .grid--leistung-wrapper:nth-child(2) {
        margin-top: 20px;
        grid-column: 1 / 3;
        grid-row: 2/ 3;
    }
    .grid--leistung-wrapper:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
    }
    .grid--leistung-wrapper:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
    .grid--leistung-wrapper:nth-child(5) {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }
    .grid--leistung-wrapper {
        padding: 20px 0px 20px 20px;
    }

    .grid--leistung-wrapper h5,
    .grid--leistung-wrapper h4,
    .grid--leistung-wrapper p {
        padding-bottom: 20px;
    }
    .grid--leistung-wrapper h4 {
        color: var(--color-text);
        font-size: larger;
    }
    .grid--leistung-wrapper a {
        color: var(--color-text);
        font-family: 'inter-bold';
    }
    .grid--leistung-wrapper-blue {
        background-color: var(--color-accent1);
        padding: 80px 40px 80px 40px;

    }
    .grid--leistung-wrapper-blue h5,
    .grid--leistung-wrapper-blue h3,
    .grid--leistung-wrapper-blue p,
    .grid--leistung-wrapper-blue a {
        color: var(--color-primary-h1);
        padding-bottom: 30px;
    }
    .grid--leistung-wrapper-blue h5,
    .grid--leistung-wrapper-blue h3,
    .grid--leistung-wrapper-blue p {
        padding-bottom: 30px;
    }

}
@media(max-width: 800px) {
    /*  lnd page video  */
    #hero__landing video {
        top: 0px;
    }
}
@media(max-width: 768px) {
    #hero__landing {
        position: relative;
        width: 100%;
        height: 55vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    /* for some reason the overlay is not working?? */
    /*  overlay  */
    #hero__landing::after {
        width: 100%;
        height: 55vh;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        background: rgba(0,68,102,0.5);
    }
    
    #hero__landing video {
        width: 100%;
        height: 100%;
        min-height: 150px;
        max-height: 55vh;
        position: absolute;
        top: 0px;
        left: 0;
        z-index: 5;
        object-fit: cover;
        border-bottom: 5px solid transparent;
        border-image: var(--color-gradient);
        border-image-slice: 1;
    }
    .expertise-title {
        text-align: left;
    }

    /* ---------------- */
    .banner-title-responsive {
        display: block;
        padding-inline: 20px;
        margin-top: 80px;
    }
    .banner-quote {
        margin-top: 30px;
        position: relative;
        width: 100%;
        height: 400px;
        background-image: url("https://awstorageus1.blob.core.windows.net/meurer-public/images/M_Home_5.webp");
        background-repeat: no-repeat;
        background-size: cover;
    }
    .banner-blue {
        left: 10%;
        right: 10%;
        width: 80%; /* Centers the banner with 20% margins on each side */
        top: 100%; /* Moves the top edge to 85% of the parent's height */
        transform: translateY(-35%); /* Shifts it upwards to cover 15% of the parent */
    }
    
    .banner-content {
        max-width: 1500px;
        width: 100%;
        margin-left: auto; /* Pushes content to the right */
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    /* ---------------- */
    /*  SECTION Lndg__Karriere  */
    .lndg__karriere .container__flex-50-50 {
        padding-top: 50px;
        padding-inline: 0px;
        display: flex;
        flex-wrap: wrap;
    }
    .lndg__karriere {
        margin-top: 150px;
        padding-inline: 0px;
        padding-top: 100px;
        padding-bottom: 0px;
    }
   
    .lndg__karriere .container__flex-50-50--left {
        padding: 60px 20px;
        width: 100%;
    }
    .lndg__karriere .container__flex-50-50--left a {
        display: inline-block;
        margin-top: 30px;
    }

    .lndg__karriere .container__flex-50-50--right {
        text-align: center;
        width: 100%;
    }
}


@media(max-width: 650px) {

    .mobile-image {
        display: block;
    }
    .desktop-image {
        display: none;
    }

    .intro--landing {
        margin-top: 50px;
    }
    .container--intro {
        padding-inline: 20px;
        text-align: left;
    }
    
    .ueber-uns-link {
        display: none;
    }
    .ueber-uns-link-responsive {
        display: inline-flex;
        padding-inline: 20px;
        text-transform: uppercase;
        padding-top: 30px;
    }
    .spacer-landing {
        content:'';
        text-align: left;
        width: 30%;
        border-top: 5px solid transparent;
        border-image: var(--color-gradient);
        border-image-slice: 1;
    }
    .dividing-banner {
        
        background-color: transparent;
        padding-bottom: 50px;
        margin-top: 0;
        border-image: none;
        border-bottom: 1px solid var(--light-grey-underline);
        margin-inline: 20px;
       
    }
    .banner-elements {
        display: block;
        height: 150px;
    }
    .div-banner-element {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    .div-banner-element img{
        width: 25px;
        margin-right: 10px;
        margin-left: 0;
    }
    .div-banner-element h6{
        display: flex;
        font-weight: 500;
        font-size: .9rem;
        margin-left: 0;
    }
    
    /*-------------*/
    .banner-quote {
        background-position: 80% 50%;
        height: 350px;
    }
    .banner-blue {
        left: 5%;
        right: 5%;
        width: 90%; /* Centers the banner with 20% margins on each side */
        top: 100%; /* Moves the top edge to 85% of the parent's height */
        transform: translateY(-25%); /* Shifts it upwards to cover 15% of the parent */
    }
    .banner-content h2 {
        font-size: 1.5rem;
        line-height: 2rem;
        

    }

    /* ---------------- */
    .carousel__container {
        display: none;
    }
    .carousel__container-responsive {
        display: block;
        padding-block: 30px;
    }
   
    .image__item-responsive {
        width: 100%;
        position: relative;
        padding-top: 20px;
    }
    .image__item-responsive h4 {
        color: var(--color-white);
        position: absolute;
        font-size: 1.5rem;
        bottom: 80px;
        left: 20px;
    }
    
    .image__item-responsive a {
        color: var(--color-white);
        position: absolute;
        bottom: 20px;
        left: 20px;
    }
}

@media(max-width: 450px) {
    .banner-content h2 {
        font-size: 1.4rem;
        margin-left: 0;
        padding-top: 40px;
    }
    .lndg__karriere {
        margin-top: 140px;
        padding-inline: 0px;
    }
}

@media(max-width: 350px) {
    .lndg__karriere {
        margin-top: 160px;
    }
}