/* ==========================================================================
   Geomath — Landmeetbureau · stylesheet
   Premium B2B design: navy + sky-blue accent, ruime whitespace, Manrope/Inter.
   ========================================================================== */

:root {
  --c-primary: #0F172A;
  --c-secondary: #1E293B;
  --c-accent: #0EA5E9;
  --c-accent-dark: #0284C7;
  --c-light: #F8FAFC;
  --c-text: #334155;
  --c-muted: #64748B;
  --c-border: #E2E8F0;
  --c-white: #FFFFFF;

  --font-head: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--c-primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn--primary { background: var(--c-accent); color: #fff; box-shadow: 0 8px 24px rgba(14, 165, 233, .35); }
.btn--primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(14, 165, 233, .45); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-2px); }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--c-border); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--c-primary); }
.brand__mark { display: block; height: 30px; width: auto; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand__name strong { color: var(--c-accent); font-weight: 800; }
.brand--light .brand__name { color: #fff; }

.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a {
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--c-secondary);
  position: relative; transition: color .2s;
}
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--c-accent); transition: width .25s var(--ease);
}
.nav__menu a:not(.nav__cta):hover { color: var(--c-primary); }
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--c-primary); color: #fff !important; padding: 10px 20px; border-radius: 999px;
  transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--c-secondary); transform: translateY(-1px); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--c-primary); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(15, 23, 42, .94) 0%, rgba(15, 23, 42, .78) 45%, rgba(15, 23, 42, .45) 100%);
}
.hero__inner { padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); max-width: 760px; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: 1.1rem;
}
.hero .eyebrow { color: #7DD3FC; }

.hero__title { color: #fff; font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.05; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .85); margin-top: 1.5rem; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.hero__trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-head); font-size: 1.55rem; color: #fff; line-height: 1.1; }
.hero__trust span { font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* ----------------------------- Sections ----------------------------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--alt { background: var(--c-light); }
.section--dark { background: var(--c-primary); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #7DD3FC; }

.section__head { max-width: 720px; margin-bottom: 3.5rem; }
.section__head h2 { font-size: clamp(2rem, 4vw, 2.85rem); }
.section__intro { margin-top: 1rem; font-size: 1.1rem; color: var(--c-muted); }
.section--dark .section__intro { color: rgba(255, 255, 255, .7); }

/* ----------------------------- Cards (diensten) ----------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(14, 165, 233, .4); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; font-size: 1.5rem;
  background: rgba(14, 165, 233, .1); margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.card p { color: var(--c-muted); font-size: 1rem; }

/* ----------------------------- About ----------------------------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__body h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: .5rem 0 1.25rem; }
.about__body p { margin-bottom: 1.1rem; color: var(--c-text); }
.about__list { margin-top: 1.75rem; display: grid; gap: .9rem; }
.about__list li { position: relative; padding-left: 2rem; color: var(--c-secondary); font-weight: 500; }
.about__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px;
  border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(14, 165, 233, .18);
}

/* ----------------------------- Features (waarom) ----------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature {
  padding: 2rem; border-radius: var(--radius); background: var(--c-light);
  border: 1px solid var(--c-border); border-left: 4px solid var(--c-accent);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--c-muted); }

/* ----------------------------- Steps (proces) ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step {
  position: relative; padding: 2rem 1.75rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
}
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--c-accent); display: block; margin-bottom: .75rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: rgba(255, 255, 255, .7); font-size: .98rem; }

/* ----------------------------- Projects ----------------------------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project {
  border-radius: var(--radius); overflow: hidden; background: var(--c-white);
  border: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
.project:hover img { transform: scale(1.05); }
.project__body { padding: 1.6rem 1.75rem 1.9rem; }
.tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-dark);
  background: rgba(14, 165, 233, .1); padding: 5px 12px; border-radius: 999px; margin-bottom: .85rem;
}
.project h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.project p { color: var(--c-muted); font-size: .98rem; }

/* ----------------------------- Quotes ----------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1.5rem;
}
.quote blockquote { font-size: 1.1rem; color: var(--c-secondary); line-height: 1.6; font-weight: 500; }
.quote::before { content: "“"; font-family: var(--font-head); font-size: 3rem; line-height: 0; color: var(--c-accent); height: 1.5rem; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption strong { color: var(--c-primary); font-family: var(--font-head); }
.quote figcaption span { color: var(--c-muted); font-size: .9rem; }

/* ----------------------------- Contact ----------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__intro h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: .5rem 0 1.1rem; }
.contact__details { margin-top: 2rem; display: grid; gap: 1.25rem; }
.contact__details li { display: flex; flex-direction: column; gap: .15rem; }
.contact__label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.contact__details a { color: var(--c-primary); font-weight: 600; transition: color .2s; }
.contact__details a:hover { color: var(--c-accent); }

.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  background: var(--c-light); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--c-secondary); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--c-primary);
  padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(14, 165, 233, .15);
}
.field textarea { resize: vertical; }
.form__note { color: var(--c-muted); font-size: .88rem; margin-top: .75rem; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--c-primary); color: rgba(255, 255, 255, .65); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__logo-link { display: inline-block; }
.footer__logo { width: 220px; height: auto; filter: brightness(0) invert(1); }
.footer__brand p { margin-top: 1.25rem; font-size: .98rem; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { display: grid; gap: .65rem; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--c-accent); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.75rem 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem;
}

/* ----------------------------- Scroll reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 980px) {
  .cards, .features, .projects, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .about__media img { aspect-ratio: 16 / 10; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-md);
    padding: 1rem 24px 1.5rem; transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu li { padding: .35rem 0; }
  .nav__menu a:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: .5rem; }

  .hero__trust { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {
  .cards, .features, .projects, .quotes, .steps { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
