/* TPPB Modules: automatisch generiert aus dem "Custom CSS"-Feld des Moduls "tppb-hero-particles" - Aenderungen bitte im Modul-Formular vornehmen, nicht hier. */

.tppb-hero-particles {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top;
}

@media (min-width:992px) {
    .tppb-hero-particles {
    background-size: 40%;
    background-position: left;
}
}

/* Partikel-Effekt - eigenstaendiger Block, extrahiert aus dem "Lumen Hero"-
   Block (siehe dort .particles/.particle). Container selbst traegt Hoehe +
   Farbe als CSS-Custom-Property (aus den Block-Feldern, per Inline-Style
   gesetzt) - die Farbe vererbt sich automatisch an die per JS erzeugten
   .tth-particle-Kindelemente. */
.tth-particles-block {
    position: absolute;
    overflow: hidden;
    pointer-events: none;
    top: 0;
    left: 0;
    height: 100vh !important;
    width: 100% !important;
}

.tth-particles-block .tth-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--tth-particle-color, #f5c97a);
    border-radius: 50%;
    opacity: 0;
    animation: tthParticleFloat linear infinite;
}

@keyframes tthParticleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    10% {
        opacity: 0.6;
        transform: translateY(-10px) scale(1);
    }

    90% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-200px) scale(0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tth-particles-block .tth-particle {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

section.tppb-hero-particles:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: calc(0.2 + var(--tth-noise-intensity, 57) * 0.008);
    z-index: 5;
}

section.tppb-hero-particles.tth-noise-fein:after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.4' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

section.tppb-hero-particles.tth-noise-mittel-fein:after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

section.tppb-hero-particles.tth-noise-mittel:after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

section.tppb-hero-particles.tth-noise-mittel-grob:after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

section.tppb-hero-particles.tth-noise-grob:after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}


/* Radial glow orb */

.hero-glow {
    width: 160px;
    height: 160px;
}

@media (min-width:576px) {
    .hero-glow {
        width: 380px;
        height: 380px;
    }

}

@media (min-width:992px) {
    .hero-glow {
        width: 480px;
        height: 480px;
    }

}

@media (min-width:1200px) {
    .hero-glow {
        width: 660px;
        height: 660px;
    }

}

@media (min-width:1400px) {
    .hero-glow {
        width: 800px;
        height: 800px;
    }

}

/*
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    background: radial-gradient(ellipse at center, rgba(245, 201, 122, 0.18) 0%, rgba(240, 180, 80, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}
*/
/* Radial glow orb */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    /*width: 700px;
	height: 700px;*/
    background: radial-gradient(ellipse at center,
            rgba(245, 201, 122, 0.18) 0%,
            rgba(240, 180, 80, 0.06) 35%,
            transparent 50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}





@keyframes pulse-glow {
    from {
        opacity: 0.7;
        transform: translate(-50%, -55%) scale(1);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -55%) scale(1.2);
    }
}


em {
    color: var(--bs-primary);
}