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

.header-hero {
    position: relative;

    /* etwas geringere Höhe = weniger Skalierung = schärfer */
    min-height: clamp(420px, 55vh, 580px);

    background-image: url('/assets/images/scheidungshero_hero_1600_900.webp');
    background-repeat: no-repeat;
    background-size: cover;

    /* Fokus bleibt links für Text + Bild sichtbar */
    background-position: 25% 30%;

    display: flex;
    align-items: flex-start;
}

/* Overlay */
.header-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(255,255,255,0.96) 0%,
        rgba(255,255,255,0.92) 40%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0.0) 80%
    );
}

/* Container (NICHT ändern → sorgt für bündigen Text) */
.hero-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 40px 20px 0 20px;
}

/* Inhalt */
.hero-content {
    max-width: 520px;
}

/* Headline */
.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Subline */
.hero-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

/* Liste */
.hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-list li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.hero-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #9BE000;
    font-weight: bold;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .header-hero {
        min-height: auto;
        background-position: center;
        padding: 40px 0;
    }

    .hero-inner {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

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