@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

/* ROOT */

:root {
    --main-color: #F1EC8C;
    --secondary-color: #ddd;
    --alternate-color: #fff;
}

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

body {
    font-family: "Space Grotesk", serif;
    /*
    background: #12161c;
    */
    background: linear-gradient(180deg, rgba(18,22,28,1) 20%, rgba(0,0,0,1) 100%);
    color: var(--alternate-color);
 }

/* HEADLINES */

 h1 {
    font-size: 9rem;
    font-family: "Space Grotesk", serif;
    margin-bottom: 10px;
    /*
    filter: drop-shadow(0 1px 10px rgba(0,0,0,.5));
    */
    font-weight: bold;
    line-height: 1em;
    color: #fff;
    text-transform: uppercase;
}

h2 {
    font-size: 6rem;
    font-family: "Space Grotesk", serif;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1em;
    color: #fff;
}

h3 {
    font-size: 4.5rem;
    font-family: "Space Grotesk", serif;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1em;
}

h4 {
    font-size: 3.5rem;
    font-family: "Space Grotesk", serif;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1em;
    z-index: 1;
}

h5 {
    font-size: 1.5rem;
    font-family: "Space Grotesk", serif;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.4em;
}

h6 {
    font-size: 1rem;
    font-family: "Space Grotesk", serif;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1em;
    text-transform: uppercase;
    color: #F1EC8C;
    margin-top: 15px;
}

/* ALLGEMEIN */

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--alternate-color);
}

p {
    margin: 20px 0;
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
}

strong {
    font-weight: bold;
}

.btn {
    background-color: var(--main-color);
    padding: 12px 18px 12px 18px;
    border-radius: 20px;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
    -webkit-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
    border: 1px solid var(--main-color);
}

.btn-2 {
    font-size: 1.5rem;
    z-index: 1;
}

.btn-2:hover {
    color: var(--main-color);
}

.btn-2 a {
    text-decoration: underline;
}

a.btn {
    color: #12161c;
}

.btn:hover {
    background-color: #12161c;
    border: 1px solid var(--main-color);
    color: #fff;
    -webkit-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
}

section {
    padding: 100px 0px 50px 0px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95vw;
    margin: auto;
    max-width: 2500px;
    padding: 10px 50px;
}

/* HEADER */

header {
    display: flex;
}
  
nav {
    display: flex;
    justify-content: space-between;
    width: 100vw;
    align-items: center;
    padding: 10px 50px;
    margin: 0 auto;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 999;
    /*
    max-width: 2000px;
    */
    transition: background-color 0.4s ease-in-out;
    background-color: transparent;
}
    
.nav-box {
      flex: 1 1 1;
}
  
.nav-box {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li {
    display: inline-block;
}

.logo img {
    width: 10%;
}

.nav-menu {
    position: fixed;
    top: -100%;
    gap: 0;
    flex-direction: column;
    background-color: transparent;
    width: 20%;
    text-align: center;
    transition: 0.8s;
    height: 100vh;
    right: 0;
    border-left: 1px solid var(--main-color);
    backdrop-filter: blur(10px);
}
  
.nav-menu.active {
    top: 0vw;
    right: 0;
}
  
  
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    vertical-align: middle;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    font-size: 2rem;
    font-weight: 500;
    padding: 1em;
}
  
.logo-navmenu {
    width: 450px;
}


.nav-link::after {
    background-image: linear-gradient(90deg, #ddd, #fbe851);
    border-radius: 2px;
    content: "";
    display: none;
    margin: auto;
    display: block;
    top: 0;
    right: -6px;
    bottom: -40px;
    left: -6px;
    position: absolute;
    width: calc(100% + 12px);
    height: 3px;
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(.165,.84,.44,1);
    -ms-transform-origin: right;
    transform-origin: right;
    z-index: 1;
}

.nav-link:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

a.nav-link {
    position: relative;
}

/* BURGER MENU */

.hamburger .line{
    width: 50px;
    height: 3px;
    background-color: #F1EC8C;
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  
  .hamburger:hover{
    cursor: pointer;
  }

#hamburger-6.is-active{
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay: 0.6s;
    transition-delay: 0.6s;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  #hamburger-6.is-active .line:nth-child(2){
    width: 0px;
  }
  
  #hamburger-6.is-active .line:nth-child(1),
  #hamburger-6.is-active .line:nth-child(3){
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }
  
  #hamburger-6.is-active .line:nth-child(1){
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    transform: translateY(10px);
  }
  
  #hamburger-6.is-active .line:nth-child(3){
    -webkit-transform: translateY(-13px) rotate(90deg);
    -ms-transform: translateY(-13px) rotate(90deg);
    -o-transform: translateY(-13px) rotate(90deg);
    transform: translateY(-13px) rotate(90deg);
  }

  .menu {
    display: none;
  }

/* BANNER */

#banner h1 {
    margin: 0;
    filter: drop-shadow(0 1px 10px rgba(0,0,0,.5));
}

#banner h5 {
    filter: drop-shadow(0 1px 10px rgba(0,0,0,.5));
}

#banner {
    background-image: url(upload/planet-banner.png);
    background-position: bottom;
    background-size: 80%;
    background-repeat: no-repeat;
    min-height: 1000px;
    background-color: rgba(18,22,28,0.6);
    background-blend-mode: saturation;
    margin-bottom: 100px;
}

#banner .container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    max-width: 1000px;
    gap: 20px;
    text-align: center;
}

.bannerbox-text p {
    width: 80%;
}


/* SECTION 1 */

#section-1 h2 {
    color: #fff;
}

.start-section-text {
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 50px;
}

.start-section-3boxen {
    display: flex;
    gap: 50px;
    padding-top: 50px;
}

#section-1 .container {
    flex-direction: column;
}

/* SECTION 2 */

#section-2 .container {
    flex-direction: column;
    align-items: flex-start;
}

.container-leistungsboxen {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
    max-width: 2500px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.leistungsbox-4 {
    width: 59%;
    height: 500px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: flex-start;
    border-radius: 50px;
    padding: 2em;
}

.leistungsbox-2, .leistungsbox-3 {
    width: 39%;
    height: 500px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: flex-start;
    border-radius: 50px;
    padding: 2em;
}

.leistungsbox-1 {
    --padding: 2.5rem;
  padding: var(--padding);
  background: linear-gradient(
  hsl(0 0% 0% / 0),
  hsl(20 0% 0% / 0.3) 20%,
  hsl(0 0% 0% / 1));
  max-width: 100%;
  transform: translateY(75%);
  transition: transform 400ms ease;
  min-height: 500px;
  width: 100%;
  }
  
  .leistungsbox-1 > *:not(.leistungsbox-title) {
    opacity: 0;
    transition: opacity 400ms linear;
  }
  
  .hover-leistungsbox:hover .leistungsbox-1,
  .hover-leistungsbox:focus-within .leistungsbox-1 {
    transform: translateY(0);
    transition-delay: 400ms;
  }
  
  
  .leistungsbox-title {
    position: relative;
  width: max-content;
  }
  
  .hover-leistungsbox:hover .leistungsbox-1 > *:not(.leistungsbox-title),
  .hover-leistungsbox:focus-within .leistungsbox-1 > *:not(.leistungsbox-title) {
    opacity: 1;
    transition-delay: opacity 1000ms;
  }
  
  .leistungsbox-title::after {
    content: "";
    position: absolute;
    width: calc(100% + var(--padding));
    left: calc(var(--padding) * -1);
    bottom: -5px;
    height: 1px;
    background-color: var(--main-color);
    transform: scaleX(0);
    transition: transform 500ms ease;
    transform-origin: left;
  }
  
  .leistungsbox-1:hover .leistungsbox-title::after,
  .leistungsbox-1:focus-within .leistungsbox-title::after {
    transform: scaleX(1);
  }
  
  
  .hover-leistungsbox {
    background-image: url(upload/58666.webp);
    display: flex;
    width: 59%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: flex-start;
    border-radius: 50px;
    background-size: cover;
    overflow: hidden;
    transition: transform 500ms ease;
    transform: scale(1);
    min-height: 600px;
    }

   .hover-leistungsbox-2 {
        background-image: url(upload/die-planeten-jupiter-100~1280x720.jpg);
        display: flex;
        width: 39%;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: flex-start;
        border-radius: 50px;
        background-size: cover;
        overflow: hidden;
        transition: transform 500ms ease;
        transform: scale(1);
        min-height: 600px;
}
  
    .hover-leistungsbox:hover,
    .hover-leistungsbox:focus-within {
      transform: scale(1.04);
  }

  .hover-leistungsbox-2:hover,
  .hover-leistungsbox-2:focus-within {
    transform: scale(1.04);
}

.hover-leistungsbox-2:hover .leistungsbox-1 > *:not(.leistungsbox-title),
.hover-leistungsbox-2:focus-within .leistungsbox-1 > *:not(.leistungsbox-title) {
  opacity: 1;
  transition-delay: opacity 1000ms;
}

.hover-leistungsbox-2:hover .leistungsbox-1,
.hover-leistungsbox-2:focus-within .leistungsbox-1 {
  transform: translateY(0);
  transition-delay: 400ms;
}

#section-2 h2 {
    margin-bottom: 50px;
}

/* SECTION 3 */

#section-3 .container {
    gap: 20px;
}

.bild-section img {
    height: 100%;
    border-radius: 50px;
    filter: drop-shadow(0 1px 10px rgba(0,0,0,.5));
    width: 100%;
}

.bild-section {
    width: 60%;
}

.text-section {
  border-left: 1px solid var(--main-color);
  padding-left: 30px;
  padding-right: 30px;
  width: 40%;
}

/* SECTION 4 */

#section-4 .container {
    flex-direction: column;
}

.logo-box {
    border-bottom: 1px solid var(--main-color);
    width: 100%;
}

.logo-box-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.logo-box img {
    width: 5%;
}

/* SECTION 5 */

#section-5 .container {
    flex-direction: column;
    max-width: 1400px;
    text-align: center;
    min-height: 800px;
    justify-content: center;
    background-image: url(upload/kisspng-atmosphere-of-earth-world-m-02j71-aesthetic-planet-drawing-5b56ac78a59297.9090333915324069046782-removebg.png);
    background-blend-mode: saturation;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 7em;
}

#section-5 h2, p {
    filter: drop-shadow(0 1px 10px rgba(0,0,0,.5));
}

/* SECTION 6 */

#section-6 .container {
    gap: 30px;
}

.card {
    padding: 3em;
    background: #12161c69;
    border-radius: 30px;
    height: 600px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    transition: all .5s;
}

.card:hover {
    box-shadow: 0 0 20px 5px #ffffff26;
    transition: all .5s;
}

.button-box {
    border-top: 1px solid var(--main-color);
    padding-top: 20px;
}

/* FOOTER */

footer ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

footer {
  padding-top: 50px;
}

footer .container {
  justify-content: center;
}

footer .container {
  justify-content: center;
  border-bottom: 1px solid var(--main-color);
}

img.logo-footer {
  height: 195px;
}

.footer-link::after {
    background-image: linear-gradient(90deg, #ddd, #fbe851);
    border-radius: 2px;
    content: "";
    display: none;
    margin: auto;
    display: block;
    top: 0;
    right: -6px;
    bottom: -40px;
    left: -6px;
    position: absolute;
    width: calc(100% + 12px);
    height: 2px;
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(.165,.84,.44,1);
    -ms-transform-origin: right;
    transform-origin: right;
    z-index: 1;
}

.footer-link:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

a.footer-link {
    position: relative;
}

/* SOCKET */

.footer-nav-section {
    text-align: center;
}

socket .footer-nav-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
}
  
socket ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}
  
socket ul a {
    font-size: 12px;
}
  
socket .container {
  justify-content: center;
}
  
socket .container {
  justify-content: center;
}

/* BUTTON HOVER */

.button {
	pointer-events: auto;
	cursor: pointer;
	background: transparent;
	border: none;
    padding: 12px 18px 12px 18px;
	margin: 0;
	font-family: inherit;
	font-size: 1.1rem;
	position: relative;
	display: inline-block;
}

.button::before,
.button::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.button--pan {
    font-family: "Space Grotesk", serif;
	font-weight: bold;
	border: 1px solid var(--main-color);
	border-radius: 20px;
	overflow: hidden;
	color: #12161c;
    transition: color 0.1s ease-in-out;
}

.button--pan:hover {
    color: #fff;
    transition: color 0.1s ease-in-out;
}

.button--pan span {
	position: relative;
}

.button--pan::before {
	content: '';
	background: var(--main-color);
	transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
}

.button--pan:hover::before {
	transform: translate3d(0,-100%,0);
}

/* TABLET BREAKPOINTS */

@media only screen and (min-width: 768px) and (max-width: 1100px) {
   
   .container-leistungsboxen {
    flex-direction: column;
   }

   .container {
    width: 95vw;
   }

   h1 {
    font-size: 5rem;
   }
   
   h2 {
    font-size: 3rem;
   }

   h3 {
    font-size: 2.8rem;
   }

   h4 {
    font-size: 2.5rem;
   }

   #section-6 .container {
    flex-direction: column;
   }

   .card {
    height: 500px;
   }


   #banner {
    min-height: 700px;
    background-size: 100%;
    margin-bottom: 50px;
   }

   #section-5 .container {
    min-height: 600px;
   }

   .hover-leistungsbox {
    width: 100%;
   }

   .hover-leistungsbox-2 {
    width: 100%;
   }

   .bild-section, .text-section {
    width: 100%;
   }

   .nav-menu {
    width: 40%;
}

   #section-3 .container {
    gap: 50px;
    flex-direction: column;
}

#section-5 .container {
    flex-direction: column;
    gap: 0px;
}

}

@media only screen and (max-width: 767px) {
    h5 {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    h4 {
        font-size: 1.7rem;
    }

    section#banner {
        margin-top: 90px;
        min-height: 500px;
        background-size: 100%;
        background-position: center;
        padding-top: 103px;
        margin-bottom: 0px;
    }

    .hover-leistungsbox {
        width: 100%;
       }
    
       .hover-leistungsbox-2 {
        width: 100%;
       }

    .container-leistungsboxen {
        flex-direction: column;
       }

    #section-5 .container {
        min-height: 400px;
    }

    .leistungsbox-1 {
        transform: translateY(68%);
    }

    .button {
        font-size: 0.8rem;
    }

    .container {
        padding: 0px;
        width: 82vw;
    }

    nav {
        padding: 10px 20px;
        width: 95vw;
    }

    .logo img {
        width: 23%;
    }

    #section-6 .container {
        flex-direction: column;
       }
    
       .card {
        height: 350px;
        padding: 2em;
       }

    .start-section-3boxen {
        display: flex;
        gap: 20px;
        padding-top: 20px;
        flex-direction: column;
    }

    .start-section-text {
        padding-bottom: 20px;
    }

    .leistungsbox-1 {
        min-height: 300px;
    }

    .hover-leistungsbox, .hover-leistungsbox-2 {
        min-height: 300px;
    }

    footer ul {
        list-style-type: none;
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    section {
        padding: 50px 0px 50px 0px;
    }

    section#banner {
        padding-top: 103px;
    }

    .nav-menu {
        width: 100%;
    }

    #section-2 h2 {
        margin-bottom: 20px;
    }

    .bild-section, .text-section {
        width: 100%;
       }
        
       #section-3 .container {
        gap: 50px;
        flex-direction: column;
    }
    

}