.banner-video {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

.bg-overlay {
    background: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

@-webkit-keyframes bounce {
    0% { transform: translateY(-5px)  }
    50% { transform: translateY(10px) }
    100% { transform: translateY(-5px) }
}

@keyframes bounce {
    0% { transform: translateY(-5px)  }
    50% { transform: translateY(10px) }
    100% { transform: translateY(-5px) }
}

.bounce{
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-animation: bounce 1s ease-in-out 0s infinite alternate;
    animation: bounce 3s ease-in-out 0s infinite alternate
}


.animation-icon-img {

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-animation: bounce 1s ease-in-out 0s infinite alternate;
    animation: bounce 3s ease-in-out 0s infinite alternate
}

.animation-icon-img.animation-icon-1 {
    left: 15%;
    top: 30%
}

.animation-icon-img.animation-icon-2 {
    left: inherit;
    right: 45%;
    top: 0;
    -webkit-animation-delay: .4s;
    animation-delay: .4s
}

.animation-icon-img.animation-icon-3 {
    top: 30%;
    left: 75%;
    -webkit-animation-delay: .6s;
    animation-delay: .6s
}

.animation-icon-img.animation-icon-4 {
    left: inherit;
    right: 45%;
    top: 60%;
    -webkit-animation-delay: .8s;
    animation-delay: .8s
}

.animation-icon-img.animation-icon-5 {
    left: 14%;
    top: 55%
}

@-webkit-keyframes bounce {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px)
    }
    to {
        -webkit-transform: translateY(-25px);
        transform: translateY(-25px)
    }
}

@keyframes bounce {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px)
    }
    to {
        -webkit-transform: translateY(-25px);
        transform: translateY(-25px)
    }
}
[data-bs-theme="dark"] .top-leftlayer {
    background-image: url('../media/bg/top-leftlayer-dark.png');
}

.top-leftlayer {
    background-image: url('../media/bg/top-leftlayer.png');
    background-repeat: no-repeat;
    padding-bottom: 100px;
}

.feature-rightcircle {
    background-image: url('../media/bg/testimonial-rightcircle.png');
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    width: 307px;
    height: 277px;
    background-size: contain;
}

.hidden-bar {
    scrollbar-width: none; /* Für Firefox */
    -ms-overflow-style: none; /* Für Internet Explorer und Edge */
}

.hidden-bar::-webkit-scrollbar {
    display: none; /* Für Chrome, Safari und Edge */
}

@keyframes shake {
    0% {
        margin-left: 0rem;
    }
    25% {
        margin-left: 0.5rem;
    }
    75% {
        margin-left: -0.5rem;
    }
    100% {
        margin-left: 0rem;
    }
}

.waves {
    position:relative;
    width: 100%;
    height:2vh;
    min-height:50px;
    max-height:70px;
    margin-bottom: 30px;
    transform: rotate(180deg); /* Dreht das Element um 180 Grad */
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
    .content {
        height:30vh;
    }
    h1 {
        font-size:24px;
    }
}

.bg-custom-1{
    background-color: #375491;
}

.statistics-widget-1 { background-image: url('../../assets/media/svg/shapes/abstract-1.svg'); background-size: 30% auto; } [data-bs-theme="dark"] .statistics-widget-2 { background-image: url('../../assets/media/svg/shapes/abstract-1-dark.svg'); background-size: 30% auto; }
.statistics-widget-2 { background-image: url('../../assets/media/svg/shapes/abstract-2.svg'); background-size: 30% auto; } [data-bs-theme="dark"] .statistics-widget-2 { background-image: url('../../assets/media/svg/shapes/abstract-2-dark.svg'); background-size: 30% auto; }
.statistics-widget-3 { background-image: url('../../assets/media/svg/shapes/abstract-3.svg'); background-size: 30% auto; } [data-bs-theme="dark"] .statistics-widget-2 { background-image: url('../../assets/media/svg/shapes/abstract-3-dark.svg'); background-size: 30% auto; }
.statistics-widget-4 { background-image: url('../../assets/media/svg/shapes/abstract-4.svg'); background-size: 30% auto; } [data-bs-theme="dark"] .statistics-widget-2 { background-image: url('../../assets/media/svg/shapes/abstract-4-dark.svg'); background-size: 30% auto; }
.statistics-widget-5 { background-image: url('../../assets/media/svg/shapes/abstract-5.svg'); background-size: 30% auto; } [data-bs-theme="dark"] .statistics-widget-2 { background-image: url('../../assets/media/svg/shapes/abstract-5-dark.svg'); background-size: 30% auto; }

/*.bg-test{*/
/*    background: linear-gradient(-45deg, #6b8dc9, #415e9e, #8fc40a);*/
/*    margin-bottom: 50px;*/
/*    animation: gradient 15s ease infinite;*/
/*    background-size: 400% 400%;*/
/*    z-index: 3;*/
/*}*/

/*.bg-animated {*/
/*    !*animation: bg-scroll 30s ease infinite;*!*/
/*    !*background-image: url('../../assets/media/bg/bg.jpg');*!*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 580px;*/
/*    object-fit: cover; !* Video skaliert, um den Bildschirm zu füllen *!*/
/*    z-index: -1; !* Das Video hinter dem Inhalt platzieren *!*/
/*}*/

/*.bg-animated-overlay{*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 580px;*/
/*    background: linear-gradient(79deg, rgba(2,0,36,1) 0%, rgba(3,2,52,1) 13%, rgba(2,1,41,1) 44%, rgba(9,9,121,1) 70%, rgba(0,212,255,1) 100%);*/
/*}*/

@keyframes bg-scroll {
    0% {
        background-position: 0% 20%;
    }
    50% {
        background-position: 50% 20%;
    }
    100% {
        background-position: 0% 20%;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 100%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 100%;
    }
}

[data-bs-theme="dark"] .header-bg {
    background-image: url("../media/bg/subbanner-dark.jpg");
}
.header-bg{
    background-image: url("../media/bg/subbanner.jpg");
    margin-bottom: 50px;
    min-height: 270px;
}

.overlay-bg {
    animation: overlay 0s 0s forwards;
    background-attachment: fixed, fixed;
    background-image: url("../media/bg/overlay-pattern.png"), url("../media/bg/overlay.svg");
    background-position: top left, center center;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
}

@keyframes overlay {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.video-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*max-height: 425px;*/
   height: 500px;
    object-fit: cover;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.bg-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(79deg, rgba(2,0,36,0.4) 0%, rgba(3,2,52,0.4) 13%, rgba(2,1,41,0.4) 44%, rgba(9,9,121,0.4) 70%, rgba(0,212,255,0.5) 100%);
}

.radius-e-0 {
    border-top-right-radius: 15%;
    border-bottom-left-radius: 15%;
}


/* Wrapper: der einzige sichtbare Außenrahmen */
.custom-table-wrapper {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .5rem;                 /* runde Ecken */
    /*overflow: hidden;                     !* clippt Inhalte *!*/
    background: var(--bs-body-bg, #fff);  /* Hintergrund */
}

/* Tabelle: keine eigenen Außenränder */
.custom-table-wrapper .table {
    border: none;
    margin-bottom: 0;
    border-collapse: separate; /* für saubere Innenlinien */
    border-spacing: 0;
}

/* Zellen: nur innere Linien */
.custom-table-wrapper .table > :not(caption) > * > * {
    border: 1px solid var(--bs-border-color, #dee2e6);
}

/* Äußere Zellränder weg -> sonst Doppellinien */
.custom-table-wrapper thead > tr > * {
    border-top: 0;
}
.custom-table-wrapper tbody > tr:last-child > * {
    border-bottom: 0;
}
.custom-table-wrapper .table > :not(caption) > *:first-child > * {
    border-left: 0;
}
.custom-table-wrapper .table > :not(caption) > *:last-child > * {
    border-right: 0;
}


.wave-text {
    display: inline-block;
    font-weight: bold;
    font-size: 4rem;
    white-space: nowrap;
}

.wave-text span {
    display: inline-block;
    animation: wave 4s ease-in-out infinite; /* länger & smoother */
}

/* Versetzte Delays für die Welle */
.wave-text span:nth-child(1) { animation-delay: 0s; }
.wave-text span:nth-child(2) { animation-delay: 0.3s; }
.wave-text span:nth-child(3) { animation-delay: 0.6s; }
.wave-text span:nth-child(4) { animation-delay: 0.9s; }
.wave-text span:nth-child(5) { animation-delay: 1.2s; }
.wave-text span:nth-child(6) { animation-delay: 1.5s; }
.wave-text span:nth-child(7) { animation-delay: 1.8s; }

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-15px); } /* etwas weicher */
}

.overlay {
    background:
        /* Raster-Effekt */
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.04) 0px,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 0px,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px,
            transparent 40px
        );

    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.snake-border {
    position: relative;
    border: 2px solid transparent;
    border-radius: 8px;
}

.snake-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #00ffff, #ff00ff, #00ffff);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: snakeMove 5s linear infinite;
}

@keyframes snakeMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        /* Raster oben */
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.35) 0px,
            rgba(0, 0, 0, 0.35) 1px,
            transparent 1px,
            transparent 5px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.35) 0px,
            rgba(0, 0, 0, 0.35) 1px,
            transparent 1px,
            transparent 5px
        ),
            /* Abdunkelung unten */
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45));

    mix-blend-mode: multiply;
}
