:root {
    --primary-dark: #0a0a0a;
    --primary-accent: #ff4d00;
    --secondary-accent: #00d4ff;
    --text-light: #f5f5f5;
    --text-muted: #999;
    --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background Grid */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 77, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

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

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--secondary-accent);
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--secondary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-subtitle .accent {
    color: var(--primary-accent);
    font-weight: 600;
}

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

/* Decorative Lines */
.deco-line {
    position: absolute;
    right: 0;
    top: 50%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    opacity: 0;
    animation: expandLine 1.2s ease forwards 0.8s;
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 40%;
        opacity: 0.5;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s, bounce 2s ease-in-out infinite 2.5s;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--secondary-accent), transparent);
    margin: 10px auto 0;
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* About Section */
.about-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 6rem;
    color: var(--primary-accent);
    line-height: 1;
    opacity: 0.3;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

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

.about-text p {
    margin-bottom: 20px;
}

.about-text .highlight {
    color: var(--text-light);
    font-weight: 600;
}

/* Gallery Section */
.gallery-section {
    margin-top: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.gallery-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-accent);
    box-shadow: 0 15px 50px rgba(255, 77, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 2;
}

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

.gallery-item-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.gallery-item-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: var(--text-light);
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.gallery-item:hover .gallery-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    border-radius: 50%;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.9);
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 80%;
    text-align: center;
}

.about-visual {
    position: relative;
    height: 400px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease 0.4s;
    display: none;
}

.about-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.visual-box {
    position: absolute;
    border: 2px solid var(--primary-accent);
    background: rgba(255, 77, 0, 0.05);
    backdrop-filter: blur(10px);
}

.visual-box:nth-child(1) {
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    animation: floatBox1 6s ease-in-out infinite;
}

.visual-box:nth-child(2) {
    bottom: 0;
    right: 0;
    width: 70%;
    height: 50%;
    border-color: var(--secondary-accent);
    background: rgba(0, 212, 255, 0.05);
    animation: floatBox2 6s ease-in-out infinite;
}

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

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

/* Services Section */
.services-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(255, 77, 0, 0.03), transparent);
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    position: relative;
    padding: 50px 40px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    z-index: 1;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 77, 0, 0.5);
    box-shadow: 0 20px 60px rgba(255, 77, 0, 0.2);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 30px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 25px 60px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

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

.contact-button:hover::before {
    width: 400px;
    height: 400px;
}

.contact-button .button-icon,
.contact-button .button-text {
    position: relative;
    z-index: 1;
}

.contact-button .button-icon {
    font-size: 1.5rem;
    transition: transform 0.4s ease;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.contact-button:hover .button-icon {
    transform: scale(1.2) rotate(-10deg);
}

.contact-email {
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

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

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 77, 0, 0.4);
}

/* Footer */
footer {
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.impressum-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.impressum-button:hover {
    background: rgba(255, 77, 0, 0.1);
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

/* Impressum Modal */
.impressum-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.impressum-modal.active {
    opacity: 1;
    visibility: visible;
}

.impressum-content {
    background: var(--primary-dark);
    border: 2px solid var(--primary-accent);
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.impressum-modal.active .impressum-content {
    transform: scale(1);
}

.impressum-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.impressum-close:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    transform: rotate(90deg);
}

.impressum-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--primary-accent);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 77, 0, 0.3);
}

.impressum-body h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--text-light);
    margin-top: 30px;
    margin-bottom: 15px;
}

.impressum-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--secondary-accent);
    margin-top: 20px;
    margin-bottom: 10px;
}

.impressum-body p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.impressum-body a {
    color: var(--secondary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-body a:hover {
    color: var(--primary-accent);
}

/* Custom Scrollbar for Impressum */
.impressum-content::-webkit-scrollbar {
    width: 8px;
}

.impressum-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.impressum-content::-webkit-scrollbar-thumb {
    background: var(--primary-accent);
    border-radius: 4px;
}

.impressum-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-accent);
}

/* Responsive */
@media (max-width: 968px) {
    .container {
        padding: 0 20px;
    }

    .about-content {
        text-align: left;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-number {
        font-size: 4rem;
    }

    .deco-line {
        display: none;
    }

    .contact-button {
        padding: 20px 40px;
        font-size: 1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .lightbox-caption {
        bottom: 20px;
        font-size: 0.9rem;
        padding: 10px 20px;
        max-width: 90%;
    }

    .impressum-content {
        padding: 40px 30px;
        max-height: 85vh;
    }

    .impressum-content h2 {
        font-size: 2.5rem;
    }

    .impressum-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-button {
        padding: 18px 30px;
        font-size: 0.9rem;
    }

    .contact-intro {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item-title {
        font-size: 1.2rem;
    }

    .gallery-item-caption {
        font-size: 0.8rem;
    }

    .lightbox-image {
        max-width: 95%;
        max-height: 80vh;
    }

    .impressum-content {
        padding: 30px 20px;
    }

    .impressum-content h2 {
        font-size: 2rem;
    }

    .impressum-body h3 {
        font-size: 1.5rem;
    }

    .impressum-body h4 {
        font-size: 1rem;
    }
}
