:root {
    --bg-dark: #0a0a0f;
    --bg-darker: #050507;
    --primary-color: #6d28d9;
    --primary-light: color-mix(in srgb, var(--primary-color) 80%, white);
    --primary-dark: color-mix(in srgb, var(--primary-color) 80%, black);
    --primary-glow: rgba(109, 40, 217, 0.4);
    --secondary-color: #4c1d95;
    --text-color: #e5e7eb;
    --text-muted: #9ca3af;
    --accent-color: #10b981;
    --accent-light: color-mix(in srgb, var(--accent-color) 80%, white);
    --accent-dark: color-mix(in srgb, var(--accent-color) 80%, black);
    --accent-glow: rgba(16, 185, 129, 0.4);
    --light-bg: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Basis Gradient */
        radial-gradient(
            circle at 50% 50%,
            color-mix(in srgb, var(--bg-darker) 95%, var(--primary-color)) 0%,
            var(--bg-dark) 100%
        ),
        /* Weicher Overlay */
        radial-gradient(
            circle at 30% 30%,
            rgba(109, 40, 217, 0.08) 0%,
            transparent 60%
        ),
        /* Zusätzlicher Glow */
        radial-gradient(
            circle at 70% 70%,
            rgba(16, 185, 129, 0.08) 0%,
            transparent 60%
        );
    z-index: -2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cookie Banner Styles überarbeiten */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
}

.cookie-consent p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-button.accept {
    background: var(--primary-color);
    color: var(--text-color);
}

.cookie-button.accept:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.cookie-button.decline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.cookie-button.decline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: 1rem;
        width: calc(100% - 2rem);
        padding: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-button {
        width: 100%;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 15px var(--primary-glow));
    transform: scale(1.05);
}

.glow-text {
    position: relative;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.logo-glow {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--bg-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom,
        transparent,
        var(--bg-dark));
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Shape Anpassungen */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    background: 
        radial-gradient(
            circle at center,
            currentColor 0%,
            color-mix(in srgb, currentColor 70%, transparent) 50%,
            transparent 100%
        ),
        radial-gradient(
            circle at center,
            currentColor 0%,
            transparent 100%
        );
    mix-blend-mode: screen;
    will-change: transform;
    transition: transform 2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.shape-1 {
    width: 1200px;
    height: 1200px;
    color: var(--primary-color);
    left: -400px;
    top: -400px;
}

.shape-2 {
    width: 1000px;
    height: 1000px;
    color: var(--accent-color);
    right: -300px;
    bottom: -300px;
}

.shape-3 {
    width: 800px;
    height: 800px;
    color: var(--secondary-color);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Button Styles */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: rgba(109, 40, 217, 0.1);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    font-weight: 500;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    gap: 0.5rem;
    min-width: 250px;
    cursor: pointer;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px var(--primary-glow);
    border-color: transparent;
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button .button-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button .button-text::after {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.cta-button:hover .button-text::after {
    opacity: 1;
    transform: translateX(5px);
}

/* Primary Button */
.cta-button.primary {
    background: var(--primary-color);
}

.cta-button.primary::before {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}

/* Secondary Button */
.cta-button.secondary {
    background: transparent;
}

.cta-button.secondary::before {
    background: rgba(255, 255, 255, 0.05);
}

/* Button Group Styling */
.cta-group {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .cta-group {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .cta-button {
        width: 100%;
        min-width: unset;
        padding: 1rem 2rem;
    }

    .logo-img {
        height: 45px;
    }
}

/* Button Loading State */
.cta-button.loading {
    cursor: wait;
    opacity: 0.8;
}

.cta-button.loading .button-text {
    visibility: hidden;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-color);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Stats Section */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
    transition: color 0.3s ease;
    will-change: contents;
}

.stat-number:hover {
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--accent-glow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        height: 80px;
    }

    .navbar .container {
        height: 80px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        display: block;
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        transition-delay: calc(var(--item-index) * 0.1s);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 100;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-color);
        transition: all 0.3s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero Anpassungen für Mobile */
    .hero {
        padding-top: 100px; /* Mehr Abstand zur Navbar */
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .hero-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Shapes für Mobile optimieren */
    .shape {
        opacity: 0.3;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
    }

    .shape-3 {
        width: 200px;
        height: 200px;
    }

    .cta-group {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero h1 {
    animation: float 6s ease-in-out infinite;
}

.nav-toggle {
    display: block;
}

/* Scroll Animations */
.animate-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Verbesserte Section Übergänge */
.section {
    position: relative;
    padding: 120px 0;
    background: transparent;
    transform: none !important;
    transition: none !important;
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(
            ellipse at top,
            transparent 0%,
            var(--bg-dark) 70%
        ),
        radial-gradient(
            ellipse at bottom,
            var(--bg-dark) 30%,
            transparent 100%
        );
    opacity: 0.9;
    pointer-events: none;
}

/* Overlay für smoothere Übergänge */
.section-overlay {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom,
        transparent,
        var(--bg-dark));
    pointer-events: none;
    z-index: 1;
}

/* Container über Overlay */
.section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Services Section Überarbeitung */
.services-section {
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
}

.service-card {
    cursor: pointer;
    position: relative;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.03)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--accent-color)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    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.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

.service-card:hover .service-icon i {
    color: var(--accent-color);
    transform: scale(1.2) rotate(10deg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(109, 40, 217, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.5s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    transform: rotate(-5deg) scale(1.1);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

/* Interaktive About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: block;
}

.about-content {
    max-width: 100%;
    text-align: center;
}

.section-text {
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Tech Stack Items */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.tech-item {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 1;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    z-index: 2;
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.tech-item span {
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s ease;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    z-index: 2;
}

/* Hover Effekte für beide */
.tech-item:hover,
.pricing-card:hover {
    box-shadow: 0 10px 30px -10px var(--primary-glow);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.pricing-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.pricing-card:hover .pricing-header::after {
    width: 100px;
}

.price {
    margin: 2rem 0;
    position: relative;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
}

/* Interaktives Kontaktformular */
.contact-section {
    padding: 6rem 0;
    position: relative;
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Info Box */
.contact-info {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Formular Wrapper */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Formular Elemente */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Submit Button */
#submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#submit-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

#submit-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

#submit-btn:hover i {
    transform: translateX(4px);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 1.5rem;
    }

    #submit-btn {
        padding: 0.875rem 1.5rem;
    }
}

/* Thankyou Page Styles */
.thankyou-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.thankyou-content {
    max-width: 600px;
    margin: 0 auto;
}

.thankyou-content p {
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Kontaktformular Button spezifisch */
.contact-form .cta-button {
    position: relative;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    overflow: hidden;
}

.contact-form .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--accent-color)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-form .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px var(--primary-glow);
}

.contact-form .cta-button:hover::before {
    opacity: 1;
}

.contact-form .cta-button .button-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Button Loading State */
.contact-form .cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Entferne alle anderen Button-Styles die in Konflikt stehen könnten */
.contact-form .cta-button::after,
.contact-form .cta-button .button-text::after {
    display: none;
}

/* Basis Button Style */
button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-light);
}

/* Kontaktformular Submit Button */
.contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.contact-form button[type="submit"] i {
    transition: transform 0.3s ease;
}

.contact-form button[type="submit"]:hover i {
    transform: translateX(4px);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .contact-form button[type="submit"] {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
}

/* Entferne alle alten Button-Styles */
.contact-form .cta-button,
.contact-form button[type="submit"].cta-button,
.contact-form .button-text {
    all: unset;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

/* Anpassung für bessere Sichtbarkeit der Partikel */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
    z-index: 1;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.scroll-progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s ease;
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s ease;
}

.page-transition.active {
    transform: scaleY(1);
    transform-origin: top;
}

/* Custom Alert Styles */
.custom-alert {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-200%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    z-index: 10000;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.custom-alert.success {
    border-color: var(--accent-color);
}

.custom-alert.error {
    border-color: #ef4444;
}

.custom-alert.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.custom-alert i {
    font-size: 1.5rem;
}

.custom-alert.success i {
    color: var(--accent-color);
}

.custom-alert.error i {
    color: #ef4444;
}

/* Footer Styles */
.footer {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo {
    font-size: 1.8rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 1rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Rocket Animation Container */
.rocket-animation {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Screen Flash Effect */
.screen-flash {
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0;
    z-index: 3;
}

/* Stars Container */
.stars-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
}

/* Rocket und Text */
.rocket-container {
    position: relative;
    text-align: center;
    z-index: 2;
}

.rocket {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(50px);
    position: relative;
}

.rocket i {
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

/* Rocket Trail */
.rocket-trail {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 100px;
    background: linear-gradient(to bottom, 
        var(--primary-color) 0%,
        rgba(109, 40, 217, 0.6) 50%,
        transparent 100%
    );
    opacity: 0;
    z-index: -1;
}

.launch-text {
    margin-top: 2rem;
    color: var(--text-color);
    font-size: 1.2rem;
    opacity: 0;
}

/* Animation Keyframes */
@keyframes screenFlash {
    0% { opacity: 0; }
    10% { opacity: 0.3; }
    20% { opacity: 0; }
    30% { opacity: 0.2; }
    40% { opacity: 0; }
}

@keyframes starAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes starFly {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(var(--end-x, 100px), var(--end-y, -100px));
        opacity: 0;
    }
}

@keyframes rocketLaunch {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(1);
    }
    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    20% {
        transform: translateY(0) scale(1.1);
    }
    30% {
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-1000px) scale(0.5) rotate(-15deg);
    }
}

@keyframes rocketTrail {
    0% {
        opacity: 0;
        height: 0;
    }
    20% {
        opacity: 0.8;
        height: 100px;
    }
    100% {
        opacity: 0;
        height: 200px;
    }
}

/* Animation States */
.rocket-animation.active {
    opacity: 1;
    visibility: visible;
}

.rocket-animation.active .screen-flash {
    animation: screenFlash 1s ease-out;
}

.rocket-animation.active .rocket {
    animation: rocketLaunch 3s ease-in-out forwards;
}

.rocket-animation.active .rocket-trail {
    animation: rocketTrail 3s ease-in-out forwards;
}

.rocket-animation.active .launch-text {
    animation: textFade 3s ease-in-out forwards;
} 