/* ===============================
    Startseiten-Überschrift
   =============================== */

.home-page-title {

    width: min(1180px, calc(100% - 64px));
    margin: 34px auto 0;
    text-align: center;
}

.home-page-title h1 {

    margin: 0;
    color: var(--primary-color);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.home-page-slogan {

    margin: 10px 0 0;
    color: var(--primary-color);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
}

@media (max-width: 600px) {

    .home-page-title {

        width: calc(100% - 32px);
        margin-top: 24px;
    }
}


/* ===============================
    Hauptcontainer einer Seite
    Enthält Bild und Inhalte
   =============================== */

.container {

    /* komplette verfügbare Breite nutzen */
    width: 100%;


    /* verhindert Probleme mit Breite + Padding */
    box-sizing: border-box;


    /* Bezugspunkt für die Hintergrundwelle */
    position: relative;

    overflow: hidden;

    /* Abstand nach oben und unten */
    padding-top: 40px;
    padding-bottom: 40px;
}



/* ===============================
    Hero Inhalt
    Enthält Überschrift, Text und Button
   =============================== */

.hero-content {

    width: 100%;

    /* Elemente horizontal zentrieren */
    display: flex;

    justify-content: center;

    /* Hero-Inhalt liegt über der Welle */
    position: relative;

    z-index: 1;
}



.container::before {

    /* grüne Welle im Hintergrund */
    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 110px;

    background-image: url("../../../images/wave-seamless.svg");

    background-repeat: repeat-x;

    background-position: bottom left;

    background-size: 550px 110px;

    opacity: 0.22;

    pointer-events: none;

    z-index: 0;
}


.main-image:hover {

    /* Bild minimal vergrößern */
    transform: scale(1.03);

    /* Schatten etwas weicher und sichtbarer */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
