* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0a18 0%, #101024 100%);
    color: #f0f0f0;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    display: block;
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.3;
    background: radial-gradient(circle at 70% 30%, #4169e1 0%, transparent 70%);
}

.blue-dot {
    position: absolute;
    border-radius: 50%;
    background: #4169e1;
}

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

.animated-element {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto 0 auto;
    max-width: 429px;
    background: linear-gradient(90deg, rgba(18,20,34,0.98) 60%, rgba(40,50,90,0.92) 100%);
    border: 1.5px solid rgba(107,154,255,0.13);
    box-shadow: 0 8px 32px rgba(107,154,255,0.13), 0 1.5px 8px rgba(0,0,0,0.45);
    backdrop-filter: blur(18px);
    padding: 0.8rem 2.5rem;
    border-radius: 18px;
    position: relative;
    z-index: 10;
    transition: 
        background 0.4s,
        box-shadow 0.4s,
        border-color 0.4s;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6babff;
}

.sticky-nav {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 381px;
    background: linear-gradient(90deg, rgba(18,20,34,0.98) 60%, rgba(40,50,90,0.92) 100%);
    border: 1.5px solid rgba(107,154,255,0.13);
    box-shadow: 0 8px 32px rgba(107,154,255,0.13), 0 1.5px 8px rgba(0,0,0,0.45);
    backdrop-filter: blur(18px);
    padding: 0.8rem 2rem;
    border-radius: 18px;
    transition: 
        opacity 0.3s,
        background 0.4s,
        box-shadow 0.4s,
        border-color 0.4s;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.sticky-nav.active {
    opacity: 1;
    pointer-events: auto;
    background: linear-gradient(90deg, rgba(18,20,34,0.98) 60%, rgba(40,50,90,0.98) 100%);
    box-shadow: 0 16px 40px 0 rgba(107, 186, 255, 0.18), 0 2px 16px rgba(0,0,0,0.55);
    border-color: rgba(107, 186, 255, 0.18);
}

.sticky-nav a, .nav-links a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.sticky-nav a:hover, .nav-links a:hover {
    color: #6babff;
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    margin-bottom: 1rem;
    /* font-size, background, color etc. werden von .galaxy-title übernommen */
}

.hero p {
    font-size: 1.2rem;
    color: #d0d0d0;
    margin-bottom: 0.5rem;
}

.galaxy-title {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(
        270deg,
        #7fdfff 0%,
        #4169e1 25%,
        #23243a 50%,
        #6b9aff 75%,
        #7fdfff 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: galaxyGradient 10s ease-in-out infinite;
    text-shadow: 0 2px 24px #6bdcff44, 0 0 8px #4548ff33;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    line-height: 1.1;
    overflow: visible;
}

@keyframes galaxyGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


@keyframes shine {
    0% { left: -40%; }
    100% { left: 110%; }
}

.location {
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(18,20,34,0.92) 60%, rgba(40,50,90,0.85) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(107,154,255,0.10), 0 1.5px 8px rgba(0,0,0,0.35);
    border: 1.5px solid rgba(107,154,255,0.10);
    transition: 
        transform 0.3s cubic-bezier(.22,1,.36,1),
        box-shadow 0.3s cubic-bezier(.22,1,.36,1),
        border-color 0.3s,
        background 0.3s;
    text-decoration: none;
    font-size: 1.3rem;
    color: #f0f0f0;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-6px) scale(1.07);
    box-shadow: 0 8px 32px rgba(107,186,255,0.18), 0 2px 16px rgba(0,0,0,0.45);
    border-color: rgba(107,186,255,0.18);
    background: linear-gradient(135deg, rgba(40,50,90,0.98) 60%, rgba(18,20,34,0.92) 100%);
}

.social-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(circle at 70% 30%, rgba(107,186,255,0.10) 0%, transparent 70%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s;
}

.social-icon:hover::before {
    opacity: 1;
}

.github {
    color: #ffffff;
}

.discord {
    color: #7289da;
}

.spotify {
    color: #1db954;
}

.info-boxes {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.info-box,
.project-card,
.service-card {
    background: linear-gradient(135deg, rgba(18,20,34,0.96) 60%, rgba(40,50,90,0.85) 100%);
    border: 1.5px solid rgba(107, 154, 255, 0.10);
    box-shadow: 0 8px 32px rgba(107, 154, 255, 0.10), 0 1.5px 8px rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
    transition: 
        transform 0.35s cubic-bezier(.22,1,.36,1),
        box-shadow 0.35s cubic-bezier(.22,1,.36,1),
        border-color 0.35s;
    animation: galaxyFadeInUp 1s cubic-bezier(.22,1,.36,1) both;
    position: relative;
    overflow: hidden;
}

.info-box:hover,
.project-card:hover,
.service-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 16px 40px 0 rgba(107, 186, 255, 0.18), 0 2px 16px rgba(0,0,0,0.55);
    border-color: rgba(107, 186, 255, 0.18);
}

.info-box::before,
.project-card::before,
.service-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
    border-radius: 8px 0 0 8px;
    background: linear-gradient(180deg, rgba(107,186,255,0.18) 0%, rgba(107,186,255,0.04) 100%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s;
}
.info-box:hover::before,
.project-card:hover::before,
.service-card:hover::before {
    opacity: 1;
}

.info-box {
    flex: 1;
    min-width: 300px;
    background-color: rgba(25, 25, 50, 0.7);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(107, 154, 255, 0.3);
}

.info-icon {
    font-size: 2rem;
    color: #6b9aff;
}

.info-tech {
    color: #6b9aff;
}

.info-server {
    color: #6b9aff;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.info-content p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.projects {
    margin: 5rem 0;
    text-align: center;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #6bdcff, #4548ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.project-card {
    background-color: rgba(25, 25, 50, 0.7);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(107, 154, 255, 0.3);
}

.project-card h3 {
    color: #f0f0f0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.project-card .project-tech {
    font-size: 0.85rem;
    color: #6babff;
    margin-bottom: 1rem;
}

.project-card p {
    color: #b0b0b0;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #6babff;
    text-decoration: none;
    font-size: 0.9rem;
    gap: 0.3rem;
    transition: color 0.3s;
}

.project-link:hover {
    color: #80d7ff;
}

.services {
    margin: 5rem 0;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #6bdcff, #4548ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.service-card {
    background-color: rgba(25, 25, 50, 0.7);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(107, 154, 255, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #6bdcff, #4548ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-card h3 {
    color: #f0f0f0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: #a0a0a0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .sticky-nav {
        padding: 0.6rem 1em;
        border-radius: 10px;
        max-width: 350px;
    }

    .sticky-nav a {
        font-size: 1rem;
        margin: 0 0.08rem;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 95vw;
        padding: 0 1rem;
    }
    .info-boxes {
        gap: 1rem;
    }
    .project-grid, .service-grid {
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .info-boxes {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .info-box {
        min-width: unset;
        width: 100%;
    }
    .hero h1 {
        font-size: 3.2rem;
    }
    .projects h2, .services h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 0.5rem;
    }
    nav {
        padding: 1rem 0;
    }
    .nav-links {
        gap: 1rem;
    }
    .sticky-nav {
        padding: 0.4rem 0.5em;
        border-radius: 10px;
        max-width: 95vw;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        margin: 0 auto;
        font-size: 0.95rem;
    }
    .hero {
        padding: 2rem 0;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero p, .location {
        font-size: 1rem;
    }
    .social-icons {
        gap: 1rem;
        margin: 1rem 0;
    }
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .info-boxes {
        flex-direction: column;
        gap: 0.7rem;
    }
    .info-box {
        padding: 1rem;
        border-radius: 10px;
    }
    .info-icon {
        font-size: 1.5rem;
    }
    .projects, .services {
        margin: 2.5rem 0;
    }
    .project-grid, .service-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .project-card, .service-card {
        padding: 1rem;
        border-radius: 10px;
        min-height: unset;
    }
    .project-card h3, .service-card h3 {
        font-size: 1.1rem;
    }
    .project-card .project-tech {
        font-size: 0.8rem;
    }
    .project-link {
        font-size: 0.85rem;
    }
    footer {
        padding: 1rem 0;
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.3rem;
    }
    .sticky-nav {
        font-size: 0.8rem;
        padding: 0.2rem 0.2em;
    }
    .project-card, .service-card {
        padding: 0.7rem;
    }
}