/* ACB Nederland – one pager
   Brand: blauw #0072C5, hemelblauw #4FCFFD, azuur #058AEB
   Lettertypen: Barlow (tekst), Barlow Condensed cursief (koppen, zoals het logo) */

:root {
  --blue: #0072c5;
  --navy: #062f57;
  --sky: #4fcffd;
  --azure: #058aeb;
  --mist: #eaf5fc;
  --ink: #0a2440;
  --muted: #45607a;
  --white: #ffffff;

  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Barlow", Arial, sans-serif;

  --header-h: 76px;
  --wrap: 1200px;
  --slant: clamp(28px, 5vw, 72px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--azure); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sky);
  color: var(--navy);
  padding: .75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0; }

/* Koppen */
h1, h2, h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(3.25rem, 8vw, 6rem); }
h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.75rem; }

/* Knoppen */
.btn {
  display: inline-block;
  font: 600 1.0625rem/1 var(--font-body);
  padding: 1rem 1.6rem;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--sky); color: var(--navy); }
.btn--primary:hover { background: var(--white); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12);
}
.site-header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand img { height: 44px; width: auto; }

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav a {
  white-space: nowrap;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--sky); color: var(--white); }

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: .65rem 1.1rem;
  border-radius: 4px;
  white-space: nowrap;
}
.phone-pill:hover { background: var(--white); color: var(--blue); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, var(--navy) 0%, var(--blue) 65%);
  color: var(--white);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) calc(var(--slant) + clamp(3rem, 6vw, 5rem));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slant)));
}
.hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  animation: photo-in .8s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero__inner { position: relative; }
.hero__copy { max-width: 34rem; }
.hero h1 { margin-bottom: .35em; }
.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 30rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, .92);
}
.actions { display: flex; flex-wrap: wrap; gap: .85rem; }

@keyframes photo-in {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: none; }
}

/* Secties */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }

/* Diensten */
.services { margin-top: calc(var(--slant) * -.6); background: var(--white); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid #d5e6f3;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card__body { padding: 1.4rem 1.4rem 1.6rem; }
.card h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
  color: var(--blue);
}
.card h3::before {
  content: "";
  flex: none;
  width: 14px;
  height: 22px;
  background: var(--sky);
  transform: skewX(-24deg);
}
.card p { margin: 0; color: var(--muted); }

.note {
  max-width: 44rem;
  margin: 2.5rem 0 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--sky);
  color: var(--ink);
}

/* Over ons */
.about {
  background:
    url("assets/ACB-Nederland-factuur-achtergrond.jpg") right bottom / auto 100% no-repeat,
    var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__text p { max-width: 34rem; margin: 0 0 1.1rem; }

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.facts li {
  background: var(--white);
  border-left: 6px solid var(--blue);
  padding: 1.1rem 1.4rem;
  box-shadow: 0 10px 30px -18px rgba(6, 47, 87, .45);
}
.facts strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--blue);
}
.facts span { color: var(--muted); }

/* Werkgebied */
.area {
  background: linear-gradient(105deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  margin-block: calc(var(--slant) * -1);
  padding-block: calc(var(--slant) + 3.5rem);
  position: relative;
}
.area__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.area__text p { max-width: 30rem; margin: 0 0 2rem; font-size: 1.15rem; color: rgba(255, 255, 255, .92); }
.area__photo {
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.area__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Contact */
.contact { background: var(--mist); padding-top: calc(var(--slant) + 3rem); }
.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__info > p { max-width: 28rem; color: var(--muted); }

.details { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.details div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.details dt { font-weight: 600; color: var(--blue); }
.details dd { margin: 0; }
.details a { color: var(--ink); }
.details a:hover { color: var(--azure); }

.form {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 6px;
  border-top: 6px solid var(--blue);
  box-shadow: 0 20px 40px -28px rgba(6, 47, 87, .5);
}
.form h3 { color: var(--blue); margin-bottom: 1.25rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #a9c3d8;
  border-radius: 4px;
  padding: .75rem .85rem;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--sky);
  outline-offset: 0;
  border-color: var(--blue);
}
textarea { resize: vertical; }
.form .btn--primary { background: var(--blue); color: var(--white); }
.form .btn--primary:hover { background: var(--navy); color: var(--white); }

/* Footer */
.site-footer {
  background: var(--blue);
  color: var(--white);
  padding-block: 2.5rem;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.footer__data p { margin: 0 0 .25rem; font-size: 1rem; }
.footer__data a { color: var(--white); text-decoration: none; }
.footer__data a:hover { color: var(--sky); }
.key { color: var(--sky); font-weight: 600; margin-right: .35rem; }
.legal { margin-top: .75rem !important; color: rgba(255, 255, 255, .8); font-size: .95rem !important; }

.footer__phone { text-align: right; }
.big-phone {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1;
  color: var(--white);
  text-decoration: none;
}
.big-phone:hover { color: var(--sky); }
.footer__phone p { margin: .35rem 0 0; color: rgba(255, 255, 255, .85); letter-spacing: .04em; }

/* Tablet */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-header__bar { flex-wrap: wrap; height: auto; padding-block: .75rem; gap: .75rem 1rem; }
  .brand img { height: 38px; }
  .phone-pill { margin-left: auto; }
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 1.5rem;
    overflow-x: auto;
  }
  :root { --header-h: 116px; }

  .hero { padding-top: 0; }
  .hero__photo {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 900 / 458;
    clip-path: none;
    margin-bottom: 2rem;
  }
  .about__grid,
  .area__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .about { background-size: auto 60%; }
  .footer__phone { text-align: left; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .details div { grid-template-columns: 1fr; gap: .15rem; }
  .actions .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__photo { animation: none; }
  .btn, .phone-pill { transition: none; }
}
