body {
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: #f5f5f5;
    color: #222222;
}

header {
    padding: 24px 8%;
    background-color: white;
}

.hero {
    min-height: 80vh;
    padding: 80px 8%;
    text-align: center;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 24px;
    color: #555555;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 18px;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

.hero-content {
    width: 50%;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    justify-content: flex-start;

}

.btn {
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #222222;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
}

.hero-image {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 400px;
    border-radius: 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h2 {
    margin: 0;
}

nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 12px;
    color: #222222;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #f0f0f0;
    color: #111111;
}



.about {
    padding: 80px 8%;
    background-color: #ffffff;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.about p {
    font-size: 18px;
    line-height: 1.4;
    max-width: 800px;
}

.about {
    padding: 100px 8%;
    background-color: white;
}

.about h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

.about-grid {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.about-card {
    background-color: #f8f8f8;
    padding: 28px;
    border-radius: 18px;
    flex: 1;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.about-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.about-card p {
    line-height: 1.7;
}


.projects {
    padding: 100px 8%;
    background-color: #f8f8f8;
}

.projects h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

.project-grid {
     max-width: 1200px;
    margin: 40px auto 0;

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card {
    background-color: white;
    padding: 60px;
    border-radius: 24px;
    transition: all 0.3s ease;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
    
}

.project-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

.project-card p {
    max-width: 750px;
    line-height: 1.7;
    font-size: 18px;
}

.project-card h3 {
    font-size: 32px;
    margin-bottom: 0;
    text-align: left;
}

.project-header {
    padding-top: 30px;
    display: flex;
    gap: 50px;
    align-items: center;
}

.project-content {
    flex: 2;
    text-align:left;
    
}

.project-image {
    flex: 1;
}

.project-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-video-header {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    align-items: center;
}

.project-video {
    flex: 1.3;
}

.project-content-video {
    flex: 1;
    padding: 20px;
}


.project-content-video p {
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 18px;
}

.project-video iframe {
  width: 100%;
    height: 420px;
    display: block;

    border: none;
    border-radius: 24px;
}

.diplomarbeit-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card h4 {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 26px;
    text-align: center;
}

.project-gallery{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.gallery-item{
    background: #f8f8f8;
    border-radius: 20px;
    overflow: hidden;
    padding: 15px;^
    
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.gallery-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.gallery-item img{
    width: 100%;
    display: block;

    border-radius: 20px;

    height: 220px;
    object-fit: cover;

    transition: transform 0.35s ease;
}

.gallery-item:hover img{
    transform: scale(1.03);
}

.gallery-item h4{
    margin: 15px 15px 8px;
    font-size: 26px;

}


.gallery-item p{
    margin: 0 15px 15px;
    line-height: 1.6;
    text-align: center;
}

.project-image-portfolio{
 margin-top: 60px;
}

.project-portfolio-item {
    display: flex;
    align-items: stretch;
    background: #f8f8f8;
    border-radius: 20px;
    margin-top: 40px;

    
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.project-portfolio-item:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

.portfolio-image {
    flex: 1;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 20px 20px;
     transition: transform 0.35s ease;
    
}

.portfolio-image:hover img{
    transform: scale(1.03);
}

.project-portfolio-item h4 {
    padding-bottom: 0px;
}

.project-portfolio-item p {
    margin-top: -25px;
}

.portfolio-text {
    flex: 1;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
}

.portfolio-text p {
    padding: 20px;
}

/*Kontaktbereich*/
.contact {
    padding: 100px 8%;
    background-color: white;
}

.contact-card {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 70px;

    background-color:white;
    border-radius: 24px;
    text-align: center;
}

.contact-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-intro {
    max-width: 650px;
    margin: 0 auto 40px;

    font-size: 18px;
    line-height: 1.7;
}

.contact-details {
    max-width: 520px;
    margin: 0 auto 40px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding-bottom: 16px;
    border-bottom: 1px solid #dddddd;

    font-size: 18px;
    text-align: left;
}

.contact-label {
    font-weight: 700;
}

.contact-item a {
    color: #222222;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1000px) {

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
    }

    .hero-content,
    .hero-image {
        width: 100%;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-image img {
        width: 320px;
        max-width: 90%;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .hero h1 {
        font-size: 44px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-image img {
        width: 260px;
    }
}

