/* ==========================================================================
   Duka | Schuimbeton & Vloerverwarming
   Stylesheets - Concept Redesign
   ========================================================================== */

/* --- Custom Properties / Design System --- */
:root {
    /* Color Palette */
    --color-primary: #0F172A;       /* Midnight Blue (Betrouwbaarheid/Concrete) */
    --color-primary-light: #1E293B;
    --color-accent: #E07A5F;        /* Terracotta / Koper (Warmte/Vloerverwarming) */
    --color-accent-hover: #D0694E;
    --color-accent-light: #FDF2F0;
    --color-text-dark: #1E293B;     /* Slate Dark */
    --color-text-light: #FFFFFF;
    --color-text-muted: #64748B;    /* Slate Grey */
    --color-bg-light: #F8FAFC;      /* Clean Off-White */
    --color-bg-white: #FFFFFF;
    --color-border: #E2E8F0;
    --color-success: #10B981;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Constants */
    --max-width: 1280px;
    --header-height: 80px;
    --announcement-height: 0px; /* Hidden based on June 16 instructions */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

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

ul {
    list-style: none;
}

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

.responsive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: 0 4px 14px rgba(224, 122, 95, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
    outline: none;
}

.btn-secondary {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #E2E8F0;
    transform: translateY(-2px);
    outline: none;
}

.btn-block {
    width: 100%;
}

/* --- Badges & Tags --- */
.badge-new {
    display: inline-block;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-tag {
    display: block;
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-tag.font-accent {
    color: var(--color-accent);
}

.section-tag.text-accent {
    color: var(--color-accent);
}

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

/* --- Structural Sections --- */
.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark, .dark-cta {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-lead {
    font-size: 1.15rem;
    margin-top: 16px;
}

.bg-dark h2, .dark-cta h2 {
    color: var(--color-text-light);
}

.bg-dark .section-lead, .dark-cta .section-lead {
    color: #94A3B8;
}

.section-actions {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.why-actions {
    margin-top: 36px;
    display: flex;
    justify-content: flex-start;
}


/* --- Announcement Bar --- */
.announcement-bar {
    display: none; /* Hidden based on June 16 instructions */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--announcement-height);
    background-color: var(--color-accent); /* Terracotta accent background */
    color: var(--color-text-light); /* White text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 24px;
}

.announcement-text {
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: var(--announcement-height);
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.site-header.nav-open {
    background-color: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    z-index: 1001; /* Stay above mobile menu overlay */
}

.logo-img {
    height: 32px; /* Adjusted to be smaller as requested */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.logo-subtext {
    font-size: 0.55rem; /* Smaller, as requested */
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: -2px;
    transition: var(--transition-smooth);
}
.site-header.nav-open .logo-img {
    filter: brightness(0) invert(1);
}


.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary-light);
    position: relative;
    padding: 8px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--color-accent);
    font-weight: 600;
}

/* Disabled & Greyed Out Navigation and Footer Links */
.nav-list a.link-disabled,
.footer-links a.link-disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    color: var(--color-text-muted) !important;
    pointer-events: auto; /* enable cursor and tooltip */
}

.nav-list a.link-disabled::after {
    display: none !important;
}

.nav-list a.link-disabled:hover,
.footer-links a.link-disabled:hover {
    color: var(--color-text-muted) !important;
    padding-left: 0 !important; /* prevent footer hover padding */
}

.badge-concept {
    display: none; /* Hide by default on desktop */
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

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

.btn-header {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(var(--header-height) + var(--announcement-height) + 60px);
    padding-bottom: 80px;
    background-color: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 680px;
}

.hero-lead {
    font-size: 14px;
    line-height: 1.6;
    margin: 24px 0 36px 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.trust-icon {
    width: 18px;
    height: 18px;
    color: var(--color-success);
}

/* Hero Image Collage */
.hero-visual {
    position: relative;
}

.collage-deco-dots {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--color-border) 2px, transparent 2px);
    background-size: 16px 16px;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 768px) {
    .collage-deco-dots {
        display: none;
    }
}

.grid-collage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 480px;
}

.collage-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: var(--transition-smooth);
}

.collage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.main-img {
    grid-column: 1 / 9;
    grid-row: 1 / 10;
    z-index: 2;
}

.side-img-top {
    grid-column: 8 / 13;
    grid-row: 4 / 12;
    z-index: 3;
    border: 4px solid var(--color-bg-white);
}

.side-img-bottom {
    grid-column: 1 / 10;
    grid-row: 10 / 13;
    z-index: 4;
}

.hero-single-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    height: 480px;
    position: relative;
    z-index: 1;
}

.hero-single-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-single-img:hover img {
    transform: scale(1.03);
}

.stat-card {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    height: 100%;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 30px;
    gap: 24px;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    flex-shrink: 0;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Background gradient glows */
.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 122, 95, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- Totaalconcept (Interactive Stepper) --- */
.timeline-interactive-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.timeline-steps-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

/* Vertical progress indicator line */
.timeline-steps-side::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 19px;
    bottom: 30px;
    width: 2px;
    background-color: var(--color-border);
    z-index: 1;
}

/* Progress bar fill indicator */
.timeline-progress-bar {
    position: absolute;
    top: 30px;
    left: 19px;
    width: 2px;
    background-color: var(--color-accent);
    z-index: 2;
    height: 0%; /* Dynamic fill via JS */
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-step-card {
    position: relative;
    margin-left: 40px;
    background-color: var(--color-bg-white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.01);
    cursor: pointer;
    z-index: 3;
    outline: none;
    
    /* Apple Scroll Focus Defaults */
    opacity: 0.6;
    transform: scale(0.96);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
                
    /* Native scroll snap points */
    scroll-snap-align: center;
    scroll-margin: 100px; /* offset for sticky header */
}

.interactive-step-card:focus-visible {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.step-icon-num {
    position: absolute;
    left: -30px;
    top: 26px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-bg-white);
    border: 3px solid var(--color-border);
    z-index: 4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.step-card-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.mobile-step-img {
    display: none; /* Desktop hidden */
}

/* Active card styles */
.interactive-step-card.active {
    border-color: rgba(224, 122, 95, 0.4);
    background-color: var(--color-bg-white);
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

@media (min-width: 992px) {
    .interactive-step-card.active {
        transform: scale(1.02) translateX(6px);
    }
}

.interactive-step-card.active .step-icon-num {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 6px var(--color-accent-light);
}

.interactive-step-card.active .step-card-body h3 {
    color: var(--color-accent);
}

/* Visual showcase (right side) */
.timeline-visual-side {
    position: sticky;
    top: 120px;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--color-border);
}

.visual-window {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
}

.visual-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.visual-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

/* Zoom effect when slide is active */
.visual-slide.active img {
    transform: scale(1.06);
}

.visual-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Visual caption overlay */
.visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
    color: var(--color-text-light);
    z-index: 3;
}

.caption-tag {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.visual-caption h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* --- Cards Grids --- */
.grid {
    display: grid;
    gap: 30px;
}

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

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

.card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* --- Services Grid --- */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.service-icon {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-bullets {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-bullets li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-bullets li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.subsidie-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subsidie-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    position: relative;
    padding-left: 24px;
}

.subsidie-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* --- Why Choose Duka (USP Section) --- */
.why-duka {
    background-color: var(--color-bg-white);
    overflow: hidden;
}

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

.why-visual {
    position: relative;
}

.visual-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.why-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.overlay-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

.overlay-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    display: block;
    margin-bottom: 8px;
}

.overlay-card p {
    font-size: 0.9rem;
    color: #CBD5E1;
    line-height: 1.5;
}

.why-content h2 {
    margin: 12px 0 24px 0;
}

.usp-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 36px;
}

.usp-item {
    display: flex;
    gap: 16px;
}

.usp-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.usp-icon svg {
    width: 14px;
    height: 14px;
}

.usp-item h4 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.usp-item p {
    font-size: 0.9rem;
}

/* --- Portfolio Grid (Projecten) --- */
.portfolio-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
    aspect-ratio: 4 / 3;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.portfolio-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 24px;
    z-index: 2;
}

.portfolio-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 40%, rgba(15, 23, 42, 0.1) 70%, transparent 100%);
    z-index: -1;
}

.portfolio-info h4 {
    margin-bottom: 4px;
    color: var(--color-text-light);
}

.portfolio-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Testimonials (Carousel) --- */
.reviews-carousel-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 40px;
    overflow: hidden;
    padding: 10px 0;
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
    padding: 20px 10%; /* Center padding for peeking offsets on both sides */
    scroll-padding: 0 10%; /* Snap alignment padding matching the peeking */
}

.reviews-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.testimonial-card {
    width: 80vw; /* On mobile: take up 80% of viewport width */
    max-width: 500px; /* Limit size on large screens */
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 36px;
    opacity: 0.45;
    transform: scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.01);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1.0);
    border-color: var(--color-accent);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06), 0 0 0 1px var(--color-accent);
}

.stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-primary-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.review-author {
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

.review-author strong {
    color: var(--color-primary);
    font-weight: 700;
}

.review-author span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* Carousel Navigation Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
}

.carousel-dots .dot.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.carousel-dots .dot:focus-visible {
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

/* Desktop adjustments: show multiple cards next to each other */
@media (min-width: 992px) {
    .reviews-carousel-wrapper {
        width: 100%;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
        left: auto;
        right: auto;
        transform: none;
        overflow: hidden;
    }

    .reviews-carousel {
        padding: 20px 40px; /* desktop padding */
        scroll-padding: 0 40px;
        gap: 30px;
    }

    .testimonial-card {
        /* Show 2 cards at a time with a bit of peeking of the 3rd card */
        width: calc(45% - 15px);
        max-width: none;
        opacity: 0.7;
    }

    .testimonial-card.active {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* --- Offerte & Formulier Section --- */
.offerte-section {
    position: relative;
    overflow: hidden;
}

.offerte-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.offerte-info {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.offerte-info h2 {
    color: var(--color-text-light);
    margin: 12px 0 20px 0;
}

.offerte-info p {
    color: #94A3B8;
    margin-bottom: 40px;
}

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

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

.detail-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
    padding: 10px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-detail-item span {
    display: block;
    font-size: 0.8rem;
    color: #94A3B8;
}

.contact-detail-item strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text-light);
    font-weight: 600;
}

/* Form Styling */
.offerte-form-wrapper {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: var(--color-text-dark);
}

.offerte-form {
    transition: var(--transition-smooth);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-primary);
    background-color: var(--color-bg-light);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-accent);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
    outline: none;
}

.form-divider {
    grid-column: span 2;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
    margin-top: 10px;
}

/* Radio Group styling */
.radio-label-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    outline: none;
    background-color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.radio-option input[type="radio"]::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
    transform: scale(0);
    transition: var(--transition-smooth);
}

.radio-option input[type="radio"]:checked {
    border-color: var(--color-accent);
}

.radio-option input[type="radio"]:checked::before {
    transform: scale(1);
}

.btn-submit-wrap {
    margin-top: 15px;
}

.form-feedback {
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

.form-feedback h3 {
    color: var(--color-success);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-feedback p {
    font-size: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.site-footer {
    background-color: #0A0F1D;
    color: #94A3B8;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo .logo-text {
    color: var(--color-accent);
}

.footer-creator {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #64748B;
}

.footer-creator a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-creator a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}


.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94A3B8;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info li {
    font-size: 0.9rem;
}

.contact-info a:hover {
    color: var(--color-accent);
}

.copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #64748B;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

/* --- Scroll Reveal Animation --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design (Media Queries) --- */

@media (max-width: 1024px) {
    .badge-concept {
        display: inline-block; /* Show on mobile/tablet */
    }

    .calc-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .grid-collage {
        max-width: 500px;
        margin: 0 auto;
        height: 380px;
    }
    
    .why-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-img {
        height: 380px;
    }
    
    .offerte-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .offerte-info {
        position: static;
        text-align: center;
    }
    
    .contact-details-list {
        align-items: center;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    :root {
        --announcement-height: 0px; /* Hidden based on June 16 instructions */
    }

    .hero {
        padding-top: calc(var(--header-height) + 25px);
        padding-bottom: 50px;
    }

    .announcement-bar {
        display: none;
        height: var(--announcement-height);
        min-height: var(--announcement-height);
        padding: 0;
        font-size: 0.72rem; /* slightly smaller font to fit well on mobile */
        white-space: nowrap;
    }

    .announcement-content {
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 16px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .main-navigation:not(.open) .nav-list a {
        pointer-events: none !important;
    }
    
    .main-navigation.open {
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    
    .nav-list a {
        font-size: 1.75rem;
        color: rgba(255, 255, 255, 0.85) !important;
        font-weight: 600;
        letter-spacing: 0.05em;
    }

    .nav-list a:hover,
    .nav-list a.active {
        color: var(--color-accent) !important;
    }
    
    .btn-header {
        display: none; /* Hide Quote button on mobile header to save space */
    }

    .site-header.nav-open .menu-toggle .bar {
        background-color: var(--color-text-light) !important;
    }
    
    /* Mobile timelines (Interactive Stepper overrides) */
    .timeline-interactive-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-visual-side {
        display: none; /* Hide visual showcase block on mobile */
    }
    
    .timeline-steps-side::before {
        left: 14px;
        top: 20px;
        bottom: 20px;
    }
    
    .timeline-progress-bar {
        left: 14px;
        top: 20px;
    }
    
    .interactive-step-card {
        padding: 20px 24px;
        margin-left: 30px;
    }
    
    .interactive-step-card.active {
        transform: scale(1.02); /* Scale up, but no horizontal shift on mobile */
    }
    
    .step-icon-num {
        left: -22px;
        top: 24px;
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
    
    .interactive-step-card.active .step-icon-num {
        box-shadow: 0 0 0 4px var(--color-accent-light);
    }
    
    .mobile-step-img {
        display: block;
        width: 100%;
        height: 0;
        opacity: 0;
        overflow: hidden;
        border-radius: var(--radius-sm);
        margin-top: 0;
        transition: height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
        border: 1px solid var(--color-border);
    }
    
    .mobile-step-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .interactive-step-card.active .mobile-step-img {
        height: 190px;
        opacity: 1;
        margin-top: 16px;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .ba-slider-container {
        aspect-ratio: 4 / 3;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 16px 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.open .faq-answer {
        padding: 0 20px 16px;
    }

    .mini-calc-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .calc-results {
        gap: 8px;
    }

    .calc-result-card {
        padding: 10px 14px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-radius: 4px;
        gap: 12px;
    }

    .calc-result-value {
        font-size: 1.25rem;
    }

    .calc-result-label {
        font-size: 0.72rem;
    }

    .calc-result-note {
        display: none;
    }

    .calc-result-card.accent {
        order: -1;
    }

    .wizard-progress {
        padding: 0;
    }

    .wizard-step-label {
        font-size: 0.65rem;
    }

    .wizard-nav {
        flex-direction: column;
        gap: 12px;
    }

    .wizard-btn-prev,
    .wizard-btn-next,
    .wizard-btn-submit {
        width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-divider {
        grid-column: span 1;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .offerte-form-wrapper {
        padding: 24px 16px;
    }
    
    .offerte-modal-content {
        padding: 35px 20px 25px;
        width: 95%;
        border-radius: var(--radius-md);
    }
    
    .offerte-modal-content .offerte-form-wrapper {
        padding: 0;
    }
    
    .offerte-modal-close {
        top: 12px;
        right: 16px;
        font-size: 1.75rem;
    }
    
    .modal-form-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* --- Keyboard Accessibility support --- */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
select:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Prefers Reduced Motion settings */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .collage-item:hover,
    .portfolio-card:hover .portfolio-img-wrap img {
        transform: none !important;
    }
    
    .btn,
    .nav-list a::after {
        transition: none !important;
    }
}

/* --- Floating Dynamic Island (Light Mode) --- */
.dynamic-island {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50px;
    padding: 6px 8px 6px 16px; /* 6px top/bottom, 8px right, 16px left */
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    opacity: 0;
}

.dynamic-island.visible {
    bottom: 24px;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
    opacity: 1;
}

.dynamic-island-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.island-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-whatsapp {
    background-color: #28CC63;
    color: #FFFFFF;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
}

.btn-whatsapp:hover {
    background-color: #22B354;
}

.btn-offerte {
    background-color: var(--color-accent);
    color: var(--color-text-light) !important;
    padding: 8px 18px;
    border-radius: 50px; /* Nested pill shape */
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.btn-offerte:hover {
    background-color: var(--color-accent-hover);
    transform: scale(1.03);
}

.island-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(15, 23, 42, 0.12);
}

.island-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.text-small {
    font-size: 0.75rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

@media (max-width: 480px) {
    .dynamic-island {
        padding: 5px 6px 5px 12px;
        width: auto;
        max-width: 95%;
    }
    
    .dynamic-island-container {
        gap: 8px;
    }
    
    .btn-whatsapp {
        width: 32px;
        height: 32px;
    }
    
    .btn-offerte {
        padding: 7px 14px;
        font-size: 0.72rem;
    }
    
    .island-btn .btn-text {
        font-size: 0.7rem;
    }
    
    .btn-text.text-small {
        font-size: 0.7rem !important;
    }
    
    .dynamic-island.visible {
        bottom: 16px;
    }
}

/* --- Before/After Slider --- */
.before-after-section {
    background-color: var(--color-bg-white);
}

.ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: col-resize;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--color-border);
}

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

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.ba-after {
    clip-path: inset(0 0 0 50%);
    z-index: 2;
    transition: clip-path 0.05s linear;
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 6px 16px;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    z-index: 5;
    pointer-events: none;
}

.ba-label-before { left: 20px; }
.ba-label-after { right: 20px; }

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle-line {
    flex: 1;
    width: 3px;
    background-color: var(--color-accent);
    box-shadow: 0 0 8px rgba(224, 122, 95, 0.4);
}

.ba-handle-circle {
    width: 48px;
    height: 48px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(224, 122, 95, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.8);
    pointer-events: auto;
    cursor: col-resize;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-handle-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.ba-handle-circle svg {
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
    flex-shrink: 0;
}

/* --- Subsidie & Rendement Calculator --- */
.calc-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 1025px) {
    .calc-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc-slider-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-slider-group label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    outline: none;
    transition: background 0.15s ease;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(224, 122, 95, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(224, 122, 95, 0.5);
}

.calc-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(224, 122, 95, 0.35);
}

.calc-output {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    min-width: 75px;
    text-align: right;
    white-space: nowrap;
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-result-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition-smooth);
}

.calc-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.calc-result-card.accent {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.calc-result-card.accent .calc-result-label {
    color: #94A3B8;
}

.calc-result-card.accent .calc-result-value {
    color: var(--color-accent);
}

.calc-result-card.accent .calc-result-note {
    color: #64748B;
}

.calc-result-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.calc-result-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    transition: all 0.3s ease;
}

.calc-result-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* --- Vloerverwarming Keuzetabs --- */
.vv-tabs {
    margin-top: 16px;
}

.vv-tab-nav {
    display: flex;
    gap: 4px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 16px;
}

.vv-tab-btn {
    flex: 1;
    padding: 8px 12px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.vv-tab-btn.active {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: 0 2px 6px rgba(224, 122, 95, 0.3);
}

.vv-tab-btn:hover:not(.active) {
    color: var(--color-primary);
    background-color: rgba(224, 122, 95, 0.08);
}

.vv-tab-content {
    display: none;
    animation: tabFadeIn 0.3s ease;
}

.vv-tab-content.active {
    display: block;
}

.tab-desc {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--color-text-muted);
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- FAQ Accordion --- */
.faq-section {
    background-color: var(--color-bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(224, 122, 95, 0.3);
}

.faq-item.open {
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(224, 122, 95, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* --- Wizard Progress Indicator --- */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
    padding: 0 20px;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.wizard-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step.active .wizard-step-circle,
.wizard-step.completed .wizard-step-circle {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: 0 2px 10px rgba(224, 122, 95, 0.35);
}

.wizard-step.completed .wizard-step-circle {
    background-color: var(--color-success);
    border-color: var(--color-success);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.wizard-step-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.wizard-step.active .wizard-step-label {
    color: var(--color-accent);
}

.wizard-step.completed .wizard-step-label {
    color: var(--color-success);
}

.wizard-step-line {
    flex: 1;
    height: 2px;
    background-color: var(--color-border);
    min-width: 40px;
    max-width: 100px;
    margin: 0 8px;
    margin-bottom: 22px;
    transition: background-color 0.4s ease;
    z-index: 1;
}

.wizard-step-line.completed {
    background-color: var(--color-success);
}

/* Wizard Panels */
.wizard-panel {
    display: none;
    animation: wizardSlideIn 0.35s ease;
}

.wizard-panel.active {
    display: block;
}

@keyframes wizardSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.wizard-btn-prev,
.wizard-btn-next,
.wizard-btn-submit {
    min-width: 140px;
}

/* Wizard Mini Calculator */
.wizard-mini-calc {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--color-border);
    margin-top: 8px;
}

.mini-calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mini-calc-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.mini-calc-item.accent {
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
}

.mini-calc-item.accent .mini-calc-label {
    color: #94A3B8;
}

.mini-calc-item.accent .mini-calc-value {
    color: var(--color-accent);
}

.mini-calc-item.full-width {
    grid-column: span 2;
}

.mini-calc-item.accent-total {
    background-color: var(--color-accent);
    border-radius: var(--radius-sm);
}

.mini-calc-item.accent-total .mini-calc-label {
    color: var(--color-text-light);
    opacity: 0.9;
}

.mini-calc-item.accent-total .mini-calc-value {
    color: var(--color-text-light);
}

.mini-calc-disclaimer {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.mini-calc-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.mini-calc-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* Feedback icon */
.feedback-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-success);
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 16px;
    animation: feedbackPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes feedbackPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Parallax / Micro-animations --- */
.parallax-img {
    transition: transform 0.6s ease-out;
    will-change: transform;
}

/* --- Offerte Modal Pop-up --- */
.offerte-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.offerte-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.offerte-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.offerte-modal-content {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 45px 40px 40px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 2;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offerte-modal.open .offerte-modal-content {
    transform: translateY(0) scale(1);
}

.offerte-modal-content .offerte-form-wrapper {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.offerte-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    z-index: 10;
}

.offerte-modal-close:hover {
    color: var(--color-accent);
}

.modal-form-title {
    margin-bottom: 6px;
    font-size: 1.75rem;
}

.modal-form-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
    color: var(--color-text-muted);
}

/* Make section-lead text white in the Dark CTA section above the footer */
.offerte-cta-section .section-lead {
    color: var(--color-text-light) !important;
}

/* --- Video Showcase Section --- */
.video-showcase-section {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0;
    color: var(--color-text-light);
}

.video-background-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.75) 100%);
    backdrop-filter: saturate(1.1) brightness(0.95);
    -webkit-backdrop-filter: saturate(1.1) brightness(0.95);
}

.video-content-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
}

.video-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.video-content .section-tag {
    color: var(--color-accent) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.video-content h2 {
    color: var(--color-text-light);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.video-content p.lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-content .btn {
    box-shadow: 0 4px 20px rgba(224, 122, 95, 0.45);
}

.video-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 122, 95, 0.6);
}

@media (max-width: 768px) {
    .video-showcase-section {
        min-height: 450px;
        padding: 80px 0;
    }
}

/* --- Portfolio Grid (Projecten Page) Overlay & Readability --- */
.portfolio-grid .portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.1) 85%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.portfolio-grid .portfolio-card:hover::after {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.2) 85%, transparent 100%);
}

.portfolio-grid .portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.portfolio-grid .portfolio-info h3 {
    font-size: 1.25rem;
    color: var(--color-text-light) !important;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.portfolio-grid .portfolio-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.portfolio-grid .portfolio-location {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

/* --- 404 Page Styling --- */
.error-404-section {
    padding: calc(var(--header-height) + 80px) 0 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.error-visual-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.error-number {
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent) 0%, #f78d59 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 16px rgba(242, 101, 34, 0.15));
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

.error-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(242, 101, 34, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.error-404-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.error-404-section .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.error-desc {
    max-width: 580px;
    margin: 0 auto 36px auto;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 8px 16px rgba(242, 101, 34, 0.15));
    }
    100% {
        transform: scale(1.03);
        filter: drop-shadow(0 12px 24px rgba(242, 101, 34, 0.25));
    }
}

