/* Hero — Badge, Headline, Text, CTA */

.hero {
    position: relative;
    isolation: isolate;
    padding: 24px var(--content-padding) 48px;
    text-align: center;
}

/* Lavendel-Glow: breiter/höher, kürzere Fade-Zonen an den Rändern */
.hero::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: -24px;
    bottom: -100px;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            #fafafa 0%,
            #fafafa 5%,
            transparent 9%,
            transparent 88%,
            #fafafa 96%,
            #fafafa 100%
        ),
        radial-gradient(
            ellipse 135% 95% at 50% 57%,
            #d8cbf2 0%,
            #e0d5f6 18%,
            #e8e0f9 36%,
            #f0ebfb 50%,
            #fafafa 66%
        );
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero__inner {
    max-width: 820px;
    margin: 0 auto;
    padding-top: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    padding: 4px 16px 4px 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-badge__tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    color: #fff;
    background: #121212;
    border-radius: 999px;
}

.hero-badge__text {
    padding: 0 4px 0 12px;
    color: #3d3d4a;
    white-space: nowrap;
}

.hero-title {
    margin-bottom: 22px;
}

.hero-title span {
    display: block;
}

.hero-lead {
    max-width: 620px;
    margin: 0 auto 36px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px 14px 30px;
    color: #fff;
    background: linear-gradient(135deg, #8b7af5 0%, #6f5fe8 45%, #5b4fd9 100%);
    border-radius: 999px;
    box-shadow: 0 14px 44px rgba(91, 79, 217, 0.42);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 52px rgba(91, 79, 217, 0.48);
}

.hero-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    color: #121212;
    background: #fff;
    border-radius: 50%;
}

.hero-cta__icon-img {
    width: 18px;
    height: 18px;
    display: block;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hero-badge {
        background: rgba(255, 255, 255, 0.92);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 16px var(--content-padding) 40px;
    }

    .hero-badge__text {
        white-space: normal;
        text-align: left;
        max-width: 200px;
        line-height: 1.35;
    }

    .hero-cta {
        padding: 12px 12px 12px 22px;
        gap: 10px;
    }

    .hero-cta__icon {
        width: 34px;
        height: 34px;
    }

    .hero-cta__icon-img {
        width: 16px;
        height: 16px;
    }
}
