@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&display=swap');

@font-face {
    font-family: ScrittureGrotesk;
    src: url(fonts/ScrittureGrotesk-Light.otf), 
        url(fonts/ScrittureGrotesk-Regular.otf), 
        url(fonts/ScrittureGrotesk-Bold.otf), 
        url(fonts/ScrittureGrotesk-Thin.otf);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #EDEDED;
    scroll-behavior: smooth;
    scroll-padding: 120px;
}    

body {
    font-family: "Commissioner", sans-serif;
    font-size: 24px;
    font-weight: 200;
    line-height: 1.3;
    color: #FF7200;
    letter-spacing: 1.2;
}
    
main {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    background-color: #EDEDED;
}

footer {
    background-color: #393939;
    width: 100%;
    padding: 50px;
}

a {
    text-decoration: none;
    color: #393939;
    transition: border 0.2s 0.2s ease-in; 
    border-bottom: solid 2px rgba(255, 255, 255, 0);
}

nav a:hover {
    color: #FF7200;
    border-bottom: solid 2px #FF7200;
}

header nav a, footer nav a {
    margin-left: 32px;
    font-size: 18px;
}

footer nav a {
    font-size: 16px;
    color: #EDEDED;
}

.mobile {
    text-align: right;
    display: none;
}

.mobile ul {
    list-style: none;
}

ul li ul {
    display: none;
}

ul li:hover ul {
    display: block;
}

ul li a {
    font-size: 25px;
    color: #393939;
}

ul li {
    margin: 20px 0 20px 0;
}

.container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding: 100px 0 100px 0;
    overflow-y: hidden;
}

header .container, footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

header h1 img {
    height: 80px;
    margin: 20px 0 20px 0;
}

header h1 {
    animation: none;
}

.grey, .grey-clip {
    background-color: #393939;
    width: 100%;
}

.video {
   width: 100%;
   position: relative;
   overflow: hidden;
}

.video h2, .button2, .slide h2 {
    margin: 50px 0 50px 0;
}

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

h1 {
    font-size: 80px;
    font-weight: 600;
    line-height: 1.2;
    animation: h1-in 1s ease-out 0.5s 1 both;
}

@keyframes h1-in {
    0% {
        opacity: 0;
        transform: translate(0,5vw);
    }

    50% {
        opacity: 0,5;
    }

    100% {
        opacity: 1;
        transform: translate(0,0);
    }
}

h1 span {
    font-weight: 100;
}

h2 {
    font-size: 32px;
    font-weight: 200;
    animation: h1-in 2s ease-out 0.5s 1 both;
}

@keyframes h2-in {
    0% {
        opacity: 0;
        transform: translate(0,5vw);
    }

    50% {
        opacity: 0,5;
    }

    100% {
        opacity: 1;
        transform: translate(0,0);
    }
}

h3 {
    font-family: 'ScrittureGrotesk', sans-serif;
    font-weight: bolder;
    font-size: 50px;
    font-weight: 500;
    margin: 0 0 50px 0;
}

p {
    margin-bottom: 30px;
}

footer p {
    margin: 0;
}

.button, .button2 {
    font-size: 16px;
    border: solid 2px #FF7200;
    padding: 20px;
    background-color: #393939;
    color: #EDEDED;
    letter-spacing: 1.5;
    transition: background-color 1s, color 1s;
}

.button2 {
    background-color: #EDEDED;
    color: #393939;

}

.button:hover, .button2:hover {
    background-color: #FF7200;
}

.two {
    display: flex;
    gap: 20px;
}

.twobox {
    width: 50%;
}

.twobox-img {
    background-image: url(pictures/Sebastian-Kassen.png);
    width: 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.box {
    border: solid 2px #FF7200;
    padding: 30px;
}

span {
    font-weight: 700;
}

.carousel {
    display: flex;
    overflow-x: auto;
}

.carousel::-webkit-scrollbar {
    display: none;
}

@keyframes spin {
    from {translate: 0;}
    to {translate: -100%;}
}

.verlauf {
    display: flex;
    animation: spin 30s infinite linear;
}

.steps {
    width: 300px;
}

.bullet {
    font-size: 70px;
    border: solid 2px #FF7200;
    border-radius: 100%;
    width: 100px;
    height: 100px;
    text-align: center;
}

.steps p {
    padding-right: 30px;
}

.line {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

hr {
    height: 2px;
    color: #FF7200;
    width: 200px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    margin: 50px 100px 50px 100px;
    justify-content: center;
}

.grid-four {
    margin-top: 30px;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.reference {
    text-align: center;
}

.reference ul li {
    text-align: left;
    margin: 10px 5px 10px 5px;
    font-size: 18px;
}

.reference img {
    height: 70px;
    margin-bottom: 10px;
}

.grid-four .reference img {
    height: 120px;
}

.slide_wrapper {
    display: flex;
    animation: slide 30s ease infinite;
    width: calc(100% * 4);
}

.slide {
    width: 100%;
    padding-right: 50px;
}


@keyframes slide {
    0%
    {margin-left: 0;}

    20%
    {margin-left: 0;}

    25%
    {margin-left: calc(-100%*1);}

    45%
    {margin-left: calc(-100%*1);}

    50%
    {margin-left: calc(-100%*2);}

    70%
    {margin-left: calc(-100%*2);}

    75%
    {margin-left: calc(-100%*3);}

    95%
    {margin-left: calc(-100%*3);}
}

.container ul {
    list-style: disc;
    padding-left: 25px;
    font-size: 20px;
}


@media (max-width: 1084px){
    .grey, footer, .container {
        padding: 50px 30px;
    }

    header {
        padding-left: 30px;
        padding-right: 30px;
    }

    .grey .container {
        padding-left: 0;
        padding-right: 0;
    }

    h1 {
        font-size: 60px;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 20px;
    }

    header .container ul {
        list-style: none;
    }
}

@media (max-width: 935px) {
    header .container {
        display: block;
        padding: 10px 0 10px 0;
    }

    html {
        scroll-padding: 100px;
    } 

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
        margin-top: -80px;
        margin-bottom: 30px;
    }

    header h1 img {
        margin: 0;
    }

    .grid {
        margin: 30px 20px 30px 20px;
    }
}

@media (max-width:640px) {
    h1 {
        font-size: 35px;
    }

    h3 {
        font-size: 35px;
    }

    .grey {
        padding-top: 0;
        padding-bottom: 0;
    }

    .two {
        display: block;
    }

    .twobox {
        width: 100%;
    }

    .twobox-img {
        width: 100%;
        height: 400px;
    }

    .box {
        margin-bottom: 20px;
    }

    .grid {
        grid-template-columns: 1fr 1fr;
        margin-left: 0;
        margin-right: 0;
    }

    .slide {
        padding-right: 20px;
    }

    .slide h1 {
        font-size: 35px;
    }

    .reference img {
        height: 50px;
    }

    .reference {
        margin-top: 30px;
    }

    footer .container {
        display: block;
    }

    footer nav a {
        margin-left: 0;
        margin-right: 30px;
    }

    footer nav {
        margin-top: 30px;
    }
}

@media (max-width: 450px) {
    html {
        scroll-padding: 80px;
    } 

    h1 {
        font-size: 25px;
    }

    header h1 img {
        height: 60px;
    }

    .mobile {
        margin-top: -70px;
        margin-bottom: 0px;
    }

    .slide h1 {
        font-size: 25px;
    }
    
    .slide button {
        margin-bottom: 0;
    }

    h3 {
        font-size: 25px;
    }
}