html,
body,
h1,
h2,
h3,
h4,
h5,
a,
p,
div,
i,
em,
strong {
    font-family: "Poppins";
}

/* Full height of the screen */
html,
body {
    height: 100%;
}

body {
    overflow-x: hidden;
}

p {
    font-size: 18px;
}

a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s;
    font-size: 18px;
}

a:hover,
footer a.active {
    text-decoration: underline;
    color: #cc2c2c;
}

footer a {
    color: #fff;
}

h1 {
    font-size: 36px;
    line-height: 96px;
    font-weight: 900;
    text-transform: uppercase;
}

h2 {
    font-size: 20px;
    text-transform: uppercase;
}

h3 {
    text-transform: uppercase;
}

@media screen and (min-width: 768px) {
    h1 {
        font-size: 60px;
    }

    h2 {
        font-size: 24px;
    }
}

@media screen and (min-width: 992px) {
    h1 {
        font-size: 80px;
    }
}

.ez-text-block p {
    line-height: 26px;
}

.background-video p {
    color: #fff;
}

.background-video blockquote p {
    font-weight: 500;
}

footer p {
    line-height: 36px;
}


/* navbar */
.navbar {
    transition: all 0.3s ease-in;
    transform: translateY(0);
    /* Smooth transition */
}

.navbar-out {
    transform: translateY(-288px);
}

@media screen and (min-width: 992px) {
    .navbar-out {
        transform: translateY(-64px);
    }
}

.navbar .navbar-brand>img {
    width: 100px;
}

.navbar .nav-link {
    color: #000;
}

.navbar .nav-link:hover {
    color: #dc0036;
}

.navbar .nav-link.active {
    color: #dc0036;
}



.ez-text-block {
    max-width: 800px;
}

.gallery-header a.active {
    color: #dc0036;
}

.gallery-row>div {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-row>div>img {
    position: relative;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
    /* Smooth transition */

    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

.gallery-row>div:hover>img {
    transform: scale(1.1);
}

.gallery-row>div>.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #dc0036;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: calc(0.4rem + 0.3vw);
}

/* Ensure the overlay remains readable on smaller screens */
@media (max-width: 992px) {
    .gallery-row>div>.overlay {
        font-size: calc(0.8rem + 0.4vw);
    }
}


.gallery-row>div:hover>.overlay {
    opacity: .9;
    text-align: center;
}

.gallery-row>div>.overlay>p {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gallery-row>div>.overlay>dl {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Animation styles */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

.gallery-item.show {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.background-video {
    position: relative;
    overflow: hidden;
    color: white;
    background-image: linear-gradient(90deg, rgba(30, 39, 34, 0.4), rgba(0, 0, 0, 0.55) 24%, transparent 61%, hsla(0, 0%, 100%, 0));
    height: 50vh;
}



@media screen and (min-width: 992px) {
    .background-video {
        height: 85vh;
    }
}

.background-video>video {
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    margin: auto;
    width: 100%;
    height: 100%;
    right: -100%;
    bottom: -100%;
    top: -100%;
    left: -100%;
    object-fit: cover;
    z-index: -100;
}

.background-video>img {
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    margin: auto;
    width: 100%;
    height: 100%;
    right: -100%;
    bottom: -100%;
    top: -100%;
    left: -100%;
    object-fit: cover;
    z-index: -100;
}

.background-video>.background-video-text-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.background-video>.background-video-text-wrapper p {
    color: #fff;
}

.h-64 {
    height: 64px;
}


.modal .carousel-control-next {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.modal .carousel-control-prev {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.modal .carousel-inner {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.modal .carousel-indicators [data-bs-target] {
    border-top: 0;
    border-bottom: 0;
}

.modal .carousel-indicators>button {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}


/* Background image styling */
.intro-index {

    background-color: black;
    animation: darken-index-bg linear, move-background-index-bg linear;
    /* Added move-background animation */
    animation-timeline: scroll();
    position: relative;
    /* Keep the background fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    z-index: 1;
    /* Place behind content */
    background: url('/images/Stahlgruberring_Raeumlichkeiten_1-p-2000.jpeg') no-repeat top center;
    background-size: cover;

    display: flex;
    /* Flexbox display */
    align-items: flex-end;


    /* Align text to the left */
    padding-bottom: 10rem;
}

.intro-index h2,
.intro-index p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}


.intro-index h2 {
    font-size: 28px;
}

@media screen and (min-width: 768px) {
    .intro-index h2 {
        font-size: 48px;
    }
}



@keyframes darken-index-bg {
    from {
        filter: brightness(1);
    }

    10% {
        filter: brightness(0);
        /* Darken quickly in the first half */
    }

    to {
        filter: brightness(0);
        /* Darken quickly in the first half */
    }
}

@keyframes move-background-index-bg {
    from {
        background-position: 0% 0%;
    }

    10% {
        background-position: 0% 100%;
        /* Darken quickly in the first half */
    }

    to {
        background-position: 0% 100%;
        /* Change this to adjust the animation direction */
    }
}




.nachhaltig {
    position: relative;
}

.datensicherung {
    position: relative;

}

.networking {
    position: relative;

}


.a-video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    /* combined with 'absolute', works like background-size, but for DOM elements */
}

.py-10 {
    padding-top: 96px;
    padding-bottom: 96px;
}

.pb-10 {

    padding-bottom: 96px;
}

.mb-10 {
    margin-bottom: 96px;
}

.h-50px {
    height: 50px;
}


.canvas-container,
.canvas-container-end {
    position: relative;
    display: flex;
    justify-content: center;
}



#canvasTransform,
#canvasTransformEnd,
#canvasProduction,
#canvasProductionEnd {
    width: 100vw;
    height: 100vh;
    z-index: 1;
}





.canvas-fixed-top {
    z-index: 1;
}


#canvasSectionsContainer-production,
#canvasSectionsContainer-transform {
    display: none;
}



@media (min-width: 768px) {

    .canvas-container,
    .canvas-container-end {
        position: relative;
        height: 100vh;
        display: flex;
        justify-content: center;
    }

    .canvas-fixed-top {
        position: fixed;
        z-index: 1;
        top: 50%;
        margin-top: -25%;
    }

    #canvasSectionsContainer-production,
    #canvasSectionsContainer-transform {
        display: block;
    }


}

.canvas-end-margin-fix {

    left: 0;
}


#production {
    transition: all .3s linear;
}

.scroll-section-production,
.scroll-section-transform {
    opacity: 0;
    height: 15px;
}


section h1 {
    animation: font-size-big linear;
    animation-timeline: view();
}

.artwork-video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.artwork-video-wrapper {
    animation: video-width linear;
    animation-timeline: view();
    width: 80%;
    z-index: 900;
    display: flex;
}

.artwork-video-overlay-wrapper {
    position: absolute;
    height: 100%;
    width: 100px;
    z-index: 1000;
    align-content: center;
    justify-content: center;
    text-align: center;
    opacity: .7;
    transition: all .3s linear;
}


.artwork-video-container:hover .artwork-video-overlay-wrapper {
    opacity: 1;

}

@keyframes video-width {
    from {
        width: 80%;
    }

    50% {
        width: 100%;
    }


    to {
        width: 100%;
    }
}





#production-canvas-container {
    z-index: 11;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#transform-canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.production-fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
    opacity: 1;
}

.production-fixed-top h1 {
    font-size: 36px;
}


@keyframes font-size-big {
    from {
        font-size: 36px;
    }

    50% {
        font-size: 48px;
    }

    to {
        font-size: 48px;
    }
}

@media screen and (min-width: 768px) {
    .production-fixed-top h1 {
        font-size: 96px;
    }

    @keyframes font-size-big {
        from {
            font-size: 72px;
        }

        50% {
            font-size: 96px;
        }

        to {
            font-size: 96px;
        }
    }

}

@media screen and (min-width: 992) {
    .production-fixed-top h1 {
        font-size: 120px;
    }


    @keyframes font-size-big {
        from {
            font-size: 100px;
        }

        50% {
            font-size: 160px;
        }

        to {
            font-size: 160px;
        }
    }
}

@media screen and (min-width: 1200) {
    .production-fixed-top h1 {
        font-size: 160px;
    }


    @keyframes font-size-big {
        from {
            font-size: 120px;
        }

        50% {
            font-size: 160px;
        }

        to {
            font-size: 160px;
        }
    }
}


.production-absolute-top {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 20;
    opacity: 1;
}

.h-300px {
    height: 300px;
}






.div-block-44 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    padding-right: 30px;
    padding-left: 30px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.div-block-46 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.div-block-47 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    /* justify-content: center; */
    /* -webkit-box-align: center; */
    -webkit-align-items: center;
    -ms-flex-align: center;
    /* align-items: center; */
    /* -webkit-box-flex: 1; */
    /* -webkit-flex: 1; */
    -ms-flex: 1;
    flex: 1;
}

.div-block-47.border {
    border-bottom: 1px solid #d8d8db;
}

.div-block-48 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 65px;
    height: 65px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid #d8d8db;
    border-radius: 100%;
}

.div-block-49 {
    width: 1px;
    height: 1px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background-color: #d8d8db;
}

.div-block-50 {
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 100%;
    background-color: #bd252c;
}

.div-block-50._02 {
    margin-top: 0px;
    margin-bottom: -5px;
}

.carousel-history button {
    width: auto;
}

.carousel-history .fs-7 {
    font-size: .9em;
}



.div-block-54 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.div-block-55 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.div-block-56 {
    padding-right: 50px;
    padding-bottom: 100px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 50%;
    -ms-flex: 0 50%;
    flex: 0 50%;
}

.div-block-56._02 {
    padding-left: 50px;
}

.div-block-57 {
    padding-bottom: 100px;
    padding-left: 50px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 50%;
    -ms-flex: 0 50%;
    flex: 0 50%;
    border-left: 1px solid #e4e4e7;
}

.div-block-57.last {
    border-left-style: solid;
    border-left-color: #fff;
}

.heading-6 {
    margin-top: 9px;
    font-family: Poppins, sans-serif;
    line-height: 28px;
    font-weight: 500;
}

.text-block-19 {
    font-size: 16px;
}

.div-block-58 {
    width: 11px;
    height: 11px;
    margin-bottom: 0px;
    margin-left: -56px;
    border-radius: 100%;
    background-color: #bd252c;
}

.div-block-58.on-plan {
    display: none;
}

.image-scroll-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    /* Ensure it takes full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Ensures full image is visible */
}

.scroll-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Ensures full image is visible */
}

.flex-item-customer {
    margin: 10px auto;
    height: 25px;
    max-width: 100%;
    gap: 4px;
}

.flex-item-awards {
    margin: 10px auto;
    height: 25px;
    max-width: 100%;

}

.gap-10 {
    gap: 10px;
}


.gap-25 {
    gap: 25px;
}

@media screen and (min-width: 992px) {
    .flex-item-customer {
        height: 50px;
    }

    .flex-item-awards {
        height: 75px;

    }

    .gap-10 {
        gap: 30px;
    }
}


@media screen and (min-width: 1280px) {
    .flex-item-customer {
        height: 50px;
    }

    .flex-item-awards {
        height: 75px;

    }

    .gap-10 {
        gap: 50px;
    }
}

@media (max-width: 992px) {

    .canvas-transform-wrapper {
        background-color: #eee;
    }

    .canvas-production-wrapper {
        background-color: #ccc;
    }



    #canvasTransform,
    #canvasTransformEnd,
    #canvasProduction,
    #canvasProductionEnd {
        filter: drop-shadow(0 0 2rem #333);
    }
}





.transform-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio (height / width * 100) */
    overflow: hidden;


    display: inline-block;
}

.transform-video-wrapper video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video fits within the container while maintaining aspect ratio  height: auto; */
}


.rotated-text {
    position: absolute;
    top: 0;
    /* Align the text at the top of the container */
    left: 10px;
    /* Add a small margin to avoid it being outside the window */
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: top left;
    /* Ensure the top alignment after rotation */
    font-size: 2rem;

    font-weight: bold;
    color: #ffffff;
    /* Adjust to your desired color */
    z-index: 2;
    /* Ensures it appears above the video */
    text-transform: uppercase;
    pointer-events: none;
    /* Ensures text doesn't interfere with interactions */
    line-height: 1.2;
    /* Adjust for multi-line spacing */
    text-align: right;
}


/* Overlay styling */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dc0036;
    /* Semi-transparent black */
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease;
    transition: transform 0.3s ease;
    /* Smooth fade-in/out */
    z-index: 2;
    /* Ensure it overlays the video */
    cursor: pointer;
    font-size: calc(0.4rem + 0.3vw);
}

/* Show the overlay on hover */
.transform-video-wrapper:hover .video-overlay {
    opacity: .9;
}

/* Ensure the overlay remains readable on smaller screens */
@media (max-width: 992px) {
    .video-overlay {
        font-size: calc(0.8rem + 0.4vw);
        /* Slightly smaller font on small screens */
        padding: 10px;
        /* Reduce padding for smaller devices */
    }
}

.carousel-caption h5,
.carousel-caption p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* Dark shadow for better contrast */
}


/* Remove background color and shadow on focus and active states */
.accordion-button:focus,
.accordion-button:active {
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent !important;
    /* Removes highlight */
}

/* Ensure background color remains the same when active */
.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    /* Prevents Bootstrap's default styling */
    color: inherit;
    /* Keeps text color unchanged */
}

/* Optional: Remove border if needed */
.accordion-button {
    border: none !important;
}


.dark-image-20 {
    filter: brightness(80%);
    /* Reduce brightness to 50% */
}

.mobile-reverse {
    display: flex;
    flex-direction: column;
}

.order-mobile-last {
    order: 2;
    /* Move this to the bottom on mobile */
}

@media (min-width: 768px) {

    /* Desktop styling */
    .mobile-reverse {
        flex-direction: row;
        /* Normal row order on desktop */
    }

    .order-mobile-last {
        order: 0;
        /* Reset order for desktop */
    }
}