* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 119, 48, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 140, 0, 0.08) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 165, 0, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
    animation: gridMove 30s linear infinite;
}

@keyframes backgroundFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 1;
    }
    25% { 
        transform: translateY(-20px) rotate(1deg); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) rotate(-1deg); 
        opacity: 1;
    }
    75% { 
        transform: translateY(-30px) rotate(0.5deg); 
        opacity: 0.9;
    }
}

@keyframes gridMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(20px) translateY(20px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: auto;
    max-width: 90vw;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    border-color: rgba(255, 119, 48, 0.3);
    box-shadow: 0 8px 32px rgba(255, 119, 48, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(45deg, #ff7730, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 8px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 119, 48, 0.15);
    transform: scale(1.05);
}

.nav-links a.active {
    background: linear-gradient(45deg, #ff7730, #ffa500);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 119, 48, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    margin-top: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
}

.mobile-nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-links a:hover {
    background: rgba(255, 119, 48, 0.1);
    color: #ff7730;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 119, 48, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(255, 165, 0, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 20% 20%, rgba(255, 140, 0, 0.08) 0%, transparent 50%);
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-30px) scale(1.05); 
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #ff7730, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    animation: slideInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #ff7730, #ffa500);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 119, 48, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #ffffff, #ff7730);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(255, 119, 48, 0.1);
}

.tech-category {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ff7730;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    background: rgba(255, 119, 48, 0.1);
    border: 1px solid rgba(255, 119, 48, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(255, 119, 48, 0.2);
    transform: scale(1.05);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 119, 48, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 119, 48, 0.2), rgba(255, 165, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ff7730;
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech-tag {
    background: rgba(255, 140, 0, 0.2);
    border: 1px solid rgba(255, 140, 0, 0.4);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #ffffff;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: #ff7730;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Contact */
.contact {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    color: #ff7730;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 1px solid rgba(255, 119, 48, 0.3);
    border-radius: 25px;
}

.contact-link:hover {
    background: rgba(255, 119, 48, 0.1);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 119, 48, 0.05) 0%, transparent 50%);
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #ff7730);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ff7730;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    background: rgba(255, 119, 48, 0.1);
    border-color: rgba(255, 119, 48, 0.3);
    color: #ff7730;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff7730, #ffa500);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 119, 48, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 119, 48, 0.4);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    header {
        top: 10px;
        padding: 10px 20px;
    }
    
    nav {
        gap: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    header {
        left: 10px;
        right: 10px;
        transform: none;
        max-width: none;
    }
}
.impressum {
    padding: 2rem;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 5%;
}

.impressum h2 {
    font-size: 2rem;
    color: #cf754c;
    margin-bottom: 1rem;
    text-align: center;
}

.impressum p {
    margin: 1rem 0;
}

.impressum strong {
    font-weight: bold;
    color: #d87c52;
}

.impressum ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.impressum ul li {
    margin-bottom: 0.5rem;
}

.impressum a {
    color: #007BFF;
    text-decoration: none;
}

.impressum a:hover {
    text-decoration: underline;
}

.impressum u {
    text-decoration: underline;
    font-weight: bold;
}

.impressum br {
    margin-bottom: 1rem;
}

.impressum section {
    margin-bottom: 2rem;
}