*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Segoe UI,sans-serif;
    background:#050816;
    color:white;
    overflow-x:hidden;
}

.stars{
    position:fixed;
    width:100%;
    height:100%;
    background-image:radial-gradient(white 1px, transparent 1px);
    background-size:50px 50px;
    opacity:.15;
    z-index:-2;
}

body::before{
    content:"";
    position:fixed;
    width:500px;
    height:500px;
    background:#0066ff;
    border-radius:50%;
    filter:blur(180px);
    top:-200px;
    left:-150px;
    opacity:.35;
    z-index:-1;
}

body::after{
    content:"";
    position:fixed;
    width:450px;
    height:450px;
    background:#00d9ff;
    border-radius:50%;
    filter:blur(180px);
    right:-150px;
    bottom:-150px;
    opacity:.25;
    z-index:-1;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
    position:sticky;
    top:0;
    backdrop-filter:blur(10px);
}

.logo{
    color:#38bdf8;
    font-size:1.4rem;
    font-weight:bold;
}

.links a{
    color:white;
    text-decoration:none;
    margin-left:20px;
}

.links a:hover{
    color:#38bdf8;
}

.hero{
    text-align:center;
    padding:60px 20px;
}

.profilbild{
    width:250px;
    height:250px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #38bdf8;
    box-shadow:
        0 0 20px #38bdf8,
        0 0 50px #38bdf8,
        0 0 100px #38bdf8;
}

h1{
    color:#38bdf8;
    margin-top:20px;
    font-size:3rem;
}

.untertitel{
    margin-top:15px;
    color:#cbd5e1;
}

.card{
    max-width:1000px;
    width:90%;
    margin:30px auto;
    padding:30px;
    background:rgba(15,23,42,.8);
    border-radius:20px;
    border:1px solid rgba(56,189,248,.3);
}

.card h2{
    color:#38bdf8;
    margin-bottom:20px;
}

.projekt-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.projekt{
    background:#111827;
    padding:20px;
    border-radius:15px;
}

.projekt:hover{
    transform:translateY(-5px);
}

.skill{
    margin-bottom:20px;
}

.skill span{
    display:block;
    margin-bottom:8px;
}

.bar{
    height:15px;
    background:#0f172a;
    border-radius:20px;
    overflow:hidden;
}

.fill{
    height:100%;
    background:linear-gradient(90deg,#38bdf8,#0066ff);
}

footer{
    text-align:center;
    padding:40px;
    color:#94a3b8;
}

.top-button{
    position:fixed;
    right:20px;
    bottom:20px;
    width:50px;
    height:50px;
    background:#38bdf8;
    color:white;
    text-decoration:none;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
}