/**
 * Design Style: Tech Premium
 * Dark Mode, futuristisch, High-Tech Ästhetik
 */

:root {
    /* Colors Override - Dark Theme */
    --neon-cyan: #00D9FF;
    --neon-purple: #A855F7;
    --neon-pink: #EC4899;
    --electric-green: #10B981;
    --deep-black: #0A0A0F;
    --darker-black: #050507;
    --surface: #1A1A24;
    --surface-light: #25253A;
    --text-primary: #F8F8F8;
    --text-secondary: #9CA3AF;
    
    /* Override base colors for compatibility */
    --electric-blue: #00D9FF;
    --vivid-orange: #EC4899;
    --deep-purple: #A855F7;
    --neutral-50: #1A1A24;
    --neutral-100: #25253A;
    --neutral-900: #F8F8F8;
    --neutral-800: #9CA3AF;
    
    /* Typography Override */
    --font-primary: 'Space Grotesk', -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', var(--font-primary);

    /* Nav height: floating bar (top 1.5rem + bar height) */
    --nav-height: 100px;
}

/* Dark Background */
body {
    background: var(--deep-black);
    color: var(--text-primary);
}

body * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grid Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Glow Effects */
body::after {
    content: '';
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: var(--neon-cyan);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 100px) scale(1.1); }
}

/* Navigation - Floating */
.schuebeler-nav {
    background: rgba(26, 26, 36, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 60px;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 92%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 0;
}

.schuebeler-nav-container {
    padding: 0.875rem 2rem;
    gap: 2.5rem;
}

/* Navigation Menu - Dark Mode Spacing */
.schuebeler-nav-menu {
    gap: 2rem;
    margin-right: 1.5rem;
}

/* CTA Button - Better Spacing */
.schuebeler-nav-cta {
    margin-left: auto;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

/* Cards with dark theme */
.schuebeler-card {
    background: rgba(37, 37, 58, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    position: relative;
    backdrop-filter: blur(20px);
}

.schuebeler-card::before {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
}

.schuebeler-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background: rgba(37, 37, 58, 0.8);
    border-color: rgba(0, 217, 255, 0.4);
}

/* Buttons */
.schuebeler-btn-primary,
.schuebeler-nav-cta {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--deep-black) !important;
    font-weight: 700;
}

.schuebeler-btn-primary:hover,
.schuebeler-nav-cta:hover {
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.6);
    opacity: 1 !important;
}

.schuebeler-btn-secondary {
    background: transparent;
    color: #FFFFFF !important;
    border: 2px solid var(--neon-cyan);
    font-weight: 600;
}

.schuebeler-btn-secondary:hover {
    background: rgba(0, 217, 255, 0.15);
    border-color: var(--neon-cyan);
    color: #FFFFFF !important;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

/* Text colors - Enhanced Contrast */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

p {
    color: rgba(255, 255, 255, 0.9);
}

li, span {
    color: rgba(255, 255, 255, 0.85);
}

.schuebeler-hero-tagline {
    color: rgba(255, 255, 255, 0.9) !important;
}

.schuebeler-card p,
.schuebeler-card li {
    color: rgba(255, 255, 255, 0.9);
}

.schuebeler-card h3,
.schuebeler-card h4 {
    color: var(--text-primary);
}

/* Blog preview: Auszug und Meta auf dunklen Karten lesbar */
.schuebeler-card .schuebeler-blog-card-date {
    color: var(--neon-cyan);
}
.schuebeler-card .schuebeler-blog-card-excerpt {
    color: rgba(255, 255, 255, 0.9);
}
.schuebeler-card .schuebeler-blog-card-link {
    color: var(--neon-cyan);
}
.schuebeler-card .schuebeler-blog-card-link:hover {
    color: var(--neon-cyan);
    opacity: 0.9;
}

.schuebeler-logo {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo text fallback */
.schuebeler-logo a {
    color: #FFFFFF;
}

/* Navigation Menu - Better Contrast */
.schuebeler-nav-menu a {
    color: #FFFFFF !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.schuebeler-nav-menu a::after {
    background: var(--neon-cyan);
}

.schuebeler-nav-menu a:hover {
    color: var(--neon-cyan) !important;
    opacity: 1 !important;
}

.schuebeler-nav-menu .current-menu-item > a,
.schuebeler-nav-menu .current_page_item > a {
    color: var(--neon-cyan) !important;
}

.schuebeler-nav-cta {
    font-weight: 700;
    color: var(--deep-black) !important;
}

/* Hero Badge */
.schuebeler-hero-badge {
    background: rgba(0, 217, 255, 0.15);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Hero Title Enhanced */
.schuebeler-hero h1,
.schuebeler-hero-title {
    color: #FFFFFF !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Produktvorstellung - Dark Theme */
.schuebeler-product-hero-title {
    color: var(--text-primary) !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.schuebeler-product-hero-tagline {
    color: rgba(255, 255, 255, 0.9) !important;
}

.schuebeler-product-cta-bottom {
    border-top-color: rgba(0, 217, 255, 0.2);
}

/* Section backgrounds */
.schuebeler-section-alt {
    background: rgba(26, 26, 36, 0.5);
}

/* Better visibility for all text elements */
.schuebeler-section-label {
    color: var(--neon-cyan) !important;
}

.schuebeler-section h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.schuebeler-section h3 {
    color: var(--text-primary);
}

/* Trust Bar */
.schuebeler-trust-number {
    color: var(--neon-cyan) !important;
}

.schuebeler-trust-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Footer */
.schuebeler-footer {
    background: var(--darker-black);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.schuebeler-footer-logo-wrapper .custom-logo,
.schuebeler-footer-logo-wrapper .custom-logo-link img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

.schuebeler-footer-logo-text {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schuebeler-footer-menu-title {
    color: var(--neon-cyan);
}

.schuebeler-footer-tagline {
    color: rgba(248, 248, 248, 0.85) !important;
}

.schuebeler-footer-nav a {
    color: rgba(248, 248, 248, 0.85) !important;
}

.schuebeler-footer-nav a:hover {
    color: var(--neon-cyan) !important;
    opacity: 1 !important;
}

.schuebeler-footer-bottom p {
    color: rgba(248, 248, 248, 0.7) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--deep-black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 5px;
}

/* Logo in Dark Mode - Header */
.schuebeler-logo img,
.schuebeler-logo .custom-logo,
.schuebeler-logo .custom-logo-link img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

/* Mobile Menu for Dark Mode */
@media (max-width: 768px) {
    .schuebeler-nav-menu {
        background: rgba(26, 26, 36, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    }
    
    .schuebeler-nav-menu li {
        border-bottom-color: rgba(0, 217, 255, 0.1);
    }
    
    .schuebeler-nav-menu a {
        color: #FFFFFF !important;
        font-weight: 600;
        text-shadow: none;
    }
    
    .schuebeler-nav-menu a:hover {
        color: var(--neon-cyan) !important;
        background: rgba(0, 217, 255, 0.1);
    }
    
    .schuebeler-nav-menu a::after {
        display: none;
    }
    
    .schuebeler-menu-toggle span {
        background: var(--text-primary);
    }
    
    .schuebeler-nav {
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
}

/* ============================================
   Tech Premium - Premium Effects (Dark Mode)
   ============================================ */

/* Social Media Links - Neon Glow Style */
.schuebeler-social-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.schuebeler-social-link:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.5), 0 0 50px rgba(0, 217, 255, 0.2);
}

.schuebeler-social-link:hover::before {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
}

.schuebeler-social-link svg {
    color: var(--text-primary);
}

/* Card Effects - Neon Glow */
.schuebeler-card::before {
    background: linear-gradient(
        90deg,
        var(--neon-cyan),
        var(--neon-purple),
        var(--neon-pink),
        var(--neon-cyan)
    ) !important;
}

.schuebeler-card:hover::before {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

/* Override shine effect for dark mode */
.schuebeler-card::after {
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(0, 217, 255, 0.08) 50%,
        transparent 60%
    );
}

/* Trust Bar - Neon Cyan Numbers */
.schuebeler-trust-value {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Hero Floating Shapes - Neon Colors */
.schuebeler-hero::before {
    background: var(--neon-cyan) !important;
    opacity: 0.1;
}

.schuebeler-hero::after {
    background: var(--neon-purple) !important;
    opacity: 0.1;
}

.schuebeler-hero-content::before {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink)) !important;
    opacity: 0.08;
}

/* Button Glow - Neon Style */
.schuebeler-btn-primary::after {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    filter: blur(15px);
}

.schuebeler-btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

/* CTA Section - Dark Gradient */
.schuebeler-cta-section {
    background: linear-gradient(135deg, var(--surface), var(--surface-light));
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.schuebeler-cta-section::before {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, transparent 60%);
}

.schuebeler-cta-section .schuebeler-btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--deep-black) !important;
}

/* Scroll Progress - Neon */
.schuebeler-scroll-progress-bar {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Stars - Neon Glow */
.schuebeler-stars .star.filled {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Testimonial Quote - Dark Mode */
.schuebeler-testimonial-card::before {
    color: var(--neon-cyan);
    opacity: 0.15;
}

/* Contact Info - Dark Mode */
.schuebeler-contact-icon svg {
    color: var(--neon-cyan);
}

.schuebeler-contact-item a:hover {
    color: var(--neon-cyan) !important;
}

/* Legal Links - Dark Mode */
.schuebeler-legal-link {
    color: rgba(248, 248, 248, 0.7) !important;
}

.schuebeler-legal-link:hover {
    color: var(--neon-cyan) !important;
}

/* Back to Top - Neon Style */
.schuebeler-back-to-top {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--deep-black);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.schuebeler-back-to-top:hover {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

/* Section reveal with glow */
.schuebeler-section.is-visible {
    animation: sectionGlow 0.8s ease forwards;
}

@keyframes sectionGlow {
    0% { box-shadow: none; }
    50% { box-shadow: inset 0 0 50px rgba(0, 217, 255, 0.05); }
    100% { box-shadow: none; }
}
