:root {
    /* Premium Color Palette - Light, Elegant, Warm */
    --bg-dark: #fcfbf9; /* Kept variable name for compatibility but it's a soft warm white */
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-light: rgba(255, 255, 255, 1);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-highlight: rgba(212, 175, 55, 0.4);
    
    --text-main: #14161a;
    --text-muted: #6b7280;
    
    --accent-gold: #c59b27;
    --accent-gold-dark: #91711e;
    --accent-blue: #eef2f5;
    --accent-emerald: #f4eee6;
    
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables for mouse tracking */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    /* Clean luxury background */
    background: var(--bg-dark);
}

/* Alive Background Gradients */
body::before, body::after {
    content: '';
    position: fixed;
    width: 80vw;
    height: 80vh;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    opacity: 0.5;
    pointer-events: none;
    animation: floatGlow 25s infinite alternate ease-in-out;
    mix-blend-mode: normal;
}

body::before {
    top: -20%;
    left: -20%;
    background: radial-gradient(circle, var(--accent-gold), transparent 60%);
}

body::after {
    bottom: -10%;
    right: -20%;
    background: radial-gradient(circle, var(--accent-blue), var(--accent-emerald) 50%, transparent 60%);
    animation-delay: -12s;
}

.dynamic-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(212, 175, 55, 0.08) 0%, transparent 40%);
    transition: background 0.1s ease;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(10%, 15%) scale(1.2) rotate(45deg); }
    66% { transform: translate(-5%, 8%) scale(0.9) rotate(-20deg); }
    100% { transform: translate(-10%, -10%) scale(1.1) rotate(10deg); }
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.projects-container {
    width: 100%;
    max-width: 1500px; /* Even wider than regular container */
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }
.show-mobile { display: none; }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography */
h1, h2, h3, h4, .brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.text-center .subtitle {
    margin: 0 auto;
}

/* Badge Styling */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color-scheme: only light;
}

/* Buttons */
.btn-primary, .btn-outline, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-medium);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #000;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    color-scheme: only light;
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    pointer-events: auto; /* Ensure it overrides any parent click block if needed */
    color-scheme: only light;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-text:hover {
    color: var(--accent-gold);
}

.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(252, 251, 249, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s;
    color-scheme: only light;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color-scheme: only light;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

.navbar .btn-text {
    color: #fff;
}

/* Text color changes explicitly on scroll */
.navbar.scrolled .brand-text {
    background: linear-gradient(to right, #111, #444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar.scrolled .nav-link {
    color: var(--text-muted);
}

.navbar.scrolled .nav-link:hover {
    color: var(--text-main);
}

.navbar.scrolled .btn-text {
    color: var(--text-main);
}

.navbar.scrolled .btn-secondary {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.navbar.scrolled .btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* --- ULTIMATE AWWWARDS FULLSCREEN HERO --- */
.awwwards-hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .awwwards-hero {
        height: auto;
        min-height: 100vh;
        padding-bottom: 60px;
    }
}

.xray-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

/* Add a dark gradient overlay to ensure text is always readable regardless of the bright background */
.xray-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark at the top for navbar, fading out, darker at bottom for title */
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.real-layer {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    background-image: url('assets/hero-new.webp');
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 1;
    filter: brightness(0.65) contrast(1.1);
}

.awwwards-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 120px 5% 0; /* More balanced padding */
    display: flex;
    flex-direction: row; /* Desktop layout: text left, visual right */
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.awwwards-text {
    max-width: 850px; /* Increased to allow 'UW AANNEMER IN' on one line */
    flex-shrink: 0;
}

/* Make interaction possible only on the buttons/links below the text */
.awwwards-text .badge, .awwwards-text .hero-bottom-grid, .awwwards-text .hero-trust {
    pointer-events: auto;
}

.awwwards-text h1 {
    font-size: clamp(3rem, 7vw, 6.5rem); /* Reduced from 11rem */
    line-height: 1.1; /* Slightly more space for a premium look */
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 10px 40px rgba(0,0,0,0.6);
    font-weight: 700; /* Slightly lighter for elegance */
}

.awwwards-text h1 span.gold-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent-gold);
    display: block;
    font-weight: 600;
    text-transform: none;
    font-size: 1.0em; /* Reduced from 1.1em */
    padding-left: 6vw; /* Reduced from 10vw */
    white-space: nowrap; /* Prevents breaking Meesterschap into Meesters-chap */
    color-scheme: only light;
}

.hero-bottom-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
}

.content-p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.hero-trust {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: fit-content;
}

.trust-avatars {
    display: flex;
}

.avatar, .avatar-plus {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #222;
    margin-left: -15px;
    object-fit: cover;
}

.avatar:first-child { margin-left: 0; }

/* --- DYNAMIC HOUSE ASSEMBLY ANIMATION --- */
.hero-visual {
    position: relative;
    width: 500px;
    height: 500px;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: -30px;
}

.hero-visual svg {
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
}

.house-svg-part {
    opacity: 0;
}

.hero-visual::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 2s ease;
}

.hero-visual.is-complete::after {
    opacity: 1;
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
}
.avatar-plus {
    background: var(--accent-gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
}

.trust-text span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Marquee */
.marquee-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    z-index: 10;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scrollingLeft 30s linear infinite;
    gap: 48px;
    padding-left: 48px;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-content span::first-letter {
    color: var(--accent-gold); /* the star */
}

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

@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-visuals {
        display: none; /* hide full composition on mobile for cleaner look */
    }
    .hero-trust {
        justify-content: center;
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: box-shadow 0.4s, background 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    will-change: transform; /* Important for smooth 3D tilt */
    display: flex;
    flex-direction: column;
    transform: translateZ(0); /* Force GPU and clip overflow correctly */
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.service-content {
    padding: 32px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(212, 175, 55, 0.1), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    background: var(--bg-surface-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 40px rgba(212, 175, 55, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
    font-weight: 700;
    color-scheme: only light;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Image Break */
.image-break {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #14161a; /* Force dark background */
}

.parallax-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.parallax-img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    filter: brightness(0.25) contrast(1.1); /* Darker for better text contrast */
}

.parallax-bg .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.break-content .quote-animated {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5.5vw, 5.5rem);
    font-style: italic;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 0.3em;
    position: relative;
    z-index: 2;
}

.break-content .word-wrap {
    display: inline-block;
}

.break-content .inner-word {
    display: inline-block;
    opacity: 0.15; /* Start dim */
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.5s ease;
    transform: scale(0.95);
    will-change: opacity, transform, color;
}

/* Specific class for the "active" state of a word */
.break-content .inner-word.is-active {
    opacity: 1;
    transform: scale(1);
}

.break-content .premium-gold.is-active .inner-word {
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(197, 155, 39, 0.3);
}

.image-break {
    margin: 80px 0;
}

/* Process */
.process-timeline {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    width: calc(100% - 60px);
    height: 1px;
    background: var(--border-color);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.step-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    transition: var(--transition-medium);
}

.process-step:hover .step-marker {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Projects */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns for a 2x2 grid */
    gap: 32px;
    margin-top: 60px;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: block;
    height: 450px; 
    will-change: transform;
    transition: box-shadow 0.4s, transform 0.4s;
    transform: translateZ(0);
    width: 100%; /* Ensure full width relative to grid */
}

.project-card.large {
    grid-column: span 2;
    height: 650px; /* Greatly increased height so they stand out as larger */
}

.project-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    opacity: 0.8;
    transition: opacity 0.4s;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-card:hover .project-overlay {
    opacity: 0.9;
    background: linear-gradient(0deg, rgba(212, 175, 55, 0.3) 0%, rgba(0,0,0,0) 60%);
}

.project-info {
    position: absolute;
    bottom: 40px; /* More padding */
    left: 40px;   /* More padding to prevent touching borders */
    right: 40px;  /* Ensure text doesn't overflow to the right */
    z-index: 2;
}

.project-cat {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.8rem;
    margin-bottom: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card h3 {
    font-size: 2rem;
    color: #fff;
}

/* Reviews */
.reviews-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.review-box {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: box-shadow 0.4s, border-color 0.4s, background 0.4s;
    will-change: transform; /* Important for smooth 3D tilt */
    position: relative;
    overflow: hidden;
}

.review-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(212, 175, 55, 0.1), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.review-box:hover::before {
    opacity: 1;
}

.review-box.highlight {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.review-box:hover {
    transform: translateY(-10px);
    border-color: var(--border-highlight);
}

.review-box.highlight:hover {
    transform: translateY(-25px);
}

.stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 24px;
    letter-spacing: 2px;
    color-scheme: only light;
}

.review-box p {
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.7;
}

.reviewer strong {
    font-family: var(--font-heading);
    display: block;
    color: var(--accent-gold);
}

/* Footer / Contact */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.footer-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

.footer-cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 400px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    text-decoration: none;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--accent-gold);
    padding-left: 10px;
}

.c-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.c-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Form */
.footer-form {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
}

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

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1px;
}

.footer-bottom .links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-bottom .links a:hover {
    color: var(--accent-gold);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* WhatsApp Widget */
.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 99;
    transition: var(--transition-medium);
}

.wa-widget svg {
    width: 24px;
    height: 24px;
}

.wa-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* Sub-sections Styling */
.title-sub {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.subtitle-small {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.area-list {
    list-style: none;
    margin-bottom: 40px;
}

.area-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.area-list li:last-child {
    border-bottom: none;
}

.area-icon {
    font-size: 1.4rem;
    padding-top: 4px;
}

.area-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.area-text strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.area-text span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.area-footer {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 60px;
        padding-bottom: 100px;
    }
    
    .hero-stats {
        flex-direction: row;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 32px;
        width: 100%;
        justify-content: space-between;
    }

    .services-grid, .project-grid, .reviews-wrapper, .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links, .hidden-mobile, .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: inline-flex !important;
    }
    
    .services-grid, .project-grid, .reviews-wrapper, .process-timeline, .footer-grid {
        grid-template-columns: 1fr;
    }

    .awwwards-content {
        padding-top: 100px;
        padding-bottom: 20px;
        height: auto;
    }
    
    .awwwards-text h1 {
        font-size: clamp(2.5rem, 9vw, 3.8rem);
        margin-bottom: 20px;
        line-height: 1.1;
        margin-top: 10px;
    }

    .awwwards-text h1 span.gold-italic {
        padding-left: 0;
        font-size: 1em;
        white-space: normal;
        margin-top: 5px;
    }

    /* Navbar Button Mobile Tweak */
    .navbar .btn-primary {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .badge {
        background: rgba(197, 155, 39, 0.2); /* Soft gold background for visibility */
        border-color: var(--accent-gold);
        font-weight: 600;
        margin-bottom: 15px;
        margin-top: 25px;
    }

    .hero-bottom-grid {
        align-items: center;
        text-align: center;
    }

    .hero-trust {
        justify-content: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .section {
        padding: 40px 0; /* Reduce whitespace between sections */
    }

    #diensten { padding-bottom: 20px; }
    #werkwijze { padding-top: 20px; }
    #regio-faq { padding-bottom: 10px; }
    #reviews { padding-top: 10px; }

    .image-break {
        margin: 10px 0 20px 0; /* Reduce whitespace above "vakmanschap" and below */
        height: 50vh;
        min-height: 400px;
    }

    .process-timeline {
        margin-top: 20px; /* Reduce whitespace above "werkwijze" steps */
    }

    .hero-btns .btn-primary, 
    .hero-btns .btn-secondary {
        width: 100%;
    }

    .wa-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .project-card.large {
        grid-column: span 1;
        height: 450px !important;
    }

    /* Consistent project card height on mobile */
    .project-card {
        height: 450px !important;
        width: 100% !important;
    }

    .projects-container {
        padding: 0 20px;
    }

    .project-img-wrapper {
        height: 100%;
    }

    .project-img-wrapper img {
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Hierarchy & Spacing Fixes */
    .title-sub {
        font-size: 1.8rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .subtitle-small {
        font-size: 0.95rem;
        color: var(--text-muted);
        margin-bottom: 24px;
        line-height: 1.5;
    }

    /* Clean, non-zig-zagging Service List */
    .area-list {
        list-style: none;
        padding: 0;
        margin-bottom: 24px;
    }

    .area-list li {
        display: flex;
        align-items: flex-start; /* Fix zig-zag */
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .area-list li:last-child {
        border-bottom: none;
    }

    .area-icon {
        font-size: 1.1rem;
        padding-top: 3px;
    }

    .area-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        text-align: left;
    }

    .area-text strong {
        font-size: 1rem;
        color: var(--text-main);
    }

    .area-text span {
        font-size: 0.85rem;
        color: var(--text-muted);
        line-height: 1.4;
    }

    .area-footer {
        font-size: 0.85rem;
        color: var(--text-muted);
        font-style: italic;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* Explicit Dark Mode Support to prevent "Force Dark" issues */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-dark: #0a0a0a;
        --bg-surface: rgba(20, 20, 20, 0.7);
        --bg-surface-light: rgba(30, 30, 30, 1);
        --text-main: #fcfbf9;
        --text-muted: #9ca3af;
        --border-color: rgba(255, 255, 255, 0.1);
        --accent-blue: #1a1e23;
        --accent-emerald: #1c1a18;
    }

    body {
        background-color: #0a0a0a;
    }

    /* Navbar behavior in dark mode */
    .navbar.scrolled {
        background: rgba(10, 10, 10, 0.85);
    }
    
    .navbar.scrolled .brand-text {
        background: linear-gradient(to right, #ffffff, #e0e0e0) !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
    }

    .navbar .nav-link, .navbar.scrolled .nav-link {
        color: rgba(255, 255, 255, 0.7);
    }

    .navbar .nav-link:hover, .navbar.scrolled .nav-link:hover {
        color: #fff;
    }

    .navbar.scrolled .btn-secondary {
        border-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    /* Other dark mode tweaks */
    .marquee-container {
        background: rgba(20, 20, 20, 0.85);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .marquee-content span {
        color: #fff;
    }

    .service-card {
        background: rgba(25, 25, 25, 0.7);
    }

    .service-card:hover {
        background: rgba(35, 35, 35, 1);
    }

    .faq details {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    input, textarea {
        background: rgba(255, 255, 255, 0.05) !important;
        color: #fff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
}


