body {
    font-family: sans-serif;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0;
    overflow-x: hidden;
}

h1 {
    margin-top: 80px;
    color: gray;
    font-size: 2.5rem;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 150px;
    width: 100%;
    object-fit: cover;
}

a {
    color: white;
    text-decoration: none;
    margin-right: 10px;
}

a:hover {
    text-decoration: underline;
}

.nav {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.main-img {
    width: 100%;
    border-radius: 40px;
    margin-top: 20px;
}

.contactBtn {
    margin-top: 24px;
    color: white;
    background-color: orange;
    padding: 12px 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 36px;
    width: fit-content;
    position: relative;
    z-index: 50;
    cursor: pointer;
}

.contactBtn:hover {
    text-decoration: none;
    background-color: rgb(243, 197, 112);
}

.button-icon {
    height: 20px;
    margin-right: 12px;
}

.logo {
    position: absolute;
    right: 16px;
    width: 120px;
    top: 16px;
    z-index: 10;
}

.welle-unten {
    width: calc(100% + 32px);
    margin-left: -16px;
    display: block;
    margin-top: 40px;
}

.footer {
    background-color: #0099ff;
    color: white;
    text-align: center;
    padding: 15px;
    width: calc(100% + 32px);
    margin-left: -16px;
    box-sizing: border-box;
}

.contact-main-img {
    width: 100%;
    margin-top: 30px;
    border-radius: 40px;
}

/* Projekt-Seite Styles */
.content-section {
    margin-top: 40px;
    margin-bottom: 100px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: #f9f9f9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-img-placeholder {
    height: 200px;
    background-color: #0099ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.project-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.view-project {
    display: inline-block;
    margin-top: 15px;
    color: orange !important;
    font-weight: bold;
    text-decoration: underline;
}

/* Medium Screens (ab 850px) */
@media (min-width: 850px) {
    body {
        padding-left: 64px;
        padding-right: 64px;
    }

    .desktop-left-right {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .wave {
        height: 300px;
    }

    h1 {
        margin-top: 170px;
        font-size: 3rem;
    }

    .logo {
        width: 250px;
        top: 24px;
        right: 40px;
    }

    .main-img {
        width: 50%;
        margin-top: 180px;
        border-radius: 240px;
    }

    .contact-main-img {
        width: 35%;
        margin-top: 220px;
        border-radius: 240px;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-section {
        margin-top: 100px;
    }

    .footer {
        position: relative;
        margin-top: -5px;
        width: calc(100% + 128px);
        margin-left: -64px;
    }

    .welle-unten {
        position: relative;
        margin-top: 60px;
        bottom: auto;
        width: calc(100% + 128px);
        margin-left: -64px;
    }
}

/* Large Screens (ab 1200px) */
@media (min-width: 1200px) {
    body {
        padding-left: 128px;
        padding-right: 128px;
    }

    a {
        margin-right: 16px;
    }

    .welle-unten, .footer {
        width: calc(100% + 256px);
        margin-left: -128px;

    }

    .wave {
        height: 250px;
    }

    .main-img {
        width: 30%;
        margin-top: 170px;
    }

    h1 {
        margin-top: 200px;
    }

    .contact-main-img {
        width: 20%;
        margin-top: 50px;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .logo {
        top: 10px;
    }
}
