@charset "UTF-8";

@font-face {
    font-family: 'NotoSans-Regular';
    src: url('noto-sans-v42-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'NotoSans-ExtraLight';
    src: url('noto-sans-v42-latin-200.woff2') format('woff2');
}

/* Basic Variables ------------------------------------------------ */
:root {
    /* --wilo_green:#00A08C; */
    --wilo_green: rgb(0, 156, 130);
    --stage_black: #0A1914;
    --off_white: #FFFCFA;
    --stage_petrol: #006464;
    --light_green: #00FA96;
    --anthrazit: #4B4846;
    --light_grey: #F0EDEB;

    --FSS: 12px;
    --FSD: 27px;
    --FSL: 60px;
    --FSM: 48px;
    --FSXL: 120px;

    --br: .74rem;
    --brS: .37rem;
    --gap: .37rem;
    --m150: 5.55rem;
    --m300: 11.11rem;
    --m20: .74rem;
}

@media (max-width: 1727px) {
    :root {
        /* --FSS: 0.69vw; */
        --FSD: 1.56vw;
        --FSL: 3.47vw;
        --FSM: 2.78vw;
        --FSXL: 6.95vw;
    }
}
@media (max-width: 768px) {
    :root {
        --FSS: 13px;
        --FSD: 4.1vw;
        --FSL: 8.2vw;
        --FSM: 7vw;
        --FSXL: 16.4vw;

        --br: .37rem;
        --brS: .25rem;
        /* --gap: .25rem; */
        --gap: .5rem;
        /* --m150: 2.78rem; */
        --m150: 2rem;
        --m300: 5.55rem;
        --m20: .5rem;
    }
}

/* Basics --------------------------------------------------------- */
html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    cursor: default;
    color: var(--off_white);
    font-family: 'NotoSans-Regular', sans-serif;
    background-color: var(--stage_black);
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

i, em{
    font-style: normal;
}
strong{
    font-style: normal;
}

ol { 
    padding-left: 1em; 
}
ul {
	list-style: none;
    padding-left: 0.9em;
    margin-left: 0;
}
ul li:before {
    content: "–";
    position: absolute;
    margin-left: -0.8em;
}

h1, h2, h3, h4, h5, h6{
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

p{ 
    word-break: break-word;
}

img, .ns, nav, button, .button{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
::selection {
    background: var(--wilo_green);
    color: var(--stage_black);
}

img, video{
    vertical-align: middle;
    pointer-events: none;
}
*{
    box-sizing: border-box;
}

figure{
    margin: 0;
}
figure img, figure video{
    width: 100%;
    border-radius: var(--br);
}

.bg_wilo_green{ background-color: var(--wilo_green); }
.bg_stage_petrol{ background-color: var(--stage_petrol); }
.bg_stage_black{ background-color: var(--stage_black); }
.bg_off_white{ background-color: var(--off_white); }
.bg_light_green{ background-color: var(--light_green); }
.bg_light_grey{ background-color: var(--light_grey); }


/* Links ------------------------------------------------------------ */
a{ 
    text-decoration: none;
    white-space: nowrap;
    color: var(--off_white);
}
a:hover{
    text-decoration: underline;
}
.nb{
    border: none;
    text-decoration: none;
}

/* GUI -------------------------------------------------------------- */
.button{
    background-color: var(--wilo_green);
    color: var(--stage_black);
    border-radius: var(--brS);
    text-decoration: none;
    padding: .88rem 1.5rem;
    margin-top: .5rem;
    display: inline-flex;
    font-family: 'NotoSans-Regular', sans-serif;
    font-size: var(--FSD);
    transition: background-color .2s ease,
                transform .2s ease;
}
.button:hover{
    background-color: #444;
}
.button:active{
    transform: scale(.95);
}


/* Font Styles ----------------------------------------------------- */
html, body, .FSD{ 
    font-size: var(--FSD);
    line-height: 1.3em;
}
.FSS{
    font-size: var(--FSS);
    line-height: 1.3em;
}
.FSM{
    font-size: var(--FSM);
    line-height: 1.25em;
    font-family: 'NotoSans-ExtraLight', sans-serif;
}
.FSL{
    font-size: var(--FSL);
    line-height: 1.17em;
    font-family: 'NotoSans-ExtraLight', sans-serif;
    margin: 1.4em 0 -.3em 0;
}
.FSXL{
    font-size: var(--FSXL);
    line-height: 1em;
    font-family: 'NotoSans-ExtraLight', sans-serif;
}
.green_font{
    color: var(--wilo_green);
}
.black_font{
    color: var(--stage_black);
}
.uppr{
    text-transform: uppercase;
}

/* Grid ----------------------------------------------------------- */
section{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wrap{
    width: 1688px;
    display: flex;
    flex-direction: column;
}
.mt150{ margin-top: var(--m150); }
.mt300{ margin-top: var(--m300); }

@media (max-width: 1727px) {
    .wrap{
        width: 97.68%;
    }
}
@media (max-width: 768px) {
    .wrap{
        width: 96%;
    }
}

/* Intro ----------------------------------------------------------- */
.intro{
    background: linear-gradient(20deg,
                var(--stage_black) 0%,
                var(--stage_black) 40%,
                var(--stage_petrol) 100%);
    padding-top: var(--m20);
    margin-top: 0 !important;
}
.intro figure{
    position: relative;
}
.trans{
    position: absolute;
    bottom: var(--m20);
    right: var(--m20);
    display: flex;
    gap: var(--gap);
}
.bt_trans{
    width: 1.94rem;
    height: 1.94rem;
    border-radius: var(--brS);
    border: none;
    background-color: rgba(255,252,250,.95);
    cursor: pointer;
    transition: background-color .2s ease;
}
.bt_trans:hover{
    background-color: var(--off_white);
}
.bt_trans svg{
    width: 100%;
    height: 100%;
}
.bt_trans svg path{
    transition: fill .2s ease;
}
.bt_trans:hover > svg path{
    fill: var(--wilo_green);
}
.hide{
    display: none;
}

@media (max-width: 768px) {
    .intro figure{
        height: calc(96vw / 4 * 3);
    }
    .intro video{
        object-fit: cover;
        height: 100%;
    }
}

/* Part 3 ---------------------------------------------------------- */
.int_boxes{
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
.int_boxes h2{
    margin-bottom: 1rem;
}
.int_row{
    display: flex;
    gap: var(--gap);
}
.int_box{
    width: 50%;
    height: 600px;
    position: relative;
}
.int_box figure{
    position: absolute;
    height: 100%;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--m20);
}
.int_box picture{
    position: absolute;
    inset: 0;
}
.int_box figure img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.int_box figcaption{
    position: relative;
    background-color: rgba(255,252,250,.95);
    border-radius: var(--brS);
    width: 100%;
    padding: var(--m20);
}
.int_box p{
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .6s ease, margin-bottom .4s ease;
}
.ib_open{
    max-height: 600px !important;
    margin-bottom: 1rem !important;
}
.ib_open + button svg{
    transform: rotate(180deg);
}
.int_box button{
    font-family: 'NotoSans-Regular', sans-serif;
    font-size: var(--FSD);
    border: 0;
    background: transparent;
    color: var(--wilo_green);
    display: flex;
    align-items: center;
    gap: var(--gap);
    cursor: pointer;
    padding: 0;
    transition: color .2s ease;
}
.int_box button svg{
    width: 1.2rem;
    height: auto;
    transition: transform .2s ease;
}

.carousel{
    display: flex;
    overflow-x: auto;
    gap: var(--gap);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar{
    display: none;
}
.slide{
    display: flex;
    flex: 0 0 100%;
    gap: var(--gap);
    width: 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
}
.c_txt{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--br);
    width: 35%;
    padding: var(--m20);
}
.c_txt p{
    margin: 0;
}
.slide figure{
    width: 65%;
    height: 800px;
}
.slide video, .slide img{
    object-fit: cover;
    height: 100%;
}
.c_controls{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--gap);
    margin-top: var(--m20);
}
.c_controls button{
    width: var(--m20);
    height: var(--m20);
    border-radius: .37rem;
    background-color: var(--anthrazit);
    border: none;
    cursor: pointer;
    transition: background-color .2s ease;
    padding: 0;
}
.current{
    background-color: var(--wilo_green) !important;
}

.txt_img{
    display: flex;
    gap: var(--m150);
    align-items: center;
}
.txt{
    width: 43%;
    display: flex;
    gap: var(--m20);
    padding-left: var(--m20);
}
.txt_img figure{
    width: 57%;
}

.img_img_img{
    display: flex;
    gap: var(--gap);
    flex-direction: column;
}
.img_img_img div{
    display: flex;
    gap: var(--gap);
}

.img_vid_grid{
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
.img_vid_grid div{
    display: flex;
    gap: var(--gap);
}
.img_vid_grid div figure{
    width: 30%;
}
.img_vid_grid div figure video{
    height: 100%;
    object-fit: cover;
}
.img_vid_grid div figure:last-child{
    width: 40%;
}

.img_vid_grid2{
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
.img_vid_grid2 div{
    display: flex;
    gap: var(--gap);
}
.img_vid_grid2 div figure:first-child{
    width: 35%;
}
.img_vid_grid2 div video{
    object-fit: cover;
    height: 100%;
}
.img_vid_grid2 div figure:last-child{
    width: 65%;
}

.img_vid_grid3{
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
.img_vid_grid3 div{
    display: flex;
    gap: var(--gap);
}
.img_vid_grid3 div figure{
    width: 50%;
}

.img_vid_grid4{
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
.img_vid_grid4 div{
    display: flex;
    gap: var(--gap);
}
.img_vid_grid4 figure{
    width: 50%;
}

.img_vid_grid5{
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}
.img_vid_grid5 figure{
    width: 49.7%;
}
.img_vid_grid5 video{
    height: 100%;
    object-fit: cover;
}

.big_roller{
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    --br-center: 1;
    --br-center-count: 2;
}
.br_row{
    gap: var(--gap);
    display: flex;
    width: max-content;
    --br-pause: 1.5s;
    transition: transform 1.4s ease;
}
.br_row figure{
    width: 840px;
    flex-shrink: 0;
}
.br_row figure video{
    height: 100%;
    object-fit: cover;
}

@media (min-width: 769px) {
    .int_box button:hover{
        color: var(--stage_black);
    }

    .c_controls button:hover{
        background-color: var(--wilo_green);
    }
}

@media (max-width: 1727px) {
    .int_box{
        height: 34.72vw;
    }
    .slide figure{
        height: 43.3vw;
    }

    .big_roller{
        padding: 0 var(--m20);
        --br-center: 0;
    }
    .br_row figure{
        width: 48.64vw;
    }
}
@media (max-width: 768px) {
    .int_row{
        flex-direction: column;
    }
    .int_box{
        width: 100%;
        height: 72vw;
        /* height: 86vw; */
    }
    .slide{
        flex-direction: column;
    }
    .slide figure, .c_txt{
        width: 100%;
        height: calc(96vw / 4 * 3);
    }
    .c_controls button{
        width: .8rem;
        height: .8rem;
        border-radius: .8rem;
    }

    .txt_img{
        flex-direction: column;
        gap: 2.5rem;
        align-items: flex-start;
    }
    .txt, .txt_img figure{
        width: 100%;
        padding-left: 0;
    }
    .txt_img figure{
        margin-top: var(--m150);
    }

    .img_img_img div{
        flex-direction: column;
    }
    .img_img_img figure{
        height: calc((100vw - var(--m20)*2) / 16 * 9);
    }
    .img_img_img img{
        object-fit: cover;
        height: 100%;
    }

    .img_vid_grid5 figure{
        width: 48.9%;
    }
    .img_vid_grid5 figure:first-child, .img_vid_grid5 figure:last-child{
        width: 100%;
    }

    .img_vid_grid div{
        flex-wrap: wrap;
    }
    .img_vid_grid div figure{
        width: 48.9%;
    }
    .img_vid_grid div figure:last-child{
        width: 100%;
    }

    .mc1{
        flex-direction: column;
    }
    .mc1 figure{
        width: 100%;
    }

    .big_roller{
        padding: 0 2vw;
    }
    .br_row figure{
        width: 47vw;
    }
}

/* Outro ----------------------------------------------------------- */
.outro{
    background: linear-gradient(0deg,
                var(--stage_petrol) 0%, 
                var(--stage_black) 100%);
    padding-bottom: var(--m20);
}
.outro .wrap{
    display: flex;
    flex-direction: column;
}
.outro h2{
    width: 100%;
    text-align: center;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.outro .slide{
    flex: none;
}
.outro .slide a{
    margin-top: 1rem;
    display: inline-flex;
    align-self: flex-start;
    width: fit-content;
    align-items: center;
    gap: .5rem;
    padding: 0 0 0 .8rem;
    background-color: var(--wilo_green);
    color: var(--off_white);
    border-radius: 2rem;
    transition: gap .2s ease;
}
.outro .slide a:hover{
    text-decoration: none;
    gap: 1rem;
}
.outro .slide a svg{
    width: auto;
    height: 100%;
}

/* .outro_box{
    width: 100%;
    height: 1117px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: var(--m20);
}
.outro_box figure{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.outro_box figure video{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.outro_box div{
    width: 600px;
    position: relative;
    padding: var(--m20);
    background-color: rgba(255,252,250,.95);
    border-radius: var(--br);
    display: flex;
    flex-direction: column;
    gap: var(--m150);
}
.outro_box div p{
    margin: 0;
} */

@media (max-width: 1727px) {
    .outro h2{
        height: 40.5vw;
    }
    /* .outro_box{
        height: 64.64vw;
    }
    .outro_box div{
        width: 34.72vw;
    } */
}
@media (max-width: 768px) {
    .outro h2{
        min-height: 80vw;
    }
    .outro .slide{
        flex-direction: column-reverse;
    }
    /* .outro_box{
        height: 130vw;
    }
    .outro_box div{
        width: 100%;
    } */
}

/* Footer --------------------------------------------------------- */
footer{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}
footer .wrap{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
footer svg{
    width: 73px;
    height: auto;
}
footer .wrap div{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

@media (max-width: 550px) {
    footer .wrap{
        align-items: flex-start;
        gap: 24px;
    }
    footer svg{
        width: 20vw;
    }
    footer .wrap div{
        flex-direction: column;
        gap: 20px;
    }
}

