/**
 * Hero Glass-Panel – Startseite (#hero.hero-alt)
 * Kompakteres Mobile, Check-Icons, Trust-Pills mit Stern
 */

.hero-alt-preview-banner {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #00c851, #009a3d);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-alt-preview-banner a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (min-width: 768px) {
    .hero-alt-preview-banner {
        top: 5rem;
        font-size: 0.8125rem;
    }
}

/* Leichteres Overlay – mehr Sandplatz sichtbar */
#hero.hero-alt .hero-bg-overlay {
    background: linear-gradient(
        165deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.25) 45%,
        rgba(0, 0, 0, 0.72) 100%
    ) !important;
}

#hero.hero-alt .hero-bg-overlay-accent {
    background: linear-gradient(
        to top,
        rgba(0, 200, 81, 0.28) 0%,
        transparent 55%
    ) !important;
}

#hero.hero-alt .hero-vignette {
    background: radial-gradient(
        ellipse 120% 80% at 50% 15%,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.15) 55%,
        rgba(0, 0, 0, 0.45) 100%
    ) !important;
}

/* Glass-Panel */
.hero-alt-panel {
    width: 100%;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 12, 18, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .hero-alt-panel {
        max-width: 48rem;
        padding: 2rem 2.5rem 2.25rem;
        border-radius: 1.5rem;
    }
}

.hero-alt-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.25);
}

.hero-alt-title {
    margin: 0 0 0.75rem;
}

.hero-alt-headline {
    display: block;
    font-size: 1.625rem;
    font-weight: 900;
    line-height: 1.12;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-alt-subhead {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-alt-headline {
        font-size: 2rem;
    }

    .hero-alt-subhead {
        font-size: 1.35rem;
    }
}

@media (min-width: 768px) {
    .hero-alt-headline {
        font-size: 2.75rem;
    }

    .hero-alt-subhead {
        font-size: 1.65rem;
    }
}

@media (min-width: 1024px) {
    .hero-alt-headline {
        font-size: 3.25rem;
    }
}

/* Gold-Akzentlinie */
.hero-alt-title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: 0.85rem auto 0;
    border-radius: 9999px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.hero-alt-lead {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.hero-alt-lead--short {
    margin-bottom: 1rem;
}

.hero-alt-lead--full {
    display: none;
}

@media (min-width: 768px) {
    .hero-alt-lead--short {
        display: none;
    }

    .hero-alt-lead--full {
        display: block;
        font-size: 1.0625rem;
        margin-bottom: 1.25rem;
    }
}

/* Check-Liste wie Trainer-Karten */
.hero-alt-checks {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-align: left;
}

@media (min-width: 768px) {
    .hero-alt-checks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-alt-checks li:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 22rem;
    }
}

.hero-alt-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hero-alt-check-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.1rem;
    border-radius: 9999px;
    background-color: #00c851;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-alt-check-icon svg {
    width: 0.875rem;
    height: 0.875rem;
    color: #fff;
}

.hero-alt-check-text {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .hero-alt-check-text {
        font-size: 0.9375rem;
    }
}

/* CTA */
.hero-alt-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .hero-alt-cta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
}

.hero-alt-cta-primary {
    width: 100%;
    box-shadow:
        0 12px 28px rgba(234, 179, 8, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

.hero-alt-program-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.hero-alt-program-chip {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-alt-program-chip:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(0, 200, 81, 0.5);
}

/* Trust */
.hero-alt-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-alt-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
    .hero-alt-trust-pill {
        font-size: 0.75rem;
        padding: 0.45rem 0.9rem;
    }
}

.hero-alt-trust-pill--stars {
    color: #fde68a;
}

.hero-alt-trust-pill--stars svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

/* Stagger (reduced motion safe) */
@media (prefers-reduced-motion: no-preference) {
    .hero-alt-panel > * {
        animation: heroAltFadeUp 0.65s ease-out both;
    }

    .hero-alt-eyebrow { animation-delay: 0.05s; }
    .hero-alt-title { animation-delay: 0.12s; }
    .hero-alt-lead--short,
    .hero-alt-lead--full { animation-delay: 0.18s; }
    .hero-alt-checks { animation-delay: 0.24s; }
    .hero-alt-cta { animation-delay: 0.32s; }
    .hero-alt-trust { animation-delay: 0.4s; }
}

@keyframes heroAltFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-alt-panel > * {
        animation: none !important;
    }
}

#hero.hero-alt .hero-parallax-layer {
    padding-top: 5.5rem;
}

@media (min-width: 768px) {
    /* Desktop/MacBook: Panel optisch mittig, nicht zu tief */
    #hero.hero-alt {
        align-items: center !important;
        padding-top: 4.5rem !important;
        padding-bottom: 0 !important;
    }

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

    #hero.hero-alt .hero-alt-panel {
        transform: translateY(-4vh);
    }
}

@media (min-width: 1024px) {
    #hero.hero-alt .hero-alt-panel {
        transform: translateY(-5vh);
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero.hero-alt .hero-alt-panel {
        transform: none;
    }
}
