/* ================================================================= */
/*                          Allgemeine Stile                         */
/* ================================================================= */
@import url('../css/variables.css');

/* ==================== Hauptbereich der Hero-Section ==================== */
.hero-section {
    height: 91vh;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ==================== Container der Hero-Section ==================== */
.hero-container {
    width: 100vw;
    margin-top: -9vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-image: url('../images/arimond_startseite.jpg'); /* Pfad zum Bild */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==================== Overlay für Hero-Section ==================== */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

/* ==================== Wrapper für den Hero-Inhalt ==================== */
.hero-content-wrapper {
    width: 100%;
    max-width: 99rem;
    margin: 0 auto;
    z-index: 2;
}

/* ==================== Text in der Hero-Section ==================== */
.hero-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: left;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ==================== Überschriften in der Hero-Section ==================== */
.hero-text h5 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* ==================== Zusatztext in der Hero-Section ==================== */
.custom-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ==================== Button in der Hero-Section ==================== */
.hero-btn {
    padding: 15px 25px;
    border: unset;
    border-radius: var(--border-radius);
    color: #212121;
    z-index: 1;
    background: #e8e8e8;
    position: relative;
    font-weight: 1000;
    font-size: 17px;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
    box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
    transition: all 250ms;
    overflow: hidden;
}

.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 15px;
    background-color: var(--logo-color);
    z-index: -1;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
    box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
    transition: all 250ms
}

.hero-btn:hover {
    color: #e8e8e8;
}

.hero-btn:hover::before {
    width: 100%;
}


/* ================================================================= */
/*                       Responsive Anpassungen                      */
/* ================================================================= */
@media (max-width: 1620px) {

    .hero-text {
        padding-left: 3vw;
    }

}
@media (max-width: 768px) {
    .hero-text {
        padding-left: 3vw;
    }

    .hero-btn {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h5 {
        font-size: 1rem;
    }

    .custom-text {
        font-size: 1.1rem;
    }
}


/* ================================================================= */
/*                      Mobile Optimierung 375px                    */
/* ================================================================= */
@media (max-width: 375px) {
    .hero-text {
        padding-left: 3vw;
    }

    .hero-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.95rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text h5 {
        font-size: 0.9rem;
    }

    .custom-text {
        font-size: 1rem;
    }
}
