@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Ensure body doesn't interfere with pre-landing positioning */
body {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Browser compatibility fixes */
html {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    overflow-x: hidden !important;
}

* {
    box-sizing: border-box !important;
}

/* Pre-Landing Page Styles */
.pre-landing {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%) !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: -o-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    -o-flex-pack: center !important;
    justify-content: center !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    -o-flex-align: center !important;
    align-items: center !important;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    -o-transition: -o-transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    -o-transform: translateZ(0) !important;
}

.pre-landing.slide-up {
    transform: translateY(-100%) !important;
    -webkit-transform: translateY(-100%) !important;
    -o-transform: translateY(-100%) !important;
    -ms-transform: translateY(-100%) !important;
}

.video-container {
    position: relative !important;
    width: 90% !important;
    height: 90% !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: -o-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    -o-flex-pack: center !important;
    justify-content: center !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    -o-flex-align: center !important;
    align-items: center !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    -o-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: -o-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    -o-flex-pack: center !important;
    justify-content: center !important;
    -webkit-box-align: end !important;
    -ms-flex-align: end !important;
    -o-flex-align: end !important;
    align-items: flex-end !important;
    padding: 40px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    -webkit-transition: background 0.3s ease !important;
    -o-transition: background 0.3s ease !important;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.click-instruction {
    text-align: center;
    color: white;
    font-family: 'Inter', sans-serif;
}

.click-instruction p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.pulse-indicator {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    margin: 0 auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.main-content {
    position: relative !important;
    z-index: 1 !important;
}

.main-content.hidden {
    overflow: hidden !important;
    height: 100vh !important;
    display: none !important;
}

/* Responsive Design für Pre-Landing Page */
@media (max-width: 768px) {
    .video-container {
        width: 95%;
        height: 85%;
    }
    
    .click-instruction p {
        font-size: 1rem;
    }
    
    .video-overlay {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .video-container {
        width: 98%;
        height: 90%;
        border-radius: 10px;
    }
    
    #intro-video {
        border-radius: 10px;
    }
    
    .video-overlay {
        border-radius: 10px;
        padding: 10px;
    }
    
    .click-instruction p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .pulse-indicator {
        width: 15px;
        height: 15px;
    }
}

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 80px; /* Platz für die fixierte Navigation */
    background: 
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%, #0a0a0a 100%),
        radial-gradient(circle at 20% 80%, rgba(0, 200, 81, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 71, 161, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    position: relative;
}











/* Custom Scrollbar - Dark Theme */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border-radius: 6px;
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #555 0%, #777 100%);
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #555 #1a1a1a;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* Fallback für TIF-Unterstützung */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

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

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #00bcd4;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px); /* Anpassung für fixierte Navigation */
    background: linear-gradient(135deg, rgba(38, 50, 56, 0.7) 0%, rgba(55, 71, 79, 0.7) 50%, rgba(69, 90, 100, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: -80px; /* Kompensiert das body padding */
    padding-top: 80px; /* Stellt den ursprünglichen Abstand wieder her */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('5276001177630278142.jpg');
    background-size: 170%;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    filter: brightness(0.4);
    opacity: 0.9;
    z-index: -1;
    will-change: auto;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0% {
        background-size: 170%;
        transform: scale(1);
    }
    50% {
        background-size: 190%;
        transform: scale(1.02);
    }
    100% {
        background-size: 170%;
        transform: scale(1);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    margin-left: 10%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.name-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 2rem;
    margin-left: 1.5rem;
}

.name-first,
.name-middle,
.name-last {
    font-size: 3.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-align: left;
    display: block;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.name-first:hover,
.name-middle:hover,
.name-last:hover {
    transform: translateY(-2px);
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.name-first {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4.2rem;
    font-weight: 800;
}

.name-middle {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 50%, #a5d6a7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.name-last {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 50%, #ffb74d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4.0rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.profession-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-left: 1.5rem;
}

.profession-line {
    font-size: 1.6rem;
    font-weight: 300;
    opacity: 0.85;
    color: #f0f0f0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-variant: small-caps;
    text-align: left;
    display: block;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 650px;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 14px 35px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}



.btn-primary {
    background: linear-gradient(135deg, #00bcd4 0%, #26c6da 100%);
    color: white;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 
        0 8px 20px rgba(0, 188, 212, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #26c6da 0%, #00bcd4 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 25px rgba(0, 188, 212, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 
        0 8px 20px rgba(25, 118, 210, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #42a5f5 0%, #1976d2 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 25px rgba(25, 118, 210, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-image {
    max-width: 60%;
    height: auto;
    border-radius: 20px;
    border: 3px solid rgba(0, 188, 212, 0.3);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 188, 212, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.portfolio-image:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 10px 25px rgba(0, 188, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 188, 212, 0.5);
}

.portfolio-image:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

/* Erweiterte Animationen */


@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Sections */
section {
    padding: 80px 0;
}

/* Erweiterte Glasmorphismus-Effekte für Sections mit Animationen */
.section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 24px;
    padding: 4rem 2rem;
    margin: 2rem 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 16px rgba(0, 188, 212, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.section:nth-child(even) {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.section:nth-child(odd) {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.4), transparent);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #00bcd4 0%, #26c6da 50%, #4dd0e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #00bcd4 0%, #26c6da 100%);
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(42, 42, 42, 0.8) 50%, rgba(26, 26, 26, 0.8) 100%),
        url('dssd.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    position: relative;
}

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

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

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

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(0, 188, 212, 0.15);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(0, 188, 212, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-item:hover {
    background: rgba(0, 188, 212, 0.25);
    border-color: rgba(0, 188, 212, 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 188, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item i {
    font-size: 3rem;
    color: #00bcd4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 188, 212, 0.3));
}

.skill-item:hover i {
    color: #26c6da;
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(0, 188, 212, 0.5));
}

.skill-item span {
    font-weight: 600;
    color: white;
}

/* Preview Section */
.preview-section {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 50%, rgba(26, 26, 26, 0.7) 100%),
        url('Screenshot 2025-09-15 214453.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    position: relative;
    animation: backgroundSlide 20s infinite ease-in-out;
}

@keyframes backgroundSlide {
    0% {
        background-image: 
            linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 50%, rgba(26, 26, 26, 0.7) 100%),
            url('Screenshot 2025-09-15 214453.png');
    }
    25% {
        background-image: 
            linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 50%, rgba(26, 26, 26, 0.7) 100%),
            url('Screenshot 2025-09-15 214739.png');
    }
    50% {
        background-image: 
            linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 50%, rgba(26, 26, 26, 0.7) 100%),
            url('Screenshot 2025-09-15 215023.png');
    }
    75% {
        background-image: 
            linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 50%, rgba(26, 26, 26, 0.7) 100%),
            url('nbb nc.png');
    }
    100% {
        background-image: 
            linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 50%, rgba(26, 26, 26, 0.7) 100%),
            url('Screenshot 2025-09-15 214453.png');
    }
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.preview-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    transition: transform 0.3s ease;
    border: none;
    color: white;
    overflow: visible;
}

.preview-card:hover {
    transform: none;
    box-shadow: none;
}

.preview-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.preview-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.005em;
}

.preview-card p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    color: white;
}

/* Gallery Container */
.gallery-container {
    margin-bottom: 4rem;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: #00bcd4 #2a2a2a;
}

.gallery-slider::-webkit-scrollbar {
    height: 8px;
}

.gallery-slider::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.gallery-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00bcd4 0%, #26c6da 100%);
    border-radius: 4px;
}

.gallery-slider::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #26c6da 0%, #00bcd4 100%);
}

.gallery-item {
    flex: 0 0 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url('Für_Emil-Titel.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    color: white;
    padding: 0.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3,
.gallery-overlay p {
    display: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #00bcd4;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.project-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.project-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.005em;
}

.project-info p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.film-reel {
    font-size: 8rem;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #263238 0%, #37474f 50%, #455a64 100%);
    color: white;
}

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

.contact-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.005em;
}

.contact-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem;
    background: rgba(76, 175, 80, 0.1);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(0, 188, 212, 0.22);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.1),
        0 2px 12px rgba(0, 188, 212, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
}

.contact-item:hover {
    background: rgba(0, 188, 212, 0.18);
    border-color: rgba(0, 188, 212, 0.4);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 6px 20px rgba(0, 188, 212, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-item:hover::after {
    width: 200px;
    height: 200px;
}

.contact-item i {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 188, 212, 0.3));
}

.contact-item:hover i {
    opacity: 1;
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 8px 16px rgba(0, 188, 212, 0.5));
}

.contact-item div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.social-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

.social-link i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.social-link:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.social-link i {
    font-size: 1.3rem;
}

/* Cards */
.card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
        radial-gradient(circle at 20% 80%, rgba(0, 200, 81, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 71, 161, 0.08) 0%, transparent 50%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}







.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-url {
    font-weight: 600;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .profession {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .project-highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-image {
        max-width: 80%;
    }
    
    .film-reel {
        font-size: 4rem;
    }
    
    .gallery-item {
        flex: 0 0 250px;
    }
    
    .gallery-image {
        height: 150px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .profession {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .skills {
        grid-template-columns: 1fr;
    }
    
    .preview-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }
    
    .preview-card iframe {
        aspect-ratio: 16/9;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.hero-content,
.about-content,
.education-grid,
.project-highlight,
.contact-content {
    animation: fadeInUp 0.8s ease-out;
}