/* Futuristische Basis-Styles */
:root {
    --neon-blue: #00f3ff;
    --neon-purple: #9d00ff;
    --neon-pink: #ff00ff;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --grid-color: rgba(0, 243, 255, 0.1);
    --text-glow: 0 0 10px rgba(0, 243, 255, 0.7);
    --box-glow: 0 0 20px rgba(0, 243, 255, 0.5);
    --discord-color: #5865F2;
}

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

body {
    font-family: 'Orbitron', 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}

/* 3D Hintergrund Container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Neuer 3D-Effekt Container */
.three-d-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
}

.three-d-element {
    position: absolute;
    border: 1px solid rgba(0, 243, 255, 0.3);
    background: rgba(0, 243, 255, 0.05);
    border-radius: 50%;
    animation: float3d 20s infinite linear;
}

.three-d-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    box-shadow: 0 0 100px rgba(0, 243, 255, 0.3);
}

.three-d-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
    animation-duration: 25s;
    box-shadow: 0 0 80px rgba(157, 0, 255, 0.3);
}

.three-d-element:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 70%;
    animation-delay: -10s;
    animation-duration: 30s;
    box-shadow: 0 0 60px rgba(255, 0, 255, 0.3);
}

.three-d-element:nth-child(4) {
    width: 400px;
    height: 400px;
    top: 70%;
    left: 10%;
    animation-delay: -15s;
    box-shadow: 0 0 120px rgba(0, 243, 255, 0.2);
}

@keyframes float3d {
    0% {
        transform: rotate(0deg) translateX(0) translateY(0) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) translateY(100px) rotate(-360deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--text-glow);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s;
}

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

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

.nav-links a:not(.discord-icon):hover::after {
    width: 100%;
}

.discord-icon {
    font-size: 1.5rem;
    color: var(--discord-color);
    transition: all 0.3s;
}

.discord-icon:hover {
    color: #fff;
    text-shadow: 0 0 15px var(--discord-color);
}

.nav-cta {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--box-glow);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.7);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
    max-width: 1200px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(0, 243, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(0, 243, 255, 0.9), 0 0 40px rgba(157, 0, 255, 0.5); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #a0a0ff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: white;
    box-shadow: var(--box-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
}

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-5px);
}

/* Services Section */
.section {
    padding: 100px 5%;
    position: relative;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 70px;
    color: var(--neon-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.service-card {
    background: rgba(20, 20, 40, 0.7);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid rgba(0, 243, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--neon-blue);
    box-shadow: var(--box-glow);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--neon-blue);
    text-shadow: var(--text-glow);
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.service-desc {
    color: #b0b0ff;
    margin-bottom: 25px;
}

/* Our Process Section */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--neon-blue), var(--neon-purple));
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    justify-content: flex-end;
}

.process-step:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.process-number {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark-bg);
    border: 3px solid var(--neon-blue);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-blue);
    z-index: 1;
}

.process-step:nth-child(odd) .process-number {
    right: -30px;
}

.process-step:nth-child(even) .process-number {
    left: -30px;
}

.process-content {
    background: rgba(20, 20, 40, 0.7);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.4s;
    text-align: left;
}

.process-step:hover .process-content {
    border-color: var(--neon-blue);
    box-shadow: var(--box-glow);
    transform: scale(1.03);
}

.process-content h3 {
    color: var(--neon-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.process-content p {
    color: #b0b0ff;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    transition: all 0.4s;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow: var(--box-glow);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(5, 5, 16, 0.95), transparent);
    padding: 30px;
    transform: translateY(30px);
    transition: transform 0.4s;
}

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

/* AI Revolution Section */
.ai-section {
    background: rgba(5, 5, 16, 0.8);
    border-radius: 20px;
    padding: 60px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.ai-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.ai-feature {
    flex: 1;
    min-width: 250px;
    background: rgba(0, 243, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--neon-blue);
}

/* Discord Section */
.discord-section {
    text-align: center;
    padding: 80px 5%;
    background: rgba(20, 20, 40, 0.5);
    border-radius: 20px;
    margin-top: 80px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: all 0.4s;
}

.discord-section:hover {
    border-color: var(--discord-color);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
}

.discord-section a {
    text-decoration: none;
    color: inherit;
}

.discord-section .discord-icon {
    font-size: 4rem;
    color: var(--discord-color);
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.7);
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 80px 5% 30px;
    margin-top: 100px;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--neon-blue);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #b0b0ff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon-blue);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

.privacy-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.privacy-links a {
    color: var(--neon-blue);
    text-decoration: none;
}

/* Modal/Popup fÃ¼r Impressum & Datenschutz */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.95);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: rgba(20, 20, 40, 0.95);
    max-width: 900px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.3);
}

.modal-header {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.2);
}

.modal-body {
    padding: 40px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-section {
    margin-bottom: 40px;
}

.modal-section h3 {
    color: var(--neon-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(0, 243, 255, 0.3);
    padding-bottom: 10px;
}

.modal-section h4 {
    color: #fff;
    margin: 20px 0 10px 0;
    font-size: 1.3rem;
}

.modal-section p, .modal-section ul {
    margin-bottom: 20px;
    color: #d0d0ff;
}

.modal-section ul {
    padding-left: 25px;
}

.modal-section li {
    margin-bottom: 10px;
}

.contact-highlight {
    background: rgba(0, 243, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--neon-blue);
    margin-bottom: 30px;
}

.highlight {
    background: rgba(255, 0, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-left: 5px solid var(--neon-pink);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--neon-blue);
        font-size: 1.8rem;
        cursor: pointer;
    }
    
    .mobile-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        display: none;
        flex-direction: column;
        gap: 20px;
        border-top: 1px solid rgba(0, 243, 255, 0.3);
        z-index: 999;
    }
    
    .mobile-nav.active {
        display: flex;
    }
    
    .mobile-nav a {
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        width: 100%;
        left: 0 !important;
        padding-left: 80px;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .process-number {
        left: 0 !important;
        transform: translateY(-50%) translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section {
        padding: 80px 5%;
    }
    
    .ai-section, .discord-section {
        padding: 40px 20px;
    }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
