/* CSS Reset & Variabelen */
:root {
    /* Kleurenpalet - Thematiek "GroenVolt" (Groene Energie) */
    --color-primary: #10b981;      /* Emerald Groen */
    --color-primary-dark: #059669; /* Donkerder Groen voor hover */
    --color-accent: #3b82f6;       /* Electric Blue voor technologie */
    --color-bg-light: #f8fafc;     /* Off-white */
    --color-bg-white: #ffffff;
    --color-text-dark: #1e293b;    /* Slate 800 */
    --color-text-muted: #64748b;   /* Slate 500 */
    --color-slate-900: #0f172a;    /* Donkere achtergronden */
    
    /* Afmetingen */
    --nav-height: 80px;
    
    /* Animaties & Schaduwen */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
    -webkit-text-decoration-skip: objects;
}

/* Forceer mobiele browsers (iOS Safari) om telefoon/adres links niet standaard blauw/onderstreept te maken */
a[href^="tel:"], 
a[href^="mailto:"], 
.footer-contact a, 
.footer-links a,
.info-item a {
    color: inherit !important;
    text-decoration: none !important;
}


ul {
    list-style: none;
}

/* TyPografie utilities */
.highlight {
    color: var(--color-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Knoppen (Buttons) */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-color: white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--color-text-dark);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-primary-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Filter Buttons */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    color: var(--color-text-muted);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6), 0 0 40px rgba(16, 185, 129, 0.3);
    animation: activeLedPulse 2s infinite alternate;
    transform: translateY(-2px);
}

@keyframes activeLedPulse {
    0% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.5), 0 0 30px rgba(16, 185, 129, 0.2); }
    100% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), 0 0 50px rgba(16, 185, 129, 0.4); }
}

@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Navigatie Menu */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: transparent;
    z-index: 1000;
    transition: all var(--transition-smooth);
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

nav.scrolled .logo {
    color: var(--color-text-dark);
}

.logo i {
    color: var(--color-primary);
    font-size: 2.2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    color: white;
}

nav.scrolled .nav-links li a {
    color: var(--color-text-dark);
}

.nav-links li a:not(.btn-primary-outline):hover {
    color: var(--color-primary);
}

/* Hero Sectie */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden; /* Belangrijk voor Ken Burns */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_home.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenBurns 30s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15) translate(2%, 1%); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

/* Particle Effect */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(2px);
    animation: floatParticle var(--duration) infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { transform: translateY(var(--y)) translateX(var(--x)); opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    color: white;
    perspective: 1000px;
}

/* Groene "Energie" gloed achter de header tekst */
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    max-width: 120vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0.1) 40%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    animation: gentlePulse 8s infinite alternate ease-in-out;
}

@keyframes gentlePulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.9; }
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 2.5rem; /* Meer ruimte onder de titel */
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 4rem; /* Meer ruimte boven de knoppen */
    opacity: 0.95;
    max-width: 800px; /* Iets breder voor minder benauwd gevoel */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: textNudge 1.5s ease-in-out 4s;
    transform-origin: center;
}

@keyframes textNudge {
    0%, 100% { transform: translateY(0) scale(1); }
    15% { transform: translateY(-5px) scale(1.01); color: #fff; text-shadow: 0 0 10px rgba(16, 185, 129, 0.3); }
    30% { transform: translateY(2px) scale(1); }
    45% { transform: translateY(-2px) scale(1.005); }
    60% { transform: translateY(0) scale(1); }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* Kenmerken Sectie (Features) */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px; /* Terug naar 1200px */
    margin: -100px auto 5rem auto;
    position: relative;
    z-index: 10;
    gap: 2rem;
    padding: 0 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 1.75rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg); /* Terug naar normale, rustige schaduw */
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem; /* Marges terug voor de tekst */
}

.feature-card h3 {
    font-size: 1.2rem; /* Subtielere kop */
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem; /* Iets kleinere tekst */
}

/* Producten/Diensten Sectie */
.products {
    padding: 2rem 2rem 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}


.product-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--color-bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    height: 450px;
    border: 3px solid transparent; /* De LED strip staat uit */
    cursor: pointer;
}

.product-item:hover {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), 
                0 0 40px rgba(16, 185, 129, 0.2);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-primary); /* De LED strip gaat aan */
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%; /* Iets hoger voor meer contrast */
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.6), transparent);
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Icon Item Specific Styles */
.icon-item {
    background: #0f172a; /* Donkere Slate */
}

.product-icon {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
}

.product-icon i {
    font-size: 8rem;
    color: var(--color-primary);
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.5));
    transition: transform 0.4s ease;
}

.product-item:hover .product-icon i {
    transform: scale(1.15) rotate(5deg);
}

.overlay-text {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2;
    color: white;
}

.overlay-text h3 {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.overlay-text p {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: #ffffff;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Service Area (Werkgebied) */
.service-area {
    padding: 6rem 2rem;
    background-color: #020617; 
    color: white;
    text-align: center;
}

.area-container {
    max-width: 1000px;
    margin: 0 auto;
}

.area-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.area-content p {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.city-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.city-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 500;
    transition: transform 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.city-list li:hover {
    transform: translateY(-5px);
    color: var(--color-primary);
}

.city-list li i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .city-list {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Call To Action */
.cta-section {
    background: linear-gradient(135deg, var(--color-slate-900) 0%, #1e293b 100%);
    padding: 8rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #cbd5e1;
}

/* Footer / Contact */
.footer {
    background-color: #020617;
    color: white;
    padding-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding: 0 2rem 5rem 2rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 400px;
}

.socials {
    display: flex;
    gap: 1.25rem;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(16, 185, 129, 0.3);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 1rem;
    color: #94a3b8;
}

.footer-links ul li a:hover {
    color: var(--color-primary);
    padding-left: 8px;
}

.footer-contact ul li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-contact ul li i {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #64748b;
    font-size: 1rem;
}

/* Responsiviteit */
.hamburger {
    display: none;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
}

nav.scrolled .hamburger {
    color: var(--color-text-dark);
}

@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr); /* Twee kolommen op tablet */
        margin-top: -80px;
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed; /* Beter dan absolute voor mobiel menu */
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        padding: 3rem 0;
        box-shadow: var(--shadow-lg);
        clip-path: circle(0% at 90% 0%); /* Moderne cirkel animatie */
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 90% 0%);
        pointer-events: all;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li a {
        color: var(--color-text-dark);
        font-size: 1.8rem;
        font-weight: 700;
    }
    
    .hero {
        padding-top: 120px;
        height: auto;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 1.5rem;
        margin-bottom: 3rem;
    }

    .features {
        grid-template-columns: 1fr;
        margin-top: 3rem;
        padding: 0 1.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }

    .hero-buttons .btn-primary, 
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .overlay-text {
        left: 20px;
        right: 20px;
        bottom: 25px;
        text-align: left; /* Alles strak naar links voor betere leesbaarheid op mobiel */
    }

    .overlay-text h3 {
        font-size: 1.6rem;
    }

    .overlay-text p {
        font-size: 0.95rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 4rem 1.5rem;
        text-align: left;
    }

    .footer-brand, .footer-links, .footer-contact, .footer-regions {
        width: 100%;
    }

    .footer-contact ul li {
        word-break: break-all; /* Voorkom dat lange e-mailadressen buiten beeld vallen */
    }
}

/* Extra optimalisatie voor hele kleine schermen */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* Filter Button Bounce Animation on Scroll */
.filter-container.fade-in-visible .filter-btn:not(.active) {
    animation: btnBounceGlow 1.8s ease-in-out;
    animation-delay: 0.6s; /* Wacht tot de sectie erin is gefade */
}

@keyframes btnBounceGlow {
    0% {
        transform: translateY(0);
        box-shadow: none;
        border-color: #e2e8f0;
    }
    30% {
        transform: translateY(-8px);
        color: var(--color-primary);
        border-color: var(--color-primary);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
    }
    50% {
        transform: translateY(3px);
        color: var(--color-primary);
        border-color: var(--color-primary);
    }
    70% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
        color: var(--color-slate-600); /* Terug naar normale, rustige kleur */
        border-color: #e2e8f0;
        box-shadow: none;
    }
}

/* =========================================================
   GLOBAL MOBILE OVERRIDES (SAFE-CATCH PADDINGS & GRIDS)
========================================================= */

@media (max-width: 1024px) {
    /* Tablet: Force 4-column inline grids to 2-column, 2-column to 1-column */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
    }
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
    }
    .benefit-image {
        order: -1 !important; /* Forces images to the top of the stacked layout */
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile: Force ALL inline grids to 1-column */
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Global Section Overrides for extreme spacing */
    .benefit-section, .process-section {
        padding: 5rem 1.5rem !important; /* Prevents 10rem gaps on phones */
    }

    .service-detail-hero {
        min-height: 400px !important;
        padding-top: 100px !important;
    }

    .step-item {
        padding: 2.5rem 1.5rem !important;
    }
    
    .section-title {
        margin-bottom: 3rem !important;
    }
}


/* New Stacked Categories UI */
.service-category-wrap { margin-bottom: 5rem; overflow: hidden; padding: 0 1rem; max-width: 1300px; margin-left: auto; margin-right: auto; }
.category-heading { font-size: clamp(1.5rem, 6vw, 2.2rem); word-wrap: break-word; color: var(--color-slate-900); border-left: 5px solid var(--color-primary); padding-left: 1rem; margin-bottom: 0.5rem; opacity: 0; transform: translateX(-30px); transition: all 0.6s ease-out; }
.category-subheading { font-size: clamp(0.95rem, 4vw, 1.1rem); color: var(--color-text-muted); padding-left: 1.3rem; margin-bottom: 2rem; opacity: 0; transform: translateX(-30px); transition: all 0.6s ease-out 0.2s; }
.category-heading.is-visible, .category-subheading.is-visible { opacity: 1; transform: translateX(0); }
.slide-grid { opacity: 0; transform: translateX(-100px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.slide-grid.is-visible { opacity: 1; transform: translateX(0); }


/* LED Animation Box */
.led-box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: #0f172a;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    min-height: 250px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.led-box::before {
    content: 'CIRCUIT ACTIVE';
    position: absolute;
    top: 15px;
    left: 20px;
    color: #334155;
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 800;
}

.led-bar {
    width: 6px;
    height: 60%;
    background: #1e293b;
    border-radius: 10px;
    position: relative;
}

.led-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary);
    opacity: 0;
    animation: led-glow 4s infinite ease-in-out;
}

.led-bar:nth-child(1)::after { animation-delay: 0.0s; }
.led-bar:nth-child(2)::after { animation-delay: 0.2s; }
.led-bar:nth-child(3)::after { animation-delay: 0.4s; }
.led-bar:nth-child(4)::after { animation-delay: 0.6s; }
.led-bar:nth-child(5)::after { animation-delay: 0.8s; }
.led-bar:nth-child(6)::after { animation-delay: 1.0s; }
.led-bar:nth-child(7)::after { animation-delay: 1.2s; }
.led-bar:nth-child(8)::after { animation-delay: 1.4s; }
.led-bar:nth-child(9)::after { animation-delay: 1.6s; }

@keyframes led-glow {
    0%, 15% { opacity: 0; height: 0%; }
    25%, 85% { opacity: 1; height: 100%; }
    95%, 100% { opacity: 0; height: 0%; }
}

@media (max-width: 900px) {
    .led-box {
        display: none !important; /* Hide on mobile to save space */
    }
}

/* Mobile Call Button under Specialismen */
.mobile-call-btn {
    display: none;
    margin-top: 1.5rem;
    font-weight: 600;
}
.mobile-call-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .mobile-call-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
