* {
    box-sizing: border-box;
  }
  
html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: clip;
}

body {
    justify-content: center;
    align-content: center;
    margin: 0;
    background-color: #171810;
    scroll-behavior: smooth;

}



.titleContainer {
    text-align: center;
}

.titleContainer h1 {
    color: #03fe70;
    font-weight: 500;
    font-size: 3rem;
}

.titleContainer h1 span {
    color: white;
    font-weight: 100;
    font-size: 5rem;
}

.subline {
    color: white;
}

.contact {
    width: 200px;
    padding: 20px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.05);  /* Dunkles Türkis */
    overflow: hidden;
    transition: color 0.4s ease;
    border-radius: 5px;
    margin: 20px;
}

.sections {
    padding: 0 20px;
    height:fit-content;

    display: grid;
    justify-content: center;
    align-content: center;
}



#mainPage {
    height: 100vh;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: #171810;
    display: grid;
}



.logo {
    height: 100px;
    justify-self: left;
}

.navbar {
    position: fixed;
    display: flex;

    background-color: #171810;
    left: 0;
    right: 0;
    top: 0;
    padding: 25px;
    transition: 0.5s;
    color: white;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,.2);
    z-index: 3;
}

.navbar ul {
    padding: 0;
    list-style: none;
    display: flex;
    margin: 0 auto;
    gap: 100px;
    font-size: 20px;
    font-weight: bold;
}

.navbar li {
    display: flex;
    align-items: center;
}

li > a {
    text-decoration: none;
    color: white;
}



#contact-page {
    background: #171810;
    color: #fff;
    height: 800px;
    text-align: center;
    position: relative;
}

.scroll-button-container {
    display: flex;
    justify-content: center;
}


.scroll-button {
    justify-self: center;
    color: white;
    display: flex;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 20px;
}



.contact-container {
    margin: 30px auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


.contact-container h2 {
    color: #03fe70;
    font-size: 2rem;
    margin-bottom: 20px;
}
.contact-container p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}


.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
.contact-item {
    flex: 1 1 250px;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.contact-item:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.15);
}
.contact-item i {
    color: #03fe70;
    margin-bottom: 10px;
}
.contact-item p {
    margin: 0;
    font-size: 1.05rem;
}


@media (max-width: 600px) {
    .contact-container {
        padding: 30px 15px;
    }
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

#partners {
    padding-top: 250px;
    background-color: #171810;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#partners h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #03fe70;

}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-card {

    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.partner-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.work {
    color: white;
    padding: 30px;
    width: 50%;
    margin: auto;
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 250px;
    border: solid 1px #03fe70;
}

#impressum {
    height: 100vh;
    background-color: #171810;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    text-align: center;
}

#impressum h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #03fe70;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    font-size: 1rem;
}

.impressum-content p {
    margin-bottom: 20px;
}

/* Mobile Navbar - Burger Menü */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;

    z-index: 4;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar ul {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {



    .work {
        color: white;
        padding: 30px;
        width: 90%;
        margin: auto;
        font-weight: 600;
        font-size: 1rem;
        margin-top: 250px;
        border: solid 1px #03fe70;
    }



    #partners {
        margin-bottom: 100px;
    }

    #contact-page {
        height: auto;
        margin-bottom: 100px;
    }

  .titleContainer h1 {
    font-size: 2.2rem;
    font-weight: 900;
  }

  .titleContainer h1 span {
    font-size: 3rem;
  }

  .titleContainer {
    padding: 0 15px;
  }

    .burger {
        display: flex;
        position: absolute;
        top: 30px;
        right: 30px;
    }



    .navbar ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 60%;
        background-color: #171810;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 3;
    }

    .navbar ul.active {
        right: 0;
    }

    .logo {
        height: 60px;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }



    .contact-item {
        max-height: fit-content;
    }
}


/* Tablet – 601px bis 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
    .navbar ul {
        gap: 50px;
        font-size: 18px;
    }

    .logo {
        height: 80px;
    }

    .titleContainer h1 {
        font-size: 2.5rem;
    }

    .titleContainer h1 span {
        font-size: 4rem;
    }

    .contact {
        font-size: 15px;
        padding: 12px;
    }

    .partner-card {
        max-width: 200px;
    }

    .impressum-content {
        padding: 30px;
        font-size: 1rem;
    }
}

/* Große Bildschirme – über 1024px */
@media (min-width: 1025px) {
    .navbar ul {
        gap: 100px;
        font-size: 20px;
    }

    .logo {
        height: 100px;
    }

    .partner-card {
        max-width: 220px;
    }
}
