/* ==========================================
   AK Elektriciteit — Genk & Limburg (BE)
   ========================================== */

:root {
    /* Iets lichtere blauw-grijze tint t.o.v. de demo (+ navy-rgb voor navbar) */
    --navy: #12253d;
    --navy-light: #1a3360;
    --navy-medium: #214a7d;
    --navy-rgb: 18, 37, 61;
    --blue: #38bdf8;
    --blue-light: #7dd3fc;
    --yellow: #f59e0b;
    --yellow-light: #fbbf24;
    --yellow-dark: #d97706;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --green: #22c55e;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn i {
    font-size: 0.9em;
}

.btn-primary {
    background: var(--yellow);
    color: var(--navy);
    border-color: var(--yellow);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--yellow-dark);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.section-label-light {
    color: var(--yellow-light);
}

.section-label-light::before {
    background: var(--yellow-light);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-label::before {
    display: none;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* Section eyebrow with 01..07 number */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.section-eyebrow .section-label {
    margin-bottom: 0;
}

.section-eyebrow .section-label::before {
    display: none;
}

.section-num {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: 2px;
    position: relative;
    padding-right: 14px;
}

.section-num::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(245, 158, 11, 0.45);
}

.section-num-light {
    color: var(--yellow-light);
}

.section-num-light::after {
    background: rgba(251, 191, 36, 0.5);
}

/* Title with thin yellow vertical bar — used in About */
.section-title-bar {
    position: relative;
    padding-left: 18px;
}

.section-title-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 8px;
    width: 3px;
    background: linear-gradient(to bottom, var(--yellow), rgba(245, 158, 11, 0));
    border-radius: 2px;
}

/* ==========================================
   NAVBAR
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(var(--navy-rgb), 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 98px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    height: 62px;
    width: auto;
    max-width: min(250px, 46vw);
    object-fit: contain;
}

.navbar .logo-img {
    height: 98px;
    max-width: min(380px, 64vw);
}

.footer-brand .logo-img {
    height: 92px;
    max-width: 300px;
}

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

.nav-links a {
    position: relative;
    padding: 8px 14px;
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -2px;
    height: 2px;
    background: var(--yellow);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: transparent;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--yellow-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--yellow);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-phone:hover {
    color: var(--yellow-light);
}

.nav-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    position: relative;
    flex-shrink: 0;
}

.nav-live-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid rgba(34, 197, 94, 0.5);
    animation: pulseRing 2.2s ease-out infinite;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
}

/* ==========================================
   HERO — Live Wire
   ========================================== */

.hero {
    position: relative;
    padding: 150px 0 120px;
    background:
        radial-gradient(ellipse 90% 70% at 90% 0%, rgba(125, 211, 252, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-medium) 100%);
    background-color: var(--navy);
    overflow: hidden;
    isolation: isolate;
}

/* Faint dot grid for depth */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(245, 158, 11, 0.10) 1px, transparent 1.5px);
    background-size: 28px 28px;
    background-position: 0 0;
    opacity: 0.55;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 25%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Full-bleed animated circuit traces */
.hero-circuit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-circuit path {
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 6 14;
    animation: currentFlow 14s linear infinite;
}

.hero-circuit path:nth-child(1) {
    stroke: rgba(245, 158, 11, 0.25);
    stroke-width: 1.2;
}

.hero-circuit path:nth-child(2) {
    stroke: rgba(125, 211, 252, 0.22);
    stroke-width: 1;
    animation-duration: 18s;
    animation-direction: reverse;
}

.hero-circuit path:nth-child(3) {
    stroke: rgba(251, 191, 36, 0.18);
    stroke-width: 1;
    animation-duration: 12s;
    animation-delay: -3s;
}

@keyframes currentFlow {
    to {
        stroke-dashoffset: -200;
    }
}

/* Floating glowing nodes */
.hero-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow:
        0 0 10px rgba(245, 158, 11, 0.95),
        0 0 26px rgba(245, 158, 11, 0.55);
    animation: nodePulse 3.4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-node:nth-child(2) { top: 12%; left: 8%; animation-delay: 0s; }
.hero-node:nth-child(3) { top: 72%; left: 11%; animation-delay: 0.6s; background: var(--blue); box-shadow: 0 0 10px rgba(56,189,248,0.9), 0 0 26px rgba(56,189,248,0.45); }
.hero-node:nth-child(4) { top: 26%; right: 4%; animation-delay: 1.2s; }
.hero-node:nth-child(5) { top: 82%; right: 16%; animation-delay: 1.8s; background: var(--blue); box-shadow: 0 0 10px rgba(56,189,248,0.9), 0 0 26px rgba(56,189,248,0.45); width: 6px; height: 6px; }
.hero-node:nth-child(6) { top: 48%; left: 46%; animation-delay: 2.4s; width: 6px; height: 6px; }
.hero-node:nth-child(7) { top: 38%; left: 30%; animation-delay: 0.9s; width: 5px; height: 5px; }

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Eyebrow micro-mark */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    color: var(--yellow-light);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.eyebrow-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--yellow);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.85);
    flex-shrink: 0;
}

/* Editorial H1 */
.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 28px;
}

.hero-title .hl {
    position: relative;
    font-style: normal;
    color: var(--yellow-light);
    display: inline-block;
    font-weight: 800;
}

.hero-title .hl::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, var(--yellow) 14%, var(--yellow-light) 50%, var(--yellow) 86%, transparent 100%);
    filter: blur(0.5px);
    transform-origin: left;
    transform: scaleX(0);
    animation: drawIn 1.4s 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title .outline {
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--yellow);
}

@keyframes drawIn {
    to {
        transform: scaleX(1);
    }
}

.hero-lead {
    font-size: 1.13rem;
    color: var(--gray-300);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 560px;
}

/* CTA pair */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta .btn-glow {
    position: relative;
    box-shadow: 0 14px 36px rgba(245, 158, 11, 0.42);
}

.hero-cta .btn-glow:hover {
    box-shadow: 0 18px 48px rgba(245, 158, 11, 0.55);
}

.hero-cta .btn-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--yellow);
    pointer-events: none;
    animation: pulseRing 2.6s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.94); opacity: 0.8; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.2); opacity: 0; }
}

.btn-call {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.btn-call:hover {
    border-color: var(--yellow);
    background: rgba(245, 158, 11, 0.08);
    color: var(--white);
    transform: translateY(-2px);
}

.live-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9px;
    height: 9px;
    background: var(--green);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    flex-shrink: 0;
}

.live-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.55);
    animation: pulseRing 2s ease-out infinite;
}

/* Spec strip — mono-ish uppercase divider line */
.hero-spec {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-spec-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 4px 22px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.hero-spec-item:first-child { padding-left: 0; }
.hero-spec-item:last-child { border-right: none; padding-right: 0; }

.hero-spec-item b {
    color: var(--yellow-light);
    font-weight: 800;
    letter-spacing: 2.5px;
}

/* ==========================================
   HERO VISUAL — schema + photo-slot + cards
   ========================================== */

.hero-visual {
    position: relative;
    min-height: 600px;
}

.photo-slot {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 72%;
    max-width: 340px;
    margin-left: auto;
    margin-top: 40px;
    border: 1.5px dashed rgba(245, 158, 11, 0.5);
    border-radius: var(--radius-xl);
    background:
        repeating-linear-gradient(
            135deg,
            rgba(245, 158, 11, 0.025) 0,
            rgba(245, 158, 11, 0.025) 12px,
            transparent 12px,
            transparent 24px
        ),
        rgba(18, 37, 61, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.photo-slot::before {
    content: 'JOUW FOTO KOMT HIER';
    position: absolute;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(245, 158, 11, 0.5);
    text-align: center;
    padding: 0 16px;
}

.photo-slot:has(img)::before {
    display: none;
}

.photo-slot:has(img) {
    aspect-ratio: 4 / 3;
    border: none;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(245, 158, 11, 0.15);
}

.photo-slot:has(img)::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        165deg,
        transparent 45%,
        rgba(18, 37, 61, 0.35) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 32% center;
}

.hero-schema {
    position: absolute;
    top: 0;
    left: -30px;
    width: 62%;
    max-width: 360px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.22));
    opacity: 0.95;
}

.hero-schema [data-draw] {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.2s ease;
}

.hero-schema.drawn [data-draw] {
    stroke-dashoffset: 0;
}

.hero-schema .flow-dot {
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.95))
            drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));
}

/* Glass info cards floating on the visual */
.hero-card {
    position: absolute;
    background: rgba(18, 37, 61, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.hero-card-live {
    top: 24px;
    right: -6px;
}

.hero-card-arei {
    bottom: 30px;
    left: -10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 14px 20px;
}

.hero-card-arei strong {
    color: var(--yellow);
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    line-height: 1;
}

.hero-card-arei span {
    font-size: 0.68rem;
    color: var(--gray-300);
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

/* ==========================================
   SERVICE TICKER
   ========================================== */

.service-ticker {
    background: var(--navy-light);
    border-top: 1px solid rgba(245, 158, 11, 0.18);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    overflow: hidden;
    position: relative;
}

.service-ticker::before,
.service-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.service-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--navy-light), transparent);
}

.service-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--navy-light), transparent);
}

.ticker-track {
    display: flex;
    gap: 38px;
    align-items: center;
    padding: 18px 0;
    width: max-content;
    animation: tickerScroll 35s linear infinite;
}

.ticker-track span {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker-track i {
    color: var(--yellow);
    font-size: 0.85rem;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.55));
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   ABOUT
   ========================================== */

.about {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--navy);
    color: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius);
    border: 2px dotted var(--yellow);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-lg);
}

.about-experience i {
    color: var(--yellow);
    font-size: 1.3rem;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--gray-700);
}

.about-feature i {
    color: var(--green);
    font-size: 1.1rem;
}

/* ==========================================
   DIENSTEN
   ========================================== */

.diensten {
    background: var(--white);
}

.diensten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dienst-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dienst-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: 2;
}

/* Subtle yellow corner accents (circuit signature) */
.dienst-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    pointer-events: none;
    border-radius: 8px;
    background:
        linear-gradient(to right, rgba(245, 158, 11, 0.35), transparent 14px) top left / 14px 1px no-repeat,
        linear-gradient(to bottom, rgba(245, 158, 11, 0.35), transparent 14px) top left / 1px 14px no-repeat,
        linear-gradient(to left, rgba(245, 158, 11, 0.35), transparent 14px) top right / 14px 1px no-repeat,
        linear-gradient(to bottom, rgba(245, 158, 11, 0.35), transparent 14px) top right / 1px 14px no-repeat,
        linear-gradient(to right, rgba(245, 158, 11, 0.35), transparent 14px) bottom left / 14px 1px no-repeat,
        linear-gradient(to top, rgba(245, 158, 11, 0.35), transparent 14px) bottom left / 1px 14px no-repeat,
        linear-gradient(to left, rgba(245, 158, 11, 0.35), transparent 14px) bottom right / 14px 1px no-repeat,
        linear-gradient(to top, rgba(245, 158, 11, 0.35), transparent 14px) bottom right / 1px 14px no-repeat;
    opacity: 0.35;
    transition: opacity 0.35s ease;
}

.dienst-card:hover {
    border-color: var(--yellow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.dienst-card:hover::after {
    opacity: 1;
}

.card-num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(245, 158, 11, 0.55);
    z-index: 1;
}

.dienst-card-accent .card-num {
    color: rgba(251, 191, 36, 0.75);
}

.dienst-icon {
    width: 56px;
    height: 56px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.dienst-icon i {
    font-size: 1.4rem;
    color: var(--yellow-dark);
}

.dienst-card:hover .dienst-icon {
    background: var(--yellow);
}

.dienst-card:hover .dienst-icon i {
    color: var(--navy);
}

.dienst-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.dienst-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dienst-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--yellow-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dienst-link:hover {
    gap: 10px;
    color: var(--navy);
}

.dienst-card-accent {
    background: var(--navy);
    border-color: var(--navy);
}

.dienst-card-accent h3 {
    color: var(--white);
}

.dienst-card-accent p {
    color: var(--gray-400);
}

.dienst-card-accent .dienst-icon {
    background: rgba(245, 158, 11, 0.2);
}

.dienst-card-accent .dienst-link {
    color: var(--yellow-light);
}

.dienst-card-accent:hover {
    border-color: var(--yellow);
}

/* ==========================================
   WAAROM ONS
   ========================================== */

.waarom {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
    position: relative;
    overflow: hidden;
}

.waarom::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.waarom-wrapper {
    position: relative;
    z-index: 1;
}

.waarom-text {
    color: var(--gray-400);
    font-size: 1.05rem;
    margin-bottom: 48px;
    max-width: 600px;
}

.waarom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.waarom-item {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 28px 24px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: var(--transition);
}

.waarom-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.25), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.waarom-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.waarom-item:hover::before {
    opacity: 1;
}

.waarom-num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(245, 158, 11, 0.55);
}

.waarom-icon {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waarom-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(245, 158, 11, 0.35);
    pointer-events: none;
}

.waarom-icon i {
    color: var(--yellow);
    font-size: 1.1rem;
}

.waarom-item h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.waarom-item p {
    color: var(--gray-400);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ==========================================
   CTA BANNER
   ========================================== */

.cta-banner {
    padding: 80px 0;
    background: var(--yellow);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='120' height='80' viewBox='0 0 120 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.08' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M0 20 L30 20 L40 30 L70 30 L80 20 L120 20'/%3E%3Cpath d='M0 60 L25 60 L35 50 L65 50 L75 60 L120 60'/%3E%3Ccircle cx='30' cy='20' r='2' fill='%23000000' fill-opacity='0.1'/%3E%3Ccircle cx='80' cy='20' r='2' fill='%23000000' fill-opacity='0.1'/%3E%3Ccircle cx='35' cy='50' r='2' fill='%23000000' fill-opacity='0.1'/%3E%3Ccircle cx='75' cy='60' r='2' fill='%23000000' fill-opacity='0.1'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--navy);
    opacity: 0.75;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-banner .btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.cta-banner .btn-primary:hover {
    background: var(--navy-light);
    box-shadow: 0 8px 25px rgba(var(--navy-rgb), 0.35);
}

.cta-banner .btn-outline-light {
    color: var(--navy);
    border-color: var(--navy);
}

.cta-banner .btn-outline-light:hover {
    background: var(--navy);
    color: var(--white);
}

/* ==========================================
   PROJECTEN
   ========================================== */

.projecten {
    background: var(--gray-50);
}

.projecten-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -16px rgba(245, 158, 11, 0.35), var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 0 rgba(245, 158, 11, 0);
    transition: box-shadow 0.4s ease;
    pointer-events: none;
}

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

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-card:hover .project-image::after {
    box-shadow: inset 0 0 0 2px rgba(245, 158, 11, 0.65),
                inset 0 0 30px rgba(245, 158, 11, 0.25);
}

.project-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
}

.project-tag {
    background: rgba(245, 158, 11, 0.85);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

/* ==========================================
   WERKGEBIED
   ========================================== */

.werkgebied {
    background: var(--white);
}

.werkgebied-list {
    max-width: 640px;
    margin: 0 auto;
}

.reviews .section-subtitle.reviews-intro {
    margin-top: 12px;
}

/* ==========================================
   REVIEWS CAROUSEL
   ========================================== */

.reviews {
    background: var(--white);
    overflow: hidden;
}

.reviews-werkspot-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    margin-left: 50%;
    transform: translateX(-95px);
}

.reviews-werkspot-heading .werkspot-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.reviews-werkspot-heading .werkspot-reviews-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
}

.reviews-lees-meer-wrap {
    text-align: center;
    margin: 0.5rem 0 0;
}

.reviews-lees-meer {
    color: var(--yellow);
    font-weight: 600;
    text-decoration: none;
}

.reviews-lees-meer:hover {
    color: var(--yellow-dark);
    text-decoration: underline;
}

.reviews-carousel {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    padding: 10px 0 20px;
}

.reviews-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: reviewsScroll 60s linear infinite;
}

@keyframes reviewsScroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.review-card {
    flex-shrink: 0;
    width: 380px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 4rem;
    color: rgba(245, 158, 11, 0.28);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
}

.review-card::after {
    content: '';
    position: absolute;
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(245, 158, 11, 0.4), transparent 10px) top left / 10px 1px no-repeat,
        linear-gradient(to bottom, rgba(245, 158, 11, 0.4), transparent 10px) top left / 1px 10px no-repeat,
        linear-gradient(to left, rgba(245, 158, 11, 0.4), transparent 10px) top right / 10px 1px no-repeat,
        linear-gradient(to bottom, rgba(245, 158, 11, 0.4), transparent 10px) top right / 1px 10px no-repeat,
        linear-gradient(to right, rgba(245, 158, 11, 0.4), transparent 10px) bottom left / 10px 1px no-repeat,
        linear-gradient(to top, rgba(245, 158, 11, 0.4), transparent 10px) bottom left / 1px 10px no-repeat,
        linear-gradient(to left, rgba(245, 158, 11, 0.4), transparent 10px) bottom right / 10px 1px no-repeat,
        linear-gradient(to top, rgba(245, 158, 11, 0.4), transparent 10px) bottom right / 1px 10px no-repeat;
}

.review-card:hover {
    border-color: var(--yellow);
    box-shadow: var(--shadow-md);
}

.review-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-stars i {
    color: var(--yellow);
    font-size: 0.9rem;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.35));
}

.review-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.review-author strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
}

.review-author span {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* ==========================================
   CONTACT
   ========================================== */

.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon i {
    color: var(--yellow-dark);
    font-size: 1.1rem;
}

.contact-detail strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-detail a:hover {
    color: var(--yellow-dark);
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 4px;
    font-family: inherit;
    font-size: 0.98rem;
    border: none;
    border-bottom: 1.5px solid var(--gray-200);
    border-radius: 0;
    background: transparent;
    color: var(--gray-800);
    transition: border-bottom-color 0.3s ease, background 0.3s ease;
    outline: none;
    position: relative;
}

.form-group {
    position: relative;
}

.form-group::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.form-group:focus-within::after {
    transform: scaleX(1);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--gray-300);
    background: transparent;
    box-shadow: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--gray-400);
}

.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-success.show {
    display: block;
}

.form-success .success-icon {
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-500);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--navy);
    padding: 60px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.6) 50%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 500;
    margin: 18px 0 22px;
    max-width: 340px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: var(--yellow);
    color: var(--navy);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--yellow);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--yellow);
    width: 16px;
    text-align: center;
}

.footer-contact-item a {
    color: var(--gray-400);
}

.footer-contact-item a:hover {
    color: var(--yellow);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ==========================================
   FLOATING CTA
   ========================================== */

.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--yellow);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.floating-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.7);
    animation: pulseRing 2.4s ease-out infinite;
    pointer-events: none;
}

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

.floating-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.5);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero-title {
        max-width: 640px;
    }

    .hero-lead {
        max-width: 640px;
    }

    .hero-visual {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "schema schema"
            "photo photo"
            "live arei";
        gap: 18px 14px;
        justify-items: center;
        align-items: center;
        margin: 0;
    }

    .hero-schema {
        grid-area: schema;
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 380px;
        height: auto;
        margin: 0 auto;
    }

    .photo-slot {
        display: none;
    }

    .photo-slot:has(img) {
        display: flex;
        grid-area: photo;
        width: 100%;
        max-width: 520px;
        margin: 4px auto 0;
        aspect-ratio: 16 / 10;
    }

    .photo-slot:has(img) img {
        object-position: 35% center;
    }

    .hero-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 240px;
        justify-self: stretch;
        justify-content: center;
        text-align: center;
    }

    .hero-card-live { grid-area: live; }
    .hero-card-arei { grid-area: arei; align-items: center; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .diensten-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projecten-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        z-index: 1001;
        background: rgba(var(--navy-rgb), 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(245, 158, 11, 0.15);
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(-16px);
        transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .nav-links li:nth-child(1) { transition-delay: 0.05s; }
    .nav-links li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links li:nth-child(3) { transition-delay: 0.15s; }
    .nav-links li:nth-child(4) { transition-delay: 0.2s; }
    .nav-links li:nth-child(5) { transition-delay: 0.25s; }
    .nav-links li:nth-child(6) { transition-delay: 0.3s; }
    .nav-links li:nth-child(7) { transition-delay: 0.35s; }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--gray-300);
        transition: background 0.2s ease, color 0.2s ease, border-left-color 0.2s ease;
        border-left: 3px solid transparent;
    }

    .nav-links li a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: var(--white);
        border-left-color: var(--yellow);
    }

    .nav-links .nav-cta {
        margin-top: 8px;
    }

    .nav-links .nav-cta a {
        justify-content: center;
        background: var(--yellow);
        color: var(--navy);
        border-left-color: transparent;
    }

    .nav-links .nav-cta a:hover {
        background: var(--yellow-light);
        color: var(--navy);
    }

    .nav-phone span {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .hero {
        padding: 108px 0 64px;
    }

    .hero-eyebrow {
        gap: 10px;
        margin-bottom: 22px;
        font-size: 0.7rem;
        letter-spacing: 2px;
        flex-wrap: wrap;
    }

    .hero-eyebrow .eyebrow-dot {
        width: 10px;
        height: 10px;
    }

    .hero-title {
        font-size: clamp(2.1rem, 8.5vw, 2.8rem);
        letter-spacing: -1px;
        line-height: 1.04;
        margin-bottom: 22px;
    }

    .hero-title .outline {
        -webkit-text-stroke: 1.2px var(--yellow);
    }

    .hero-lead {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 32px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 36px;
    }

    .hero-cta .btn {
        justify-content: center;
        width: 100%;
    }

    .hero-cta .btn-glow::after {
        animation-name: none;
    }

    .hero-spec {
        gap: 10px 18px;
        padding-top: 22px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hero-spec-item {
        padding: 0;
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        border-right: none;
    }

    .hero-spec-item:first-child,
    .hero-spec-item:last-child {
        padding: 0;
    }

    .hero-container {
        gap: 36px;
    }

    .hero-visual {
        gap: 14px 12px;
    }

    .hero-schema {
        max-width: 320px;
    }

    .hero-card {
        max-width: 100%;
        font-size: 0.8rem;
        padding: 11px 14px;
    }

    .hero-card-arei {
        padding: 11px 16px;
    }

    .hero-card-arei strong {
        font-size: 1rem;
    }

    .hero-card-arei span {
        font-size: 0.62rem;
    }

    /* Reduce visual noise on mobile: fewer floating nodes, softer dot grid */
    .hero::before {
        background-size: 32px 32px;
        opacity: 0.4;
    }

    .hero-node:nth-child(5),
    .hero-node:nth-child(6),
    .hero-node:nth-child(7) {
        display: none;
    }

    .service-ticker {
        border-top-width: 1px;
        border-bottom-width: 1px;
    }

    .service-ticker::before,
    .service-ticker::after {
        width: 40px;
    }

    .ticker-track {
        gap: 26px;
        padding: 13px 0;
        animation-duration: 26s;
    }

    .ticker-track span {
        font-size: 0.78rem;
        letter-spacing: 1.5px;
    }

    .ticker-track i {
        font-size: 0.7rem;
    }

    .section-eyebrow {
        gap: 12px;
    }

    .section-header {
        margin-bottom: 44px;
    }

    .section-header .section-eyebrow {
        justify-content: center;
    }

    .about-grid {
        gap: 56px 32px;
    }

    .about-image img {
        height: 280px;
    }

    .about-experience {
        bottom: -14px;
        right: 16px;
        padding: 12px 16px;
        font-size: 0.74rem;
        letter-spacing: 0.3px;
    }

    .about-experience i {
        font-size: 1.1rem;
    }

    .diensten-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dienst-card {
        padding: 30px 24px;
    }

    .dienst-card h3 {
        font-size: 1.08rem;
    }

    .card-num {
        top: 20px;
        right: 22px;
    }

    .waarom-grid {
        gap: 14px;
    }

    .waarom-item {
        padding: 22px 20px 20px;
        gap: 14px;
    }

    .waarom-icon {
        width: 44px;
        height: 44px;
    }

    .waarom-icon::after {
        inset: -5px;
    }

    .waarom-num {
        top: 12px;
        right: 16px;
    }

    .cta-banner {
        padding: 60px 0;
    }

    .cta-content h2 {
        line-height: 1.25;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cta-buttons .btn {
        justify-content: center;
        width: 100%;
    }

    .project-image {
        height: 200px;
    }

    .reviews-werkspot-heading {
        gap: 6px;
    }

    .review-card {
        width: 300px;
        padding: 26px;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .reviews-track {
        gap: 18px;
    }

    .reviews-carousel {
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }

    .projecten-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-form {
        padding: 24px 22px;
    }

    /* 16px input font prevents iOS auto-zoom on focus */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .contact-detail-icon {
        width: 46px;
        height: 46px;
    }

    .footer {
        padding: 50px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .floating-cta {
        bottom: max(20px, env(safe-area-inset-bottom, 20px));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 56px;
    }

    .hero-eyebrow {
        font-size: 0.66rem;
        letter-spacing: 1.5px;
        gap: 8px;
    }

    .hero-eyebrow .eyebrow-dot {
        width: 9px;
        height: 9px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 10vw, 2.35rem);
        line-height: 1.06;
        letter-spacing: -0.6px;
    }

    .hero-title .hl::after {
        height: 5px;
        bottom: -6px;
    }

    .hero-lead {
        font-size: 0.96rem;
        margin-bottom: 28px;
    }

    .hero-spec-item {
        font-size: 0.66rem;
        letter-spacing: 1.2px;
    }

    .hero-visual {
        grid-template-areas:
            "schema schema"
            "photo photo"
            "live live"
            "arei arei";
    }

    .photo-slot:has(img) {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }

    .hero-schema {
        max-width: 280px;
    }

    .hero-card-live,
    .hero-card-arei {
        max-width: 260px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-num {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
        padding-right: 10px;
    }

    .section-label {
        font-size: 0.78rem;
        letter-spacing: 1.2px;
    }

    .section-eyebrow {
        gap: 10px;
        flex-wrap: wrap;
    }

    .about-experience {
        right: 8px;
        bottom: -12px;
        padding: 10px 14px;
        font-size: 0.7rem;
    }

    .dienst-card {
        padding: 26px 22px;
    }

    .card-num {
        top: 18px;
        right: 20px;
        font-size: 0.7rem;
    }

    .waarom-item {
        padding: 22px 18px 18px;
    }

    .review-card {
        width: 280px;
        padding: 24px 22px;
    }

    .contact-form {
        padding: 22px 18px;
    }

    .floating-cta {
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }
}

/* ==========================================
   MOTION & ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .hero-circuit path,
    .hero-node,
    .live-dot::before,
    .nav-live-dot::before,
    .floating-cta::before,
    .hero-cta .btn-glow::after {
        animation: none !important;
    }

    .ticker-track {
        animation: none !important;
        transform: none !important;
    }

    .reviews-track {
        animation: none !important;
    }

    .hero-schema .flow-dot {
        display: none !important;
    }

    .hero-schema [data-draw] {
        stroke-dashoffset: 0 !important;
        transition: none !important;
    }

    .hero-title .hl::after {
        animation: none !important;
        transform: scaleX(1) !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}
