/* ============================================
   HVS - Hilversumse Verhuis Service
   Design System & Global Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Brand Colors */
    --hvs-red: #C12026;
    --hvs-red-dark: #A31B20;
    --hvs-red-light: #E8434A;
    --hvs-red-bg: rgba(193, 32, 38, 0.08);
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-50: #F3F4F5;
    --gray-100: #E7E8E9;
    --gray-200: #D1D3D5;
    --gray-300: #B0B3B7;
    --gray-400: #8C9096;
    --gray-500: #6B7075;
    --gray-600: #4A4F54;
    --gray-700: #3A3F47;
    --gray-800: #2B2F35;
    --gray-900: #1A1D23;
    --black: #0F1117;
    
    /* Semantic Colors */
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
}

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* Voorkomt horizontale scroll door translateX op iOS Safari */
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; }

p { color: var(--gray-600); line-height: 1.7; }
a { color: var(--hvs-red); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--hvs-red-dark); }

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

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

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition-base);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--gray-900);
    flex-shrink: 0;
}

.nav-logo-svg {
    width: 52px;
    height: 26px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-800);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--hvs-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Margreet in header */
.nav-margreet {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin-left: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 40px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-margreet:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(193, 32, 38, 0.15);
}

.nav-margreet-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-margreet-label {
    font-size: 10px;
    line-height: 1.3;
    color: var(--gray-700);
}

.nav-margreet-label strong {
    color: var(--hvs-red);
}

@media (max-width: 1100px) {
    .nav-margreet {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-logo-text {
        display: none;
    }
    .nav-logo-svg {
        width: 44px;
        height: 22px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--hvs-red);
    background: var(--hvs-red-bg);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--hvs-red);
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--hvs-red-dark);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(193, 32, 38, 0.3);
}

/* Mobile Menu */
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    /* Minimaal 44x44px touch target per Apple HIG / WCAG */
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

@media (max-width: 768px) {
    .nav-burger { display: flex; }

    /* Nav bar zelf: solid wit op mobiel — geen transparantie, geen blur */
    .nav {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav.scrolled {
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    }

    .nav-links {
        /* Gesloten staat: volledig verborgen zodat pagina-knoppen niet geblokkeerd worden.
           display:none is betrouwbaarder dan pointer-events:none op iOS Safari. */
        display: none !important;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        z-index: 1100;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl);
        gap: 8px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.open {
        display: flex !important;
    }

    .nav-links a {
        display: block;
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 600;
        color: var(--gray-900);
        border-radius: var(--radius-md);
        background: #f8f9fa;
    }
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--hvs-red);
        color: #ffffff;
    }
    
    .nav-cta {
        margin-top: 16px;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
        width: 100%;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(248,249,250,0.95) 0%, rgba(248,249,250,0.5) 50%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--hvs-red-bg);
    color: var(--hvs-red);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero h1 {
    margin-bottom: var(--space-lg);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero h1 .accent {
    color: var(--hvs-red);
}

.hero p {
    font-size: 1.125rem;
    max-width: 520px;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--hvs-red);
    color: white;
}

.btn-primary:hover {
    background: var(--hvs-red-dark);
    color: white;
    box-shadow: 0 6px 20px rgba(193, 32, 38, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gray-800);
    border: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .btn-secondary {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid rgba(0,0,0,0.12);
    }
}

.btn-secondary:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-4xl) 0;
}

.section-dark {
    background: var(--gray-900);
    color: white;
}

.section-dark h2,
.section-dark h3 {
    color: white;
}

.section-dark p {
    color: var(--gray-300);
}

.section-header {
    max-width: 640px;
    margin-bottom: var(--space-3xl);
}

.section-header .accent-line {
    width: 48px;
    height: 3px;
    background: var(--hvs-red);
    border-radius: 2px;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

/* ============================================
   GLASS CARDS
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .glass-card {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid var(--gray-100);
    }
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    padding: var(--space-xl) var(--space-lg);
}

.service-card .icon-box {
    width: 56px;
    height: 56px;
    background: var(--hvs-red-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card .icon-box .material-symbols-outlined {
    font-size: 28px;
    color: var(--hvs-red);
}

.service-card:hover .icon-box {
    background: var(--hvs-red);
}

.service-card:hover .icon-box .material-symbols-outlined {
    color: white;
}

.service-card h3 {
    margin-bottom: var(--space-sm);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--hvs-red);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-item .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: white;
    margin-bottom: var(--space-md);
    text-decoration: none;
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--hvs-red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    color: var(--gray-400);
    font-size: 14px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--hvs-red-light);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.form-group .form-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-800);
    background: white;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--hvs-red);
    box-shadow: 0 0 0 3px rgba(193, 32, 38, 0.12);
}

.form-control::placeholder {
    color: var(--gray-300);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FILE UPLOAD
   ============================================ */
.upload-zone {
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    background: rgba(248, 249, 250, 0.5);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--hvs-red);
    background: var(--hvs-red-bg);
}

.upload-zone .icon {
    font-size: 48px;
    color: var(--gray-300);
    margin-bottom: var(--space-md);
}

.upload-zone h4 {
    margin-bottom: var(--space-xs);
}

.upload-zone p {
    font-size: 13px;
}

.upload-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.upload-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--gray-100);
}

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

.upload-preview .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.upload-preview:hover .remove-btn {
    opacity: 1;
}

/* ============================================
   QUOTE RESULT
   ============================================ */
.quote-result {
    display: none;
    margin-top: var(--space-xl);
    animation: slideUp 0.5s ease;
}

.quote-result.visible {
    display: block;
}

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

.quote-price-box {
    background: var(--hvs-red);
    color: white;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.quote-price-box .price-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: var(--space-sm);
}

.quote-price-box .price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.quote-price-box .price-btw {
    font-size: 14px;
    opacity: 0.85;
    margin-top: var(--space-sm);
}

.quote-details {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.quote-details-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-50);
    font-size: 14px;
}

.quote-details-row:last-child {
    border-bottom: none;
}

.quote-details-row .label {
    color: var(--gray-500);
}

.quote-details-row .value {
    font-weight: 600;
    color: var(--gray-800);
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: var(--space-xl);
}

.chat-header {
    background: var(--gray-900);
    color: white;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
}

.chat-header .status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.chat-messages {
    height: 280px;
    overflow-y: auto;
    padding: var(--space-md);
}

.chat-message {
    margin-bottom: var(--space-md);
    font-size: 14px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

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

.chat-message.bot {
    background: var(--gray-50);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    max-width: 90%;
}

.chat-message.user {
    background: var(--hvs-red);
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    max-width: 85%;
    margin-left: auto;
    text-align: right;
}

.chat-input-area {
    display: flex;
    border-top: 1px solid var(--gray-100);
}

.chat-input-area input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    font-size: 14px;
    font-family: var(--font-body);
}

.chat-input-area input:focus {
    outline: none;
}

.chat-input-area button {
    padding: 14px 20px;
    background: var(--hvs-red);
    color: white;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.chat-input-area button:hover {
    background: var(--hvs-red-dark);
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-hero {
    padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(193,32,38,0.15) 0%, transparent 70%);
}

.page-hero h1 {
    color: white;
    position: relative;
}

.page-hero p {
    color: var(--gray-300);
    font-size: 1.125rem;
    max-width: 640px;
    margin-top: var(--space-md);
    position: relative;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: var(--space-lg);
    position: relative;
}

.page-hero .breadcrumb a {
    color: var(--gray-400);
}

.page-hero .breadcrumb a:hover {
    color: white;
}

.content-section {
    padding: var(--space-3xl) 0;
}

.content-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    margin-bottom: var(--space-md);
}

.content-card p {
    margin-bottom: var(--space-md);
}

.content-card ul {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.content-card li {
    position: relative;
    padding-left: 28px;
    padding-top: 6px;
    padding-bottom: 6px;
    color: var(--gray-600);
    line-height: 1.6;
}

.content-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--hvs-red);
    border-radius: 50%;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.contact-info-card .icon-box {
    width: 48px;
    height: 48px;
    background: var(--hvs-red-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card .icon-box .material-symbols-outlined {
    color: var(--hvs-red);
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   LOADING / FEEDBACK
   ============================================ */
.loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--hvs-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-content p {
    color: rgba(255,255,255,0.8);
    margin-top: var(--space-md);
    font-size: 15px;
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.2);
    color: #16a34a;
}

.alert-error {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
    color: #dc2626;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-4xl) 0;
    text-align: center;
    background: linear-gradient(135deg, var(--hvs-red) 0%, var(--hvs-red-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100%;
    right: -30%;
    width: 80%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 60%);
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-md);
    position: relative;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    max-width: 540px;
    margin: 0 auto var(--space-xl);
    position: relative;
}

.cta-section .btn {
    background: white;
    color: var(--hvs-red);
    font-weight: 700;
    position: relative;
}

.cta-section .btn:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--gray-100);
}

.testimonial-card .stars {
    color: #F59E0B;
    font-size: 18px;
    margin-bottom: var(--space-md);
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.testimonial-card .author {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
}

/* ============================================
   UTILITY CLASSES  
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }
.hidden { display: none !important; }

/* ============================================
   CHATBOT WIDGET – MARGREET
   ============================================ */

/* Root container – positie */
.chatbot-root {
    position: fixed;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none; /* Root vangt GEEN touch events — alleen kinderen (bubble/venster) */
}
.chatbot-bubble {
    pointer-events: auto; /* Bubble is WEL klikbaar */
}
.chatbot--open .chatbot-window {
    pointer-events: auto; /* Chat-venster is klikbaar wanneer open */
}
.chatbot--rechts { right: 24px; align-items: flex-end; }
.chatbot--links  { left:  24px; align-items: flex-start; }

/* ── Chat bubble knop ───────────────────────────────────────── */
.chatbot-bubble {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--hvs-red);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(193,32,38,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    flex-shrink: 0;
}
.chatbot-bubble:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(193,32,38,0.55);
}
.chatbot-bubble-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
}

/* Badge (nieuwe berichten) */
.chatbot-bubble-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Pulse animatie bij eerste bezoek */
@keyframes chatbot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(193,32,38,0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(193,32,38,0); }
    100% { box-shadow: 0 0 0 0 rgba(193,32,38,0); }
}
.chatbot-bubble--pulse {
    animation: chatbot-pulse 1.6s ease-out 3;
}

/* ── Chat venster ────────────────────────────────────────────── */
.chatbot-window {
    width: 380px;
    height: 500px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Open/sluit animatie */
    transform-origin: bottom right;
    opacity: 0;
    transform: scale(0.85) translateY(16px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}
.chatbot--links .chatbot-window {
    transform-origin: bottom left;
}
/* Venster zichtbaar maken via hidden-attribuut; animatie via class */
.chatbot--open .chatbot-window {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}
/* Overschrijf hidden zodat het venster zichtbaar is als open */
.chatbot--open .chatbot-window[hidden] {
    display: flex !important;
}
.chatbot-window:not([hidden]) {
    display: flex;
}

/* Header */
.chatbot-header {
    background: var(--hvs-red);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chatbot-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.4);
}
.chatbot-header-naam {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}
.chatbot-header-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    opacity: 0.85;
}
.chatbot-status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
}
.chatbot-close-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.15s, background 0.15s;
    flex-shrink: 0;
}
.chatbot-close-btn:hover { opacity: 1; background: rgba(255,255,255,0.15); }

/* Berichten area */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 5px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 10px; }

/* Bubbels */
.chatbot-msg {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}
.chatbot-msg-bot {
    background: var(--gray-100, #f3f4f6);
    color: var(--gray-800, #1f2937);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.chatbot-msg-user {
    background: var(--hvs-red);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    text-align: right;
}

/* Typing indicator */
.chatbot-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
}
.chatbot-typing span {
    width: 7px;
    height: 7px;
    background: var(--gray-400, #9ca3af);
    border-radius: 50%;
    display: inline-block;
    animation: chatbot-bounce 1.2s infinite ease-in-out;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbot-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40%           { transform: translateY(-6px); }
}

/* Input balk */
.chatbot-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--gray-100, #f3f4f6);
    flex-shrink: 0;
    background: #fff;
}
.chatbot-input {
    flex: 1;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 22px;
    padding: 9px 15px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    background: var(--gray-50, #f9fafb);
    color: var(--gray-800, #1f2937);
}
.chatbot-input:focus { border-color: var(--hvs-red); background: #fff; }
.chatbot-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--hvs-red);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.15s;
}
.chatbot-send-btn:hover  { background: var(--hvs-red-dark); transform: scale(1.08); }
.chatbot-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.chatbot-send-btn .material-symbols-outlined { font-size: 18px; }

/* ── Mobiel ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .chatbot-root { bottom: 16px; }
    .chatbot--rechts { right: 16px; }
    .chatbot--links  { left:  16px; }
    .chatbot-window {
        width: calc(100vw - 32px);
        height: calc(100svh - 100px);
        max-height: 520px;
        transform-origin: bottom center;
    }
    /* Voorkom dat de chatbot-bubble over knoppen onderaan de pagina valt */
    body {
        padding-bottom: 90px;
    }
}

/* ============================================
   VIDEO / "ZO WERKT HET" SECTION
   ============================================ */
.video-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(193, 32, 38, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.video-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

/* Video wrapper met rode glow */
.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(193, 32, 38, 0.2), 0 0 0 1px rgba(193, 32, 38, 0.15);
    background: #000;
    aspect-ratio: 16/9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom play overlay */
.video-play-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 2;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    outline: none;
    -webkit-tap-highlight-color: rgba(193, 32, 38, 0.2);
    -webkit-appearance: none;
    appearance: none;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.video-play-overlay:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(193, 32, 38, 0.5);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--hvs-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 24px rgba(193, 32, 38, 0.4);
    position: relative;
}

/* Pulsing ring animatie */
.play-btn::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(193, 32, 38, 0.4);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.play-btn .material-symbols-outlined {
    font-size: 36px;
    color: white;
    margin-left: 4px; /* optische centering voor play icon */
}

.video-play-overlay.overlay--playing {
    opacity: 0;
    pointer-events: none;
}

/* Rechter kolom: stappen */
.video-info .section-header {
    margin-bottom: var(--space-xl);
}

.video-info .accent-line {
    width: 48px;
    height: 3px;
    background: var(--hvs-red);
    border-radius: 2px;
    margin-bottom: var(--space-md);
}

.video-info h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.video-info > p {
    color: var(--gray-400);
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
}

.video-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.video-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.video-step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(193, 32, 38, 0.15);
    border: 1px solid rgba(193, 32, 38, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--hvs-red-light);
}

.video-step-text h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 2px;
}

.video-step-text p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.5;
}

.video-cta {
    margin-top: var(--space-lg);
}

/* Responsive */
@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .play-btn {
        width: 64px;
        height: 64px;
    }
    .play-btn .material-symbols-outlined {
        font-size: 28px;
    }
}

/* ============================================
   HERO TEL CTA + TRUST LINE
   ============================================ */
.hero-tel-cta {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 18px 32px;
    box-shadow: 0 6px 24px rgba(193, 32, 38, 0.35);
}

.hero-tel-cta .material-symbols-outlined {
    font-size: 22px;
}

.hero-trust-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: var(--space-md);
    margin-bottom: 0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-tel-cta {
        width: 100%;
        justify-content: center;
        font-size: 17px;
        padding: 20px 24px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

