
/* ==========================================
   RAUMAMBIENTE AACHEN
   HERO STARTSEITE
   ========================================== */

/* Hero-Artikel – volle Browserbreite */
#main .mod_article.hero-section {
    width: 100%;
    min-height: 540px;

    display: flex;
    align-items: center;

    background-image:
        url("/files/raumambiente/images/hero-bad.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.referenzen #main .mod_article.hero-section {
    background-image:
        url("/files/raumambiente/images/Herobild_Referenzen_Uebersicht.webp");
}
.karriere #main .mod_article.hero-section {
    background-image:
        url("/files/raumambiente/images/Karriere.webp");
}
.leistungen #main .mod_article.hero-section {
    background-image:
        url("/files/raumambiente/images/Leistungen.webp");
}
/* Innere Breitenbegrenzung aufheben */
#main .mod_article.hero-section {
    max-width: none;
    padding-inline: 0;
}

/* Textbereich */
.hero-content {
    max-width: 570px;
    color: var(--color-white);
}

/* Kleine obere Zeile */
.hero-subline {
    margin-bottom: 14px;

    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.5;

    color: var(--color-white);
}

/* Hauptüberschrift */
.hero-title {
    margin: 0 0 20px;

    font-family: var(--font-headline);
    font-size: clamp(34px, 3.3vw, 50px);
    font-weight: 700;
    line-height: 1.08;

    color: var(--color-white);
}

/* Türkisfarbene zweite Zeile */
.hero-title span {
    color: var(--color-turquoise);
}

/* Beschreibung */
.hero-description {
    max-width: 450px;
    margin: 0 0 25px;

    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;

    color: var(--color-white);
}

/* ==========================================
   HERO BUTTON
   ========================================== */

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    padding: 12px 22px;

    background: var(--color-petrol);
    color: var(--color-white);

    border: 1px solid var(--color-white);
    border-radius: var(--radius-small);

    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    text-decoration: none;
    transition:
        background var(--transition-default),
        color var(--transition-default);
}

.hero-button i {
    font-size: 17px;
    color: var(--color-white);
    transition: transform var(--transition-default);
}

.hero-button:hover {
    background: var(--color-petrol-hover);
    color: var(--color-white);
}

.hero-button:hover i {
    transform: translateX(4px);
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {

    #main .mod_article.hero-section {
        min-height: 470px;
        background-position: 55% center;
    }

    .hero-content {
        max-width: 500px;
    }

    .hero-description {
        font-size: 16px;
    }
}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 767px) {

    #main .mod_article.hero-section {
        min-height: 500px;
        background-position: 54% center;
    }

    #main .mod_article.hero-section > .inside {
        padding: 50px var(--content-padding);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subline {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(30px, 7vw, 40px);
    }

    .hero-description {
        font-size: 15px;
        max-width: 350px;
    }

    .hero-button {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* ==========================================
   HERO – RESPONSIVE TEXTPOSITION
   ========================================== */

/* Desktop und Tablet */
#main .mod_article.hero-section > .hero-content {
    width: 100%;
    max-width: none;

    padding-left: max(
        40px,
        calc(
            (100% - var(--content-width)) / 2
            + var(--content-padding)
        )
    );

    padding-right: 10px;
}

/* Smartphone unter 786 px */
@media (max-width: 785px) {

    #main .mod_article.hero-section > .hero-content {
        padding-left: 10px;
    }

}