/* ============================================================
   LokaalTotaal – 2026 Edition
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* --- Tokens --- */
:root {
    --ink:          #0E0D0C;
    --ink-soft:     #3D3B38;
    --ink-muted:    #7A766F;
    --ink-light:    #B0ABA2;
    --paper:        #F5F1EB;
    --paper-alt:    #EDE9E1;
    --surface:      #FFFFFF;
    --border:       #DDD9D2;
    --border-light: #E8E4DD;
    --brand:        #1B3A5C;
    --brand-mid:    #2A5285;
    --accent:       #E8540A;
    --accent-warm:  #FF6B1A;
    --accent-pale:  #FFF0E8;

    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 32px;
    --r-pill: 100px;

    --shadow-xs:  0 1px 2px rgba(14,13,12,.04);
    --shadow-sm:  0 2px 8px rgba(14,13,12,.06), 0 1px 2px rgba(14,13,12,.04);
    --shadow-md:  0 6px 20px rgba(14,13,12,.08), 0 2px 6px rgba(14,13,12,.04);
    --shadow-lg:  0 16px 48px rgba(14,13,12,.10), 0 4px 12px rgba(14,13,12,.05);
    --shadow-xl:  0 24px 64px rgba(14,13,12,.12), 0 8px 20px rgba(14,13,12,.06);

    --ease: cubic-bezier(.4, 0, .2, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --t: 220ms;
    --t-slow: 400ms;
}

/* --- Body --- */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    padding-top: 80px; /* float header offset */
}

/* --- Noise overlay --- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

/* --- Utilities --- */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--brand); color: #fff; }
.section-ink  { background: var(--ink); color: #fff; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -.02em;
}
.section-dark .section-title,
.section-ink  .section-title { color: #fff; }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--r-pill);
    transition: all var(--t) var(--ease);
    cursor: pointer;
    border: 1.5px solid transparent;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: .01em;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,84,10,.35);
}
.btn-dark {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.btn-dark:hover {
    background: var(--ink-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14,13,12,.25);
}
.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn-outline:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    transform: translateY(-1px);
}
.btn-outline-white {
    background: transparent;
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.25);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.btn-white {
    background: #fff;
    color: var(--accent);
    border-color: #fff;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
    padding: 9px 18px;
    font-size: 13px;
}
.btn-ghost:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ============================================================
   FLOATING GLASS HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1240px;
    z-index: 200;
    background: rgba(245, 241, 235, .82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.site-header.scrolled {
    background: rgba(245, 241, 235, .94);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 24px;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.4px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 1px;
}
.logo-lokaal { color: var(--ink); }
.logo-dot    { color: var(--accent); font-size: 22px; line-height: 1; margin: 0 1px; }
.logo-totaal { color: var(--accent); }

/* Nav */
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: var(--r-pill);
    transition: all var(--t) var(--ease);
}
.nav-link:hover { background: var(--ink); color: #fff; }
.nav-link.active { background: var(--ink); color: #fff; }
.nav-link svg { opacity: .5; transition: transform var(--t); }
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    z-index: 300;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    color: var(--ink-soft);
    border-radius: var(--r-md);
    transition: all var(--t) var(--ease);
}
.dropdown li a:hover { background: var(--paper); color: var(--accent); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-pill);
    color: var(--ink-soft);
    border: 1.5px solid var(--border);
    transition: all var(--t) var(--ease);
}
.btn-icon:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Hamburger */
.btn-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--border);
    padding: 0;
}
.btn-hamburger span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--t) var(--ease), opacity var(--t);
}
.btn-hamburger.active { background: var(--ink); border-color: var(--ink); }
.btn-hamburger.active span { background: #fff; }
.btn-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.btn-hamburger.active span:nth-child(2) { opacity: 0; }
.btn-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: calc(100svh - 80px);
    background: var(--ink);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Grain on hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px;
    opacity: .04;
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
}

/* Left: text block */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px 80px 32px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 6.5vw, 88px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 32px;
}
.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,.55);
    max-width: 440px;
    line-height: 1.75;
    margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Right: accent panel */
.hero-panel {
    background: var(--accent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}
.hero-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.hero-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0,0,0,.08);
}

.panel-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.panel-selector {
    position: relative;
    z-index: 1;
    background: rgba(0,0,0,.2);
    border-radius: var(--r-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
}
.panel-selector select {
    width: 100%;
    appearance: none;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 13px 40px 13px 16px;
    border-radius: var(--r-md);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 12px;
}
.panel-selector select option { background: #333; }
.panel-selector select:focus { outline: none; border-color: rgba(255,255,255,.5); }
.select-icon {
    position: absolute;
    right: 32px;
    top: 36px;
    color: rgba(255,255,255,.6);
    pointer-events: none;
}

/* Hero bottom strip */
.hero-strip {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 32px;
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.hero-stat { display: flex; align-items: baseline; gap: 8px; }
.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1;
}
.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

/* ============================================================
   TICKER / MARQUEE
   ============================================================ */
.ticker {
    background: var(--accent);
    overflow: hidden;
    padding: 12px 0;
    position: relative;
}
.ticker-track {
    display: flex;
    gap: 0;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}
.ticker-sep {
    color: rgba(255,255,255,.4);
    font-size: 16px;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   GEMEENTE PILLS
   ============================================================ */
.gemeente-row {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.gemeente-row-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.gemeente-row-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    white-space: nowrap;
}
.gp-list { display: flex; gap: 8px; flex-wrap: wrap; }
.gp {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    color: var(--ink-soft);
    transition: all var(--t) var(--ease);
}
.gp:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    transform: translateY(-1px);
}
.gp-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.gp-accent:hover {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
}

/* ============================================================
   NEWS – Editorial Layout
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.news-main {
    background: var(--surface);
    display: flex;
    flex-direction: column;
}
.news-sidebar {
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Featured article */
.news-featured {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 36px;
    transition: background var(--t) var(--ease);
}
.news-featured:hover { background: var(--paper); }

.news-img-placeholder {
    width: 100%;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--paper-alt) 0%, var(--border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
    margin-bottom: 28px;
    height: 240px;
    overflow: hidden;
    position: relative;
}
.news-img-placeholder svg { opacity: .4; }

.news-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    margin-bottom: 14px;
}
.cat-gemeente   { background: #EFF6FF; color: #1D4ED8; }
.cat-sport      { background: #F0FDF4; color: #15803D; }
.cat-events     { background: #FDF4FF; color: #7E22CE; }
.cat-wonen      { background: #F0F9FF; color: #0369A1; }
.cat-politiek   { background: #FFF7ED; color: #C2410C; }

.news-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.nm-gemeente {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
}
.nm-date { font-size: 12px; color: var(--ink-light); }
.nm-sep  { font-size: 12px; color: var(--border); }

.news-headline {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.news-excerpt {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}
.news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 2px;
    width: fit-content;
    transition: gap var(--t) var(--ease), color var(--t), border-color var(--t);
}
.news-readmore:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }

/* Compact news items */
.news-compact {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: var(--surface);
    transition: background var(--t) var(--ease);
    cursor: pointer;
}
.news-compact:hover { background: var(--paper); }

.nc-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--paper-alt), var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
    overflow: hidden;
}
.nc-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nc-cat  { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.nc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nc-meta { font-size: 12px; color: var(--ink-light); }

/* ============================================================
   BENTO GRID – Categories
   ============================================================ */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 180px;
    gap: 14px;
}
.bento-card {
    border-radius: var(--r-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform var(--t) var(--spring), box-shadow var(--t) var(--ease);
    text-decoration: none;
}
.bento-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}
.bento-card:active { transform: translateY(-2px) scale(1.005); }

/* Sizes */
.bento-lg { grid-column: span 2; grid-row: span 2; justify-content: flex-start; }
.bento-md { grid-column: span 2; }
.bento-sm { grid-column: span 1; }

/* Colors */
.bento-navy   { background: var(--brand); color: #fff; }
.bento-orange { background: var(--accent); color: #fff; }
.bento-cream  { background: var(--paper-alt); color: var(--ink); border: 1px solid var(--border); }
.bento-ink    { background: var(--ink); color: #fff; }
.bento-slate  { background: #334155; color: #fff; }
.bento-warm   { background: #7C5C3B; color: #fff; }

/* Decorative circle on cards */
.bento-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    transition: transform var(--t-slow) var(--ease);
}
.bento-card:hover::before { transform: scale(1.4); }

.bento-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.bento-cream .bento-icon { background: rgba(14,13,12,.07); }

.bento-big-num {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: rgba(255,255,255,.15);
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-display);
}
.bento-cream .bento-big-num { color: rgba(14,13,12,.06); }

.bento-card h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.2;
    margin-bottom: 4px;
}
.bento-lg h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 8px; }
.bento-card p {
    font-size: 13.5px;
    opacity: .65;
    line-height: 1.5;
}
.bento-count {
    margin-top: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .55;
}
.bento-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t), transform var(--t) var(--spring);
}
.bento-card:hover .bento-arrow {
    background: rgba(255,255,255,.3);
    transform: translate(2px, -2px);
}

/* ============================================================
   BUSINESSES – Horizontal Scroll
   ============================================================ */
.h-scroll-wrap {
    overflow-x: auto;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin: 0 -32px;
    padding: 8px 32px 16px;
}
.h-scroll-wrap::-webkit-scrollbar { display: none; }
.h-scroll-wrap:active { cursor: grabbing; }

.h-scroll-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.biz-card {
    width: 280px;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all var(--t) var(--spring);
}
.biz-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.biz-header { display: flex; align-items: flex-start; gap: 12px; }
.biz-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--brand), var(--brand-mid));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
}
.biz-meta { min-width: 0; }
.biz-cat {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 2px;
}
.biz-gemeente {
    font-size: 12px;
    color: var(--ink-light);
    display: flex;
    align-items: center;
    gap: 3px;
}
.biz-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
}
.biz-desc {
    font-size: 13.5px;
    color: var(--ink-muted);
    line-height: 1.6;
    flex: 1;
}
.biz-divider { height: 1px; background: var(--border-light); }
.biz-footer { display: flex; align-items: center; justify-content: space-between; }
.biz-rating { display: flex; align-items: center; gap: 5px; }
.stars { display: flex; gap: 2px; }
.biz-score { font-size: 13px; font-weight: 700; color: var(--ink); }
.biz-reviews { font-size: 12px; color: var(--ink-light); }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
    background: var(--ink);
    border-radius: var(--r-xl);
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .08;
}
.cta-text { position: relative; }
.cta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.cta-body { font-size: 16px; color: rgba(255,255,255,.55); max-width: 400px; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ============================================================
   AGENDA
   ============================================================ */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.agenda-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all var(--t) var(--spring);
    cursor: pointer;
}
.agenda-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.agenda-date-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--r-md);
    background: var(--ink);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.ad-day   { font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.ad-month { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.agenda-body { flex: 1; min-width: 0; }
.agenda-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    background: var(--paper);
    color: var(--ink-muted);
    border: 1px solid var(--border);
    margin-bottom: 8px;
}
.agenda-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.agenda-detail {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    color: var(--ink-muted);
    line-height: 1.5;
}
.agenda-detail + .agenda-detail { margin-top: 3px; }

/* ============================================================
   DIENSTEN
   ============================================================ */
.diensten-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.dienst-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: all var(--t) var(--spring);
}
.dienst-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.2);
    transform: translateY(-3px);
}
.dienst-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.8);
    margin-bottom: 4px;
}
.dienst-card h3 { font-size: 15px; font-weight: 700; color: #fff; }
.dienst-card p  { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.55; flex: 1; }
.dienst-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-warm);
    margin-top: 4px;
    transition: gap var(--t) var(--ease);
}
.dienst-card:hover .dienst-link { gap: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0A0908; color: rgba(255,255,255,.5); }
.footer-main { padding: 72px 0 48px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 56px;
}

.footer-logo { font-size: 21px; }
.footer-brand p {
    font-size: 14px;
    line-height: 1.75;
    margin: 16px 0 24px;
    color: rgba(255,255,255,.4);
    max-width: 280px;
}
.footer-social { display: flex; gap: 8px; }
.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.45);
    transition: all var(--t) var(--ease);
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
    font-size: 14px;
    color: rgba(255,255,255,.4);
    transition: color var(--t);
}
.footer-col ul a:hover { color: rgba(255,255,255,.85); }
.link-highlight { color: var(--accent-warm) !important; font-weight: 500; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12.5px; color: rgba(255,255,255,.25); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 9, 8, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 400;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 96px 24px 48px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t) var(--ease);
}
.search-overlay.active { opacity: 1; pointer-events: auto; }
.search-box {
    width: 100%;
    max-width: 640px;
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}
.search-box h2 {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: -.02em;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--r-pill);
    margin-bottom: 20px;
    transition: border-color var(--t);
}
.search-input-wrap:focus-within { border-color: var(--accent); }
.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--ink);
    background: none;
}
.search-input-wrap input::placeholder { color: var(--ink-light); }
.search-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-tag-label { font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.stag {
    padding: 5px 14px;
    font-size: 13px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    color: var(--ink-soft);
    transition: all var(--t);
    cursor: pointer;
}
.stag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================
   LOCATION DETECTION
   ============================================================ */

/* Detect button */
.btn-locate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all var(--t) var(--ease);
    margin-bottom: 12px;
    font-family: var(--font-body);
}
.btn-locate:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.4);
    color: #fff;
}
.btn-locate:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Pulse animation on the pin icon while loading */
.btn-locate.locating .locate-icon {
    animation: locatePulse 1s ease-in-out infinite;
}
@keyframes locatePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.85); }
}

/* Detected gemeente badge — shown in the panel */
.detected-badge {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--r-md);
    padding: 12px 14px;
    margin-bottom: 12px;
    animation: fadeSlideIn .3s var(--spring) both;
}
.detected-badge.visible { display: flex; }
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}
.db-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--r-sm);
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.db-text { min-width: 0; }
.db-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 1px;
}
.db-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Error hint */
.locate-error {
    display: none;
    font-size: 12.5px;
    color: rgba(255,255,255,.55);
    text-align: center;
    margin-bottom: 8px;
}
.locate-error.visible { display: block; }

/* Location pill in gemeente strip */
.gp-location {
    display: none;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: var(--r-pill);
    animation: fadeSlideIn .3s var(--spring) both;
}
.gp-location.visible { display: flex; }
.gp-location svg { opacity: .7; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .ticker-track { animation: none; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   GEMEENTE HERO PAGE
   ============================================================ */
.gm-hero {
    background: var(--gm-color, var(--brand));
    padding: 64px 0 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.gm-hero::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}
.gm-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.gm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    margin-bottom: 16px;
}
.gm-breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--t); }
.gm-breadcrumb a:hover { color: #fff; }
.gm-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 8px;
}
.gm-subtitle { font-size: 16px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.gm-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.gm-badge {
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.15);
}
.gm-hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.gm-stat-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    text-align: center;
    min-width: 120px;
    backdrop-filter: blur(10px);
}
.gm-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 4px;
}
.gm-stat-lbl {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}

/* Stats bar below hero */
.gm-stats-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.gm-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    divide-x: var(--border);
}
.gm-stat-item {
    padding: 16px 20px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.gm-stat-item:last-child { border-right: none; }
.gm-stat-item-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.gm-stat-item-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

/* Content grid */
.gm-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: flex-start;
}
.gm-news-list { display: flex; flex-direction: column; gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.gm-news-item {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    background: var(--surface);
    transition: background var(--t);
    cursor: pointer;
}
.gm-news-item:hover { background: var(--paper); }

/* Sidebar cards */
.gm-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
}
.gm-info-card h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
}
.gm-info-list { display: flex; flex-direction: column; gap: 10px; }
.gm-info-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-soft);
}
.gm-info-list svg { flex-shrink: 0; color: var(--ink-muted); }

.gm-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.gm-quick-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all var(--t) var(--ease);
}
.gm-quick-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Similar municipalities */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.similar-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all var(--t) var(--spring);
}
.similar-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.similar-card-inner { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.similar-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.similar-pop  { font-size: 12px; color: var(--ink-muted); }
.similar-card svg { flex-shrink: 0; color: var(--ink-light); transition: transform var(--t) var(--spring), color var(--t); }
.similar-card:hover svg { color: var(--accent); transform: translateX(3px); }

/* ============================================================
   GEMEENTEN BROWSER PAGE
   ============================================================ */
.gm-browser-hero {
    padding: 72px 0 48px;
    background: var(--ink);
    color: #fff;
}
.gm-browser-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -.03em;
    margin-bottom: 10px;
}
.gm-browser-sub {
    font-size: 15px;
    color: rgba(255,255,255,.45);
    margin-bottom: 32px;
}
.gm-search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: var(--r-pill);
    padding: 12px 20px;
    max-width: 480px;
    margin-bottom: 28px;
    transition: border-color var(--t);
}
.gm-search-wrap:focus-within {
    border-color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
}
.gm-search-wrap svg { color: rgba(255,255,255,.4); flex-shrink: 0; }
.gm-search-wrap input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 16px;
    color: #fff;
}
.gm-search-wrap input::placeholder { color: rgba(255,255,255,.35); }

.gm-province-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gm-pf-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    transition: all var(--t) var(--ease);
}
.gm-pf-pill:hover { background: rgba(255,255,255,.14); color: #fff; }
.gm-pf-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.gm-pf-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,255,255,.15);
    border-radius: var(--r-pill);
    padding: 1px 6px;
}
.gm-pf-pill.active .gm-pf-count { background: rgba(0,0,0,.15); }

/* Province sections */
.gm-province-section { margin-bottom: 56px; }
.gm-province-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.gm-province-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-display);
}
.gm-province-count {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* Municipality cards grid */
.gm-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.gm-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all var(--t) var(--spring);
}
.gm-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.gm-card svg { flex-shrink: 0; color: var(--ink-light); transition: transform var(--t) var(--spring), color var(--t); }
.gm-card:hover svg { color: var(--accent); transform: translateX(2px); }
.gm-card-inner { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gm-card-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--r-sm);
    background: var(--paper-alt);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-muted);
}
.gm-card-body { min-width: 0; }
.gm-card-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gm-card-pop {
    display: block;
    font-size: 11.5px;
    color: var(--ink-muted);
}
.gm-no-results {
    text-align: center;
    padding: 64px;
    color: var(--ink-muted);
    font-size: 16px;
}

/* Responsive gemeente pages */
@media (max-width: 900px) {
    .gm-hero-inner { flex-direction: column; align-items: flex-start; }
    .gm-stats-grid { grid-template-columns: repeat(3, 1fr); }
    .gm-content-grid { grid-template-columns: 1fr; }
    .similar-grid { grid-template-columns: 1fr 1fr; }
    .gm-cards-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 640px) {
    .gm-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .similar-grid { grid-template-columns: 1fr; }
    .gm-hero-stats { gap: 10px; }
    .gm-stat-card { min-width: 100px; padding: 14px 16px; }
}

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: rgba(245, 241, 235, .92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border);
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
}
.mobile-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    color: var(--ink-muted);
    border-radius: var(--r-md);
    transition: all var(--t);
    cursor: pointer;
    letter-spacing: .02em;
}
.mobile-nav-item:hover,
.mobile-nav-item.active { color: var(--accent); }
.mobile-nav-item.active { background: var(--accent-pale); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .bento {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 200px 180px 180px;
    }
    .bento-lg { grid-column: span 1; grid-row: span 1; }
    .bento-md { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .diensten-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    body { padding-top: 72px; }
    .site-header { top: 12px; width: calc(100% - 32px); }
    .main-nav { display: none; }
    .btn-hamburger { display: flex; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-panel { display: none; }
    .hero-content { padding: 56px 32px; }
    .news-grid { grid-template-columns: 1fr; }
    .agenda-grid { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .bento-lg, .bento-md { grid-column: span 2; }
    .bento-sm { grid-column: span 1; }
    .mobile-nav { display: block; }
    body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .site-header { border-radius: var(--r-lg); }
    .hero-content { padding: 40px 20px; }
    .hero-strip { padding: 20px; gap: 24px; }
    .section { padding: 64px 0; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
    .bento-lg, .bento-md, .bento-sm { grid-column: span 2; }
    .bento-card { padding: 20px; }
    .cta-block { padding: 36px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .h-scroll-wrap { margin: 0 -20px; padding: 8px 20px 16px; }
}

/* --- Mobile overlay nav --- */
@media (max-width: 900px) {
    .main-nav.nav-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: var(--surface);
        z-index: 190;
        padding: 100px 24px 24px;
        overflow-y: auto;
        gap: 4px;
    }
    .main-nav.nav-open .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        width: 100%;
    }
    .main-nav.nav-open .nav-link {
        font-size: 22px;
        font-weight: 700;
        padding: 14px 20px;
        width: 100%;
        border-radius: var(--r-md);
        color: var(--ink);
    }
    .main-nav.nav-open .dropdown { display: none !important; }
}
