@import url(/assets/fonts/fonts.css);

:root {
  --black: #0d0d0d;
  --ink: #161616;
  --ink-2: #1f1f1f;
  --line-dark: #2c2c2c;
  --yellow: #ffd000;
  --yellow-2: #f2c200;
  --white: #ffffff;
  --paper: #f5f5f3;
  --text: #1a1a1a;
  --muted: #5c5f66;
  --line: #e4e4e0;
  --ok: #1f8a4c;
  --warn: #b7791f;
  --bad: #c53030;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .2px; }
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.45rem; font-family: var(--body); font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.yellow { color: var(--yellow); }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.dark .eyebrow, .hero .eyebrow { color: #c9c9c9; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 6px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.1; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(0,0,0,.25); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #262626; }
.btn-line { border-color: var(--line); background: var(--white); color: var(--text); }
.btn-line:hover { border-color: #bdbdb7; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }

/* header */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1d1d1d; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex: none; }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--head); font-weight: 800; font-size: 1.75rem; letter-spacing: .5px; }
.brand-text strong span { color: var(--yellow); }
.brand-text small { font-size: .62rem; letter-spacing: .32em; font-weight: 600; color: #d6d6d6; margin-top: 3px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a { color: #e9e9e9; text-decoration: none; font-weight: 500; font-size: .96rem; padding: 8px 12px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--white); }
.main-nav a.active { color: var(--white); border-bottom-color: var(--yellow); }
.header-cta { margin-left: 12px; }
.header-account { color: #e9e9e9; text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; padding: 8px 6px; }
.header-account svg { width: 18px; height: 18px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* hero */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; top: 0; bottom: 0; right: 0; width: 62%; background-size: cover; background-position: center; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0d0d 0%, rgba(13,13,13,0) 35%); z-index: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,.75) 0%, rgba(13,13,13,.25) 45%, rgba(13,13,13,.1) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { max-width: 600px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .yellow { display: block; }
.hero .lead { font-size: 1.2rem; color: #ececec; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero .wrap { padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.crumbs { font-size: .85rem; color: #bdbdbd; margin-bottom: 14px; }
.crumbs a { color: #bdbdbd; }

/* usp strip */
.usp { background: var(--yellow); color: var(--black); }
.usp ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.usp li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 12px; font-weight: 600; font-size: 1.08rem; }
.usp li + li { border-left: 1px solid rgba(0,0,0,.18); }
.usp svg { width: 28px; height: 28px; flex: none; }

/* sections */
.section { padding: 84px 0; }
.section-paper { background: var(--paper); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; }
.card .icon { width: 60px; height: 60px; margin-bottom: 18px; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card .more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .15s; }
.card:hover .more svg { transform: translateX(3px); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.panel-dark { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 34px; }
.panel-dark p { color: #cfcfcf; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat strong { display: block; font-family: var(--head); font-size: 2.6rem; color: var(--yellow); line-height: 1; }
.stat span { color: #cfcfcf; font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--black); color: var(--yellow); font-family: var(--head); font-size: 1.4rem; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

.cta-band { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.cta-band .hero-bg { background-position: center right; }
.cta-band .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 76px; }
.cta-band h2 .yellow { display: block; }
.cta-band p { color: #e3e3e3; max-width: 460px; margin-bottom: 24px; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.locs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.locs a { border: 1px solid var(--line); background: var(--white); padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.locs a:hover { border-color: var(--black); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 2rem; }
.prose ul { padding-left: 20px; }

/* footer */
.site-footer { background: var(--black); color: #cfcfcf; padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfcfcf; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-tag { display: flex; gap: 10px; flex-wrap: wrap; color: #9a9a9a; font-size: .88rem; margin-top: 14px; }
.footer-tag span + span::before { content: "•"; margin-right: 10px; color: #555; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; color: #8c8c8c; font-size: .85rem; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 40; }
.wa-float svg { width: 30px; height: 30px; }

/* forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.form-narrow { max-width: 460px; margin: 0 auto; }
.form-wide { max-width: 820px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=time], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfcfca; border-radius: 6px; background: var(--white); color: var(--text); }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(255,208,0,.55); outline-offset: 0; border-color: #b39200; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; gap: 10px; border: 1px solid #cfcfca; border-radius: 6px; padding: 14px; cursor: pointer; font-weight: 500; }
.choice input:checked + span { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); background: #fffbe6; }
.choice input:focus-visible + span { outline: 3px solid rgba(255,208,0,.55); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 10px; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--black); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-weight: 500; }
.alert-bad { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c2c2; }
.alert-ok { background: #e8f6ee; color: #145c33; border: 1px solid #b9e2c9; }
.alert-info { background: #fff8d6; color: #5c4a00; border: 1px solid #f0dc8a; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* quote wizard */
.wizard-progress { display: flex; gap: 6px; margin-bottom: 26px; }
.wizard-progress span { flex: 1; height: 6px; border-radius: 3px; background: #e7e7e2; }
.wizard-progress span.on { background: var(--yellow); }
.wizard-step h2 { font-size: 1.9rem; }
.js .wizard-step:not(.current) { display: none; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.no-js-only { }
.js .no-js-only { display: none; }

/* account */
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.side-card { background: var(--paper); border-radius: var(--radius); padding: 22px; }
.list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.list-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.list-row:last-child { border-bottom: 0; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #ececec; color: #333; white-space: nowrap; }
.badge-nieuw { background: #fff3b0; color: #5c4a00; }
.badge-in_behandeling { background: #dbeafe; color: #1e3a8a; }
.badge-offerte_verstuurd { background: #ede9fe; color: #4c1d95; }
.badge-geboekt { background: #dcfce7; color: #14532d; }
.badge-afgerond { background: #e5e7eb; color: #374151; }
.badge-geannuleerd { background: #fde2e2; color: #7f1d1d; }
.badge-open { background: #fff3b0; color: #5c4a00; }
.badge-afgehandeld { background: #dcfce7; color: #14532d; }
.badge-klacht { background: #fde2e2; color: #7f1d1d; }
.badge-contact { background: #e0f2fe; color: #0c4a6e; }

/* admin */
.admin { background: #f3f3f1; min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--black); color: #d8d8d8; padding: 22px 16px; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { margin-bottom: 28px; padding: 0 6px; }
.admin-side .brand img { width: 44px; }
.admin-side .brand-text strong { font-size: 1.35rem; }
.admin-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: #d8d8d8;
  font-weight: 500; margin-bottom: 2px; }
.admin-side nav a:hover { background: #1c1c1c; color: var(--white); }
.admin-side nav a.active { background: var(--yellow); color: var(--black); }
.admin-side nav a .count { margin-left: auto; background: var(--yellow); color: var(--black); border-radius: 999px; font-size: .75rem; padding: 1px 8px; font-weight: 700; }
.admin-side nav a.active .count { background: var(--black); color: var(--yellow); }
.admin-side .side-foot { position: absolute; bottom: 20px; left: 16px; right: 16px; font-size: .85rem; }
.admin-side .side-foot a { color: #bdbdbd; }
.admin-main { padding: 28px 32px 60px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-top h1 { font-size: 2.2rem; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border-left: 4px solid var(--yellow); }
.kpi .label { color: var(--muted); font-weight: 500; font-size: .88rem; margin: 0; }
.kpi .value { font-family: var(--head); font-size: 2.4rem; font-weight: 800; line-height: 1.05; }
.kpi .sub { font-size: .85rem; color: var(--muted); }
.kpi.alert-kpi { border-left-color: var(--bad); }
.box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 22px; }
.box h2 { font-family: var(--body); font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 12px;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid #efefeb; vertical-align: top; }
.table tr:hover td { background: #fbfbf8; }
.table a { font-weight: 600; text-decoration: none; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filters a { padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 500; }
.filters a.on { background: var(--black); color: var(--white); border-color: var(--black); }
.filters form { margin-left: auto; display: flex; gap: 8px; }
.filters input { padding: 8px 12px; width: 220px; }
.dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; }
.dl dt { color: var(--muted); font-weight: 500; }
.dl dd { margin: 0; }
.chart { width: 100%; height: 180px; }
.chart rect.bar { fill: var(--yellow); }
.chart rect.bar.zero { fill: #ecece6; }
.chart text { font-size: 10px; fill: #7a7a7a; font-family: var(--body); }
.empty { color: var(--muted); padding: 24px 0; text-align: center; }
.note { border-left: 3px solid var(--yellow); background: #fffdf2; padding: 10px 14px; margin-bottom: 10px; border-radius: 0 6px 6px 0; }
.note .meta { font-size: .8rem; color: var(--muted); }
.admin-login { min-height: 100vh; display: grid; place-items: center; background: var(--black); padding: 20px; }
.admin-login .form-card { width: 100%; max-width: 420px; }
.admin-login .brand { justify-content: center; margin-bottom: 22px; }

@media (max-width: 1020px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: stretch;
    padding: 10px 20px 20px; border-bottom: 1px solid #222; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid #1f1f1f; }
  .main-nav a.active { border-bottom-color: #1f1f1f; color: var(--yellow); }
  .header-cta { margin: 14px 0 0; justify-content: center; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-side nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-side .side-foot { position: static; margin-top: 12px; }
  .admin-main { padding: 20px 16px 48px; }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero-bg { width: 100%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(13,13,13,.86) 0%, rgba(13,13,13,.94) 100%); }
  .usp ul { grid-template-columns: 1fr; }
  .usp li { justify-content: flex-start; padding: 12px 4px; }
  .usp li + li { border-left: 0; border-top: 1px solid rgba(0,0,0,.15); }
  .cards, .steps, .row2, .row3, .choices, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .form-card { padding: 22px 18px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi .value { font-size: 1.9rem; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 10px; }
  .filters form { margin-left: 0; width: 100%; }
  .filters input { width: 100%; }
  .brand-text strong { font-size: 1.45rem; }
  .brand img { width: 48px; }
}
.main-nav a.btn-yellow { color: var(--black); border-bottom: 2px solid transparent; padding: 8px 14px; }
.main-nav a.btn-yellow:hover { color: var(--black); }
.admin-shell { background: linear-gradient(to right, var(--black) 240px, transparent 240px); }
@media (max-width: 880px) { .admin-shell { background: none; } }
/* step cards keep dark text, also when placed inside a dark panel */
.step { color: var(--text); }
.step h3 { color: var(--text); }
.cta-band .hero-bg { background-position: center 18%; }
/* the hidden attribute must win over .btn's display */
[hidden] { display: none !important; }
.wizard-nav { flex-wrap: wrap; }
@media (max-width: 640px) {
  .wizard-nav .btn { flex: 1 1 auto; justify-content: center; padding-left: 14px; padding-right: 14px; }
  .wizard-nav [data-prev] { flex: 0 0 auto; }
}
.field-error { color: #b42318; font-size: .87rem; font-weight: 600; margin-top: 6px; flex-basis: 100%; }
[aria-invalid="true"] { border-color: #d92d20 !important; background: #fff6f5; }
.check:has(.field-error) { flex-wrap: wrap; }
