/* ==========================================================
   Plus een, stylesheet
   Colors and fonts follow the Plus een brand guide.
   ========================================================== */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --lagoon: #00a6a6;
  --lime: #b6cf4a;
  --ink: #0a2238;
  --sky: #d7eeee;
  --field: #f3fafa;
  --white: #ffffff;

  --head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --pad: 80px;          /* side padding of the page */
  --sec: 100px;         /* vertical padding of each section */
  --radius-section: 40px;
  --radius-card: 24px;
  --radius-btn: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { scroll-padding-top: 72px; }

/* ---------- Scroll reveal: each row fades in (only active when JS adds .reveal-on to <html>) ---------- */
.reveal-on .hero-content,
.reveal-on .services-head,
.reveal-on .cards,
.reveal-on .split,
.reveal-on .about,
.reveal-on .contact {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal-on .hero-content.is-visible,
.reveal-on .services-head.is-visible,
.reveal-on .cards.is-visible,
.reveal-on .split.is-visible,
.reveal-on .about.is-visible,
.reveal-on .contact.is-visible { opacity: 1; transform: none; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Type ---------- */
.h1, .h2, .h3 { font-family: var(--head); font-weight: 650; }
.h1 { font-size: 54px; line-height: 1.2; font-weight: 700; }
.h2 { font-size: 40px; line-height: 1.2; }
.h3 { font-size: 22px; line-height: 30px; }
.lead { font-size: 18px; line-height: 27px; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 49px; padding: 0 28px;
  background: var(--lime); color: var(--white);
  font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 20px;
  text-decoration: none; border: 0; border-radius: var(--radius-btn);
  box-shadow: 0 3px 6px rgba(86, 104, 18, 0.35);
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: #a9c23c; }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 45px; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: rgba(255, 255, 255, 0);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(10, 34, 56, .08);
}
.site-header .container { transition: height .3s ease; }
.site-header .container { position: relative; display: flex; align-items: center; justify-content: space-between; height: 87px; }
.logo img { width: 150px; height: auto; }
.nav { position: absolute; left: 50%; transform: translateX(calc(-50% - 12px)); display: flex; gap: 34px; }
.nav a, .mobile-nav a:not(.btn) { font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--lagoon); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Brand mark: lives inside each coloured box and peeks out above its top edge ---------- */
:root { --hw: min(490px, 34vw); }   /* width of the hero icon */
.box-mark { position: absolute; left: 0; right: 0; bottom: 100%; pointer-events: none; }
.box-mark .mark-row { align-items: end; }
.mark-slot { grid-column: 2; }
/* the clip shows the top 77.5% of the icon; the rest is "inside" the box */
.mark-clip { position: relative; overflow: hidden; width: min(calc(100% - 32px), 490px); margin-inline: auto; aspect-ratio: 244.94 / 136.15; }
.box-mark--hero .mark-row { display: block; }
.box-mark--hero .mark-clip { width: var(--hw); margin: 0 16px 0 auto; }
.mark { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 244.94 / 175.68; }
.mark svg { width: 100%; height: 100%; display: block; }
.mark--lagoon { color: var(--lagoon); opacity: .25; }
.mark--sky    { color: var(--sky);    opacity: .5; }
.mark--ink    { color: var(--ink);    opacity: .33; }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding-block: var(--sec); }
.section--box { z-index: 2; border-radius: var(--radius-section) var(--radius-section) 0 0; }
.section--lagoon { background: var(--lagoon); color: var(--white); }
.section--sky { background: var(--sky); }
.section--ink { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0 0 -80px 0; overflow: hidden; }
.hero-bg img { position: absolute; inset: -25px; width: calc(100% + 50px); height: calc(100% + 50px); max-width: none; object-fit: cover; filter: blur(4px); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .75); }
.hero .container { position: relative; padding-top: 185px; padding-bottom: 100px; }
.hero-content { position: relative; z-index: 2; }
.hero-questions { margin-top: 15px; font-weight: 600; font-size: 20px; line-height: 28px; color: var(--lagoon); }
.hero-text { margin-top: 17px; max-width: 740px; font-size: 18px; line-height: 27px; color: rgba(10, 34, 56, .85); }
.hero .btn { margin-top: 31px; }

/* ---------- Diensten ---------- */
.services-intro { max-width: 735px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 55px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-card); padding: 37px 30px 37px 36px;
  box-shadow: 0 6px 18px rgba(0, 70, 70, .18);
}
.card-sub { margin-top: 6px; font-weight: 600; font-size: 15px; line-height: 20px; color: var(--lagoon); }
.card-text { margin-top: 26px; margin-bottom: 23px; font-size: 16px; line-height: 24px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 20px; color: var(--lagoon); text-decoration: none; align-self: flex-start; }
.more svg { width: 12px; height: 12px; transition: transform .15s ease; }
.more:hover svg { transform: translateX(3px); }

/* ---------- Split sections (text + photo) ---------- */
.split, .mark-row { display: grid; grid-template-columns: minmax(0, 1fr) 522px; column-gap: 134px; align-items: stretch; }
.split--media-left { grid-template-columns: 522px minmax(0, 1fr); column-gap: 128px; }
.media { position: relative; }
.media-card { position: relative; height: 100%; border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 4px 16px rgba(10, 34, 56, .08); background: var(--sky); }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.checks { margin-top: 28px; display: grid; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 24px; }
.checks svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.list-intro { margin-top: 32px; font-size: 18px; line-height: 27px; }
.list-intro + .checks { margin-top: 14px; }
.plus { margin-top: 32px; font-size: 16px; line-height: 24px; }
.plus-title { display: block; font-family: var(--head); font-weight: 500; color: var(--lagoon); }
.talk { margin-top: 34px; font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 24px; }
.talk + .btn { margin-top: 10px; }
.img-consultant { object-position: 74% center; }

/* ---------- Over mij ---------- */
.about { display: grid; grid-template-columns: 413px minmax(0, 1fr); column-gap: 129px; align-items: stretch; }
.about .media-card { min-height: 569px; box-shadow: none; }
.about-sub { margin-top: 33px; font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 28px; }
.about-text { margin-top: 13px; font-size: 18px; line-height: 27px; }
.about-text + .about-text { margin-top: 16px; }
.about-text strong { display: block; font-weight: 700; }
.linkedin { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--lime); text-decoration: none; }
.linkedin svg { width: 20px; height: 20px; }
.linkedin:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 522px; column-gap: 134px; align-items: start; }
.contact .h2 { color: var(--lagoon); }
.contact-text { margin-top: 34px; max-width: 630px; font-weight: 500; font-size: 18px; line-height: 27px; }
.contact-text + .contact-text { margin-top: 27px; }
.contact-list { margin-top: 36px; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; font-size: 18px; line-height: 24px; }
.contact-list li:first-child { font-weight: 600; }
.contact-list svg { width: 24px; height: 24px; flex: none; color: var(--lagoon); }
.contact-list a { text-decoration: none; white-space: nowrap; }
.contact-list a:hover { color: var(--lagoon); }

.form-card { background: var(--white); border-radius: var(--radius-card); padding: 48px; box-shadow: 0 10px 40px rgba(10, 34, 56, .10); }
.form-card .h3 { font-size: 24px; line-height: 30px; }
.field { margin-top: 25px; }
.field + .field { margin-top: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; line-height: 18px; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 10px;
  font-family: var(--body); font-size: 15px; line-height: 20px; color: var(--ink);
  background: var(--field); border: 1px solid var(--sky); border-radius: 8px;
  padding: 12px 12px; height: 45px;
}
.field textarea { height: 100px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(10, 34, 56, .6); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(0, 166, 166, .15); }
.captcha { margin-top: 20px; min-height: 78px; }
.form-card .btn { width: 100%; margin-top: 20px; }
.form-card .btn[disabled] { opacity: .7; cursor: wait; }
.form-status { margin-top: 14px; font-size: 15px; line-height: 20px; }
.form-status.is-ok { color: var(--lagoon); font-weight: 600; }
.form-status.is-error { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 505px 290px 290px 1fr; }
.footer-logo img { width: 165px; height: auto; }
.footer-about { margin-top: 40px; max-width: 390px; font-size: 15px; line-height: 21px; color: rgba(10, 34, 56, .8); }
.footer-company { margin-top: 16px; font-size: 13px; line-height: 19px; color: rgba(10, 34, 56, .6); }
.footer-title { font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 20px; }
.footer-links { margin-top: 13px; display: grid; gap: 14px; }
.footer-links li { font-size: 14px; line-height: 18px; color: rgba(10, 34, 56, .8); }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--lagoon); }
.footer-social { margin-top: 13px; display: inline-block; color: var(--lagoon); }
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-bottom { margin-top: 50px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; line-height: 18px; color: rgba(10, 34, 56, .6); }
.footer-bottom nav { display: flex; gap: 25px; }
.footer-bottom a { text-decoration: none; }

.form-privacy { margin-top: 12px; font-size: 13px; line-height: 18px; color: rgba(10, 34, 56, .6); }
.form-privacy a { color: var(--lagoon); }

/* ---------- Legal pages ---------- */
.legal { padding: 160px 0 100px; border-bottom: 1px solid var(--sky); }
.legal-content { max-width: 760px; }
.legal-content .h1 { font-size: 48px; }
.legal-date { margin-top: 12px; font-size: 15px; color: rgba(10, 34, 56, .6); }
.legal-content h2 { margin-top: 44px; font-family: var(--head); font-weight: 650; font-size: 24px; line-height: 30px; }
.legal-content p, .legal-content li { font-size: 17px; line-height: 27px; }
.legal-content h2 + p, .legal-content h2 + ul { margin-top: 12px; }
.legal-content p + p, .legal-content p + ul, .legal-content ul + p { margin-top: 14px; }
.legal-date + p { margin-top: 32px; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.legal-content li + li { margin-top: 6px; }
.legal-content li::marker { color: var(--lagoon); }
.legal-content a:not(.more) { color: var(--lagoon); }
.legal-back { margin-top: 56px; }

.br-lg { display: inline; }

/* ==========================================================
   Laptop (1024 to 1279 px)
   ========================================================== */
@media (max-width: 1279px) {
  :root { --pad: 56px; }
  .split, .contact, .mark-row { grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr); column-gap: 72px; }
  .split--media-left { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr); column-gap: 72px; }
  .about { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); column-gap: 72px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: 32px; }
  .card { padding: 32px 28px; }
}

/* ==========================================================
   Tablet (640 to 1023 px)
   ========================================================== */
@media (max-width: 1023px) {
  :root { --pad: 40px; --sec: 80px; --radius-section: 32px; }
  .br-lg { display: none; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 34px; }

  /* header: menu button */
  .nav { display: none; }
  .mobile-nav .btn { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: 12px;
    background: var(--white); border: 0; border-radius: 12px; color: var(--ink); cursor: pointer;
    box-shadow: 0 2px 8px rgba(10, 34, 56, .08);
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .header-right { display: flex; align-items: center; }
  .site-header .container { height: 80px; }
  .mobile-nav {
    position: absolute; top: 76px; left: var(--pad); right: var(--pad);
    flex-direction: column; gap: 4px; padding: 16px;
    background: var(--white); border-radius: 20px; box-shadow: 0 12px 32px rgba(10, 34, 56, .15);
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a:not(.btn) { padding: 12px 8px; font-size: 18px; }
  .mobile-nav .btn { margin-top: 8px; }

  :root { --hw: min(60vw, 420px); }
  .hero .container { padding-top: 150px; padding-bottom: calc(var(--hw) * 0.556 + 40px); }
  .box-mark--hero .mark-clip { margin-right: 8px; }

  .cards { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .card-text { max-width: 560px; }

  .split, .split--media-left, .contact, .mark-row { grid-template-columns: 1fr; row-gap: 48px; }
  .mark-slot { grid-column: auto; }
  .media-card { height: auto; aspect-ratio: 4 / 3; }
  .about { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); column-gap: 48px; }
  .about .media-card { min-height: 0; height: 100%; aspect-ratio: auto; }
  .contact-text { max-width: none; }
  .legal { padding: 130px 0 80px; }
  .legal-content .h1 { font-size: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-about { margin-top: 24px; }
}

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; row-gap: 40px; }
  .about .media-card { height: auto; aspect-ratio: 4 / 5; max-width: 420px; }
}

/* ==========================================================
   Phone (up to 639 px)
   ========================================================== */
@media (max-width: 639px) {
  :root { --pad: 20px; --sec: 64px; --radius-section: 28px; --radius-card: 20px; }
  body { font-size: 17px; }
  .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .h3 { font-size: 21px; line-height: 28px; }
  .logo img { width: 128px; }
  .site-header .container { height: 72px; }
  .mobile-nav { top: 68px; }
  .header-cta { display: none; }
  .mobile-nav .btn { display: inline-flex; }

  :root { --hw: 68vw; }
  .hero .container { padding-top: 120px; padding-bottom: calc(var(--hw) * 0.556 + 32px); }
  .hero-questions { font-size: 18px; line-height: 26px; }
  .hero-text, .lead, .list-intro, .about-text, .contact-text { font-size: 17px; line-height: 26px; }
  .hero-text { margin-top: 14px; }
  .hero .btn { margin-top: 24px; }

  .card { padding: 28px 24px; }
  .legal { padding: 110px 0 64px; }
  .legal-content .h1 { font-size: 32px; }
  .legal-content h2 { margin-top: 36px; font-size: 21px; line-height: 28px; }
  .legal-content p, .legal-content li { font-size: 16px; line-height: 25px; }
  .media-card { aspect-ratio: 1 / 1; }
  .about .media-card { aspect-ratio: 4 / 5; }
  .about-sub { margin-top: 20px; font-size: 18px; line-height: 26px; }
  .form-card { padding: 28px 20px; }
  .contact-list li { font-size: 17px; }

  .footer-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .footer-bottom { flex-direction: column; margin-top: 40px; }
}
