/* Wave */

.wave-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.wave-header .content {
    position: relative;
    z-index: 10;
    padding: 20px;
    color: white; /* Weiße Textfarbe für die Lesbarkeit */
    width: 80vw;
    max-width: 1400px;
    margin: auto;
    margin-top: 6%;
}

.wave-header h1 {
    margin: 0 0 50px 0;
    font-size: 72px;
    line-height: 120%; 
    font-family: var( --e-global-typography-2313361-font-family ), Sans-serif !important;
    word-break: break-word;
    hyphens: auto;
}

.wave-header .wave-button {
    background-color: #0db8e1;
    border: 1px solid #0db8e1;
    padding: 14px 20px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.wave-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.wave-header #wave {
    position: absolute;
    bottom: -290px;
    width: 100%;
    height: auto;
    z-index: 99;
}

@media (max-width: 992px) {
    .wave-header {
        align-items: end !important;
        margin-bottom: 40px;
    }

    .wave-header .content {
        width: 100vw !important;
    }

    .wave-header h1 {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .wave-header h1 {
        font-size: 40px;
    }
}



/* Hero Slider */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    background: url("/wp-content/uploads/2024/06/saia-bg-dark.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slider-background {
    position: absolute;
    bottom: -500px;
    right: -500px;
    overflow: hidden;
    z-index: 999;
}

.hero-slider-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    transition: transform 1s ease;
}

.hero-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-slide {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100vh !important; /* Setze die Mindesthöhe für jeden Slide */
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px; /* Padding für jeden Slide */
}

.hero-slider-content {
    color: #fff;
    width: 100%; /* Text und Button auf der linken Hälfte */
    padding-right: 20px;
}

.hero-slider-content h1 {
    margin-top: 0px !important;
    margin-bottom: 50px;
    font-size: clamp(32px, 80px, 80px);
    line-height: 120%;
}

.hero-slider-content p {
    margin: 0px !important;
}

.hero-slider-content h1 span {
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background: rgb(85, 211, 255);
    background: -moz-linear-gradient(90deg, rgba(85, 211, 255, 1) 0%, rgba(46, 171, 222, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(85, 211, 255, 1) 0%, rgba(46, 171, 222, 1) 100%);
    background: linear-gradient(90deg, rgba(85, 211, 255, 1) 0%, rgba(46, 171, 222, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#55d3ff",endColorstr="#2eabde",GradientType=1);
}

.hero-slider-image {
    width: 50%; /* Bild auf der rechten Hälfte */
    text-align: right; /* Bild rechtsbündig */
}

.hero-slider-image img {
    max-width: 100%;
    height: auto;
}

.hero-slider-button {
    display: inline-block;
    border-radius: 5px;
    padding: 10px 20px;
    color: #fff !important;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    background: rgb(85,211,255);
    background: -moz-linear-gradient(90deg, rgba(85,211,255,1) 0%, rgba(46,171,222,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(85,211,255,1) 0%, rgba(46,171,222,1) 100%);
    background: linear-gradient(90deg, rgba(85,211,255,1) 0%, rgba(46,171,222,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#55d3ff",endColorstr="#2eabde",GradientType=1);
}

.hero-slider-button:hover {
    background-color: #fff;
    color: #000;
}


/* Überschriften */
.font-white {
    color: #fff;
    font-size: clamp(32px, 80px, 80px);
}


.font-blue-gradient {
    font-size: clamp(32px, 80px, 80px);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background: rgb(85, 211, 255);
    background: -moz-linear-gradient(90deg, rgba(85, 211, 255, 1) 0%, rgba(46, 171, 222, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(85, 211, 255, 1) 0%, rgba(46, 171, 222, 1) 100%);
    background: linear-gradient(90deg, rgba(85, 211, 255, 1) 0%, rgba(46, 171, 222, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#55d3ff", endColorstr="#2eabde", GradientType=1);
    margin: 0px !important;
    line-height: 75px !important;
    padding-bottom: 50px;
}

.font-blue-gradient span, .font-white span {
    background: none;
    font-size: 70%;
    display: block;
    -webkit-text-fill-color: #716F6F;
}



/* Icon Box */
.custom-icon-box {
    position: relative;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: left;
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Ensures the child elements do not overflow */
    min-height: 220px;
    margin: 10px;
    -webkit-box-shadow: 0px 5px 20px 0px rgba(66, 68, 90, 0.06);
    -moz-box-shadow: 0px 5px 20px 0px rgba(66, 68, 90, 0.06);
    box-shadow: 0px 5px 20px 0px rgba(66, 68, 90, 0.06);
}

.custom-icon-box:hover {
    border-color: rgb(85, 211, 255);
}

.custom-icon-box img.background-image {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0.5; /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the image is behind the text */
    height: auto;
    object-fit: cover;
    border-radius: 10px; /* Ensures the image follows the same border-radius */
    max-height: 70px;
    width: auto;
    transform: rotate(-25deg);
}

.custom-icon-box h2,
.custom-icon-box p {
    position: relative;
    z-index: 2;
    margin: 0;
}

.custom-icon-box h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #000 !important;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
}

.custom-icon-box p {
    font-size: 16px;
    color: var(--e-global-color-text) !important;
}


.custom-icon-box .arrow {
    margin-top: 10px;
    position: relavtiv;
    font-size: 24px;
    color: rgb(85, 211, 255);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.custom-icon-box:hover .arrow {
    opacity: 1;
}

.custom-icon-box .arrow svg {
    width: 6%;
    height: auto;
    fill: rgb(85, 211, 255);
}



/* Responsive */
@media (max-width: 768px) {

.hero-slide {
    height: 90vh !important;
}

.hero-slider-background {
    bottom: -250px;
    right: -250px;
    max-width: 500px;
}

.hero-slide {
    padding: 15px;
}

.font-white, .font-blue-gradient, .hero-slider-content h1 {
    font-size: clamp(32px, 50px, 60px);

}

.hero-slider-content h1 br {
    display: none !important;
}
}

