.losleben-cta-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    color: #ffffff;
    font-family: 'Quicksand', sans-serif;
    overflow: hidden;
}

.losleben-cta-hero.is-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.losleben-cta-hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.losleben-cta-hero-content {
    flex: 1;
    min-width: 350px;
    padding: 120px 60px 80px 20px;
    z-index: 5;
}

section.losleben-cta-hero .losleben-cta-hero-content span.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    font-size: 16px;
    margin-bottom: 25px;
    color: #ffffff !important;
    font-weight: 400; /* Normal statt fett */
}

/* Verhindert doppelte Hintergründe/Abstände und sorgt für weiße Schrift in Kindern (z.B. strong) */
section.losleben-cta-hero .losleben-cta-hero-content span.badge * {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-weight: 400 !important; /* Erzwingt normale Schriftstärke auch für strong */
    display: inline;
}

section.losleben-cta-hero .losleben-cta-hero-content h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff !important;
}

section.losleben-cta-hero .losleben-cta-hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    line-height: 1.5;
    color: #ffffff !important;
}

section.losleben-cta-hero .losleben-cta-hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

section.losleben-cta-hero .losleben-cta-hero-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #ffffff !important;
}

section.losleben-cta-hero .losleben-cta-hero-list li::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.losleben-cta-hero-button .rk-cta {
    margin-top: 0;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* BILDER BEREICH */
.losleben-cta-hero-images {
    flex: 1;
    min-width: 450px;
    position: relative;
    padding: 120px 0 350px 0;
    align-self: flex-start;
}

.losleben-cta-hero-images .bg-img {
    width: 85%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: block;
    margin-left: 0; /* Nach links geschoben */
    margin-right: auto;
}

.losleben-cta-hero-images .fg-img {
    position: absolute;
    width: 60%;
    height: 500px;
    object-fit: cover;
    top: 280px;
    right: -30px; /* Leicht über den Rand für mehr Tiefe */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    z-index: 10;
    opacity: 0;
    animation: ctaHeroFlyIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes ctaHeroFlyIn {
    0% {
        transform: translate(100px, 30px) rotate(3deg);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
}

@media (max-width: 1199px) {
    section.losleben-cta-hero .losleben-cta-hero-content h2 {
        font-size: 38px;
    }
    .losleben-cta-hero-images .bg-img { height: 300px; }
    .losleben-cta-hero-images .fg-img { height: 400px; top: 320px; }
}

@media (max-width: 991px) {
    .losleben-cta-hero-content {
        padding: 100px 20px 60px 20px;
        min-width: 100%;
    }
    .losleben-cta-hero-images {
        min-width: 100%;
        padding-bottom: 400px; /* Deutlich mehr Platz für das versetzte Bild */
    }
    .losleben-cta-hero-images .bg-img { width: 85%; margin-left: 0; }
    .losleben-cta-hero-images .fg-img { width: 55%; right: 0; top: 250px;}
}
