@font-face {
    font-family: 'open_sans_light';
    src: url('OpenSans-Light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sans_regular';
    src: url('OpenSans-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sans_semibold';
    src: url('OpenSans-Semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sans_bold';
    src: url('OpenSans-Bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Brandon Text';
    src: local('Brandon Text Black'), local('Brandon-Text-Black'),
        url("Brandon-Text-Web-Black.eot") format("eot"),
        url('BrandonText-Black.woff2') format('woff2'),
        url('BrandonText-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}


* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0px;
}
body{
    font-family: 'open_sans_light', sans-serif;
}
#header {
    height: 124px;
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
}

a, a:visited{
    color: #1de0d6;
    text-decoration: none;
}
a:hover{
    color: #000000;
}


.sections{
    height: calc(50% - 62px);
    min-height: 350px;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
}
.sections:first-of-type{
    /*border-bottom: 3px solid #000000;*/
}

/*
.sections .video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

#header_video {
    position: relative;
    overflow: hidden;
    background: #555555;
}

#header_video .video-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Vimeo layer */
.vimeo-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

/* responsive cover-behavior for iframe */
.vimeo-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;        /* 16:9 */
    min-width: 88.89vh;   /* 16/9 inverted */
    min-height: 50vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

#header_video .overlay {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #ffffff;
    padding-left: 90px;
    padding-right: 90px;
    padding-bottom: 60px;
    animation-name: riseSectionsTitle;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes riseSectionsTitle {
    from {
        padding-bottom: 0px;
        opacity: 0;
    }
    to {
        padding-bottom: 60px;
        opacity: 1;
    }
}
.sections h1{
    margin-bottom: 12px;
    line-height: 1.0em;
    font-size: 2.5em;
}
.sections .text{
    font-size: 1.75em;
    line-height: 1.5em;
}

.headerButton{
    background-color: #fff;
    color: #000;
    font-family: 'open_sans_regular', sans-serif;
    letter-spacing: 0.04em;
    display: inline-block;
    border-radius: 5px;
    margin-top: 10px;
    padding-top: 7px;
    padding-right: 20px;
    padding-bottom: 7px;
    padding-left: 20px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
.headerButton a{
    color: #000 !important;
    transition: all 0.3s ease 0s;
}
.headerButton:hover{
    background-color: rgba(0,0,0,0.5);
    transition: all 0.3s ease 0s;
}
.headerButton:hover a{
    color: #fff !important;
    transition: all 0.3s ease 0s;
}

.smallbtn{
    padding-top: 7px !important;
    padding-right: 20px !important;
    padding-bottom: 7px !important;
    padding-left: 20px !important;
}

.btn{
    background-color: #1de0d6;
    padding-top: 15px;
    padding-right: 25px;
    padding-bottom: 15px;
    padding-left: 25px;
    border-radius: 35px;
    color: #ffffff !important;
    letter-spacing: 0.04em;
    font-size: 0.9em;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    display: inline-block;
}
.btn:hover{
    background-color: #000000;
    color: #ffffff;
    transition: all 0.3s ease 0s;
}
.inputtext{
    font-family: 'open_sans_light', sans-serif;
    font-size: 0.9em;
    padding-top: 5px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 15px;
    background-color: #eeeeee;
    border: none;
    margin-bottom: 10px;
    border-radius: 1em;
    width: 100%;
}

.services_title{
    padding-top: 40px;
    text-align: center;
    font-size: 1.6em;
    letter-spacing: 0.08em;
    font-family: 'open_sans_regular', sans-serif;
}

.services_grid {
    display: flex;
    gap: 12px; /* space between cells */
    padding: 24px 24px;
    flex-wrap: wrap;  /* <-- must allow wrapping for mobile */
}

.services_grid > .service_cell {
    flex: 1;
    min-width: 200px;
    box-sizing: border-box;
    background-color: #cccccc;
    padding: 280px 30px 40px 30px;
    font-size: 1.2em;
    hyphens: auto;        /* allow automatic hyphenation */
    overflow-wrap: anywhere;
    word-break: normal;   /* ensure words break normally */
}
.service_cell,
.service_cell:link,
.service_cell:visited,
.service_cell:hover,
.service_cell:active {
    color: inherit;
    text-decoration: none;
}

#services{
    background: linear-gradient(to bottom, #c2cad4 0%, #eee 100%);
    /*background-color: #eee;*/
}

.service_cell{
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  flex: 1;                  /* or fixed width if needed */
  min-width: 200px;
  padding: 25px;            /* inner spacing */
  display: flex;
  align-items: flex-end;    /* text at bottom */
  justify-content: center;  /* horizontal centering */
  color: #fff;
  cursor: pointer;
}

/*
.service_bg_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}*/

.service_bg_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}

.service_cell > .service_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(20,20,20,1) 100%);
  /*background: rgba(20, 20, 20, 0.45);*/
  opacity: 1;
  transition: opacity 0.6s ease;
  z-index: 2;
}

.service_cell > .service_text {
  position: relative;
  z-index: 3;
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s ease;
  color: #fff;
}

.service_cell:hover > .service_text {
  opacity: 0.5;
}

.service_cell > .service_text > div{
    margin-bottom: 5px;
}

.service_cell:hover .service_bg_img {
  transform: scale(1.04);
}

.service_cell:hover .service_overlay {
  opacity:  0;
}

.service_smalltext{
    font-size: 0.75em;
    letter-spacing: 0.07em;
}
.service_titletext{
    font-size: 1.1em;
    letter-spacing: 0.08em;
    font-family: 'open_sans_regular', sans-serif;
    
}

.regulartext{
    font-family: 'open_sans_regular', sans-serif;
}
.boldtext{
    font-family: 'open_sans_bold', sans-serif;
}
.semiboldtext{
    font-family: 'open_sans_semibold', sans-serif;
}

.textarea{
    font-family: 'open_sans_light', sans-serif;
    font-size: 0.9em;
    padding: 5px 15px;
    background-color: #eeeeee;
    border: none;
    border-radius: 1em;
    width: 100%;
    height: 120px;
}
.smalltxt{
    font-size: 0.8em;
    color: #666666;
}

/* Home Section */
.client_logos{
    margin-bottom: 3.5em !important;
    text-align: center;
}

.client_logos_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;                 /* uniform spacing between logos */
    align-items: center;       /* vertically center mixed-height logos */
     justify-content: center;
     margin-top: 20px;
}
.client_logos_grid .logo {
    width: 110px;
    height: 70px;              /* controls visual weight */
    display: flex;
    align-items: center;
    justify-content: center;
}
.client_logos_grid img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.home-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 2.35 / 1;
    overflow: hidden;
    background: #000;
    margin-bottom: 65px;
}

.home-slideshow .slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.home-slideshow .slides img.active {
    opacity: 1;
}

/* dots */
.slide-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slide-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
}

.slide-dots button.active {
    background: rgba(255,255,255,0.9);
}


.spacedlist li{
    padding-bottom: 0.6em;
}
.spacedlist li:last-of-type{
    padding-bottom: 0 !important;
}
.spaceddiv{
    padding: 0.5em 0em;
}



#alert {
    margin-bottom: 20px;
}
#alert > .alert-error{
    color: #ff0000;
    border: 1px solid #ff0000;
    padding: 10px 20px;
    border-radius: 35px;
}
#alert > .alert-success{
    color: #07c388;
    border: 1px solid #07c388;
    padding: 10px 20px;
    border-radius: 35px;
}

.logo{
    height: 100%;
    max-width: 150px;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
}
.logo img{
    margin: 0;
    padding-top: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.menuBtnCnt{
    width: 85px;
    height: 100%;
    position: absolute;
    top:0;
    right: 0;
}
.menuBtnCnt div{
    position: relative;
    height: 100%;
}
.menuBtnCnt div img{
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.text {
    font-size: 0.7em;
    letter-spacing: 0.06em;
    text-rendering: optimizeLegibility;
}
.section_title {
    margin-bottom: 10px;
}
h1, h2 {
    font-size: 1.6em;
    line-height: 1.2em;
    margin-bottom: 0.5em;
}
h2 a{
    color: inherit;
    text-decoration: none;
}


.titles{
    font-family: "Brandon Text", Verdana, sans-serif !important;
    font-weight: 900;
    letter-spacing: 0.05em;
    hyphens: auto;        /* allow automatic hyphenation */
    overflow-wrap: anywhere;
    word-break: normal;  
}

.page_contents{
    background-color: #ffffff;
    padding-top: 40px;
    padding-right: 0;
    padding-bottom: 40px;
    padding-left: 0;
}
.page_contents .textSection{
    width: 80%;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.7em;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
    border-bottom: 1px solid #efefef;
}
.textSection:last-of-type,
.noBorder {
    border-bottom: none !important;
}
.textSection .content{
    padding-bottom: 20px;
}

.page_contents .fullBgSection{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 20px;
    padding-top: 20px;
    font-size: 1.2em;
    line-height: 1.7em;
    background-color: #eee;
}

.projects_grid{
    margin-top: 40px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
}
.projects_grid .proj_cell {
    flex: 0 1 250px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.proj_cell:hover img {
    transform: scale(1.04);
}

.proj_img {
    overflow: hidden;        /* clip zoomed image */
    border-radius: 12px;
}
.proj_cell img {
    width: 100%;
    aspect-ratio: 16 / 9;       /* forces height automatically */
    object-fit: cover;          /* crop excess while keeping aspect */
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease;
}
.proj_cell > .proj_text {
    padding: 20px 0 10px 20px;
}
.proj_smalltext{
    font-size: 0.75em;
    letter-spacing: 0.03em;
    line-height: 1.6em !important;    
}
.proj_titletext{
    font-size: 1.1em;
    letter-spacing: 0.04em;
    font-family: 'open_sans_regular', sans-serif;
    line-height: 1.5em !important;
}
.proj_img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* tweak this one value */
:root {
    --proj-icon-size: 32px;
}

.proj_icon {
    position: absolute;
    bottom: 12px;
    left: 15px;
    width: var(--proj-icon-size);
    height: var(--proj-icon-size);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    pointer-events: none;
    filter: invert(1);
}

/* icon variants */
.proj_icon.video {
    background-image: url("/assets/icons/icon_video.png");
}

.proj_icon.gallery {
    background-image: url("/assets/icons/icon_gallery.png");
}


#categories {
    height: auto;
    display: table;
    overflow-y: visible;
    margin-top: 20px;

}
#categories .catbtn{
    padding-top: 5px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 15px;
    margin-left: 0;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 2em;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    float: left;
}
#categories .active{
    background-color: #000000 !important;
    color: #ffffff !important;
}
#categories .catbtn:hover{
    background-color: #000000;
    color: #ffffff;
    transition: all 0.3s ease 0s;
}

.toggleContent{
    position: relative;
}
.toggleContent h2::before {
    content: '+';
    font-size: 0.5em;
    font-weight: lighter;
    position: absolute;
    top: 0;
    left: -20px;
}
.toggleContent .minus::before {
    content: "−" !important;
}
.toggleContent h2 {
    cursor: pointer;
}
.toggleContent .content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 1s ease, opacity 1s ease;
}

.toggleContent .content.open {
    max-height: 1000px; /* large enough for your content */
    opacity: 1;
}

.clearfloat {
    clear: both;
    height: 0;
    line-height: 0;
    margin: 0;
}

#menuOverlay, #lightbox{
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    z-index: 5;
    color: #ffffff;
    backdrop-filter: blur(5px);
}
#menuOverlay > .logo, #lightbox > .logo {
    height: 100px;
    width: 150px;
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 1;
}
#menuOverlay > .closeBtn, #lightbox > .closeBtn {
    height: 45px;
    width: 45px;
    position: absolute;
    top: 40px;
    right: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.9);
    cursor: pointer;
    z-index: 1;
}
#menuOverlay > .closeBtn > img, #lightbox > .closeBtn > img {
    position: absolute;
    width: 25px;
    top: 10px;
    left: 10px;
}
#menuOverlay .divOne{
    position: absolute;
    width: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 1em;
    padding-right: 3em;
    padding-left: 2em;
    line-height: 2em;
    letter-spacing: 0.1em;
    text-align: right;
}
#menuOverlay .divTwo{
    position: absolute;
    width: 50%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 1.9em;
    text-transform: uppercase;
    font-family: 'open_sans_regular', sans-serif;    
    letter-spacing: 0.05em;
    border-left: 1px solid rgba(255,255,255,0.2);
    text-align: left;
}

#menuOverlay ul {
    margin: 0;
}
#menuOverlay ul li {
    list-style-type: none;
    margin-bottom: 0.2em;
    transition: all 0.3s ease;
}
#menuOverlay a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}
#menuOverlay a:hover {
    color: rgba(29, 224, 214, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

#lightbox {
    opacity: 0;
    transform: translateY(-20px);  /* start slightly above */
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;                 /* hidden by default */
}

#lightbox.visible {
    opacity: 1;
    transform: translateY(0);      /* slide into place */
    display: block;
}

#lightbox > #lbContent{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: auto;       /* default scroll if needed */
    font-size: 0.8em;
    line-height: 1.5em;
    text-align: center;
}
/* text/legal */
.lb-text {
    width: 50%;
    height: 50%;
    overflow-y: scroll;
    padding: 2em;    
    
    h2 {
        font-size: 1.8em;
    }    
}
/* video/gallery */
.lb-media {
    width: 100%;
    height: 100%;
    overflow: hidden;
}



.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-view {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 0;
    bottom: 0;                  /* stretch vertically */
    width: 55px;
    background: rgba(0,0,0,0.2); /* semi-transparent vertical strip */
    color: #fff;
    border: none;
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.gallery-prev { left: 0; }
.gallery-next { right: 0; }

/* optional: change hover effect for clarity */
.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(0,0,0,0.6);
}

.gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.9em;
}




#cookies{
    position: fixed;
    z-index: 2;
    display:inline-block;
    background-color: rgba(255,255,255,0.5);
    bottom: 0;
    right: 0;
    border-radius: 25px;
    padding: 10px 20px;
    color: #000000;
    font-size: 0.8em;
}

#portfolio_vids > div{
    width: calc(40vw - 20px);
    height: calc(18vw);
    float: left;
    cursor: pointer;
    position: relative;
    box-sizing: content-box;
    padding-bottom: 40px;
    margin-left: 7px;
    margin-right: 7px;
    margin-bottom: 40px;
}

#portfolio_vids > div > span{
    position: absolute;
    bottom: 0;
    left: 10px;
    font-size: 0.85em;
}
#portfolio_vids > div > div{
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
#portfolio_vids > div > div > div{
    width: 100%;
    height: 100%;
    /*background: url('../thumbs/neuschnee.jpg');*/
    background-repeat:no-repeat !important;
    background-size: cover !important;
    background-position-x: center !important;
    background-position-y: center !important;
    background-color: #eeeeee;
    transform: scale(1.0);
    transition: all 500ms;
}

#portfolio_vids > div > div > div:hover{
    transform: scale(1.08);
}

#bigvidplayer{
    background-color: #eeeeee;
}

.spacer{
    height: 30px;
}

#preloader {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(0);
    transition: transform 0.8s ease;
}

/* when dismissed */
#preloader.is-hidden {
    transform: translateY(-100%);
}

/* logo */
#preloader img {
    width: 256px;
    height: 189px;
}


.kontaktLeft{
    width:45%;
    float: left;
}
.kontaktRight{
    width:55%;
    float: left;
    padding-top: 10px;
}


.loadlegal{
    cursor: pointer;
}


@media screen and (max-width: 450px) {
    .sections{
        min-height: 250px;
    }
    .sections .overlay{
        padding-right: 40px;
        padding-bottom: 10px;
        padding-left: 30px;
    }
    .sections h1 {
        font-size: 1.8em !important;
        margin-bottom: 5px;
        line-height: 1.0em;
    }
    .sections .text{
        font-size: 1.5em;
        line-height: 1.5em;
    }
    .page_contents {
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .page_contents .textSection{
        width: calc(100% - 50px);
        font-size: 1.0em;
        line-height: 1.5em;
    }
    
    #header_video .overlay {
        padding-left: 40px;
        padding-right: 40px;
    }

    .projects_grid{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    @keyframes riseSectionsTitle {
        from {
            padding-bottom: 0px;
            opacity: 0;
        }
        to {
            padding-bottom: 30px;
            opacity: 1;
        }
    }

    .toggleContent h2::before {
        left: -15px;
    }


    #menuOverlay .divOne{
        position: absolute;
        width: 100%;
        height: auto;
        top: initial;
        bottom: 50px;
        left: 0;
        transform: none;
        font-size: 0.7em;
        padding-right: 0;
        padding-left: 0;
        line-height: 2em;
        letter-spacing: 0.1em;
        text-align: center;
    }
    #menuOverlay .divTwo{
        position: absolute;
        width: 100%;
        height: 50%;
        top: 20%;
        left: -20px;
        transform: none;
        text-align: center;
        font-size: 1.6em !important;
        letter-spacing: 0.05em;
        border-left: none;
    }
    
     #menuOverlay .divTwo li{
         margin-bottom: 20px;
     }
    .spacer{
        height: 20px;
    }

    .kontaktLeft{
        width:100%;
        float:none;
    }
    .kontaktRight{
        width:100%;
        float: none;
        padding-top: 50px;
    }
    
}

@media screen and (max-width: 1060px) {
    #menuOverlay .divOne{
        position: absolute;
        width: 100%;
        height: auto;
        top: initial;
        bottom: 50px;
        left: 0;
        transform: none;
        font-size: 0.7em;
        padding-right: 0;
        padding-left: 0;
        line-height: 2em;
        letter-spacing: 0.1em;
        text-align: center;
    }
    #menuOverlay .divTwo{
        position: absolute;
        width: 100%;
        height: 50%;
        top: 25%;
        left: -20px;
        transform: none;
        text-align: center;
        font-size: 1.9em;
        letter-spacing: 0.05em;
        border-left: none;
    }

    .kontaktLeft{
        width:100%;
        float:none;
    }
    .kontaktRight{
        width:100%;
        float: none;
        padding-top: 50px;
    }

/* force full width stacking */
/*    .services_grid > .service_cell {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 100px 20px 20px 20px;
    }*/
    
}

@media screen and (max-width: 650px) {
    /* force full width stacking */
    .services_grid > .service_cell {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 100px 20px 20px 20px;
    }

    .services_grid {
        padding: 21px 14px;
        gap: 4px;
    }
    
    .client_logos_grid .logo {
        width: 90px;
        height: 50px;
    }
}

@media screen and (min-width: 651px) and (max-width: 1080px) {

    .services_grid > .service_cell {
        flex: 0 0 49%;   /* 2 per row */
        min-width: 0;        /* important to avoid min-width > 50% */
        padding: 240px 20px 30px 20px;
    }
    
    .services_grid {
        padding: 21px 14px;
    }      
    
}

@media screen and (min-width: 651px) and (max-width: 1300px) {

    .projects_grid{
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}



@media screen and (max-width: 910px) {
    .page_contents .textSection{
        width: calc(90% - 30px);
        margin: 0 auto;
        font-size: 1.2em;
        line-height: 1.7em;
    }

    #portfolio_vids > div{
        margin-bottom: 20px;
        width: calc(90vw - 35px);
        height: calc(40vw);
        margin-left: 0;
        margin-right: 0;
    }
    #portfolio_vids > div > span{
        left: 5px;
        font-size: 0.7em;
    }
    .kontaktLeft{
        width:100%;
        float:none;
    }
    .kontaktRight{
        width:100%;
        float: none;
        padding-top: 50px;
    }


}