/* Rosengarten – Bild-Hero der Unterseiten.
   Hintergrundbild und Texte werden weiterhin in Divi gepflegt. */
.rg-page-hero.et_pb_section {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
    height: auto;
    padding: 60px 0 !important;
    box-sizing: border-box;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    color: #FFFFFF;
    font-family: 'Poppins', Arial, sans-serif;
}

/* Links etwas kräftiger für die Lesbarkeit, rechts bleibt das Foto heller. */
.rg-page-hero.et_pb_section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(30, 23, 25, 0.44), rgba(30, 23, 25, 0.18));
    pointer-events: none;
}

.rg-page-hero .rg-page-hero-row.et_pb_row {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 1080px;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: left;
}

.rg-page-hero .rg-page-hero-row > .et_pb_column {
    margin-bottom: 0 !important;
}

.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker,
.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title,
.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-subtitle {
    text-align: left !important;
    color: #FFFFFF !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker {
    margin-bottom: 8px !important;
}

.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker,
.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker :is(.et_pb_text_inner, p, h2, h3, span) {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    text-align: left !important;
}

.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title {
    margin-bottom: 12px !important;
}

.rg-page-hero.et_pb_section .rg-page-hero-row h1.rg-page-hero-title,
.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title h1,
.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title h1 span {
    font-family: 'Poppins', Arial, sans-serif !important;
    text-align: left !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 48px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em;
    color: #FFFFFF !important;
    padding-bottom: 0 !important;
    overflow-wrap: break-word;
    hyphens: auto;
}

.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-subtitle,
.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-subtitle :is(.et_pb_text_inner, p, span) {
    max-width: 680px;
    margin-bottom: 0 !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    text-align: left !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #FFFFFF !important;
}

.rg-page-hero.et_pb_section .rg-page-hero-row :is(.rg-page-hero-kicker, .rg-page-hero-subtitle) p:last-child {
    padding-bottom: 0 !important;
}

@media (max-width: 1100px) {
    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker,
    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker :is(.et_pb_text_inner, p, h2, h3, span) {
        font-size: 12px !important;
    }

    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-subtitle,
    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-subtitle :is(.et_pb_text_inner, p, span) {
        font-size: 18px !important;
    }

    .rg-page-hero.et_pb_section {
        min-height: 400px;
        padding: 48px 0 !important;
    }

    .rg-page-hero .rg-page-hero-row.et_pb_row {
        width: 86%;
    }

    .rg-page-hero.et_pb_section .rg-page-hero-row h1.rg-page-hero-title,
    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title h1,
.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title h1 span {
        font-size: 42px !important;
    }
}

@media (max-width: 767px) {
    .rg-page-hero.et_pb_section {
        min-height: 350px;
        padding: 40px 0 !important;
    }

    .rg-page-hero .rg-page-hero-row.et_pb_row {
        width: calc(100% - 48px);
    }

    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker {
        margin-bottom: 6px !important;
    }

    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker,
    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-kicker :is(.et_pb_text_inner, p, h2, h3, span) {
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
    }

    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title {
        margin-bottom: 10px !important;
    }

    .rg-page-hero.et_pb_section .rg-page-hero-row h1.rg-page-hero-title,
    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title h1,
.rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-title h1 span {
        font-size: clamp(28px, 7vw, 36px) !important;
        line-height: 1.2 !important;
    }

    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-subtitle,
    .rg-page-hero.et_pb_section .rg-page-hero-row .rg-page-hero-subtitle :is(.et_pb_text_inner, p, span) {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}
