:root {
  --cview-teal: #6c94a5;
  --cview-teal-deep: #557a8a;
  --cview-surface: #e2eaed;
  --cview-link: #6d95a6;
  --cview-ink: #0c1218;
  --cview-ink-soft: #3d4f5c;
  --cview-white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(12, 18, 24, 0.12);
  --font: "Lato", system-ui, -apple-system, sans-serif;
  --font-display: "Montserrat", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--cview-ink);
  background: var(--cview-surface);
}

h1,
h2,
h3,
.hero-eyebrow,
.nav a,
.btn {
  font-family: var(--font-display);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cview-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cview-teal-deep);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--cview-white);
  color: var(--cview-ink);
  z-index: 100;
  border-radius: 6px;
}

.skip-link:focus {
  left: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(108, 148, 165, 0.2);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  width: min(220px, 55vw);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--cview-ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav a:hover {
  color: var(--cview-teal-deep);
}

.nav-cta {
  background: var(--cview-teal);
  color: var(--cview-white) !important;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(108, 148, 165, 0.45);
}

.nav-cta:hover {
  background: var(--cview-teal-deep);
  color: var(--cview-white) !important;
}

/* Hero */
.hero {
  background: #0a1e32;
  color: #f4f9fc;
  position: relative;
  overflow: hidden;
  min-height: min(72vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(5, 20, 38, 0.82) 0%,
    rgba(8, 35, 58, 0.55) 42%,
    rgba(25, 70, 98, 0.4) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8d4e8;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  max-width: 52ch;
  color: rgba(244, 249, 252, 0.92);
  font-weight: 300;
  font-family: var(--font);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--cview-teal);
  color: var(--cview-white);
  box-shadow: 0 6px 24px rgba(108, 148, 165, 0.4);
}

.btn-primary:hover {
  background: var(--cview-teal-deep);
  color: var(--cview-white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f4f9fc;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #b8d4e8;
  color: var(--cview-white);
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary {
  background: var(--cview-white);
  color: var(--cview-ink-soft);
  border: 2px solid rgba(108, 148, 165, 0.45);
}

.btn-secondary:hover {
  border-color: var(--cview-teal);
  color: var(--cview-teal-deep);
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section-head {
  margin-bottom: 2rem;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cview-ink);
}

.section-head p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--cview-ink-soft);
  font-weight: 300;
}

.tool-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tool-card {
  background: var(--cview-white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(108, 148, 165, 0.18);
  border-left: 4px solid var(--cview-teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(12, 18, 24, 0.14);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(108, 148, 165, 0.15);
  color: var(--cview-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.tool-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--cview-ink);
}

.tool-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--cview-ink-soft);
  font-weight: 300;
}

/* Aanpak */
.aanpak {
  background: linear-gradient(180deg, rgba(108, 148, 165, 0.12) 0%, transparent 100%);
}

.aanpak-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.aanpak-inner h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
}

.aanpak-inner p {
  margin: 0 0 1rem;
  color: var(--cview-ink-soft);
  font-weight: 300;
}

.aanpak-inner p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-section {
  padding-bottom: 4rem;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--cview-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(108, 148, 165, 0.2);
}

.contact-card h2 {
  margin: 0 0 0.5rem;
}

.contact-card > p {
  margin: 0 0 1.25rem;
  color: var(--cview-ink-soft);
  font-weight: 300;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contact-card .btn-primary {
  margin-top: 0.25rem;
}

.contact-tel {
  font-weight: 700;
  white-space: nowrap;
}

/* Contact modal */
.modal {
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  max-width: calc(100vw - 2rem);
  width: 32rem;
  background: var(--cview-white);
  box-shadow: 0 28px 90px rgba(7, 16, 24, 0.35);
}

.modal::backdrop {
  background: rgba(7, 16, 24, 0.55);
  backdrop-filter: blur(5px);
}

.modal-box {
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--cview-ink-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

.modal-close:hover {
  background: rgba(108, 148, 165, 0.15);
  color: var(--cview-ink);
}

.modal-title {
  margin: 0 2rem 0.35rem 0;
  font-size: 1.25rem;
  color: var(--cview-ink);
}

.modal-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--cview-ink-soft);
  font-weight: 300;
  line-height: 1.5;
}

.modal-lead strong {
  font-weight: 600;
  color: var(--cview-ink);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal .field {
  margin-bottom: 1rem;
  text-align: left;
}

.modal .field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  color: var(--cview-ink);
}

.modal .field input,
.modal .field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(108, 148, 165, 0.4);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  background: var(--cview-white);
  color: var(--cview-ink);
}

.modal .field input:focus,
.modal .field textarea:focus {
  outline: 2px solid rgba(108, 148, 165, 0.45);
  outline-offset: 1px;
}

.modal .field textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-status {
  min-height: 1.45rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  text-align: left;
  font-weight: 400;
}

.form-status--ok {
  color: #1b6e4f;
}

.form-status--err {
  color: #a4161a;
}

.form-status--pending {
  color: var(--cview-ink-soft);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  background: #071018;
  color: rgba(226, 234, 237, 0.75);
  padding: 1.75rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--cview-teal);
}

.site-footer a:hover {
  color: var(--cview-surface);
}
