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

:root {
--primary-blue: #0066cc;
--dark-blue: #004080;
--light-blue: #4d94ff;
--accent-blue: #00a3ff;
--bg-dark: #0a0e1a;
--bg-card: #1a1f35;
--text-light: #e8edf5;
--text-gray: #a0aec0;

/* Avatar Position Controls */
--avatar-offset-x: 0px;
--avatar-offset-y: 0px;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: 
    linear-gradient(90deg, rgba(160, 174, 192, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(160, 174, 192, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, var(--bg-dark) 0%, #0d1320 100%);
background-size: 40px 40px, 40px 40px, 100% 100%;
background-position: 0 0, 0 0, 0 0;
background-attachment: fixed;
color: var(--text-light);
line-height: 1.6;
overflow-x: hidden;
transform: translateZ(0);
-webkit-transform: translateZ(0);
position: relative;
will-change: scroll-position;
background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                  linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
background-size: 40px 40px; /* Größe der Gitterzellen */
background-color: #0a0e1a; /* Hintergrundfarbe */
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* Header & Navigation */
header {
position: sticky;
width: 100%;
top: 0;
z-index: 1000;
background: rgba(10, 14, 26, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(160, 174, 192, 0.15);
transform: translateZ(0);
backface-visibility: hidden;
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 2rem;
max-width: 1200px;
margin: 0 auto;
}

.logo {
font-size: 1.5rem;
font-weight: bold;
background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

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

.nav-links a {
color: var(--text-light);
text-decoration: none;
transition: color 0.3s;
position: relative;
font-size: 1.1rem;
font-weight: 500;
}

.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--accent-blue);
transition: width 0.3s;
}

.nav-links a:hover {
color: var(--accent-blue);
}

.nav-links a:hover::after {
width: 100%;
}

/* Hero Section */
.hero {
min-height: 85vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding-top: 80px;
padding-bottom: 60px;
}

.hero-content {
text-align: center;
z-index: 1;
}

.hero-avatar {
width: 180px;
height: 180px;
border-radius: 50%;
margin: 0 auto 2rem;
border: 1px solid #666;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
overflow: hidden;
position: relative;
animation: fadeInUp 0.8s ease-out;
background: linear-gradient(135deg, var(--bg-card) 0%, var(--dark-blue) 100%);
display: flex;
align-items: center;
justify-content: center;
}

.hero-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
object-position: calc(50% + var(--avatar-offset-x)) calc(50% + var(--avatar-offset-y));
}

.hero-avatar::before {
content: '';
position: absolute;
inset: -4px;
border-radius: 50%;
padding: 4px;
background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue), var(--light-blue));
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 0.8;
}

.hero h1 {
font-size: 4rem;
margin-bottom: 1rem;
background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero h2 {
font-size: 1.8rem;
color: var(--text-gray);
margin-bottom: 2rem;
font-weight: 300;
animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-employer {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
font-size: 1.1rem;
font-weight: 500;
color: var(--text-gray);
margin: 1rem auto 1.5rem;
animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.employer-label {
color: var(--text-gray);
}

.employer-link {
color: var(--accent-blue);
text-decoration: none;
font-weight: 600;
position: relative;
transition: color 0.3s ease;
}

.employer-link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
transform: scaleX(0);
transform-origin: right;
transition: transform 0.3s ease;
}

.employer-link:hover {
color: var(--light-blue);
}

.employer-link:hover::after {
transform: scaleX(1);
transform-origin: left;
}

.hero-location {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
font-size: 1.4rem;
font-weight: 700;
color: var(--text-light);
margin: 0 auto 2rem;
animation: fadeInUp 0.8s ease-out 0.7s backwards;
letter-spacing: 0.1em;
}

.hero-location .material-icons {
font-size: 1.6rem;
color: var(--accent-blue);
}

.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 2rem;
color: var(--text-gray);
animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.cta-button {
display: inline-block;
padding: 1rem 2.5rem;
background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
color: white;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
transition: transform 0.3s, box-shadow 0.3s;
animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0, 163, 255, 0.3);
}

/* Hero Stats */
.hero-stats {
display: flex;
gap: 3rem;
justify-content: center;
margin-top: 3rem;
animation: fadeInUp 0.8s ease-out 1s backwards;
}

.stat-item {
text-align: center;
}

.stat-number {
font-size: 2.5rem;
font-weight: bold;
background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
display: block;
margin-bottom: 0.5rem;
}

.stat-label {
color: var(--text-gray);
font-size: 0.9rem;
}

/* Social Links */
.social-links {
display: flex;
gap: 1.5rem;
justify-content: center;
margin-top: 2rem;
animation: fadeInUp 0.8s ease-out 1.2s backwards;
}

.social-links a {
width: 45px;
height: 45px;
border-radius: 50%;
background: rgba(77, 148, 255, 0.1);
border: 2px solid var(--primary-blue);
display: flex;
align-items: center;
justify-content: center;
color: var(--light-blue);
text-decoration: none;
transition: all 0.3s;
font-size: 1.2rem;
}

.social-links a:hover {
background: var(--primary-blue);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

/* AWS Certification Badge */
.aws-certification {
display: flex;
justify-content: center;
margin-top: 2rem;
animation: fadeInUp 0.8s ease-out 1.3s backwards;
}

.aws-certification a {
display: inline-block;
transition: all 0.3s ease;
filter: drop-shadow(0 4px 8px rgba(0, 102, 204, 0.2));
}

.aws-certification a:hover {
transform: translateY(-5px) scale(1.05);
filter: drop-shadow(0 8px 16px rgba(0, 102, 204, 0.4));
}

.aws-badge {
width: auto;
border-radius: 8px;
transition: all 0.3s ease;
}

/* Tech Stack */
.tech-stack {
display: flex;
gap: 2rem;
justify-content: center;
align-items: center;
margin-top: 3rem;
flex-wrap: wrap;
animation: fadeInUp 0.8s ease-out 1.4s backwards;
}

.tech-badge {
padding: 0.6rem 1.2rem;
background: rgba(77, 148, 255, 0.1);
border: 1px solid rgba(77, 148, 255, 0.3);
border-radius: 25px;
color: var(--light-blue);
font-size: 0.9rem;
font-weight: 500;
transition: all 0.3s;
}

.tech-badge:hover {
background: rgba(77, 148, 255, 0.2);
border-color: var(--accent-blue);
transform: scale(1.05);
}

/* Section Divider */
.section-divider {
position: relative;
height: 2px;
background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(160, 174, 192, 0.3) 20%,
    rgba(160, 174, 192, 0.5) 40%,
    rgba(77, 148, 255, 0.8) 50%,
    rgba(160, 174, 192, 0.5) 60%,
    rgba(160, 174, 192, 0.3) 80%,
    transparent 100%
);
margin: 0;
}

.section-divider::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 6px;
height: 6px;
background: rgba(77, 148, 255, 0.9);
border-radius: 50%;
box-shadow: 
    0 0 10px rgba(77, 148, 255, 0.8),
    0 0 20px rgba(77, 148, 255, 0.6),
    0 0 30px rgba(77, 148, 255, 0.4),
    0 0 40px rgba(77, 148, 255, 0.2);
filter: blur(0.5px);
}

/* About Section */
.about {
padding: 6rem 0;
background: linear-gradient(135deg, 
    rgba(0, 102, 204, 0.08) 0%, 
    rgba(26, 31, 53, 0.6) 50%, 
    rgba(0, 64, 128, 0.08) 100%);
border-top: 1px solid rgba(160, 174, 192, 0.1);
border-bottom: 1px solid rgba(160, 174, 192, 0.1);
}

.section-title {
font-size: 2.5rem;
text-align: center;
margin-bottom: 3rem;
position: relative;
}

.section-title::after {
content: '';
display: block;
width: 80px;
height: 4px;
background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
margin: 1rem auto;
border-radius: 2px;
}

.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.about-text {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-text.visible {
opacity: 1;
transform: translateY(0);
}

.about-text p {
margin-bottom: 1.5rem;
color: var(--text-gray);
font-size: 1.1rem;
}

.about-stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}

.stat-card {
background: var(--bg-card);
padding: 2rem;
border-radius: 15px;
text-align: center;
border: 1px solid rgba(77, 148, 255, 0.1);
transition: transform 0.3s, border-color 0.3s, opacity 0.6s, transform 0.6s;
opacity: 0;
transform: translateY(30px);
}

.stat-card.visible {
opacity: 1;
transform: translateY(0);
}

.stat-card:hover {
transform: translateY(-5px);
border-color: var(--accent-blue);
}

.stat-number {
font-size: 2.5rem;
font-weight: bold;
color: var(--accent-blue);
margin-bottom: 0.5rem;
}

.stat-label {
color: var(--text-gray);
}

/* Skills Section */
.skills {
padding: 6rem 0;
background: linear-gradient(135deg, 
    rgba(0, 163, 255, 0.06) 0%, 
    rgba(10, 14, 26, 0.8) 50%, 
    rgba(77, 148, 255, 0.06) 100%);
border-bottom: 1px solid rgba(160, 174, 192, 0.1);
}

.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}

.skill-card {
background: var(--bg-card);
padding: 2rem;
border-radius: 15px;
border: 1px solid rgba(77, 148, 255, 0.2);
transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.skill-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 163, 255, 0.2);
border-color: var(--accent-blue);
}

.skill-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}

.skill-name {
font-size: 1.2rem;
font-weight: 600;
}

.skill-percentage {
color: var(--accent-blue);
font-weight: bold;
}

.skill-bar {
width: 100%;
height: 10px;
background: rgba(77, 148, 255, 0.1);
border-radius: 10px;
overflow: hidden;
position: relative;
}

.skill-progress {
height: 100%;
background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
border-radius: 10px;
width: 0;
transition: width 1.5s ease-out;
position: relative;
overflow: hidden;
}

.skill-progress::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
animation: shimmer 2s infinite;
}

@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}

.skill-card.visible .skill-progress {
width: var(--skill-width);
}

/* Services Section */
.services {
padding: 6rem 0;
background: linear-gradient(135deg, 
    rgba(0, 64, 128, 0.1) 0%, 
    rgba(26, 31, 53, 0.7) 50%, 
    rgba(0, 102, 204, 0.1) 100%);
border-bottom: 1px solid rgba(160, 174, 192, 0.1);
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}

.service-card {
background: var(--bg-card);
padding: 2.5rem;
border-radius: 15px;
border: 1px solid rgba(77, 148, 255, 0.2);
transition: transform 0.3s, border-color 0.3s, opacity 0.6s, box-shadow 0.3s;
opacity: 0;
transform: translateY(30px);
}

.service-card.visible {
opacity: 1;
transform: translateY(0);
}

.service-card:hover {
transform: translateY(-10px);
border-color: var(--accent-blue);
box-shadow: 0 10px 30px rgba(0, 163, 255, 0.2);
}

.service-icon {
font-size: 3rem;
margin-bottom: 1.5rem;
}

.service-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--light-blue);
}

.service-card p {
color: var(--text-gray);
}

/* Contact Section */
.contact {
padding: 6rem 0;
background: linear-gradient(135deg, 
    rgba(0, 163, 255, 0.07) 0%, 
    rgba(10, 14, 26, 0.9) 50%, 
    rgba(0, 102, 204, 0.07) 100%);
border-bottom: 1px solid rgba(160, 174, 192, 0.1);
}

.contact-content {
max-width: 600px;
margin: 0 auto;
text-align: center;
}

.contact-info {
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-top: 2rem;
}

.contact-item {
background: var(--bg-card);
padding: 1.5rem;
border-radius: 10px;
border: 1px solid rgba(77, 148, 255, 0.1);
transition: border-color 0.3s;
}

.contact-item:hover {
border-color: var(--accent-blue);
}

.contact-item a {
color: var(--accent-blue);
text-decoration: none;
font-weight: 600;
}

/* Footer */
footer {
background: var(--bg-card);
padding: 0 0 2rem;
border-top: 1px solid rgba(77, 148, 255, 0.1);
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
margin-bottom: 2rem;
}

.footer-section h3 {
color: var(--light-blue);
margin-bottom: 1rem;
}

.footer-section p, .footer-section ul {
color: var(--text-gray);
}

.footer-section ul {
list-style: none;
}

.footer-section ul li {
margin-bottom: 0.5rem;
}

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

.social-links a {
display: inline-block;
width: 40px;
height: 40px;
background: rgba(77, 148, 255, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--accent-blue);
text-decoration: none;
transition: background 0.3s, transform 0.3s;
}

.social-links a:hover {
background: var(--accent-blue);
color: white;
transform: translateY(-3px);
}

.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(77, 148, 255, 0.1);
color: var(--text-gray);
}

/* Animations */
@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Responsive */

/* Tablet and smaller */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-avatar {
        width: 150px;
        height: 150px;
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .hero-employer {
        font-size: 1rem;
        margin: 1rem auto 1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-location {
        font-size: 1.2rem;
    }

    /* Hero Stats */
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Social Links */
    .social-links a {
        width: 40px;
        height: 40px;
    }

    /* AWS Badge */
    .aws-badge {
        max-width: 120px;
    }

    /* Tech Stack */
    .tech-stack {
        gap: 1rem;
        margin-top: 2rem;
    }

    .tech-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Sections */
    .about, .skills, .services, .contact {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* Navigation */
    nav {
        padding: 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .hero-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .hero h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-employer {
        font-size: 0.9rem;
        margin: 0.75rem auto 1rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-location {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-location .material-icons {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }

    /* Hero Stats */
    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Social Links */
    .social-links {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    /* AWS Badge */
    .aws-badge {
        max-width: 100px;
    }

    /* Tech Stack */
    .tech-stack {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .tech-badge {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
    }

    /* Sections */
    .about, .skills, .services, .contact {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .container {
        padding: 0 1rem;
    }

    /* About Section */
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card .stat-number {
        font-size: 2rem;
    }

    /* Skills */
    .skill-card {
        padding: 1.25rem;
    }

    .skill-name {
        font-size: 1rem;
    }

    .skill-percentage {
        font-size: 0.9rem;
    }

    /* Services */
    .service-card {
        padding: 1.75rem;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    /* Contact */
    .contact-content p {
        font-size: 1rem;
    }

    .contact-item {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
}
