/*
==============================================================================
LUVEX THEME v4.5 - HOMEPAGE (BEREINIGT NACH JS-FIX)
==============================================================================
Description: Die JS-Datei hero-photons.js kümmert sich nun um den Hero-
             Hintergrund. Diese Datei enthält nur noch die Button-Styles.
Dependencies: _variables.css, _core.css, _components.css
Last Update: 2025-09-02 (Button-Animation finalisiert)
==============================================================================
*/

/*
==============================================================================
1. CANVAS SETUP
==============================================================================
*/
.luvex-hero #homepage-hero-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.luvex-hero .luvex-hero__container {
    position: relative;
    z-index: 2;
}

/*
==============================================================================
2. HERO SECTION
==============================================================================
*/

.home .luvex-hero__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 0;
    width: 100%;
}

.home .luvex-hero__container {
    max-width: 100%;
    width: 100%;
}

.home .luvex-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    padding-top: 2rem;
}

.home .luvex-hero__title {
    max-width: 1200px;
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    margin: 0;
}

.home .luvex-hero__description {
    max-width: 800px;
    font-size: 1.25rem;
    color: var(--luvex-white);
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin: 4rem 0;
}

.home .luvex-hero__description .bullet {
    color: var(--luvex-bright-cyan);
    margin: 0 0.5rem;
}

.home .luvex-hero__title .text-highlight {
    color: #67e8f9;
    text-shadow:
        0 0 8px rgba(107, 205, 255, 0.5),
        0 0 20px rgba(107, 205, 255, 0.3);
}

/*
==============================================================================
3. SIMULATOR BUTTON - Robuste Stile mit hoher Spezifität
==============================================================================
*/

/* Base Button Styles */
body.home .luvex-simulator-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-xs) !important;
    padding: 16px 32px !important;
    background: transparent !important;
    color: var(--luvex-white) !important;
    border: 2px solid var(--luvex-bright-cyan) !important;
    border-radius: var(--radius-full) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: var(--text-base) !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    cursor: var(--cursor-pointer, pointer) !important;
    transition: all 0.3s ease !important;
}

/* Animierte Version mit Rahmen-Puls */
body.home .luvex-simulator-cta--animated {
    animation: luvex-border-pulse 2.5s infinite ease-in-out !important;
}

/* Lila Energie-Puls (::before) */
body.home .luvex-simulator-cta--animated::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background: radial-gradient(circle,
        rgba(138, 43, 226, 0.4) 0%,
        rgba(75, 0, 130, 0.6) 30%,
        transparent 70%) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    animation: luvex-energy-pulse 2s ease-out infinite !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Hover-Farbverlauf (::after) */
body.home .luvex-simulator-cta::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg,
        var(--luvex-bright-cyan),
        #8a2be2,
        var(--luvex-vibrant-blue),
        #8a2be2,
        var(--luvex-bright-cyan)
    ) !important;
    background-size: 400% 400% !important;
    border-radius: var(--radius-full) !important;
    z-index: -1 !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    animation: luvex-gradient-flow 3s infinite ease-in-out !important;
    animation-play-state: paused;
}


/* Hover State */
body.home .luvex-simulator-cta.hover-active {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(109, 213, 237, 0.4), 0 0 20px rgba(138, 43, 226, 0.3) !important;
    border-color: rgba(109, 213, 237, 0.8) !important;
}

body.home .luvex-simulator-cta.hover-active::after {
    opacity: 1 !important;
    animation-play-state: running;
}

/* Text und Icon */
body.home .luvex-simulator-cta span,
body.home .luvex-simulator-cta i {
    color: inherit !important;
}


/* Secondary Button bleibt unverändert */
.home .luvex-hero__cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 16px 32px;
    background: transparent;
    color: var(--luvex-bright-cyan);
    border: 2px solid var(--luvex-bright-cyan);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: var(--transition-normal);
}

.home .luvex-hero__cta-secondary:hover {
    background: var(--luvex-bright-cyan);
    color: var(--luvex-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(109, 213, 237, 0.3);
}

/*
==============================================================================
4. KEYFRAMES - EINDEUTIGE NAMEN (Unverändert)
==============================================================================
*/

/* Border Pulse für Button */
@keyframes luvex-border-pulse {
    0%, 100% {
        box-shadow:
            0 4px 15px rgba(109, 213, 237, 0.3),
            0 0 10px rgba(138, 43, 226, 0.2);
        border-color: rgba(109, 213, 237, 0.8);
    }
    50% {
        box-shadow:
            0 6px 20px rgba(109, 213, 237, 0.5),
            0 0 20px rgba(138, 43, 226, 0.4);
        border-color: rgba(138, 43, 226, 0.6);
    }
}

/* Gradient Flow für Hover */
@keyframes luvex-gradient-flow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Purple Energy Pulse */
@keyframes luvex-energy-pulse {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    50% {
        width: 400px;
        height: 400px;
        opacity: 0.4;
    }
    100% {
        width: 450px;
        height: 450px;
        opacity: 0;
    }
}


/*
==============================================================================
5. UV SIMULATOR SHOWCASE
==============================================================================
*/

.uv-simulator-showcase {
    background: linear-gradient(135deg, var(--luvex-dark-blue), var(--luvex-accent-blue));
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--luvex-white);
}

.simulator-content h3 {
    color: var(--luvex-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.simulator-description {
    color: var(--luvex-gray-300);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.uv-simulator-showcase .feature-grid {
    margin: 3rem auto;
    max-width: 900px;
}

.simulator-cta {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 2px solid var(--luvex-bright-cyan);
    color: var(--luvex-white);
}

.simulator-cta:hover {
    background-color: var(--luvex-bright-cyan);
    border-color: var(--luvex-bright-cyan);
    color: var(--luvex-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(109, 213, 237, 0.3);
}

/*
==============================================================================
6. COMMUNITY SECTION
==============================================================================
*/
.homepage-community-section {
    background-color: var(--luvex-dark-blue);
    padding: 8rem 0;
    color: var(--luvex-white);
}

.homepage-community-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.homepage-community-content {
    padding-right: 2rem;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.homepage-community-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2.5rem;
    text-align: center;
    width: 100%;
}

.homepage-community-description {
    font-size: 1.2rem;
    color: var(--luvex-gray-300);
    max-width: 650px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 2.5rem;
    hyphens: auto;
    word-break: normal;
}

.homepage-community-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    width: 100%;
}

.homepage-community-visual {
    position: relative;
    width: 100%;
    height: 600px;
    z-index: 1;
}

.homepage-community-globe-wrapper {
    position: absolute;
    top: 50%;
    left: 65%;
    width: 100vw;
    height: 100vh;
    transform: translate(-35%, -50%);
    z-index: 1;
}

/*
==============================================================================
7. EVIDENCE SECTION
==============================================================================
*/

.evidence-section.section {
    overflow: visible;
}

.evidence-section {
    padding: 8rem 0 6rem 0;
}

.evidence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.evidence-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.evidence-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.evidence-description {
    font-size: var(--text-lg);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.evidence-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.team-member.team-member--light {
    position: relative;
    background-color: var(--luvex-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    padding-top: 80px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--luvex-gray-200);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.team-member__photo {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--luvex-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member__content {
    margin-bottom: 1.5rem;
}

.team-member__content h3 {
    font-size: var(--text-xl);
    color: var(--luvex-dark-blue);
    margin: 0 0 0.5rem 0;
}

.team-member__role {
    color: var(--luvex-vibrant-blue);
    font-weight: 600;
    margin: 0;
}

.team-member__quote p {
    font-style: italic;
    color: var(--luvex-gray-700);
    line-height: 1.6;
    margin: 0;
    border-left: 3px solid var(--luvex-bright-cyan);
    padding-left: 1rem;
    text-align: left;
}

/*
==============================================================================
8. CUSTOM CURSOR
==============================================================================
*/

:root {
    --cursor-default: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="15.5" fill="none" stroke="%236dd5ed" stroke-width="1"/><circle cx="16" cy="16" r="2" fill="%236dd5ed"/></svg>');
    --cursor-pointer: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="19" fill="none" stroke="%236dd5ed" stroke-width="2"/><circle cx="20" cy="20" r="3" fill="%236dd5ed"/></svg>');
}

.homepage-cursor-active {
    cursor: var(--cursor-default) 16 16, auto;
}

.homepage-cursor-active a,
.homepage-cursor-active button,
.homepage-cursor-active [role="button"] {
    cursor: var(--cursor-pointer) 20 20, auto;
}

/*
==============================================================================
9. RESPONSIVE
==============================================================================
*/

@media (max-width: 1024px) {
    .evidence-grid {
        grid-template-columns: 1fr;
        gap: 8rem;
        text-align: center;
    }

    .evidence-visual {
        order: -1;
    }

    .evidence-content {
        align-items: center;
        text-align: center;
    }

    .homepage-community-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .homepage-community-content {
        order: 2;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .homepage-community-visual {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .evidence-section {
        padding-top: 6rem;
    }

    .homepage-community-globe-wrapper {
        width: 100vw;
        height: 150%;
        transform: translate(-50%, -50%);
    }

    .home .luvex-hero__title {
        max-width: 90%;
        font-size: 2.5rem;
    }

    .home .luvex-hero__description {
        font-size: 1.125rem;
        margin: 3rem 0;
    }

    .luvex-simulator-cta--animated {
        padding: 14px 28px;
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    .home .luvex-hero__title {
        max-width: 90%;
        font-size: 2rem;
    }

    .home .luvex-hero__description {
        font-size: 1rem;
        margin: 2.5rem 0;
    }
}

