  :root {
    --bg: #fafbfd;
    --bg-soft: #eef1f6;
    --card: #ffffff;
    --ink: #111827;
    --muted: #5d6b80;
    --blue: #2A47F5;
    --blue-soft: rgba(42,71,245,0.09);
    --mint: #0fbf8f;
    --border: rgba(16,24,40,0.1);
    --shadow: 0 8px 30px rgba(16,24,40,0.07);
    --shadow-lg: 0 18px 50px rgba(16,24,40,0.14);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg); color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif; font-weight: 400;
    line-height: 1.7; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 { font-family: 'Archivo', sans-serif; font-weight: 700; letter-spacing: -0.015em; line-height: 1.18; }
  h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
  h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
  .eyebrow {
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 0.9rem; display: block;
  }
  .accent { color: var(--blue); }
  .sub { color: var(--muted); margin-bottom: 2.5rem; max-width: 620px; font-size: 1.02rem; }
  section { padding: 4.8rem 1.5rem; }
  .container { max-width: 1150px; margin: 0 auto; }

  /* ===== Nav ===== */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,251,253,0.88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    max-width: 1150px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1.5rem; gap: 1rem;
  }
  .logo { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
  .logo .mark {
    width: 34px; height: 34px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .logo .mark img, .logo .mark svg { width: 100%; height: 100%; display: block; }
  .logo .word { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.1rem; }
  .logo .word span { color: var(--blue); }
  .nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; flex-wrap: wrap; }
  .nav-links a {
    color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 600;
    transition: color .2s; cursor: pointer;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--ink); }
  .nav-portal {
    background: var(--ink); color: #fff !important; border-radius: 9px;
    padding: 0.55rem 1.25rem !important; display: inline-flex; align-items: center; gap: 0.5rem;
  }
  .nav-portal:hover { background: var(--blue); }
  .nav-portal svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
  @media (max-width: 940px) {
    .nav-inner { flex-direction: column; padding-bottom: 0.7rem; }
    .nav-links { justify-content: center; gap: 1rem; }
  }

  /* ===== Pagina's ===== */
  .page { display: none; animation: fadeIn .4s ease; }
  .page.active { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  main { padding-top: 62px; }
  @media (max-width: 940px) { main { padding-top: 118px; } }

  /* ===== Hero ===== */
  .hero { padding: 6rem 1.5rem 5rem; position: relative; overflow: hidden; }
  .hero::before {
    content: ''; position: absolute; top: -200px; right: -200px; width: 560px; height: 560px;
    background: radial-gradient(circle, var(--blue-soft), transparent 65%); pointer-events: none;
  }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
  @media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
  .hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); font-weight: 800; margin-bottom: 1.3rem; }
  .hero h1 .grad { background: linear-gradient(90deg, var(--blue), #6f86ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero p { color: var(--muted); font-size: 1.12rem; max-width: 520px; margin-bottom: 2.2rem; }
  .btn {
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: var(--blue); color: #fff; padding: 0.9rem 1.9rem;
    text-decoration: none; font-weight: 700; font-size: 0.93rem;
    border: none; border-radius: 11px; cursor: pointer;
    box-shadow: 0 8px 24px rgba(42,71,245,0.3);
    transition: transform .2s, box-shadow .2s, background .2s;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(42,71,245,0.4); }
  .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); box-shadow: none; margin-left: 0.6rem; }
  .btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
  .btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .hero-stats { display: flex; gap: 2.4rem; margin-top: 2.8rem; flex-wrap: wrap; }
  .stat .num { font-family: 'Archivo', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--blue); }
  .stat .lbl { font-size: 0.82rem; color: var(--muted); }

  /* Hero mockup-visual */
  .mockup {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow-lg); overflow: hidden;
  }
  .mockup .bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
  .mockup .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-soft); }
  .mockup .bar i:first-child { background: #f1707a; } .mockup .bar i:nth-child(2) { background: #f5c66b; } .mockup .bar i:nth-child(3) { background: #66cf8f; }
  .mockup .mock-body { padding: 1.2rem 1.4rem 1.4rem; }
  .mock-row { display: flex; gap: 0.8rem; margin-bottom: 0.9rem; align-items: center; }
  .mock-chip { height: 10px; border-radius: 6px; background: var(--bg-soft); flex: 1; }
  .mock-chip.w2 { flex: 2; } .mock-chip.blue { background: var(--blue-soft); }
  .mock-chart { display: flex; align-items: flex-end; gap: 7px; height: 90px; margin-top: 1.1rem; }
  .mock-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #6f86ff, var(--blue)); animation: growBar 1.2s ease both; }
  @keyframes growBar { from { height: 0 !important; } }

  /* ===== Kaarten ===== */
  .grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .feature {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.8rem; transition: transform .25s, box-shadow .25s;
    box-shadow: var(--shadow);
  }
  .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .ic {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
    background: var(--blue-soft); color: var(--blue);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  }
  .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .feature h3 { font-size: 1.06rem; margin-bottom: 0.35rem; }
  .feature p { color: var(--muted); font-size: 0.92rem; }
  .soft { background: var(--bg-soft); }

  /* ===== Prijzen ===== */
  .price-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
  .plan {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
  }
  .plan.hot { border: 2px solid var(--blue); position: relative; }
  .plan.hot .flag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: #fff; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; border-radius: 100px; padding: 0.25rem 1rem;
  }
  .plan h3 { font-size: 1.15rem; }
  .plan .p-price { font-family: 'Archivo', sans-serif; font-size: 2.1rem; font-weight: 800; margin: 0.5rem 0 0.1rem; }
  .plan .p-price small { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
  .plan .p-price .old { font-size: 1.05rem; color: var(--muted); text-decoration: line-through; font-weight: 600; margin-right: 0.45rem; vertical-align: 0.45em; }
  .plan .p-example { display: inline-block; margin: -0.6rem 0 1.2rem; color: var(--blue); font-weight: 700; font-size: 0.86rem; text-decoration: none; }
  .plan .p-example:hover { text-decoration: underline; }
  .plan .p-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.2rem; }
  .plan ul { list-style: none; margin-bottom: 1.6rem; }
  .plan li { padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; color: #38465a; font-size: 0.92rem; }
  .plan li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--mint); }
  .plan .btn { margin-top: auto; justify-content: center; }

  /* ===== Projecten ===== */
  .proj-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .proj {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  }
  .proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .proj .thumb { height: 170px; display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: 0.05em; }
  .proj .body { padding: 1.4rem 1.5rem 1.5rem; }
  .proj .tagrow { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
  .proj .tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; background: var(--bg-soft); border-radius: 100px; padding: 0.22rem 0.75rem; color: var(--muted); }
  .proj h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
  .proj p { color: var(--muted); font-size: 0.92rem; }

  /* ===== Team ===== */
  .team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
  .member {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    padding: 2rem; box-shadow: var(--shadow); text-align: center;
  }
  .member .avatar {
    width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 1.1rem;
    background: linear-gradient(135deg, var(--blue), #6f86ff);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.7rem;
  }
  .member.alt .avatar { background: linear-gradient(135deg, var(--mint), #57d8b2); }
  .member h3 { font-size: 1.15rem; }
  .member .role { color: var(--blue); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem; }
  .member.alt .role { color: var(--mint); }
  .member p { color: var(--muted); font-size: 0.93rem; }

  /* ===== Formulier ===== */
  .glass-form { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 2rem; box-shadow: var(--shadow); }
  .field { margin-bottom: 1.05rem; }
  .row2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
  @media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
  label { display: block; font-size: 0.73rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; font-weight: 700; }
  input, select, textarea {
    width: 100%; padding: 0.78rem 1rem; background: var(--bg);
    border: 1px solid var(--border); color: var(--ink); font-size: 0.95rem;
    border-radius: 10px; font-family: inherit; transition: border-color .2s, box-shadow .2s;
  }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
  textarea { resize: vertical; min-height: 95px; }

  /* ============================================================
     PORTAL
  ============================================================ */
  .portal-shell { display: grid; grid-template-columns: 225px 1fr; min-height: calc(100vh - 62px); }
  @media (max-width: 860px) { .portal-shell { grid-template-columns: 1fr; } }
  .sidebar {
    background: var(--ink); color: #cdd5e1; padding: 1.6rem 1rem;
    display: flex; flex-direction: column; gap: 0.25rem;
  }
  @media (max-width: 860px) { .sidebar { flex-direction: row; flex-wrap: wrap; padding: 0.8rem; } }
  .side-label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: #67738a; padding: 0.6rem 0.9rem 0.3rem; }
  .side-link {
    display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.9rem;
    border-radius: 9px; cursor: pointer; font-size: 0.9rem; font-weight: 500;
    transition: background .2s, color .2s; color: #cdd5e1;
  }
  .side-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .side-link:hover { background: rgba(255,255,255,0.07); color: #fff; }
  .side-link.active { background: var(--blue); color: #fff; }
  .side-client { margin-top: auto; padding: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; color: #8b97ab; }
  @media (max-width: 860px) { .side-client { display: none; } }
  .portal-main { padding: 2rem clamp(1.2rem, 3vw, 2.6rem); background: var(--bg-soft); }
  .pview { display: none; animation: fadeIn .3s ease; }
  .pview.active { display: block; }
  .pview h2 { font-size: 1.5rem; }
  .pview .psub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.6rem; }

  .kpi-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 1.5rem; }
  .kpi { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
  .kpi .k-lbl { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .kpi .k-num { font-family: 'Archivo', sans-serif; font-size: 1.8rem; font-weight: 800; margin: 0.15rem 0; }
  .kpi .k-trend { font-size: 0.8rem; font-weight: 600; }
  .up { color: var(--mint); } .down { color: #e0564a; }

  .panel { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
  .panel h3 { font-size: 1.02rem; margin-bottom: 1rem; }
  .chart-svg { width: 100%; height: auto; display: block; }
  .chart-svg .tip, .chart-svg .vline { opacity: 0; transition: opacity .12s ease; }
  .chart-svg .dot { transition: r .12s ease; }
  .chart-svg .hit { cursor: crosshair; }
  .chart-svg .pt:hover .tip, .chart-svg .pt:hover .vline { opacity: 1; }
  .chart-svg .pt:hover .dot { r: 5; }
  .stat2 { display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; }
  @media (max-width: 800px) { .stat2 { grid-template-columns: 1fr; } }
  .hbar { margin-bottom: 0.85rem; }
  .hbar .hb-top { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.3rem; }
  .hbar .hb-top b { font-weight: 600; }
  .hbar .hb-top span { color: var(--muted); }
  .hbar .hb-track { height: 8px; border-radius: 100px; background: var(--bg-soft); overflow: hidden; }
  .hbar .hb-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, #6f86ff, var(--blue)); }
  .hbar.mint .hb-fill { background: linear-gradient(90deg, #57d8b2, var(--mint)); }
  .daybars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 0.4rem; }
  .daybars .db { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
  .daybars .db i { width: 100%; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #6f86ff, var(--blue)); opacity: 0.85; }
  .daybars .db.hot i { opacity: 1; background: linear-gradient(180deg, var(--mint), #0a8f6b); }
  .daybars .db small { font-size: 0.7rem; color: var(--muted); }
  .funnel-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.7rem; }
  .funnel-row .f-label { width: 175px; font-size: 0.86rem; color: var(--muted); flex-shrink: 0; }
  .funnel-row .f-bar { height: 30px; border-radius: 7px; background: linear-gradient(90deg, #6f86ff, var(--blue)); display: flex; align-items: center; padding-left: 0.8rem; color: #fff; font-weight: 700; font-size: 0.85rem; min-width: 52px; }
  .funnel-row:nth-child(3) .f-bar { background: linear-gradient(90deg, #57d8b2, var(--mint)); }

  table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
  th { text-align: left; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--border); }
  td { padding: 0.7rem; border-bottom: 1px solid var(--border); }
  tr:last-child td { border-bottom: none; }
  .pill { display: inline-block; font-size: 0.74rem; font-weight: 700; border-radius: 100px; padding: 0.18rem 0.7rem; }
  .pill.new { background: var(--blue-soft); color: var(--blue); }
  .pill.open { background: rgba(245,198,107,0.2); color: #a87917; }
  .pill.won { background: rgba(15,191,143,0.13); color: #0a8f6b; }
  .pill.done { background: var(--bg-soft); color: var(--muted); }
  .pill.click { cursor: pointer; user-select: none; transition: transform .15s, box-shadow .15s; }
  .pill.click:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(16,24,40,0.18); }
  .pill.click::after { content: ' ›'; opacity: .55; }

  .drop {
    border: 2px dashed var(--border); border-radius: 14px; padding: 2rem;
    text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s;
  }
  .drop:hover { border-color: var(--blue); background: var(--blue-soft); }
  .doc-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
  .doc-row:last-child { border-bottom: none; }
  .doc-row svg { width: 17px; height: 17px; stroke: var(--muted); fill: none; stroke-width: 1.8; flex-shrink: 0; }
  .doc-row small { margin-left: auto; color: var(--muted); white-space: nowrap; }

  .form-ok {
    display: none; margin-top: 1rem; padding: 0.85rem 1rem;
    background: rgba(15,191,143,0.1); border: 1px solid var(--mint);
    border-radius: 10px; font-size: 0.9rem;
  }
  .form-err {
    display: none; margin-top: 1rem; padding: 0.85rem 1rem;
    background: rgba(224,86,74,0.09); border: 1px solid #e0564a;
    border-radius: 10px; font-size: 0.9rem; color: #a3271c;
  }
  .form-err a { color: #a3271c; font-weight: 700; }

  /* Login */
  .login-wrap { min-height: calc(100vh - 62px); display: flex; align-items: center; justify-content: center; padding: 2rem 1.5rem; background: var(--bg-soft); }
  .login-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 2.4rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 410px; }
  .login-card h2 { font-size: 1.4rem; margin-bottom: 0.3rem; }
  .login-card .psub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }
  .demo-note { margin-top: 1.1rem; font-size: 0.82rem; color: var(--muted); text-align: center; }

  /* ===== Footer (uitgebreid) ===== */
  footer.site { border-top: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 0.88rem; }
  .footer-grid {
    max-width: 1150px; margin: 0 auto; padding: 3rem 1.5rem 2rem;
    display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  @media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
  @media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
  .footer-grid .f-brand .logo { margin-bottom: 0.8rem; }
  .footer-grid p { font-size: 0.88rem; line-height: 1.6; }
  .footer-grid h4 { font-family: 'Archivo', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.9rem; }
  .footer-grid ul { list-style: none; }
  .footer-grid li { margin-bottom: 0.5rem; }
  .footer-grid a { color: var(--muted); text-decoration: none; transition: color .2s; }
  .footer-grid a:hover { color: var(--blue); }
  .footer-legal { border-top: 1px solid var(--border); text-align: center; padding: 1.2rem 1.5rem; font-size: 0.78rem; color: var(--muted); }
  .footer-legal a { color: var(--muted); text-decoration: none; font-weight: 400; opacity: 0.75; transition: opacity .15s, color .15s; }
  .footer-legal a:hover { opacity: 1; color: var(--ink); }
  .social-ig { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem; color: var(--muted); font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: color .2s; }
  .social-ig svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .social-ig:hover { color: var(--blue); }

  /* Wachtwoord tonen/verbergen */
  .pw-wrap { position: relative; }
  .pw-wrap input { padding-right: 2.9rem; }
  .pw-toggle { position: absolute; right: 0.55rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 0.35rem; color: var(--muted); display: flex; border-radius: 6px; }
  .pw-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .pw-toggle:hover { color: var(--ink); }

  /* ===== Toegankelijkheid ===== */
  .skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--blue); color: #fff; padding: 0.7rem 1.2rem; border-radius: 0 0 10px 0;
    font-weight: 700; font-size: 0.9rem; text-decoration: none;
  }
  .skip-link:focus { left: 0; }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
  .nav-links a:focus-visible { outline-offset: 4px; }

  /* ============================================================
     BEHEER (privé-dashboard bswebdesign)
  ============================================================ */
  .toolbar { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
  .toolbar .t-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
  .btn.sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; box-shadow: none; }
  .btn.sm:hover { box-shadow: 0 8px 20px rgba(42,71,245,0.28); }
  .btn.danger { background: #e0564a; box-shadow: none; }
  .btn.danger:hover { background: #c8463b; box-shadow: 0 8px 20px rgba(224,86,74,0.3); }
  .linkbtn { background: none; border: none; color: var(--blue); font-weight: 700; cursor: pointer; font-size: 0.84rem; padding: 0.25rem 0.45rem; font-family: inherit; border-radius: 7px; }
  .linkbtn:hover { background: var(--blue-soft); }
  .linkbtn.del { color: #e0564a; }
  .linkbtn.del:hover { background: rgba(224,86,74,0.1); }
  .row-actions { display: flex; gap: 0.25rem; justify-content: flex-end; }

  .pill.starter { background: var(--bg-soft); color: var(--muted); }
  .pill.groei { background: var(--blue-soft); color: var(--blue); }
  .pill.slim { background: rgba(111,134,255,0.18); color: #3a4ed0; }
  .pill.actief { background: rgba(15,191,143,0.13); color: #0a8f6b; }
  .pill.prospect { background: rgba(245,198,107,0.2); color: #a87917; }
  .pill.afgerond { background: var(--bg-soft); color: var(--muted); }

  /* Verticale balkgrafiek (omzet per klant) */
  .vbars { display: flex; align-items: flex-end; gap: 12px; height: 210px; padding-top: 0.5rem; }
  .vbars .vb { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
  .vbars .vb i { width: 100%; max-width: 52px; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, #6f86ff, var(--blue)); transition: height .4s ease; min-height: 2px; }
  .vbars .vb b { font-size: 0.72rem; color: var(--ink); font-weight: 700; }
  .vbars .vb small { font-size: 0.7rem; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
  .empty-note { color: var(--muted); font-size: 0.9rem; padding: 1.4rem 0; text-align: center; }

  /* Modal */
  .modal-overlay { position: fixed; inset: 0; background: rgba(16,24,40,0.45); display: flex; align-items: center; justify-content: center; padding: 1.5rem; z-index: 300; }
  .modal { background: var(--card); border-radius: 18px; padding: 1.8rem; width: 100%; max-width: 540px; box-shadow: var(--shadow-lg); max-height: 92vh; overflow: auto; }
  .modal h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
  .modal .modal-actions { display: flex; gap: 0.7rem; justify-content: flex-end; margin-top: 1.4rem; }
  [hidden] { display: none !important; }

  /* Invouwbare panelen (klik op de titel) */
  .panel.collapsible > h3 { cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between; }
  .panel.collapsible > h3::after { content: '▾'; color: var(--muted); font-size: 0.85rem; transition: transform .2s; }
  .panel.collapsible.collapsed > h3 { margin-bottom: 0; }
  .panel.collapsible.collapsed > h3::after { transform: rotate(-90deg); }
  .panel.collapsible.collapsed > *:not(h3) { display: none; }

  .pill.betaald { background: rgba(15,191,143,0.13); color: #0a8f6b; }
  .pill.verlopen { background: rgba(224,86,74,0.12); color: #b53d31; }
  .k-trend.flat { color: var(--muted); }

  /* ============================================================
     SITE-PREVIEWS ("zo kan jouw site eruitzien")
  ============================================================ */
  .tmpl-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
  .tmpl { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
  .tmpl:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .tmpl .chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
  .tmpl .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #cdd5e1; }
  .tmpl .chrome .url { margin-left: 10px; height: 15px; flex: 1; background: #fff; border-radius: 5px; border: 1px solid var(--border); }
  /* ===== Demo-dashboard per pakket (Starter/Groei/Slim) ===== */
  .tier-switch { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
  .tier-switch .ts-label { font-size: 0.82rem; color: var(--muted); margin-right: 0.3rem; font-weight: 600; }
  .tier-btn {
    border: 1px solid var(--border); background: var(--card); border-radius: 100px;
    padding: 0.45rem 1.25rem; font-weight: 700; font-size: 0.85rem; cursor: pointer;
    font-family: inherit; color: var(--muted); transition: background .2s, color .2s, border-color .2s;
  }
  .tier-btn:hover { border-color: var(--blue); color: var(--blue); }
  .tier-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
  .tier-locked { position: relative; overflow: hidden; }
  .tier-locked > *:not(.lock-msg) { filter: blur(7px); pointer-events: none; user-select: none; }
  .lock-msg {
    position: absolute; inset: 0; z-index: 5;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.15rem; text-align: center; padding: 1rem;
  }
  .lock-msg .lock-ic {
    width: 34px; height: 34px; border-radius: 10px; margin-bottom: 0.35rem;
    background: var(--blue-soft); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
  }
  .lock-msg .lock-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
  .lock-msg b { font-size: 0.92rem; }
  .lock-msg span { color: var(--muted); font-size: 0.8rem; max-width: 230px; }

  /* live preview: de echte voorbeeldsite, verkleind in een venster */
  .tmpl .demo-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
  .tmpl .demo-view iframe { width: 400%; height: 400%; transform: scale(0.25); transform-origin: 0 0; border: 0; display: block; pointer-events: none; }
  .tmpl .demo-view .cover { position: absolute; inset: 0; }
  .tmpl .demo-view .cover:hover { background: rgba(42,71,245,0.06); }
  .tmpl .cap { padding: 1.1rem 1.3rem 1.4rem; }
  .tmpl .cap .tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
  .tmpl .cap h3 { font-size: 1.05rem; margin: 0.2rem 0 0.3rem; }
  .tmpl .cap p { color: var(--muted); font-size: 0.9rem; }
  .tmpl .cap .open-btn { display: inline-block; margin-top: 0.7rem; color: var(--blue); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
  .tmpl .cap .open-btn:hover { text-decoration: underline; }

  /* ============================================================
     HERO + CTA met professionele foto-achtergrond
  ============================================================ */
  .hero-photo { overflow: hidden; }
  .hero-photo::before { display: none; }
  .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .hero-photo::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(105deg, rgba(11,18,38,0.94) 34%, rgba(11,18,38,0.58));
  }
  .hero-photo .container { position: relative; z-index: 2; }
  .hero-photo h1 { color: #fff; }
  .hero-photo h1 .grad { background: linear-gradient(90deg, #86a8ff, #bcd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-photo .eyebrow { color: #9db8ff; }
  .hero-photo p { color: rgba(255,255,255,0.9); }
  .hero-photo .stat .num { color: #fff; }
  .hero-photo .stat .lbl { color: rgba(255,255,255,0.72); }
  .hero-photo .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
  .hero-photo .btn.ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.12); }

  .cta-photo { position: relative; overflow: hidden; padding: 5.5rem 1.5rem; text-align: center; color: #fff; }
  .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .cta-photo::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(rgba(11,18,38,0.86), rgba(11,18,38,0.9));
  }
  .cta-photo .container { position: relative; z-index: 2; }
  .cta-photo h2 { color: #fff; }
  .cta-photo .sub-w { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0.7rem auto 1.8rem; font-size: 1.02rem; }

  /* Compacte foto-header voor subpagina's */
  .page-hero { position: relative; overflow: hidden; color: #fff; padding: 5.5rem 1.5rem 3.4rem; }
  .page-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(11,18,38,0.82), rgba(11,18,38,0.9)); }
  .page-hero .container { position: relative; z-index: 2; }
  .page-hero .eyebrow { color: #9db8ff; }
  .page-hero h1 { color: #fff; }
  .page-hero h1 .accent { color: #9db8ff; }
  .page-hero .sub { color: rgba(255,255,255,0.85); margin-bottom: 0; }

  /* Login met foto-achtergrond */
  .login-photo { position: relative; overflow: hidden; }
  .login-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(11,18,38,0.8), rgba(11,18,38,0.88)); }
  .login-photo .login-card { position: relative; z-index: 2; }
