/* --- FONTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #000000;
    --card-bg: #141414;
    --card-glass: rgba(10, 10, 10, 0.85);
    --text-color: #ffffff;
    --text-muted: #9CA3AF;
    --border-color: #333;
    
    --col-particulier: #FF9F1C; 
    --col-creative: #FF0055;    
    --col-kmo: #00F0FF;         
    --col-managed: #39FF14;
    --col-synergy: #9900ff;

    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --container-wide: 1400px;
}

/* --- RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex; flex-direction: column; min-height: 100vh;
    margin: 0;
}

/* --- VANTA BACKGROUND --- */
#vanta-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 20px; }

/* KNOP STIJLEN (Algemeen) */
.btn { 
    display: inline-block; padding: 12px 30px; border-radius: 8px; 
    font-weight: 600; cursor: pointer; border: none; text-align: center;
    background: white; color: black; margin-top: 25px;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}
.btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255,255,255,0.2); }

/* --- HEADER TOOLBAR (Zero Gap) --- */
.logo-sticky {
    position: fixed; top: 20px; left: 20px; z-index: 2000;
    width: 60px !important; height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.header-controls {
    position: fixed; top: 28px; left: 100px; z-index: 2000;
    display: flex; align-items: center;
    /* Flex container zonder gap, we regelen dit met borders */
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    border: 1px solid #444;
    padding: 0;
    overflow: hidden; /* Zorgt dat rechte hoeken niet uitsteken */
}

/* Knoppen in de toolbar */
.widget-btn {
    height: 40px; 
    padding: 0 20px; 
    background: transparent; /* Achtergrond zit op parent */
    border: none;
    border-right: 1px solid #444; /* Scheidingslijn */
    color: white; 
    display: flex; align-items: center; justify-content: center; 
    cursor: pointer; font-weight: bold; font-size: 0.9rem;
    white-space: nowrap; text-decoration: none;
    transition: 0.2s;
    border-radius: 0; /* Geen rondingen standaard */
}

/* Laatste knop geen rand rechts */
.widget-btn:last-child { border-right: none; }

.widget-btn:hover { background: #333; }
.widget-btn.active { background: #fff; color: #000; }

/* Menu Group Wrapper */
.menu-group { position: relative; display: flex; }

/* Dropdown styling */
.dropdown-menu {
    position: absolute; top: 40px; left: 0;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid #333; border-radius: 8px;
    width: 240px; padding: 10px 0;
    display: none; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 2001;
}
.menu-group:hover .dropdown-menu { display: flex; } /* CSS Hover */

.dropdown-menu a {
    padding: 12px 20px; color: #ccc; font-size: 0.95rem;
    border-bottom: 1px solid #222; display: block;
}
.dropdown-menu a:hover { background: #333; color: #fff; padding-left: 25px; }

/* Desktop group (Taal, Contact, Top) */
.desktop-group { display: flex; }

@media (max-width: 900px) {
    .desktop-group { display: none; } /* Verberg desktop knoppen op mobiel */
    .mobile-only { display: block; }
    .header-controls { background: transparent; border: none; } /* Reset container op mobiel */
    .menu-group .widget-btn { border: 1px solid #444; border-radius: 8px; background: rgba(0,0,0,0.9); }
}
@media (min-width: 901px) { .mobile-only { display: none; } }


/* --- HERO --- */
.hero-wrapper {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 0 60px; overflow: hidden;
}

.intro-container {
    display: flex; align-items: center; justify-content: center;
    gap: 0px; margin-bottom: 60px; flex-wrap: wrap; text-align: left;
    position: relative; z-index: 10;
}

.tom-photo {
    width: 280px; height: auto; object-fit: contain; z-index: 10;
    opacity: 1 !important; filter: drop-shadow(0 0 20px rgba(0,0,0,0.9));
    margin-right: -20px;
}

.hero-text h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,1); }
.hero-text .subtitle { font-size: 1.3rem; color: #e5e5e5; max-width: 650px; text-shadow: 0 1px 5px rgba(0,0,0,1); }

/* --- BENTO GRID --- */
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 20px; width: 100%; position: relative; z-index: 10; }
@media (min-width: 600px) { .bento-grid { grid-template-columns: 1fr 1fr; } .span-2-tablet { grid-column: span 2; } }
@media (min-width: 1100px) { 
    .bento-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } 
    .span-2-desktop { grid-column: span 4; text-align: center; } 
    .span-2-desktop .bento-content { justify-content: center; }
}

.bento-card {
    background: var(--card-glass); backdrop-filter: blur(12px);
    border: 1px solid #333; padding: 30px; border-radius: 16px; 
    display: flex; flex-direction: column; justify-content: space-between; min-height: 220px;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none; color: inherit;
}
.bento-card:hover { transform: translateY(-5px); background: rgba(30, 30, 30, 0.9); border-color: rgba(255,255,255,0.3); }
.bento-card h3 { font-size: 1.5rem; margin-bottom: 10px; margin-top: 0; }
.bento-card p { font-size: 0.95rem; line-height: 1.5; color: var(--text-muted); }
.bento-extra { font-size: 0.85rem; margin-top: 15px; color: #fff; font-weight: 600; opacity: 0.8; }

/* --- PARTICULIER HERO --- */
.part-hero {
    display: flex; flex-direction: column; width: 100%; margin-bottom: 60px;
}
@media(min-width: 900px) { .part-hero { flex-direction: row; align-items: stretch; } }

.part-hero-content {
    flex: 1;
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    padding: 60px;
    display: flex; flex-direction: column; justify-content: center;
    border-top-left-radius: 16px; border-bottom-left-radius: 16px;
    border: 1px solid var(--border-color); border-right: none;
}

.part-hero-img {
    flex: 1; position: relative; min-height: 450px;
    border-top-right-radius: 16px; border-bottom-right-radius: 16px;
    overflow: hidden; border: 1px solid var(--border-color); border-left: none;
}
.part-hero-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

@media(max-width: 899px) {
    .part-hero-content { border-radius: 16px 16px 0 0; border: 1px solid #333; border-bottom: none; padding: 30px;}
    .part-hero-img { border-radius: 0 0 16px 16px; border: 1px solid #333; border-top: none; height: 300px; }
}

/* --- SERVICE BLOKKEN (Uniform voor Home & Sub) --- */
.service-block {
    background: var(--card-bg); 
    border: 1px solid var(--border-color);
    border-radius: 16px; 
    overflow: hidden; 
    margin-bottom: 40px;
    display: flex; flex-direction: column; 
    width: 100%;
}

@media(min-width: 900px) {
    .service-block { flex-direction: row; align-items: stretch; }
    .service-block:nth-child(even) { flex-direction: row-reverse; }
    .service-text { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
    .service-img-box { flex: 1; position: relative; min-height: 400px; }
    .service-img-box img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
}

@media(max-width: 899px) { 
    .service-text { padding: 30px; }
    .service-img-box { height: 250px; width: 100%; position: relative; } 
    .service-img-box img { width: 100%; height: 100%; object-fit: cover; }
}

.service-text h3 { font-size: 2rem; margin-bottom: 20px; margin-top: 0; }
.service-text ul { list-style: none; padding: 0; margin-top: 20px; }
.service-text li { margin-bottom: 12px; padding-left: 25px; position: relative; color: #ccc; }
.service-text li::before { content: '✓'; position: absolute; left: 0; font-weight: bold; }

/* Panels (FAQ/Tarieven) - Zelfde breedte als service-block */
.panel-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px;
    backdrop-filter: blur(10px);
    width: 100%;
    margin-bottom: 40px;
}

.pricing-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.pricing-table th, .pricing-table td { padding: 20px; text-align: left; border-bottom: 1px solid #333; color: white; }
.pricing-table tr:last-child td { border-bottom: none; }

/* --- STICKY CTA --- */
.sticky-cta {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    width: auto; max-width: 90%; background: rgba(10, 10, 10, 0.95);
    border: 1px solid #333; border-radius: 50px; padding: 8px 10px;
    display: flex; justify-content: center; align-items: center; z-index: 1900;
    backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.sticky-cta.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }

.cta-button {
    background: #fff; color: #000; padding: 12px 35px; border-radius: 50px;
    font-weight: bold; text-decoration: none; font-size: 1rem;
    transition: all 0.3s ease; white-space: nowrap; display: block; margin-top: 0;
}

/* --- FOOTER --- */
.site-footer {
    background: #050505; color: var(--text-muted);
    padding: 80px 0 40px; border-top: 1px solid #222;
    font-size: 0.95rem; position: relative; overflow: hidden; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; position: relative; z-index: 2; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; font-weight: 600; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); transition: 0.2s; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.contact-link { color: #fff; text-decoration: none; border-bottom: 1px dotted #666; transition: 0.3s; }
.contact-link:hover { color: var(--col-synergy); border-bottom-color: var(--col-synergy); }

.footer-form input, .footer-form textarea {
    width: 100%; padding: 10px; margin-bottom: 10px; background: #1a1a1a;
    border: 1px solid #333; color: white; border-radius: 4px;
}
.footer-form button {
    width: 100%; padding: 10px; background: white; color: black; border: none;
    border-radius: 4px; font-weight: bold; cursor: pointer;
}
.footer-watermark {
    position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
    font-size: 8rem; font-weight: 900; color: #111; z-index: 1;
    white-space: nowrap; pointer-events: none; opacity: 0.5;
}

/* Cookie Float */
#cookie-float {
    position: fixed; bottom: 20px; left: 20px; width: 300px;
    background: rgba(20, 20, 20, 0.95); border: 1px solid #444; border-radius: 12px; padding: 20px;
    z-index: 3000; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: translateY(150%); transition: transform 0.5s;
    display: flex; flex-direction: column; gap: 10px;
}
#cookie-float.show { transform: translateY(0); }
.cookie-icon { font-size: 2rem; }
.cookie-text { font-size: 0.85rem; color: #ccc; }
.cookie-btn { 
    background: var(--col-synergy); color: white; border: none; 
    padding: 8px 15px; border-radius: 6px; cursor: pointer; font-weight: bold; align-self: flex-start;
}

@media (max-width: 768px) {
    .intro-container { flex-direction: column; text-align: center; gap: 20px; }
    .tom-photo { margin-right: 0; width: 220px; }
    .header-controls { left: 70px; top: 20px; }
    .logo-sticky { width: 40px !important; top: 15px; left: 15px; }
    .footer-watermark { font-size: 4rem; }
}