* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            line-height: 1.6;
            color: #1d1d1f;
            background: #fff;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            font-size: 24px;
            font-weight: 600;
            color: #1d1d1f;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: #1d1d1f;
            font-weight: 400;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #007aff;
        }

        .hero {
            padding: 120px 0 80px;
            text-align: center;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
        }

        .hero-content {
            animation: fadeInUp 1s ease-out;
        }

        .profile-image {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            margin: 0 auto 30px;
            object-fit: cover;
            border: 4px solid #fff;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .profile-image:hover {
            transform: scale(1.05);
        }

        .hero h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #1d1d1f;
        }

        .hero p {
            font-size: 24px;
            color: #86868b;
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            background: #007aff;
            color: white;
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
        }

        .cta-button:hover {
            background: #0056d3;
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(0, 122, 255, 0.4);
        }

        .section {
            padding: 80px 0;
        }

        .section-title {
            font-size: 36px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 60px;
            color: #1d1d1f;
        }

        .about {
            background: #fff;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text {
            font-size: 18px;
            line-height: 1.8;
            color: #515154;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .stat-card {
            text-align: center;
            padding: 30px;
            background: #f5f5f7;
            border-radius: 20px;
            transition: transform 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 36px;
            font-weight: 700;
            color: #007aff;
            display: block;
        }

        .stat-label {
            font-size: 16px;
            color: #86868b;
            font-weight: 500;
        }

        .skills {
            background: #f5f5f7;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .skill-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .skill-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        }

        .skill-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #007aff, #00d4ff);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 24px;
            color: white;
        }

        .skill-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #1d1d1f;
        }

        .skill-description {
            color: #86868b;
            line-height: 1.6;
        }

        .hobbies {
            background: #fff;
        }

        .hobbies-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .hobby-card {
            text-align: center;
            padding: 40px 20px;
            border-radius: 20px;
            background: linear-gradient(135deg, #000000 0%, #838889 100%);
            color: white;
            transition: transform 0.3s ease;
        }

        .hobby-card:hover {
            transform: scale(1.05);
        }

        .hobby-card:nth-child(2) {
            background: linear-gradient(135deg, #000000 0%, #838889 100%);
        }

        .hobby-card:nth-child(3) {
            background: linear-gradient(135deg, #000000 0%, #838889 100%);
        }

        .hobby-icon {
            font-size: 48px;
            margin-bottom: 20px;
            display: block;
        }

        .hobby-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 10px;
        }      

        .form-group {
            margin-bottom: 30px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 16px;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .submit-btn {
            background: #007aff;
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .project-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }


        .projekt-section {
           background: linear-gradient(135deg, #f0f4ff, #dfe9f3); /* sanftes Blau als Beispiel */
        }


        .submit-btn:hover {
            background: #0056d3;
            transform: translateY(-2px);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .skills-grid,
            .hobbies-grid {
                grid-template-columns: 1fr;
            }

            .nav-links {
                display: none;
            }
        }
.projekt-section {
    background: linear-gradient(135deg, #f0f4ff, #dfe9f3);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.big-button {
    font-size: 18px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #007aff, #00d4ff);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.big-button:hover {
    background: linear-gradient(135deg, #0056d3, #00aaff);
    transform: scale(1.05);
}

.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    margin-bottom: 0px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #000;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-header .left,
.section-header .right {
    width: 25%;
    text-align: left;
}

.section-header .center {
    width: 50%;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    flex: 1;
}



.gallery-item p {
    margin-top: 10px;
    color: #555;
}

.project-description {
    flex: 2;
    font-size: 18px;
    color: #515154;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-title {
        text-align: left;
    }

    .project-layout {
        flex-direction: column;
    }
}
.project-layout {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.project-gallery {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-item {
  text-align: center;
}

.chess-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.side-image img {
    width: 300px;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.center-board img {
    width: 400px;
    height: 450px;
    object-fit: contain; /* zeigt das ganze Schachbrett, ohne es zu beschneiden */
    border-radius: 10px;
}

.side-image, .center-board {
    text-align: center;
}




.project-description {
  flex: 2;
  font-size: 18px;
  color: #515154;
  line-height: 1.6;
}
.chess-gallery-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 40px;
}

.gallery-item {
  max-width: 300px;
  text-align: center;
}

.gallery-item p {
  margin-top: 10px;
  color: #444;
  font-size: 15px;
}

.project-description.center-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #333;
}

.project-description h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.project-description.card-style {
  background: linear-gradient(135deg, #f5f7fa, #e7edf6);
  border-radius: 20px;
  padding: 40px 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  max-width: 1100px;
  margin: 60px auto;
  text-align: center;
  color: #333;
}

.project-description.card-style h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.project-description.card-style p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}

