/* GENERAL ----------------------------------------------------------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: var(--wp--preset--font-family--primary);
    line-height: 115%;
    overflow-x: hidden;
}

.lightmode {
    background-color: var(--wp--preset--color--bglight);
    color: var(--wp--preset--color--textlight);
}

.darkmode {
    background-color: var(--wp--preset--color--bgdark);
    color: var(--wp--preset--color--textdark);
}

.caps {
    text-transform: uppercase;
}

h2, h3, h4, h5, h6, p, ul{
    margin: 0;
    padding: 0;
}

h2{
    font-weight: 400;
    line-height: 90%;
}

h3{
    font-family: var(--wp--preset--font-family--mono);
    font-size: 15px;
    font-weight: 400;
}

h4{
    margin-bottom: 15px;
    font-size: 10px;
    font-style: bold;
    font-weight: 700;
}

h5{
    line-height: 115%;
    font-weight: 400;
}

ul {
    list-style-type: none;
}

a {
    color: inherit;
}

strong{
    font-family: var(--wp--preset--font-family--mono);
    font-weight: 700;
}

.h-variant{
    font-family: var(--wp--preset--font-family--secondary);
}

.mono{
    font-family: var(--wp--preset--font-family--mono);
}

.end {
    justify-self: end !important;
}

.h-tag{
    margin-top: -20px;
    padding: 0;
    font-size: 10px;
}

.slogan {
    font-size: 4vw;
    font-weight: 600;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

/* SECTIONS ---------------------------------------------------------------------- */
section {
    padding: 0;
}

/* CONTENT ----------------------------------------------------------------------- */
.service-list{
    list-style-position: inside;
    list-style-type: "_ ";
    line-height: 110%;
}

.contact {
    font-size: 15px;
    row-gap: 24px !important;
}

.contact a{
    text-decoration: none;
}

/* IMPRINT ----------------------------------------------------------------------- */
.imp strong {
    font-family: var(--wp--preset--font-family--primary);
    font-weight: bold;
}

.imp ul {
    list-style-type: square;
    padding-left: 40px;
}

/* FIXED & STICKY BARS ----------------------------------------------------------- */
header {
    top: 0;
    position: fixed;
    width: 100%;
}

.bottom-wrapper{
    bottom: 0;
    position: sticky; 
}

header, .language-switcher-wrapper, .bottom-wrapper {
    mix-blend-mode: difference;
    font-family: var(--wp--preset--font-family--mono);
    /* font-size: 15px; */
    font-weight: 700;
    /* color: #E7E7E7; */
    z-index: 10;
}

header div {
    height: 100%;
}

header .nav-bar, .bottom-bar{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    height: 100%;
}

header .nav-bar li:first-child {
    margin-right: auto;
}

header .nav-bar li a, .bottom-bar p {
    text-decoration: none;
}

header .nav-bar li:not(:first-child) {
    margin-left: 4vw;
}

.language-switcher-wrapper {
    position: sticky;
    display: flex;
    justify-content: flex-end;
}

.custom-lang-switcher {
    display: inline-block;
    transform-origin: center;
    transform: rotate(90deg);
    line-height: 15px;
    margin-right: -30px;
}

.custom-lang-switcher a {
    text-decoration: none;
}

.custom-lang-switcher a.active {
    text-decoration: underline;
}

.copyright {
    margin-bottom: -10px;
    transform-origin: top right;
    transform: rotate(90deg);
    line-height: 10px;
    font-size: 10px;
}

/* CASE MENU --------------------------------------------------------------------- */
.case-icn{
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    cursor: pointer;
    z-index: 999;
    transition: transform 0.3s ease-in-out; 
}

/* .case-icn img{
    width: 100%;
    height: 100%;
    stroke: red !important;
    color: blue;
} */

.case-icn svg {
    width: 100%;
    height: 100%;
}	

.case-icn svg path {
    fill: none;
}

.case-icn.rotated {
    transform: translate(-50%, -50%) rotate(45deg); 
}

.case-menu {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100vw;
    height: 0vh;
    /* background-color: rgba(0, 0, 0, 0.8); */
    background-color: inherit;
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: height 0.5s ease-in-out;
}

.case-menu.visible {
    height: 100vh;
}

.case-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.case-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    height: 25px;
    overflow: hidden !important;
    gap: 0 !important;
}

.case-row a {
    text-decoration: none;
}

.case-row p {
    font-size: 19px;
    line-height: 25px;
    white-space: nowrap;
    margin: 0 20px 0 0;
    padding: 0;
}

.case-img {
    flex-grow: 1 !important;
    object-fit: cover !important; 
    overflow: hidden !important; 
}

.case-img a {
    width: 100% !important;
}

.case-img img{
   width: 100% !important;
   min-height: 25px !important;
   flex-grow: 1 !important;
}

/* SIDE MENU --------------------------------------------------------------------- */

.side-menu {
    position: sticky;
    /* position: fixed; */
    z-index: 10; 
}

/* FOOTER ------------------------------------------------------------------------ */
footer {
    margin: 0;
    padding: 30px 20vw 45px;

    font-family:  var(--wp--preset--font-family--mono);
    font-weight: 400;
    font-size: 15px;
}

.wp-block-column a{
    text-decoration: none;
}

#block-9 .wp-container-core-columns-is-layout-1{
    margin-bottom: 75px;
    column-gap: 5vw;
}

#block-10 .wp-container-core-columns-is-layout-2{
    font-size: 10px;
    margin-bottom: 0;
    align-self: end;
    column-gap: 5vw;
    font-weight: 700;
    font-style: bold;
}

#block-10 .wp-container-core-columns-is-layout-2 p{
    line-height: 13px;
}

/* MEDIA QUERIES ----------------------------------------------------------------- */

/* BRP1: SMART PHONES & TABLETS -------------------------------------------------- */
@media screen and (max-width: 991px ) {
    .desktop {
        display: none !important;
    }
    
    body{
      font-size: 15px;
    }

    #background-video {
        width: 85vw;
    }

    h2{
        font-size: 56px;
    }

    h5{
        font-size: 28px;
    }

    /* NAV */
    header, .bottom-wrapper, .language-switcher-wrapper {
        font-size: 12px;
    }


    header, .bottom-wrapper {
        height: 120px;
    }

    header .nav-bar li:first-child, .bottom-bar p:first-child {
        margin-left: 5.5vw;
    }

    header .nav-bar li:last-child a, .bottom-bar p:last-child, .language-switcher-wrapper {
        margin-right: 5.5vw;
    }

    .language-switcher-wrapper {
        bottom: 50svh;
        margin-bottom: 30svh;
    }

     /* CASE MENU */
     .case-icn {
        top: 60px;
        width: 40px;
        height: 40px;
    }

    .case-menu-content h2{
        font-size: clamp(44px, 10vw, 56px);
    }

    .case-menu-content{
        padding: 0 5.5vw;
    }

    .case-row-wrapper {
        max-width: 430px;
    }

    /* CASE */
    .case-content p {
        grid-column: 1 / span 5 !important;
    }

    .case-content div  {
        grid-column: 1 / span 7 !important;
        padding: 0 !important;
    }

    .case-content .wp-block-spacer {
        display: none !important;
    }

    .case-content .title-img {
        grid-column: 1 / span 8 !important;
    }

    .start-1 {
        grid-column-start: 1 !important;
    }

    .start-2 {
        grid-column-start: 2 !important;
    }

    .start-3 {
        grid-column-start: 3 !important;
    }

    .start-4 {
        grid-column-start: 4 !important;
    }

    .start-5 {
        grid-column-start: 5 !important;
    }


    .mobile-col-3 {
        grid-column-end: span 3 !important;
    }

    .mobile-col-4 {
        grid-column-end: span 4 !important;
    }

    .mobile-col-5 {
        grid-column-end: span 5 !important;
    }

    .mobile-col-6 {
        grid-column-end: span 6 !important;
    }

    .mobile-col-7 {
        grid-column-end: span 7 !important;
    }

    .mobile-col-8 {
        grid-column-end: span 8 !important;
    } 


    /* SECTIONS */
     .content-section{
        margin: 15vh 5.5vw !important;
        grid-template-columns: 8vw 8vw 15.5vw 13vw 13vw 15.5vw 8vw 8vw !important;
        row-gap: 2vh !important;
        column-gap: 0 !important;
    }

    .top-section {
        margin-top: 30vh !important;
    }

     /* CONTENT */
    .header-vid{
        width: 89vw;
    }

    .slogan {
        grid-column: 1 / span 4 !important;
        font-size: clamp(1rem, 4vw, 2rem);
        margin-top: -8vw !important;
    }

    /* SERVICE */
    .service-list{
        font-size: 21px;
    }

    /* IMPRINT */
    .imp h2{
        font-size: 6vw;
    }
}

/* BRP2: DESKTOP ---------------------------------------------------------------- */
@media screen and (min-width: 992px) {
    .mobile {
        display: none !important;
    }

    body{
      font-size: 19px;
    }

    #background-video {
        width: 38vw;
    }

    h2{
        font-size: 100px;
    }

    h5{
        font-size: 50px;
    }

    /* NAV */
    header, .bottom-wrapper, .language-switcher-wrapper {
        font-size: 15px;
    }

    header, .bottom-wrapper {
        height: 100px;
    }

    header .nav-bar li:first-child, .bottom-bar p:first-child {
        margin-left: 3vw;
    }

    header .nav-bar li:last-child a, .bottom-bar p:last-child, .language-switcher-wrapper {
        margin-right: 3vw;
    }

    .language-switcher-wrapper {
        bottom: calc(calc(100vh - 40px) - calc(7vw + 25vh));
        margin-bottom: 30svh;
    }

    /* CASE MENU */
    .case-icn {
        top: 50px;
        width: 80px;
        height: 80px;
    }

    .case-row-wrapper {
        width: 770px;
    }

    /* SIDE MENU */
    .side-menu {
        margin-left: 3vw !important;
        margin-bottom: calc(-10vh - 158px) !important;
        top: 100px;
        width: 16vw;
    }
    
    .side-menu h3 {
        font-size: 19px;
        margin-bottom: 20px;
    }

    /* SECTIONS */
    .content-section{
        margin: 10vh 3vw !important;
        grid-template-columns: 8vw 8vw 17vw 14vw 14vw 17vw 8vw 8vw !important; 
        row-gap: 2vh !important;
        column-gap: 0 !important;
    }

    .top-section {
        margin-top: 25vh !important;
    }

    /* CONTENT */
    /* .x-offset-small {} */
    /* .x-offset-medium {} */

    .y-offset-small {
        margin-top: 200px !important;
    }

    .y-offset-medium {
        margin-top: 400px !important;
    }	
    
    .header-vid{
        width: 45vw;
    }

    .slogan {
        grid-column: 6 / span 3 !important;
        font-size: 2.5vw;
        padding-top: 7vw;
    }

    .img-size {
        width: 22vw !important;
    }

    .catch{
        font-size: 14px ;
        line-height: 16px;
    }

    .service-list{
        font-size: 36px;
    }

    /* IMPRINT */
    .imp {
        grid-column: 3 / span 4 !important;
    }

    .imp p{
        font-size: 15px;
    }

    .imp h2{
        font-size: 50px;
    }

    .imp h3{
        font-size: 18px;
        font-weight: bold;
    }

    .imp ul li {
        font-size: 15px;
    }
}


.none {
    display: none !important;
}