/**
 * Landing-Pages Glass-Hero (Kindertennis, Erwachsene, Athletik)
 * Erweiterung zu hero-alt.css – Layout analog Gutscheine
 */

#hero-kinder.hero-alt,
#hero-erwachsene.hero-alt,
#hero-athletik.hero-alt {
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-top: 4rem;
}

@media (min-width: 768px) {
    #hero-kinder.hero-alt,
    #hero-erwachsene.hero-alt,
    #hero-athletik.hero-alt {
        min-height: 100vh;
        align-items: center;
        padding-top: 5rem;
    }
}

#hero-kinder.hero-alt .hero-vignette,
#hero-erwachsene.hero-alt .hero-vignette,
#hero-athletik.hero-alt .hero-vignette {
    background: radial-gradient(
        ellipse 120% 80% at 50% 20%,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.12) 55%,
        rgba(0, 0, 0, 0.48) 100%
    ) !important;
}

#hero-kinder.hero-alt .hero-landing-media,
#hero-erwachsene.hero-alt .hero-landing-media,
#hero-athletik.hero-alt .hero-landing-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#hero-kinder.hero-alt .hero-landing-img,
#hero-erwachsene.hero-alt .hero-landing-img,
#hero-athletik.hero-alt .hero-landing-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center 42%;
    filter: brightness(1.1) saturate(1.12);
}

@media (max-width: 767px) {
    #hero-kinder.hero-alt .hero-landing-img,
    #hero-erwachsene.hero-alt .hero-landing-img,
    #hero-athletik.hero-alt .hero-landing-img {
        object-position: center 38%;
    }

    #hero-kinder.hero-alt .hero-parallax-layer,
    #hero-erwachsene.hero-alt .hero-parallax-layer,
    #hero-athletik.hero-alt .hero-parallax-layer {
        padding-bottom: 1.25rem;
    }

    #hero-kinder.hero-alt .hero-alt-panel,
    #hero-erwachsene.hero-alt .hero-alt-panel,
    #hero-athletik.hero-alt .hero-alt-panel {
        padding: 1.125rem 1.125rem 1.35rem;
    }
}

.hero-landing-eyebrow {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 200, 81, 0.22);
    border-color: rgba(134, 239, 172, 0.45);
}

.hero-landing-subhead {
    background: linear-gradient(135deg, #86efac 0%, #00c851 55%, #00a041 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #4ade80;
}

.hero-landing-value-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.hero-landing-value-chip {
    padding: 0.35rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    border-radius: 9999px;
    border: 1px solid rgba(134, 239, 172, 0.45);
    background: rgba(0, 200, 81, 0.14);
}

@media (min-width: 640px) {
    .hero-landing-value-chip {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }
}

.hero-landing-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.hero-landing-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(134, 239, 172, 0.55);
}

#hero-kinder.hero-alt .hero-alt-title::after,
#hero-erwachsene.hero-alt .hero-alt-title::after,
#hero-athletik.hero-alt .hero-alt-title::after {
    background: linear-gradient(90deg, transparent, #00c851, transparent);
}

#hero-kinder.hero-alt .hero-alt-cta-primary,
#hero-erwachsene.hero-alt .hero-alt-cta-primary,
#hero-athletik.hero-alt .hero-alt-cta-primary {
    background-color: #00c851;
    color: #fff;
    box-shadow:
        0 12px 28px rgba(0, 200, 81, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

#hero-kinder.hero-alt .hero-alt-cta-primary:hover,
#hero-erwachsene.hero-alt .hero-alt-cta-primary:hover,
#hero-athletik.hero-alt .hero-alt-cta-primary:hover {
    background-color: #00a041;
}

@media (min-width: 768px) {
    .hero-landing-cta-secondary {
        width: auto;
    }

    #hero-kinder.hero-alt .hero-parallax-layer,
    #hero-erwachsene.hero-alt .hero-parallax-layer,
    #hero-athletik.hero-alt .hero-parallax-layer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: calc(100vh - 5rem);
        padding-top: 0 !important;
        padding-bottom: 3.25rem !important;
        box-sizing: border-box;
    }
}

/* Bottom CTA – Glass (helle Seiten, z. B. Tennistraining Erwachsene) */
.landing-cta-glass {
    position: relative;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.35rem;
    border-radius: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(0, 200, 81, 0.1) 0%,
        rgba(167, 243, 208, 0.35) 50%,
        rgba(255, 255, 255, 0.85) 100%
    );
    border: 1px solid rgba(0, 200, 81, 0.14);
    box-shadow:
        0 4px 24px rgba(0, 200, 81, 0.07),
        0 20px 48px rgba(15, 23, 42, 0.05);
}

.landing-cta-glass__panel {
    padding: 2.25rem 1.35rem 2.5rem;
    text-align: center;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.landing-cta-glass__eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #007a31;
    background: rgba(0, 200, 81, 0.1);
    border: 1px solid rgba(0, 200, 81, 0.22);
    border-radius: 9999px;
}

.landing-cta-glass__title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

.landing-cta-glass__title::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin: 0.85rem auto 0;
    border-radius: 9999px;
    background: linear-gradient(90deg, transparent, #00c851, transparent);
}

.landing-cta-glass__lead {
    margin: 0 auto 1.5rem;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    font-weight: 500;
}

.landing-cta-glass__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 18rem;
    min-height: 48px;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background-color: #00c851;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 200, 81, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-cta-glass__cta:hover {
    background-color: #00a041;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0, 200, 81, 0.32);
}

.landing-cta-glass__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.landing-cta-glass__trust-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    background: rgba(0, 200, 81, 0.06);
    border: 1px solid rgba(0, 200, 81, 0.16);
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .landing-cta-glass__cta {
        width: auto;
        max-width: none;
    }
}

@media (min-width: 768px) {
    .landing-cta-glass__panel {
        padding: 3rem 2.75rem 3.25rem;
    }

    .landing-cta-glass__title {
        font-size: 2.25rem;
    }

    .landing-cta-glass__lead {
        font-size: 1.125rem;
        margin-bottom: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-cta-glass__cta:hover {
        transform: none;
    }
}
