/* ==========================================================================
   GPC Systems – statische site
   ========================================================================== */
:root {
  --green: #cadb37;
  --green-dark: #b4c42c;
  --dark: #3e4748;
  --ink: #2f3738;
  --muted: #68726f;
  --soft: #f5f7ee;
  --hero: #eff3c6;
  --line: #e3e7e0;
  --radius: 10px;
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: #5c6b10; }
a:hover { color: var(--dark); }

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--dark);
  font-weight: 700;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: 8px 16px;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--dark);
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--green-dark); color: var(--dark); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2c3334; color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn svg { vertical-align: -3px; margin-right: 8px; }

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--dark);
  color: #fff;
  font-size: .88rem;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--green); }
.topbar .spacer { flex: 1; }
.topbar svg { vertical-align: -2px; margin-right: 6px; fill: var(--green); }
.topbar .remote a svg { margin: 0 0 0 8px; fill: #fff; }
.topbar .remote a:hover svg { fill: var(--green); }

/* --------------------------------------------------------------------------
   Header en navigatie
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.branding { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.branding img { width: 240px; max-width: 56vw; height: auto; }

.nav-toggle {
  display: none;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  padding: 10px 11px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  margin: 4px 0;
  transition: transform .25s, opacity .25s;
}
.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); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 10px 13px;
  color: var(--dark);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-radius: 6px;
}
.site-nav a:hover { background: var(--soft); color: var(--dark); }
.site-nav a[aria-current="page"] {
  background: var(--green);
  color: var(--dark);
}

@media (max-width: 1080px) {
  .site-nav a { padding: 10px 9px; font-size: .9rem; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(0, 0, 0, .08);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px 20px 18px; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { background: var(--hero); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: .4em; }
.hero p.sub { font-size: 1.25rem; margin: 0 0 1.4em; }
.hero img { display: block; }

.page-hero {
  background: var(--hero);
  padding: 40px 0 36px;
}
.page-hero p { max-width: 50rem; margin-bottom: 0; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero img { max-width: 440px; margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   Secties
   -------------------------------------------------------------------------- */
.section { padding: 56px 0; }
.section-alt { background: var(--soft); }
.section-head { max-width: 46rem; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Afwisselende tekst/afbeelding-blokken */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
}
.split + .split { border-top: 1px solid var(--line); }
.split img { display: block; border-radius: var(--radius); }
.split.rev > .media { order: 2; }
.split ul { padding-left: 1.2em; }
.split li { margin: .3em 0; }

@media (max-width: 820px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 20px; }
  .split.rev > .media { order: 0; }
  .split .media { max-width: 480px; }
}

/* Dienstenkaarten */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.card h4 { margin-bottom: .4em; }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.case-card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-card h3 { margin-bottom: .15em; }
.case-card .tag { color: #76830f; font-weight: 700; font-size: .9rem; margin: 0 0 .5em; }
.case-card p { margin: 0 0 1em; font-size: .95rem; color: var(--muted); }
.case-card .more { margin-top: auto; font-weight: 700; text-decoration: none; }

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.quote blockquote { margin: 0 0 1em; font-style: italic; color: var(--ink); }
.quote blockquote::before { content: "\201C"; color: var(--green); font-size: 2.6rem; line-height: 0; vertical-align: -14px; margin-right: 6px; font-style: normal; }
.quote .who { font-weight: 700; color: var(--dark); }
.quote .org { color: var(--muted); font-size: .92rem; }

/* CTA-band */
.cta-band { background: var(--dark); color: #fff; text-align: center; padding: 54px 0; }
.cta-band h2 { color: var(--green); margin-bottom: .2em; }
.cta-band p { font-size: 1.15rem; margin: 0 0 1.4em; }

/* Logo-marquee */
.logos { padding: 44px 0; }
.logos h2 { text-align: center; margin-bottom: 30px; }
.marquee { display: flex; overflow: hidden; position: relative; }
.marquee .track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 80s linear infinite;
  padding-right: 56px;
}
.marquee:hover .track { animation-play-state: paused; }
.marquee img { height: 56px; width: auto; max-width: 180px; object-fit: contain; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee .track[aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   FAQ-accordeon
   -------------------------------------------------------------------------- */
.faq-group { margin-bottom: 32px; }
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--dark);
  padding: 15px 44px 15px 18px;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--green-dark);
  transition: transform .2s;
}
.faq.open .faq-q::after { content: "\2013"; }
.faq-a { display: none; padding: 0 18px 16px; }
.faq-a p:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.contact-card table { border-collapse: collapse; width: 100%; }
.contact-card td { padding: 5px 0; vertical-align: top; }
.contact-card td:first-child { font-weight: 700; width: 110px; color: var(--dark); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Artikelen (cases, nieuws, privacy)
   -------------------------------------------------------------------------- */
.prose { max-width: 50rem; }
.prose img { border-radius: var(--radius); }
.prose ul { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.4em; }

/* Ankerlinks bovenaan dienstenpagina's */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.anchor-nav a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}
.anchor-nav a:hover { background: var(--green); border-color: var(--green); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: #cfd6d4; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 52px 0 36px;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8em; }
.site-footer a { color: #cfd6d4; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35em 0; }
.site-footer .logo-dia { width: 220px; margin-bottom: 14px; }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

@media (max-width: 820px) {
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
}

/* Zwevende WhatsApp-knop */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

@media print {
  .topbar, .site-nav, .nav-toggle, .wa-fab, .cta-band { display: none !important; }
}
