@font-face {
    font-family: 'Gyre'; /* Give a name to your font */
    src: url('fonts/Px-Grotesk-Regular.woff2') format('woff2'),
         url('fonts/Px-Grotesk-Regular.woff') format('woff'),
         url('fonts/Px-Grotesk-Regular.ttf') format('truetype'),
         url('fonts/Px-Grotesk-Bold.woff2') format('woff2'),
         url('fonts/Px-Grotesk-Bold.woff') format('woff'),
         url('fonts/Px-Grotesk-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Gyre', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.fullscreen {
    flex: 0 0 100vh;  /* Occupy full viewport height */
    width: 100vw;    /* Occupy full viewport width */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    text-align: center;
}

/* Specific background colors or other styles for sections */
#section1 { background-color: #FFF; position: relative; }
#section2 { background-color: #0807DD;}
#section3 { background-color: #FFF; }
#section4 { background-color: #E8E84D; }
#section5 { background-color: #FFF;}
#section6 { background-color: #DDD; }

#section1 h1 {color:#0807DD; font-size: 2.5rem;}
#section2 h1 {color:#E8E84D; font-size: 2.5rem;z-index:999}
#section3 h1 {color:#0807DD; font-size: 2.5rem;}
#section4 h1 {color:#FF3A00; font-size: 2.5rem;}
#section5 h1 {font-size: 2.5rem;}
#section6 h1 {color:#777; font-size: 2.5rem;}
#section5 {color:#0807DD;}

#section2 a {color:#E8E84D; cursor: pointer !important;}
#section6 a {color:#777; cursor: pointer !important;}

h1 {line-height: 3.0rem;font-weight: normal !important;}

.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width:90%;
  gap: 60px; /* Abstand zwischen den Divs */
  padding: 50px; /* Optionaler Abstand zum Container-Rand */
}

.content-box {
  flex: 0 0 calc(50% - 30px); /* 10px ist die Hälfte des "gap" oben, damit es korrekt aufgeteilt wird */
  box-sizing: border-box;
}

.content-box img {
  max-width: 20%;
  display:block;
  margin-bottom: 50px;
}

.content-box  p {font-size:1.6rem; line-height: 2.3rem;text-align: left;color:#333;}
.content-box strong {color:#FF3A00;}

#section5 .container, #section3 .container {display: block;text-align: center;line-height: 4rem;font-size:3.2rem;color:#0807DD;justify-content: center;}
#section6 .container {display: block;text-align: center;line-height: 4rem;font-size:3.2rem;justify-content: center;}


#logo {
    position: fixed;
    top: 35px;
    left: 35px;
    z-index: 100;
}

#logo img {
    width: 100px; /* adjust this value based on your logo's desired size */
    height: auto;
    fill: #0807DD;
}

.hamburger {
    position: fixed;
    top: 35px;
    right: 35px;
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer !important;
}

.hamburger div {
    width: 100%;
    height: 3px;
    transition: 0.4s ease; /* Smooth transition */
    display: block;
}

.line-blue {
    background-color: #0807DD;
}

.line-yellow {
    background-color: #E8E84D;
}

.line-red {
    background-color: #FF3A00;
}


/* Cross transformation */
.hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}
.hamburger.active div:nth-child(2) {
    opacity: 0;
}
.hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -7px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FF3A00;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0 100px;
    z-index: 102;
    opacity: 0;
    pointer-events: none; /* Make it not clickable when hidden */
    transition: opacity 0.4s ease;
}

.menu-overlay ul {
    list-style: none;
    padding: 0;
}

.menu-overlay li {
    margin: 0px;
    font-size: 5rem;
}

.menu-overlay a {
    text-decoration: none;
    color: #E8E84D;
    transition: color 0.3s ease;
}

.menu-overlay a:hover {
    color: #fff;
}

/* Menu visible */
.menu-overlay.active {
    opacity: 1;
    pointer-events: auto; /* Make it clickable when visible */
}

.contact-form {
        width: 50%;
        margin: 0 auto;
}
.contact-form label {
        display: block;
        margin: 10px 0 5px;
}
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid darkgray;
        border-radius: 5px;
        margin-bottom: 10px;
}
.contact-form input[type="submit"] {
        padding: 10px 20px;
        background-color: blue;
        border: none;
        border-radius: 5px;
        color: white;
        cursor: pointer;
}

footer {
    padding: 80px 50px; /* Adjust as needed */
    background-color: #fff; /* Or any color you prefer */
    color: #333; /* Text color, you can change to fit your design */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.copyright {
    flex: 1;
}

.footer-nav {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    gap: 20px; /* Space between links */
}

.footer-nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

    /* Add hover effect */
.footer-nav a:hover {
        color: #ddd; /* Lighten color on hover */
    }
}

#impressumOverlay {
    display: none; /* standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(211, 211, 211, 0.9); /* hellgrauer Hintergrund */
    overflow-y: scroll; /* erlaubt Scrollen, wenn der Inhalt zu lang ist */
    z-index: 200; /* hoher z-index, um sicherzustellen, dass es über anderen Elementen angezeigt wird */
}

#impressumOverlay.active {
    display: block; /* wird angezeigt, wenn die Klasse "active" hinzugefügt wird */
}

.impressum-content {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}


.us {
    height: 150%;
    width: 100%;
    position: absolute;
    bottom:10%;
}

.us img {width:100%;}

.padding100 {padding:100px;}
.padding1002 {padding:250px;}
.padding200 {padding:0px 250px;}

.vorn {z-index:101;}

.abs-image-left {
    position: absolute;
    left: -5%;
    bottom: -30%;
    max-width: 50%;
}

.abs-image-right {
    position: absolute;
    right: 0;
    top: -15%;
    max-width: 35%;
}

.grey {color:#AAA;}

/* Responsive Part */

/* Medium devices (tablets) */
@media (max-width: 768px) {
    #section1 h1, #section2 h1, #section3 h1, #section4 h1, #section5 h1, #section6 h1 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    #section1 p, #section2 p, #section4 p {
      font-size: 1.2rem !important;
      line-height: 1.8rem !important;
    }

    #section3 p, #section5 p  {font-size:2rem;line-height: 2.3rem;}
    #section6 p {font-size:1.8rem;line-height: 2.0rem;}

    .container {
      flex-direction: column;
    }

    .content-box {
      flex: 0 0 100%; /* Die Divs nehmen die volle Breite ein */
    }

    .content-box img {
      max-width: 40%;
      display:block;
      margin-bottom: 50px;
    }


    #section5 .container, #section3 .container, #section6 .container {display: block;}

    #section3 p, #section5 p, #section6 p {text-align: center;}

    #section3 p, #section5 p {color:#0807DD !important;}

    .padding100 {padding:20px !important;}

    footer {padding:20px;font-size:0.7rem;}

    .footer-content {
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer-nav {
    justify-content: start;
    }

    nav {
        margin-top: 20px;
    }

    nav a {
        display: block;
        margin-left: 0;
        margin-bottom: 10px;
    }

}

/* Small devices (phones) */
@media (max-width: 576px) {
    #section1 h1, #section2 h1, #section3 h1, #section4 h1, #section5 h1, #section6 h1 {
        font-size: 1.4rem;
        line-height: 2.1rem;
    }

    #section1 p, #section2 p, #section4 p  {
        font-size: 1.2rem !important;
        line-height: 1.8rem !important;
    }

    #section3 p, #section5 p {font-size:1.8rem;line-height: 2rem;}
    #section6 p {font-size:1.4rem;line-height: 1.9rem;}

    #section1 h1 {margin-top:120px;}

    .container {
      flex-direction: column;
    }

    .content-box {
      flex: 0 0 100%; /* Die Divs nehmen die volle Breite ein */
    }

    .content-box img {
      max-width: 40%;
      display:block;
      margin-bottom: 50px;
    }

    #section5 .container, #section3 .container, #section6 .container {display: block;}

    #section3 p, #section5 p, #section6 p {text-align: center;}

    #section3 p, #section5 p {color:#0807DD !important;}

    .padding200 {padding:20px !important;}

    footer {padding:20px;font-size:0.7rem;}

    .footer-content {
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer-nav {
    justify-content: start;
    }


    nav {
        margin-top: 20px;
    }

    nav a {
        display: block;
        margin-left: 0;
        margin-bottom: 10px;
    }

    .abs-image-left {
        position: absolute;
        left: -7%;
        bottom: -10%;
        max-width: 90%;
    }

    .abs-image-right {
        position: absolute;
        right:0;
        top: -15%;
        max-width: 65%;
    }

    .hamburger {
        top: 20px;
        right: 20px;
    }

    #logo {
        top: 20px;
        left: 20px;
    }

    .menu-overlay {
        padding: 0 20px;
    }

    .menu-overlay li {
        margin: 0px;
        font-size: 2rem;
    }

}
