* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange-primary: #FF6B35;
    --orange-neon: #FF8C42;
    --orange-light: #FFA366;
    --black-primary: #000000;
    --silver: #E5E5E5;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black-primary);
    color: var(--silver);
    overflow-x: hidden;
}

/* Force images to be visible immediately, even in AOS elements */
img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Override AOS initial hiding for images - show them immediately */
[data-aos] img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Make AOS elements visible if they're in the viewport on load */
[data-aos].aos-init {
    opacity: 1 !important;
}

/* For elements in viewport, show immediately */
@media (prefers-reduced-motion: no-preference) {
    [data-aos].aos-init:not(.aos-animate) {
        /* Check if in viewport - if yes, show immediately */
        opacity: 1 !important;
    }
}

/* Hero-Section: Inhalt immer sichtbar und über dem Hintergrund */
main > section:first-of-type {
    isolation: isolate;
}
main > section:first-of-type .relative.z-10 {
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
}
main > section:first-of-type .relative.z-10 *,
main > section:first-of-type .scroll-indicator,
main > section:first-of-type .scroll-indicator * {
    opacity: 1 !important;
    visibility: visible !important;
}
main > section:first-of-type .hero-title,
main > section:first-of-type .hero-title * {
    color: #fff !important;
}
main > section:first-of-type .text-silver {
    color: var(--silver) !important;
}
/* Dunkler Overlay über Hero-Hintergrundbild (Fallback wenn Tailwind nicht greift) */
main > section:first-of-type .parallax::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,1) 100%);
    pointer-events: none;
}

/* Hide audio element - controls are handled by custom buttons */
#intro-audio {
    display: none;
    visibility: hidden;
}

/* Mobile Menu: immer ausgeblendet bis JS öffnet (vermeidet Doppel-Navigation wenn Tailwind spät lädt) */
#mobile-menu {
    display: none;
}
@media (max-width: 767px) {
    #mobile-menu:not(.hidden) {
        display: block;
    }
}

/* Cookie Banner Styles */
#cookie-banner {
    box-shadow: 0 -4px 20px rgba(255, 107, 53, 0.2);
}

/* FAQ Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-answer:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

.faq-icon.rotate-180 {
    transform: rotate(180deg);
}

/* Testimonial Card Styles */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* Schlichtes Modernes Before/After Slider Design */
.before-after-slider-modern {
    user-select: none;
    position: relative;
}

.before-after-container {
    position: relative;
    overflow: hidden;
}

.before-image {
    transition: clip-path 0.05s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: clip-path;
}

.slider-handle-modern {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: white;
    cursor: ew-resize;
    z-index: 30;
    transition: width 0.2s ease;
}

.slider-handle-modern:hover {
    width: 3px;
}

.before-after-container:active .slider-handle-modern {
    width: 3px;
}

.slider-handle-modern > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-handle-modern:hover > div {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.before-after-container:active .slider-handle-modern > div {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Video Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

.video-loading {
    transition: opacity 0.3s ease;
}

/* Navbar: immer sichtbarer Hintergrund, keine Überlagerung mit Hero */
#navbar {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
    min-height: 4rem;
}

/* Modern Glassmorphism Navbar (bei Scroll etwas kräftiger) */
.navbar-scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Logo Animation Styles */
#navbar-logo-container {
    position: relative;
    will-change: opacity, transform;
}

/* Logo Transfer Animation - Smooth and Beautiful */
.logo-transfer-container {
    will-change: opacity, transform;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 100;
}

.logo-transfer-image {
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.logo-transfer-target {
    will-change: opacity, transform;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 100;
    transform-origin: center center;
}

#hero-logo-container {
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Rectangular logo frame (no animation) */
.logo-frame {
    position: relative;
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 6px;
    background: transparent;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
}

#hero-logo {
    position: relative;
    display: block;
    max-width: 320px !important;
    max-height: 52px !important;
    width: auto !important;
    height: auto !important;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
    background-color: transparent;
}

@media (min-width: 640px) {
    #hero-logo {
        max-width: 400px !important;
        max-height: 65px !important;
    }
}

@media (min-width: 768px) {
    #hero-logo {
        max-width: 480px !important;
        max-height: 80px !important;
    }
}

@media (min-width: 1024px) {
    #hero-logo {
        max-width: 560px !important;
        max-height: 95px !important;
    }
}

/* ========== Hero Modern (Redesign) ========== */
.hero-modern {
    padding-top: 0.5rem;
}

.hero-modern-logo .hero-logo-frame {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-modern-badge {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.35rem 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--orange-primary);
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.35);
    border-radius: 9999px;
}

.hero-modern-title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.75rem;
}

.hero-modern-title-line {
    display: block;
}

.hero-modern-title-accent {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-modern-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(229, 229, 229, 0.85);
    margin-bottom: 2.5rem;
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-modern-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.hero-modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-modern-btn:hover {
    transform: translateY(-2px);
}

.hero-modern-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hero-modern-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-neon));
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.hero-modern-btn-primary:hover {
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.5);
}

.hero-modern-btn-outline {
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.hero-modern-btn-outline:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    background: rgba(255, 107, 53, 0.08);
}

@media (min-width: 640px) {
    .hero-modern-cta { gap: 1rem; }
    .hero-modern-btn { padding: 1rem 1.75rem; font-size: 1rem; }
}

/* Navbar logo frame */
.logo-frame-navbar {
    position: relative;
    display: inline-flex;
    padding: 2px 6px;
    border-radius: 6px;
    background: #0f0f0f;
    border: 1px solid rgba(255, 107, 53, 0.25);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    align-items: center;
    justify-content: center;
}

#navbar-logo {
    position: relative;
    display: block;
    max-width: 120px !important;
    max-height: 20px !important;
    width: auto !important;
    height: auto !important;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
    background-color: transparent;
}

@media (min-width: 640px) {
    #navbar-logo {
        max-width: 140px !important;
        max-height: 24px !important;
    }
}

@media (min-width: 768px) {
    #navbar-logo {
        max-width: 160px !important;
        max-height: 28px !important;
    }
}


/* Logo Transfer Animation States */
.logo-transferring {
    position: fixed !important;
    z-index: 9999 !important;
    pointer-events: none;
}

.logo-transferring .logo-transfer-image {
    animation: logoTransfer 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes logoTransfer {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(0.3) translate(var(--transfer-x, 0), var(--transfer-y, 0));
    }
    100% {
        transform: scale(0.25) translate(var(--transfer-x, 0), var(--transfer-y, 0));
        opacity: 0;
    }
}

/* Modern Button with Glassmorphism */
.btn-primary {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-neon));
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.text-orange {
    color: var(--orange-primary);
}

/* Tailwind-CDN hat kein "silver" – Farben absichern */
.text-silver {
    color: var(--silver);
}
.text-silver\/60 { color: rgba(229, 229, 229, 0.6); }
.text-silver\/70 { color: rgba(229, 229, 229, 0.7); }
.text-silver\/80 { color: rgba(229, 229, 229, 0.8); }
.text-silver\/40 { color: rgba(229, 229, 229, 0.4); }
.border-silver\/30 { border-color: rgba(229, 229, 229, 0.3); }
.bg-orange\/10 { background-color: rgba(255, 107, 53, 0.1); }
.bg-orange\/20 { background-color: rgba(255, 107, 53, 0.2); }
.hover\:bg-orange\/10:hover { background-color: rgba(255, 107, 53, 0.1); }
.border-orange\/20 { border-color: rgba(255, 107, 53, 0.2); }
.border-orange\/30 { border-color: rgba(255, 107, 53, 0.3); }

/* Modern Animated Background Pattern */
.hexagon-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(30deg, transparent, transparent 50px, var(--orange-primary) 50px, var(--orange-primary) 51px),
        repeating-linear-gradient(-30deg, transparent, transparent 50px, var(--orange-neon) 50px, var(--orange-neon) 51px);
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Modern Neon Glow Effects */
.neon-glow {
    text-shadow: 0 0 10px var(--orange-primary), 0 0 20px var(--orange-primary), 0 0 30px var(--orange-primary), 0 0 40px var(--orange-primary);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from {
        text-shadow: 0 0 10px var(--orange-primary), 0 0 20px var(--orange-primary), 0 0 30px var(--orange-primary);
    }
    to {
        text-shadow: 0 0 20px var(--orange-primary), 0 0 30px var(--orange-primary), 0 0 40px var(--orange-primary), 0 0 50px var(--orange-primary);
    }
}

.neon-glow-orange {
    text-shadow: 0 0 10px var(--orange-primary), 0 0 20px var(--orange-primary), 0 0 30px var(--orange-primary);
}

.border-orange {
    border-color: var(--orange-primary);
}

.bg-orange-gradient {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-neon));
}

/* Modern Glassmorphism Service Cards */
.service-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--orange-primary);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3), 0 0 0 1px rgba(255, 107, 53, 0.1);
    background: rgba(0, 0, 0, 0.6);
}

/* Modern Gallery Items with 3D Effect */
.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 1rem;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-neon), var(--orange-primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.5), 0 0 40px rgba(255, 107, 53, 0.3);
    border-color: var(--orange-primary);
}

.gallery-item:hover img {
    transform: scale(1.2) rotate(1deg);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Ultra Modern Gallery Items */
.gallery-item-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.gallery-item-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.4), 0 0 0 1px rgba(255, 107, 53, 0.1);
}

/* Modern Video Container */
.video-container-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.video-container-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.4), 0 0 0 1px rgba(255, 107, 53, 0.1);
}

.video-container-modern video {
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Modern Play Button */
.play-button-modern {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.play-button-modern:hover {
    background: rgba(255, 107, 53, 0.8);
    border-color: var(--orange-primary);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
    transform: scale(1.1);
}

/* Modern Video Container with Glassmorphism */
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-neon), var(--orange-primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.video-container:hover::before {
    opacity: 1;
}

.video-container:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.5), 0 0 40px rgba(255, 107, 53, 0.3);
    border-color: var(--orange-primary);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-container:hover video {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

/* Modern Play Button with Glow */
.play-button {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-neon));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
    position: relative;
    overflow: hidden;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.play-button:hover::before {
    width: 100%;
    height: 100%;
}

.play-button:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.7);
}

.play-button svg {
    position: relative;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Modern Form Inputs with Glassmorphism */
input, textarea {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0.75rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2), 0 10px 30px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

/* Modern Section Spacing */
section {
    position: relative;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Modern Typography */
h1, h2, h3 {
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Modern Scroll Indicator */
.scroll-indicator {
    transform: translateX(-50%);
}

/* Mouse Scroll Animation */
.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 107, 53, 0.6);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--orange-primary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.8);
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Dots Animation */
.scroll-dot {
    width: 4px;
    height: 4px;
    background: var(--orange-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: scrollDot 1.5s infinite;
    box-shadow: 0 0 4px rgba(255, 107, 53, 0.6);
}

.scroll-dot.delay-100 {
    animation-delay: 0.2s;
}

.scroll-dot.delay-200 {
    animation-delay: 0.4s;
}

@keyframes scrollDot {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Modern Badge */
.badge-modern {
    background: rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.2);
}

/* Logo Animation */
.logo-animation {
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: textReveal 0.8s forwards;
}

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

/* Staggered Animation Delay */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Parallax Effect */
.parallax {
    transition: transform 0.1s ease-out;
}

/* Modern Progress Bar on Scroll - Centered */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    max-width: 600px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--orange-primary) 20%, 
        var(--orange-neon) 50%, 
        var(--orange-primary) 80%, 
        transparent 100%);
    z-index: 9999;
    transform-origin: center;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5),
                0 0 20px rgba(255, 107, 53, 0.3),
                0 0 30px rgba(255, 107, 53, 0.1);
    border-radius: 0 0 2px 2px;
}

.scroll-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer-progress 2s infinite;
    border-radius: 0 0 2px 2px;
}

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

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Pulse Animation - Enhanced */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.8);
    }
}

/* Rotate Animation */
.rotate-slow {
    animation: rotateSlow 20s linear infinite;
}

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

/* Fade In Up Animation - Hero sofort sichtbar, Rest bei Scroll */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Nur außerhalb der Hero-Section versteckt starten */
main section:not(:first-of-type) .fade-in-up:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale In Animation - Hero-Logo sofort sichtbar */
.scale-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

main section:not(:first-of-type) .scale-in:not(.visible) {
    opacity: 0;
    transform: scale(0.8);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Slide In Animation - Show immediately if in viewport */
.slide-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.slide-in-left:not(.visible) {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.slide-in-right:not(.visible) {
    opacity: 0;
    transform: translateX(50px);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Particle Background */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Gradient Animation */
.gradient-animate {
    background: linear-gradient(-45deg, var(--orange-primary), var(--orange-neon), var(--orange-light), var(--orange-primary));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

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

/* New Hero Animations */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.25;
    }
    50% {
        opacity: 0.35;
    }
}

@keyframes gradient-x {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 3s ease infinite;
}

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

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

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

.logo-rotate-slow {
    animation: rotateSlow 30s linear infinite;
}

.hero-text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--orange-primary) 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-x 3s linear infinite;
}

.hero-text-gradient-2 {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-neon) 50%, var(--orange-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-x 3s linear infinite;
}

/* Magnetic Hover Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Enhanced Responsive Design */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .gallery-item-modern,
    .video-container-modern {
        height: 250px !important;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* Container max-width for better readability */
.container {
    max-width: 1280px;
}

/* Improved spacing for mobile */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 0.95rem;
    }
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .play-button-modern {
        width: 60px;
        height: 60px;
    }
    
    .play-button-modern svg {
        width: 24px;
        height: 24px;
    }
    
    /* Reduce section padding on mobile */
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    /* Better spacing for cards */
    .service-card {
        margin-bottom: 1rem;
    }
    
    /* Improve text readability */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}
