.hero-section {
    position: relative;
    min-height: clamp(300px, 42vh, 500px); /* flacher */
    margin-top: 46px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-section {
    min-height: clamp(260px, 36vh, 440px); /* vorher 300 / 42 / 500 */
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.32) 0%,
            rgba(0, 0, 0, 0.14) 50%,
            rgba(0, 0, 0, 0.06) 100%
        );
    z-index: 0;
}

.hero-section.has-hero-image {
    background-color: #1f2937;
}

.hero-section .container-custom {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* =========================
   Layout
========================= */

.hero-brand-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
}

/* =========================
   Bereiche
========================= */

.hero-brand-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-brand-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-brand-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* =========================
   Größen (Desktop)
========================= */

.hero-logo-img {
    display: block;
    height: auto;
    max-height: 130px; /* leicht kleiner */
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}

.hero-schriftzug-img {
    display: block;
    height: auto;
    max-height: 170px; /* größer als vorher */
    width: auto;
    max-width: min(100%, 760px);
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}

.hero-profile-img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.16);
}

/* =========================
   Tablet
========================= */

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 360px;
    }

    .hero-brand-row {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1rem;
    }

    .hero-brand-left,
    .hero-brand-center,
    .hero-brand-right {
        justify-content: center;
    }

    .hero-logo-img {
        max-height: 100px;
    }

    .hero-schriftzug-img {
        max-height: 130px; /* bleibt dominant */
        max-width: 420px;
    }

    .hero-profile-img {
        width: 70px;
        height: 70px;
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 320px;
    }

    .hero-logo-img {
        max-height: 80px;
    }

    .hero-schriftzug-img {
        max-height: 100px;
        max-width: 280px;
    }

    .hero-profile-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 320px; /* vorher 360 */
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 280px; /* vorher 320 */
    }
}