* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
}

#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

header {
    position: relative;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 3px solid #3a3a3a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #666;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

header p {
    font-size: 1.3rem;
    opacity: 0.8;
    font-weight: 300;
}

nav {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #a0a0a0;
    font-weight: 400;
    transition: color 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

section {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid #2a2a2a;
}

h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #333;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-category {
    background: rgba(30, 30, 30, 0.6);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s, border-color 0.3s;
}

.skill-category:hover {
    transform: translateY(-2px);
    border-color: #444;
}

.skill-category h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.4rem 0;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.projects {
    display: grid;
    gap: 2rem;
}

.project {
    background: rgba(30, 30, 30, 0.6);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s, border-color 0.3s;
}

.project:hover {
    transform: translateX(5px);
    border-color: #444;
}

.project h3 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.project p {
    color: #b0b0b0;
    line-height: 1.8;
}

.project-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: rgba(100, 150, 255, 0.1);
    color: #a0c0ff;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid rgba(100, 150, 255, 0.3);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.project-link:hover {
    background: rgba(100, 150, 255, 0.2);
    border-color: rgba(100, 150, 255, 0.5);
    color: #c0d0ff;
    transform: translateX(3px);
}

.project .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    padding: 0.4rem 1rem;
    border-radius: 3px;
    font-size: 0.85rem;
    border: 1px solid #333;
}

.experience-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.experience-header h3 {
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-weight: 400;
}

.experience-header strong {
    color: #b0b0b0;
    font-weight: 400;
}

.date {
    color: #808080;
    font-style: italic;
    font-size: 0.9rem;
}

.experience-item ul {
    margin-left: 1.5rem;
    color: #b0b0b0;
}

.experience-item li {
    margin: 0.5rem 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(30, 30, 30, 0.6);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s, border-color 0.3s;
}

.contact-item:hover {
    transform: translateY(-2px);
    border-color: #444;
}

.contact-item h3 {
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #ffffff;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-content h3 {
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 1rem;
}

.impressum-content h3:not(:first-child) {
    margin-top: 2rem;
}

.impressum-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.impressum-content strong {
    color: #b0b0b0;
}

.impressum-content a {
    color: #a0c0ff;
    text-decoration: none;
    transition: color 0.3s;
}

.impressum-content a:hover {
    color: #c0d0ff;
}

footer {
    background: rgba(15, 15, 15, 0.95);
    color: #808080;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #2a2a2a;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    nav ul {
        gap: 1rem;
    }

    .experience-header {
        flex-direction: column;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}