:root {
  --blue: #1A2B3C;
  --orange: #F37021;
  --ink: #0d172a;
  --muted: #667085;
  --line: #dce3ea;
  --soft: #f5f7fa;
  --white: #ffffff;
  --green: #138a55;
  --red: #b42318;
  --amber: #b54708;
  --shadow: 0 18px 50px rgba(16, 24, 40, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--blue); font-weight: 700; text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(22px, 6vw, 90px);
  border-bottom: 1px solid rgba(26, 43, 60, .08);
  background: rgba(255, 255, 255, .96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand img { width: 190px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.site-nav a { color: var(--ink); font-weight: 700; }
.site-nav a:hover { color: var(--orange); }
.nav-cta, .button.primary {
  background: var(--orange);
  color: white !important;
  border: 1px solid var(--orange);
  box-shadow: 0 10px 20px rgba(243, 112, 33, .22);
}
.nav-cta { padding: 14px 23px; border-radius: 6px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--blue); }
.inline-form { margin: 0; }
.link-button { background: none; border: 0; color: var(--ink); font-weight: 700; cursor: pointer; font: inherit; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1.05fr);
  min-height: 610px;
  overflow: hidden;
  background: white;
}
.hero-copy {
  padding: clamp(54px, 8vw, 92px) 0 clamp(80px, 8vw, 120px) clamp(26px, 6vw, 90px);
  max-width: 760px;
  z-index: 1;
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 4.2vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--blue);
  font-weight: 800;
}
.hero h1 span { color: var(--orange); }
.hero p {
  max-width: 610px;
  font-size: 20px;
  color: #26384d;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: inherit;
}
.button:hover { transform: translateY(-1px); }
.button.secondary { background: white; color: var(--blue); border-color: var(--blue); }
.button.danger { background: #fff1f0; border-color: #fecdca; color: var(--red); }
.button.full { width: 100%; }

.hero-collage {
  position: relative;
  align-self: start;
  min-height: 0;
  overflow: hidden;
  background: white;
}
.hero-collage img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: saturate(.98) contrast(1.04);
}

.trust-strip {
  width: min(1200px, calc(100% - 44px));
  margin: -52px auto 44px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,43,60,.08);
}
.trust-strip div {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  color: var(--blue);
  font-weight: 800;
  border-right: 1px solid var(--line);
}
.trust-strip div:last-child { border-right: 0; }
.icon, .round-icon {
  color: var(--blue);
  border: 2px solid currentColor;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}
.icon::before, .round-icon::before { content: ""; display: block; width: 17px; height: 17px; border: 2px solid currentColor; }
.icon-check::before { width: 15px; height: 8px; border-top: 0; border-right: 0; transform: rotate(-45deg); }
.icon-shield::before { width: 15px; height: 18px; border-radius: 8px 8px 10px 10px; }
.icon-factory::before { width: 19px; height: 15px; border-top: 0; clip-path: polygon(0 100%, 0 35%, 25% 60%, 25% 35%, 50% 60%, 50% 35%, 100% 65%, 100% 100%); background: currentColor; border: 0; }
.icon-lock::before { width: 16px; height: 12px; border-radius: 3px; }
.icon-lock::after { content: ""; position: absolute; width: 12px; height: 10px; border: 2px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; top: 8px; }
.icon-search::before { border-radius: 50%; width: 15px; height: 15px; }
.icon-search::after { content: ""; position: absolute; width: 9px; height: 2px; background: currentColor; transform: rotate(45deg); right: 13px; bottom: 14px; }
.icon-clock::before { border-radius: 50%; }
.icon-clock::after { content: ""; position: absolute; width: 2px; height: 11px; background: currentColor; top: 20px; box-shadow: 5px 4px 0 -1px currentColor; }
.icon-user::before { border-radius: 50%; width: 12px; height: 12px; transform: translateY(-8px); }
.icon-user::after { content: ""; position: absolute; width: 22px; height: 10px; border: 2px solid currentColor; border-radius: 12px 12px 0 0; bottom: 16px; }
.icon-verified::before { width: 17px; height: 17px; transform: rotate(45deg); }
.icon-network::before { border-radius: 50%; width: 8px; height: 8px; box-shadow: 15px 0 0 -2px currentColor, 7px 13px 0 -2px currentColor; }

.section, .page { width: min(1200px, calc(100% - 44px)); margin: 0 auto; padding: 54px 0; }
.centered { text-align: center; }
h1, h2, h3 { color: var(--blue); line-height: 1.2; letter-spacing: 0; }
h2 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 28px; }
h3 { margin: 14px 0 8px; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  margin-top: 30px;
}
.benefit-grid article { padding: 18px 8px; }
.benefit-grid p, .feature-list p, .panel p { color: var(--muted); margin: 0; }
.round-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--orange);
  background: white;
}
.round-icon::before { color: var(--orange); }
.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--blue);
  color: white;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 6vw, 90px);
}
.split-band h2 { color: white; }
.split-band p { color: #d6e1ea; font-size: 18px; }
.steps-card { background: white; color: var(--blue); border-radius: 8px; padding: 26px; box-shadow: var(--shadow); }
.steps-card div { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps-card div:last-child { border-bottom: 0; }
.steps-card strong {
  background: var(--orange);
  color: white;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  min-width: 34px;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  line-height: 1;
}

.page-hero { padding-top: 58px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); margin: 0 0 14px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 19px; }
.page-hero.compact { padding-bottom: 24px; }
.narrow { max-width: 980px; }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
}
.accent-panel { border-color: rgba(243,112,33,.35); background: #fff8f4; }
.process-list { margin: 0; padding-left: 20px; color: #344054; }
.process-list li { margin: 14px 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-list article { border-top: 3px solid var(--orange); padding: 24px; background: var(--soft); border-radius: 8px; }
.legal { max-width: 900px; }
.legal-document {
  font-size: 16px;
  color: #344054;
}
.legal-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  padding-bottom: 18px;
}
.legal-document section {
  padding: 20px 0;
  border-bottom: 1px solid rgba(220, 227, 234, .8);
}
.legal-document section:last-child { border-bottom: 0; }
.legal-document h1 { margin: 0; }
.legal-document h2 { font-size: 24px; margin: 0 0 12px; }
.legal-document h3 { font-size: 17px; margin: 18px 0 8px; }
.legal-document p { margin: 0 0 12px; }
.legal-document ul { margin: 0 0 12px; padding-left: 22px; }
.legal-document li { margin: 8px 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.notice { background: #fff8f4; border: 1px solid #fed7aa; border-radius: 8px; padding: 14px 16px; color: #7a340d !important; }
.small { font-size: 14px; }

.services-page { max-width: 1180px; }
.services-hero {
  max-width: 880px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 28px;
}
.services-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
}
.services-grid h2 {
  font-size: 20px;
  margin: 16px 0 8px;
}
.services-grid p {
  color: var(--muted);
  margin: 0;
}
.service-icon {
  color: var(--orange);
  border: 1px solid #fed7aa;
  background: #fff8f4;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.service-icon::before { content: ""; display: block; width: 17px; height: 17px; border: 2px solid currentColor; }
.services-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 30px;
  background: var(--blue);
  border-radius: 8px;
  color: white;
}
.services-cta h2 { color: white; margin-bottom: 8px; }
.services-cta p { color: #d6e1ea; margin: 0; max-width: 720px; }

.about-page { max-width: 1160px; }
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 34px;
}
.about-logo-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.about-logo-card img { width: 250px; margin-bottom: 12px; }
.about-logo-card span { color: var(--muted); font-weight: 700; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.contact-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
}
.primary-contact {
  grid-column: 1 / -1;
  border-left: 4px solid var(--orange);
  background: linear-gradient(135deg, #fff8f4 0%, #ffffff 48%);
}
.contact-card h2 { margin: 0 0 8px; font-size: 25px; }
.contact-card p { color: var(--muted); margin: 0 0 18px; }
.contact-card address { font-style: normal; color: var(--blue); font-weight: 800; line-height: 1.8; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #fff2eb;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  font-weight: 900;
}
.contact-icon::before, .contact-icon::after,
.button-icon::before, .button-icon::after { content: ""; position: absolute; display: block; }
.icon-mail::before, .icon-mail-light::before {
  width: 24px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.icon-mail::after, .icon-mail-light::after {
  width: 16px;
  height: 16px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  top: 17px;
}
.icon-location::before {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.icon-location::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.icon-building::before {
  width: 22px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.icon-building::after {
  width: 3px;
  height: 3px;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor, 0 8px 0 currentColor, 8px 8px 0 currentColor, 0 16px 0 currentColor, 8px 16px 0 currentColor;
  transform: translate(-4px, -8px);
}
.icon-linkedin {
  background: #0a66c2;
  color: white;
  font-size: 25px;
  font-family: Arial, sans-serif;
  letter-spacing: 0;
}
.icon-linkedin::before, .icon-linkedin::after { display: none; }
.button-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-right: 8px;
  color: currentColor;
  flex: 0 0 auto;
}
.button-icon.icon-mail-light::before {
  width: 15px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 2px;
  left: 1px;
  top: 4px;
}
.button-icon.icon-mail-light::after {
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  left: 4px;
  top: 4px;
}
.icon-linkedin-light {
  background: #0a66c2;
  color: white;
  border-radius: 3px;
  font-size: 12px;
  font-family: Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  margin-right: 8px;
}
.company-details {
  display: grid;
  grid-template-columns: minmax(130px, auto) 1fr;
  gap: 10px 16px;
  margin: 0;
}
.company-details dt { color: var(--muted); font-weight: 700; }
.company-details dd { margin: 0; color: var(--blue); font-weight: 900; overflow-wrap: anywhere; }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: linear-gradient(135deg, #f6f8fb, white); }
.auth-card { width: min(460px, 100%); background: white; border: 1px solid var(--line); border-radius: 8px; padding: 34px; box-shadow: var(--shadow); }
.auth-logo { width: 190px; margin-bottom: 22px; }
.auth-card h1 { margin: 0 0 8px; }

.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: grid; gap: 7px; font-weight: 800; color: var(--blue); font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: white;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(243,112,33,.18); border-color: var(--orange); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #344054; }
.check input { width: auto; }
.form-note { color: var(--muted); font-size: 14px; margin: -6px 0 0; }
.error-text { color: var(--red); font-weight: 700; }
.flash { width: min(1200px, calc(100% - 44px)); margin: 18px auto; padding: 14px 18px; border-radius: 8px; font-weight: 700; }
.flash.success { background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; }
.flash.error { background: #fef3f2; color: var(--red); border: 1px solid #fecdca; }

.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 96px); background: #f7f9fb; }
.app-sidebar { background: white; border-right: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.app-sidebar img { width: 170px; margin-bottom: 22px; }
.app-sidebar a { padding: 12px 14px; border-radius: 6px; color: var(--blue); font-weight: 800; }
.app-sidebar a.active, .app-sidebar a:hover { background: #fff2eb; color: var(--orange); }
.app-main { padding: 34px; min-width: 0; }
.dashboard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.dashboard-head h1 { margin: 0 0 6px; font-size: clamp(30px, 3vw, 42px); }
.dashboard-head p { margin: 0; color: var(--muted); }
.action-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.details { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; }
.details dt { color: var(--muted); font-weight: 700; }
.details dd { margin: 0; font-weight: 700; color: var(--blue); overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--blue); font-size: 13px; text-transform: uppercase; }
td { color: #344054; font-size: 14px; }
.badge { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; padding: 7px 10px; background: #eef2f6; color: var(--blue); font-weight: 800; font-size: 12px; }
.badge.wacht-op-goedkeuring { background: #fff8e6; color: var(--amber); }
.badge.goedgekeurd { background: #ecfdf3; color: var(--green); }
.badge.afgekeurd, .badge.gedeactiveerd { background: #fef3f2; color: var(--red); }
.sheet-frame { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-height: 680px; }
.sheet-frame iframe { width: 100%; min-height: 680px; border: 0; }
.sheet-frame.is-hidden { display: none; }
.external-content-panel {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
  margin-bottom: 18px;
}
.external-content-panel h2 { margin: 0 0 8px; font-size: 24px; }
.external-content-panel p { color: var(--muted); max-width: 860px; margin: 0 0 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.stat-grid article { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: 0 10px 28px rgba(16, 24, 40, .05); }
.stat-grid strong { display: block; font-size: 38px; color: var(--orange); }
.stat-grid span { font-weight: 800; color: var(--blue); }
.filters { display: grid; grid-template-columns: minmax(260px, 1fr) 220px 220px auto; gap: 12px; margin-bottom: 18px; }
.danger-zone { margin-top: 20px; padding: 20px; border: 1px solid #fecdca; background: #fff7f6; border-radius: 8px; }
.attachment-list { padding: 0; list-style: none; display: grid; gap: 12px; }
.attachment-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.description { white-space: pre-wrap; background: var(--soft); border-radius: 8px; padding: 16px; }

@media (max-width: 980px) {
  .site-header { min-height: 78px; }
  .brand img { width: 158px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset: 78px 16px auto 16px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 18px; flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; background: white; }
  .hero-copy { padding: 44px 24px 32px; }
  .hero-collage {
    min-height: 0;
    background: white;
  }
  .hero-collage img { min-height: 0; object-position: left center; }
  .trust-strip, .benefit-grid, .two-columns, .feature-list, .split-band, .stat-grid, .services-grid { grid-template-columns: 1fr; }
  .about-hero, .about-grid { grid-template-columns: 1fr; }
  .primary-contact { grid-column: auto; }
  .trust-strip { margin-top: 22px; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-grid { gap: 12px; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { position: static; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; }
  .app-sidebar img { width: 130px; margin: 0 10px 0 0; }
  .app-main { padding: 22px; }
  .form-grid, .filters { grid-template-columns: 1fr; }
  .dashboard-head { flex-direction: column; }
  .site-footer { flex-direction: column; }
  .services-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .site-header { padding: 14px 18px; }
  .hero h1 { font-size: 36px; }
  .hero-actions .button { width: 100%; }
  .hero-collage { min-height: 0; }
  .hero-collage img { min-height: 0; }
  .section, .page { width: min(100% - 28px, 1200px); padding: 34px 0; }
  .panel { padding: 18px; }
  .details { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .company-details { grid-template-columns: 1fr; }
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(170px, 1fr));
  gap: 28px;
  padding: 42px clamp(22px, 6vw, 90px);
  border-top: 1px solid var(--line);
  background: #f8fafc;
  color: var(--blue);
}
.footer-logo { width: 210px; height: auto; margin-bottom: 12px; }
.footer-brand p, .footer-section address, .footer-details {
  color: var(--muted);
  margin: 0;
  font-style: normal;
}
.footer-section h2 {
  color: var(--blue);
  font-size: 15px;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.footer-links { display: grid; gap: 8px; }
.footer-links a { font-size: 14px; }
.footer-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  margin-top: 10px;
  font-size: 14px;
}
.footer-details dt { font-weight: 800; color: var(--blue); }
.footer-details dd { margin: 0; }

@media (max-width: 980px) {
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-footer { grid-template-columns: 1fr; }
}
