/* VandaGlas Sound Solutions — V2026 huisstijl (1:1 met de rekentool) */

:root, [data-thema="licht"] {
    --bg:#ffffff; --vlak:#f7f4f1; --white:#ffffff;
    --ink:#101012; --ink-2:#2b2b2d; --muted:#6b6a68; --soft:#464848;
    --line:#ebe6e0; --line-2:#ddd7cf;
    --accent:#d2a225; --op-accent:#101012;
    --op-donker:#fafafa; --op-donker-zacht:#a1a1aa;
    --grad:linear-gradient(120deg,#e0b43a,#d2a225);
    --voldoet:#2f9e68; --let-op:#c0392b;
    --r:6px; --ease:cubic-bezier(.4,0,.2,1);
    --head:'Instrument Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --schaduw:0 1px 2px rgba(16,16,18,.05), 0 10px 30px rgba(16,16,18,.06);
}
[data-thema="donker"] {
    --bg:#101012; --vlak:#161618; --white:#19191b;
    --ink:#fafafa; --ink-2:#e7e5e2; --muted:#9c9a97; --soft:#b3b1ae;
    --line:#2a2a2d; --line-2:#36363a;
    --voldoet:#34d399; --let-op:#f87171;
    --schaduw:0 1px 2px rgba(0,0,0,.4), 0 14px 36px rgba(0,0,0,.35);
}

* { box-sizing:border-box; }
html,body { margin:0; padding:0; background:var(--bg); color:var(--ink);
    font-family:var(--head); font-size:15px; line-height:1.55; -webkit-font-smoothing:antialiased; }
a { color:var(--ink); text-decoration:none; }

h1,h2,h3 { letter-spacing:-.02em; }

/* ── merk ── */
.brand { display:flex; align-items:center; gap:14px; font-weight:700; color:var(--ink); }
.brand .merk { width:auto; height:26px; display:block; flex:0 0 auto; }
.brand small { font-size:11px; font-weight:500; color:var(--muted); letter-spacing:.16em;
    text-transform:uppercase; line-height:1; padding-left:14px; border-left:1px solid var(--line-2); }
.brand.op-donker small { color:var(--op-donker-zacht); border-left-color:rgba(255,255,255,.2); }
.brand.op-donker .merk { height:30px; }
:root[data-thema="donker"] .v-nav .brand .merk,
:root:not([data-thema="licht"]) .v-nav .brand .merk { filter:invert(1); }

.eyebrow { font-size:12.5px; font-weight:600; color:var(--muted); letter-spacing:.16em;
    text-transform:uppercase; margin:0 0 12px; }
.lead { font-size:18px; font-weight:400; color:var(--soft); line-height:1.65; margin:0 0 32px; max-width:64ch; }

/* ── knoppen (pill met pijlvak) ── */
.btn { display:inline-flex; align-items:center; gap:16px; padding:8px 8px 8px 20px;
    border:1px solid var(--line-2); border-radius:var(--r); background:var(--white); color:var(--ink);
    font-family:var(--head); font-size:15px; font-weight:600; cursor:pointer; transition:.2s var(--ease); }
.btn .arw { width:36px; height:36px; border-radius:4px; flex:0 0 36px; display:inline-flex;
    align-items:center; justify-content:center; background:var(--ink); color:var(--bg);
    transition:background .22s var(--ease), color .22s var(--ease); }
.btn .arw svg { width:16px; height:16px; }
.btn:hover { border-color:var(--ink); }
.btn:hover .arw { background:var(--accent); color:var(--op-accent); }
.btn.solid { background:var(--ink); color:var(--bg); border-color:var(--ink); }
.btn.solid .arw { background:var(--bg); color:var(--ink); }
.btn.solid:hover .arw { background:var(--accent); color:var(--op-accent); }
.btn.block { width:100%; justify-content:space-between; }
.btn.sm { font-size:13.5px; padding:5px 5px 5px 16px; gap:10px; }
.btn.sm .arw { width:26px; height:26px; flex-basis:26px; }
.btn.sm .arw svg { width:13px; height:13px; }

/* ── velden ── */
.veld { margin-bottom:18px; }
.veld label { display:block; font-size:14px; font-weight:500; color:var(--ink-2); margin-bottom:7px; }
.veld input, .veld select { width:100%; padding:13px 14px; border:1px solid var(--line-2);
    border-radius:var(--r); background:var(--white); font-family:var(--head); font-size:15px;
    font-weight:500; color:var(--ink); transition:border-color .2s var(--ease); }
.veld input:focus, .veld select:focus { outline:none; border-color:var(--accent); }
.veld.fout input { border-color:var(--let-op); }
.check { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:14px; font-weight:500; }

/* ── inloggen (2 kolommen) ── */
.login { min-height:100vh; display:grid; grid-template-columns:1fr 1fr; }
.login-zij { background:#101012; color:var(--op-donker); padding:56px;
    display:flex; flex-direction:column; justify-content:space-between;
    background-image:url("../images/vandaglas-chevrons.svg");
    background-repeat:no-repeat; background-position:right -90px bottom -60px; background-size:auto 62%; }
.login-zij h1 { color:var(--op-donker); font-size:clamp(26px,3vw,40px); line-height:1.12; margin:0; }
.login-zij h1 .regel { white-space:nowrap; }
.login-zij .lead { color:var(--op-donker-zacht); }
.login-zij .eyebrow { color:#a8a6a3; }
.login-zij .voet { font-size:14.5px; color:#d6d3cf; font-weight:400; line-height:1.55; max-width:46ch; }
.login-zij .voet p { margin:0; }
.login-zij .voet .contact { margin-top:8px; display:flex; gap:10px; flex-wrap:wrap; font-weight:600; }
.login-zij .voet a { color:#fafafa; text-decoration:underline; text-decoration-color:rgba(210,162,37,.7); text-underline-offset:3px; }
.login-zij .voet a:hover { color:#d2a225; }
.login-form { display:flex; align-items:center; justify-content:center; padding:56px 22px; }
.login-form .binnen { width:100%; max-width:380px; }
.login-form .brand { display:none; margin-bottom:34px; }
:root[data-thema="donker"] .login-form .brand .merk,
:root:not([data-thema="licht"]) .login-form .brand .merk { filter:invert(1); }
.login-form h2 { font-size:28px; font-weight:800; margin:0 0 26px; }
.fouttekst { color:var(--let-op); font-size:13.5px; margin-top:7px; }
.v-foutje { background:color-mix(in srgb, var(--let-op) 12%, transparent);
    border:1px solid color-mix(in srgb, var(--let-op) 35%, transparent);
    color:var(--let-op); padding:11px 13px; border-radius:var(--r); font-size:13.5px; margin-bottom:18px; }
.v-thematop { position:fixed; top:18px; right:18px; z-index:5; }

@media (max-width:820px) {
    .login { grid-template-columns:1fr; }
    .login-form { order:-1; padding:36px 22px 44px; justify-content:flex-start; }
    .login-form .binnen { max-width:none; }
    .login-form .brand { display:flex; }
    .login-zij { padding:40px 22px; gap:28px; }
    .login-zij h1 .regel { white-space:normal; }
}

/* ── topbar + app-layout ── */
.v-nav { position:sticky; top:0; z-index:40; padding:14px 30px 0; background:transparent; }
.v-wrap { max-width:1180px; margin:0 auto; padding:0 24px; }
.v-nav .v-wrap { display:flex; align-items:center; gap:26px; min-height:68px; padding:0 26px;
    background:var(--white); border:1px solid var(--line); border-radius:var(--r);
    box-shadow:0 1px 2px rgba(16,16,18,.04), 0 8px 24px -16px rgba(16,16,18,.18); }
.v-navlinks { display:flex; gap:26px; margin-left:auto; align-items:center; }
.v-navlinks a { position:relative; padding:4px 0; color:var(--ink-2); font-weight:500; font-size:15px; }
.v-navlinks a::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:2px;
    background:var(--accent); transition:right .28s var(--ease); }
.v-navlinks a:hover::after, .v-navlinks a[aria-current="page"]::after { right:0; }
.v-navlinks a[aria-current="page"] { color:var(--ink); }
.v-navmeta { display:flex; align-items:center; gap:16px; margin-left:28px; padding-left:22px;
    border-left:1px solid var(--line); }
.v-navaccount { font-size:14px; font-weight:600; color:var(--muted); }
.v-navaccount:hover { color:var(--ink); }
.v-thema { width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--line-2);
    border-radius:var(--r); background:none; color:var(--ink-2); cursor:pointer; padding:0; }
.v-thema:hover { color:var(--accent); border-color:var(--ink); }
.v-thema svg { width:17px; height:17px; }
[data-thema="donker"] .v-thema .zon { display:none; }
[data-thema="donker"] .v-thema .maan { display:block; }
[data-thema="licht"] .v-thema .zon { display:block; }
[data-thema="licht"] .v-thema .maan { display:none; }

.v-main { max-width:1180px; margin:0 auto; padding:34px 24px 72px; }
.v-kop { display:flex; align-items:baseline; gap:14px; margin-bottom:22px; }
.v-kop h1 { font-size:26px; font-weight:800; margin:0; }
.v-kop .v-sub { color:var(--muted); font-size:14px; }

.v-zoek { display:flex; gap:10px; margin-bottom:20px; }
.v-zoek input { flex:0 1 360px; padding:12px 14px; border:1px solid var(--line-2); border-radius:var(--r);
    background:var(--white); color:var(--ink); font:inherit; }
.v-zoek input:focus { outline:none; border-color:var(--accent); }

.v-tabelwrap { background:var(--white); border:1px solid var(--line); border-radius:12px; overflow:hidden; box-shadow:var(--schaduw); }
.v-tabel { width:100%; border-collapse:collapse; font-size:14px; }
.v-tabel th { text-align:left; padding:13px 16px; font-size:11.5px; font-weight:600; letter-spacing:.06em;
    text-transform:uppercase; color:var(--muted); background:var(--vlak); border-bottom:1px solid var(--line); white-space:nowrap; }
.v-tabel td { padding:12px 16px; border-bottom:1px solid var(--line); }
.v-tabel tr:last-child td { border-bottom:0; }
.v-tabel tbody tr:hover { background:var(--vlak); }
.v-tabel td.num, .v-tabel th.num { text-align:right; font-variant-numeric:tabular-nums; }
.v-pill { display:inline-block; padding:2px 10px; border-radius:999px; font-size:12px; font-weight:600; background:var(--vlak); color:var(--muted); border:1px solid var(--line); }
.v-mono { font-variant-numeric:tabular-nums; font-weight:600; }
.v-link { color:var(--muted); font-weight:600; }
.v-link:hover { color:var(--accent); }
.v-leeg { padding:40px; text-align:center; color:var(--muted); }
.v-paginering { display:flex; align-items:center; justify-content:space-between; margin-top:18px; color:var(--muted); font-size:14px; }

/* ── detail ── */
.v-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.v-pad { padding:22px 24px; }
.v-rij { display:flex; justify-content:space-between; gap:16px; align-items:baseline; padding:11px 0; border-bottom:1px solid var(--line); font-size:14px; }
.v-rij:last-child { border-bottom:0; }
.v-rij > span { color:var(--muted); }
.v-rij > b { text-align:right; }
.v-bar { display:block; height:8px; border-radius:999px; background:var(--grad); min-width:4px; }
@media (max-width:760px){ .v-grid2 { grid-template-columns:1fr; } }

/* ── home ── */
.v-hero { padding:28px 0 8px; max-width:760px; }
.v-hero h1 { font-size:clamp(28px,4vw,42px); line-height:1.12; margin:0 0 14px; }
.v-herozoek { display:flex; gap:10px; margin-top:22px; }
.v-herozoek input { flex:1; padding:14px 16px; border:1px solid var(--line-2); border-radius:var(--r); background:var(--white); color:var(--ink); font:inherit; font-size:16px; }
.v-herozoek input:focus { outline:none; border-color:var(--accent); }
.v-tegel { display:block; transition:.18s var(--ease); }
.v-tegel:hover { border-color:var(--ink); transform:translateY(-2px); }
.v-tegel h3 { font-size:22px; margin:0 0 8px; }
.v-tegel-sub { color:var(--muted); font-size:14.5px; line-height:1.6; margin:0 0 16px; }

/* ── zoekscherm ── */
.v-filtergrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:26px 32px; }
.v-filtergrid .check { margin-bottom:9px; }
.v-bereik { display:flex; align-items:center; gap:8px; }
.v-bereik input { width:100%; padding:10px 12px; border:1px solid var(--line-2); border-radius:var(--r); background:var(--white); color:var(--ink); font:inherit; }
.v-bereik input:focus { outline:none; border-color:var(--accent); }
.v-bereik span { color:var(--muted); }

/* ── home-tegels (knoppenraster) ── */
.v-tegels { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:16px; margin-top:34px; }
.v-tegel2 { display:flex; flex-direction:column; background:var(--white); border:1px solid var(--line);
    border-radius:12px; padding:22px; box-shadow:var(--schaduw); transition:.18s var(--ease); }
.v-tegel2:hover { border-color:var(--ink); transform:translateY(-2px); }
.v-tegel2 .v-ico { width:40px; height:40px; border-radius:10px; display:grid; place-items:center;
    background:var(--vlak); color:var(--accent); margin-bottom:16px; }
.v-tegel2 .v-ico svg { width:21px; height:21px; }
.v-tegel2 h3 { font-size:18px; margin:0 0 6px; }
.v-tegel2 p { color:var(--muted); font-size:14px; line-height:1.55; margin:0 0 16px; flex:1; }
.v-ga { color:var(--muted); font-weight:600; font-size:14px; }
.v-tegel2:hover .v-ga { color:var(--accent); }

/* ── formulieren (beheer) ── */
.v-formgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px 18px; }
.v-formgrid .veld { margin-bottom:0; }
.veld select { width:100%; padding:13px 14px; border:1px solid var(--line-2); border-radius:var(--r);
    background:var(--white); color:var(--ink); font:inherit; font-weight:500; appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239c9a97' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 12px center; padding-right:34px; }
.veld select:focus { outline:none; border-color:var(--accent); }

/* ── rij-acties (bekijken / bewerken / verwijderen) ── */
.v-acties { display:flex; gap:6px; justify-content:flex-end; align-items:center; flex-wrap:nowrap; }
.v-act { width:34px; height:34px; display:grid; place-items:center; border-radius:9px; flex:0 0 auto;
    border:1px solid var(--line-2); background:var(--white); color:var(--muted); transition:.15s var(--ease); }
.v-act svg { width:17px; height:17px; }
.v-act:hover { border-color:var(--accent); color:var(--accent); background:color-mix(in srgb, var(--accent) 8%, transparent); }
.v-act-del:hover { border-color:var(--let-op); color:var(--let-op); background:color-mix(in srgb, var(--let-op) 9%, transparent); }

/* ── glas-formulier (volle breedte, uitgelijnd) ── */
.v-form { padding:28px 30px; }
.v-form-sec { padding-top:24px; margin-top:24px; border-top:1px solid var(--line); }
.v-form-sec:first-of-type { padding-top:0; margin-top:0; border-top:0; }
.v-form-sec .eyebrow { margin-bottom:16px; }
.vf-grid { display:grid; gap:18px 20px; }
.vf-5 { grid-template-columns:repeat(5, minmax(0,1fr)); }
.vf-4 { grid-template-columns:repeat(4, minmax(0,1fr)); }
.vf-2 { grid-template-columns:repeat(2, minmax(0,1fr)); }
.vf-span2 { grid-column:span 2; }
.v-form-acties { display:flex; gap:10px; justify-content:flex-end; margin-top:26px; padding-top:24px; border-top:1px solid var(--line); }
@media (max-width:900px){ .vf-5,.vf-4 { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:620px){ .vf-5,.vf-4 { grid-template-columns:1fr 1fr; } .vf-span2{grid-column:auto;} }
@media (max-width:420px){ .vf-5,.vf-4 { grid-template-columns:1fr; } }

/* ── terug/annuleren: pijlvak links ── */
.btn.back { padding:8px 20px 8px 8px; }
.btn.sm.back { padding:5px 16px 5px 5px; }

/* ── standalone pagina's (reset, verificatie, fout) ── */
.v-stand { min-height:100vh; display:grid; place-items:center; padding:24px;
    background: radial-gradient(1000px 520px at 50% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%), var(--bg); }
.v-stand-card { width:100%; max-width:440px; }
.v-stand-logo { text-align:center; margin-bottom:22px; }
.v-stand-logo .merk { font-size:20px; font-weight:700; letter-spacing:-.02em; }
.v-stand-logo .merk b { color:var(--accent); }
.v-stand-logo .sub { color:var(--muted); font-size:13px; margin-top:2px; }
.v-stand-card .v-kaart { padding:28px; }
.v-stand-card h1 { font-size:20px; margin:0 0 6px; }
.v-stand-card .lead { color:var(--muted); font-size:14px; line-height:1.55; margin:0 0 20px; }
.v-stand-ico { width:50px; height:50px; border-radius:13px; display:grid; place-items:center; margin:0 auto 18px; }
.v-stand-ico.ok  { background:color-mix(in srgb, var(--voldoet) 14%, transparent); color:var(--voldoet); }
.v-stand-ico.err { background:color-mix(in srgb, var(--let-op) 14%, transparent); color:var(--let-op); }
.v-stand-ico.info{ background:var(--vlak); color:var(--accent); }
.v-stand-ico svg { width:25px; height:25px; }
.v-stand .v-foot { text-align:center; color:var(--muted); font-size:13px; margin-top:16px; }
.v-stand-center { text-align:center; }

/* ── textarea ── */
.veld textarea { width:100%; padding:12px 14px; border:1px solid var(--line-2); border-radius:var(--r);
    background:var(--white); color:var(--ink); font:inherit; font-size:15px; resize:vertical; min-height:110px; }
.veld textarea:focus { outline:none; border-color:var(--accent); }

/* ── octaafbanden (lijst) ── */
.v-hzlist { }
.v-hzrow { display:flex; align-items:center; gap:18px; padding:4px 2px; border-bottom:1px solid var(--line); }
.v-hzrow:last-child { border-bottom:0; }
.v-hzrow label { width:72px; flex:0 0 auto; margin:0; color:var(--muted); font-weight:500; font-size:14px; font-variant-numeric:tabular-nums; }
.v-hzrow input { width:110px; text-align:right; font-variant-numeric:tabular-nums; padding:6px 11px; font-size:14px;
    border:1px solid var(--line-2); border-radius:var(--r); background:var(--white); color:var(--ink); }
.v-hzrow input:focus { outline:none; border-color:var(--accent); }


/* ── kopieerknop per band ── */
.v-copy { flex:0 0 auto; width:34px; height:34px; display:grid; place-items:center; border-radius:8px;
    border:1px solid var(--line-2); background:var(--white); color:var(--muted); cursor:pointer; transition:.15s var(--ease); }
.v-copy:hover { border-color:var(--ink); color:var(--ink); }
.v-copy svg { width:16px; height:16px; }
.v-copy .ic-done { display:none; }
.v-copy.ok { border-color:var(--voldoet); color:var(--voldoet); }
.v-copy.ok .ic-copy { display:none; }
.v-copy.ok .ic-done { display:block; }
