/* .header--scrolled {
    background-color: transparent;
}
.header__menu ul li a {
    color: #1f3517;
} */
/* her headline break word */
/* .s-hero__headline,
h2.h1 {
    white-space: pre-line;
} */
/* .headline-wrap {
    margin: -40px 0 20px 0;
} */
/* section.s-products h2.h1 {
    display: inline;
} */



/* .overlay[data-overlay-slot="top-left"] {
  top: 25px;
  transform: translate(15px, 0);
} */

.s-intro {
    overflow: hidden;
}
.s-intro__inner .overlay {
    backdrop-filter: none;
    background: none;
    border: none;
}
.s-intro__inner .overlay--bottom {
    bottom: 15px;
}

section#news {
    padding-top: 170px;
}

h3 {
    margin-bottom: 11.5px;
}
ul {
    padding-left: 1rem;
    margin-top: 19.2px;
}


/* SECTIONS */
  
section.s-intro.bg-dark {
    z-index: calc(var(--base-z) - 1);
}
section.s-functions {
    z-index: calc(var(--base-z) - 2);
}
section.s-functions#all-services {
    z-index: calc(var(--base-z) - 2);
    padding: 0 0 50px;
}
section.s-products {
    z-index: calc(var(--base-z) - 3);
}
section.s-banner {
    z-index: calc(var(--base-z) - 4);
    height: 100vh;
}
section.s-news {
    z-index: calc(var(--base-z) - 5);
}
section.s-cta {
    z-index: calc(var(--base-z) - 6);
}
section.s-hero {
    background: none;
    /* width: 100vw;
    margin-left: calc(50% - 50vw); */
}


.s-hero__image img,
.s-hero__image video,
.s-hero__image mux-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay-float {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    color: #fff;
}

/* ========================================
    SERVICES (FUNCTIONS) section
======================================== */
.cp-icon-cards,
.cp-news-cards {
    grid-template-columns: repeat(auto-fit, minmax(0, 280px));
    justify-content: center;
}
.content#blog-content .cp-news-cards {
    grid-template-columns: repeat(auto-fit, minmax(0, 400px));
}
.cp-icon-cards__item a.btn {
    margin: 10px 0;
    box-shadow: none;
    --btn-shadow: none;
}
section.content .column p {
    max-width: 95%;
    margin: 0 auto;
}
section.content {
    z-index: 0;
}



/* .content#content-site header.header a {
    color: #1f3517;
} */
.content#content-site section.s-hero,
.content#service-content section.s-hero,
.content#job-content section.s-hero,
.content#blog-content section.s-hero {
    height: 50vh;
    margin-top: 0;
    z-index: calc(var(--base-z) - 2);
}
.content#content-site header.header.header--scrolled a {
    color: var(--menu-color);
}
.content#content-site .s-hero__headline,
.content#service-content .s-hero__headline,
.content#job-content .s-hero__headline,
.content#blog-content .s-hero__headline {
    font-size: clamp(1.875rem, 7.4vw, 9.609375rem);
}
.s-hero.s-hero--green,
.content#content-site .s-hero.s-hero--green,
.content#service-content .s-hero.s-hero--green,
.content#job-content .s-hero.s-hero--green,
.content#blog-content .s-hero.s-hero--green {
    background: #1f3517;
}
.content#content-site #content_header h1 {
    position: relative;
    z-index: 1;
    color: #ffdd57;
    font-size: clamp(2.5rem, 10.6770833333vw, 12.8125rem);
    line-height: 0.88;
    letter-spacing: -0.05em;
}
.content#content-site #content_header .subheadline {
    display: flex;
    width: fit-content;
    margin: 0 auto;
}
.content#content-site #content_header h1 {
    text-align: center;
    margin: 50px 0 100px;
}
.content#content-site section,
.content#blog-content section,
.content#service-content section {
    margin-top: 100px;
}










/* ========================================
   Button Hover Style #6 (Offset Lift)
======================================== */
/* Lift effect */

button,
.cp-product-cards__item-image img {
    transition: all .3s linear;
}
.btn:hover,
.btn-to-bottom:hover,
.cp-product-cards__item-image img:hover {
    transform: translate3d(-4px, -4px, 0);
}
.btn:hover {
    box-shadow: 4px 4px 0 0 #000;
    background-position: 0;
}
/* .cp-news-cards__item-image img:hover, */
.cp-product-cards__item-image img:hover {
    box-shadow: 10px 10px 0 0 #000;
}
.btn-to-bottom:hover {
    box-shadow: 0 4px 4px 4px #000;
}
/* .form__controls .btn:hover {
    box-shadow: 4px 4px 0 0 #fff;
} */

.btn__arrow {
    margin-left: 0;
}
.btn .btn__arrow,
img.btn__arrow_Side {
    animation: btnArrowBounceSide 4s ease infinite;
}
img.btn__arrow {
    animation: btnArrowBounceDown 4s ease infinite;
}

@keyframes btnArrowBounceSide {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateX(0) translateY(0); 
    }
    40% { 
        transform: translateX(10px) translateY(0); 
    }
    60% { 
        transform: translateX(5px) translateY(0); 
    }
}

@keyframes btnArrowBounceDown {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(0) translateY(-3px); }
    50% { transform: translateX(0) translateY(2px); }
    75% { transform: translateX(0) translateY(-2px); }
}









/* ========================================
   Products Section
======================================== */

.cp-product-cards__item,
.cp-icon-cards__item {
    will-change: transform, opacity;
}
.cp-news-cards__item-image {
    overflow: hidden;
}

.cp-product-cards__item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 410 / 550;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 40px;
    background: #f4e6d3;
    padding-top: 0;
}
.cp-product-card {
    position: relative;
    width: 100%;
    height: 100%;
}
.cp-product-card__front,
.cp-product-card__back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

.cp-product-card__front {
    z-index: 2;
    transform: translateY(0);
    opacity: 1;
}

.cp-product-card__front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cp-product-card__back {
    z-index: 1;
    transform: translateY(100%);
    opacity: 0;
    background: #e5d6c0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cp-product-card__back p {
    margin: 0 auto;
    /* font-size: clamp(1.8rem, 2vw, 3.2rem); */
    font-size: 25px;
    line-height: 1.2;
}
/* hover effect: front slides left, back slides in */
.cp-product-cards__item .cp-product-card:hover .cp-product-card__front {
    transform: translateY(-100%);
    opacity: 0;
}
.cp-product-cards__item .cp-product-card:hover .cp-product-card__back {
    transform: translateY(0);
    opacity: 1;
}







/* iOS Safari braucht overflow-x: hidden auf html UND body */
@media (max-width: 767.98px) {
    html, body {
        overflow-x: hidden;
    }
    .content#content-site #content_header h1 {
        margin: 24px 0 40px;
    }
    .content#content-site section,
    .content#blog-content section,
    .content#service-content section {
        margin-top: 40px;
    }

    .s-hero {
        height: auto;
        min-height: 32dvh;
    }
    .content#content-site section.s-hero,
    .content#service-content section.s-hero,
    .content#job-content section.s-hero,
    .content#blog-content section.s-hero {
        height: auto;
        min-height: 28dvh;
    }
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
    .s-hero {
        height: 35vh;
    }
    .content#content-site section.s-hero,
    .content#service-content section.s-hero,
    .content#job-content section.s-hero,
    .content#blog-content section.s-hero {
        height: 35vh;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .s-hero {
        height: auto;
        min-height: 30dvh;
    }
    .content#content-site section.s-hero,
    .content#service-content section.s-hero,
    .content#job-content section.s-hero,
    .content#blog-content section.s-hero {
        height: auto;
        min-height: 23dvh;
    }
}


/* ========================================
   Job List
======================================== */
.cp-job-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cp-job-list__item {
    border-top: 1px solid #d9c7ae;
}
.cp-job-list__item:last-child {
    border-bottom: 1px solid #d9c7ae;
}
.cp-job-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    text-decoration: none;
    color: #1f3517;
    transition: all 0.2s ease;
}
.cp-job-list__link:hover {
    padding-left: 0.75rem;
    color: #344a2c;
    text-decoration: none;
}
.cp-job-list__body {
    flex: 1 1 auto;
    text-align: left;
}
.cp-job-list__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}
.cp-job-list__category {
    display: inline-flex;
    align-items: center;
    border-radius: 20px;
    padding: 0 10px;
    height: 22px;
    font-size: 0.72rem;
    letter-spacing: 0;
    background-color: #efca3a;
    color: #1f3517;
    font-weight: 500;
}
.cp-job-list__dates {
    font-size: 0.78rem;
    color: #7a7060;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0;
}
.cp-job-list__dates img {
    opacity: 0.6;
}
.cp-job-list__title {
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 0.3rem;
}
.cp-job-list__arrow {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #d9c7ae;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: transparent;
}
.cp-job-list__link:hover .cp-job-list__arrow {
    background: #1f3517;
    border-color: #1f3517;
}
.cp-job-list__arrow svg path {
    transition: stroke 0.2s ease;
}
.cp-job-list__link:hover .cp-job-list__arrow svg path {
    stroke: #fff;
}


/* ========================================
   Service List (Unterseite)
======================================== */
.cp-service-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}
.cp-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 40px;
    /* padding: 50px; */
}
.cp-service-card__title {
    line-height: 0.95;
}
.cp-service-card__media {
    margin: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: right;
}
.cp-service-card__media img {
    display: block;
    height: 150px;
    width: 150px;
    object-fit: cover;
}
.cp-service-card__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
@media (max-width: 991px) {
    .cp-service-card {
        gap: 24px;
    }
    .cp-service-card__content {
        max-width: none;
        padding: 16px 0 0;
    }
    .cp-service-card__media {
        min-height: 340px;
    }
    .cp-service-card__title {
        font-size: clamp(2rem, 9vw, 3.8rem);
    }
}
