/* ==========================================================================
   GJ Klusman - Duiven
   Identiteit afgeleid van de busbelettering: zwart huisje, gouden GJ.
   ========================================================================== */

:root {
  /* Palet */
  --zwart: #1a1712;        /* teerzwart, warm */
  --zwart-zacht: #26221b;
  --goud: #e3a11c;         /* GJ-goud van de bus */
  --goud-donker: #b97f10;
  --wit: #fbf9f4;          /* schilderswit */
  --wit-paneel: #ffffff;
  --grijs: #57534a;        /* secundaire tekst */
  --lijn: #e7e2d6;
  --steen: #9c4a31;        /* baksteen, spaarzaam */

  /* Type */
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --maat: 1100px;
  --radius: 10px;
  --schaduw: 0 10px 30px rgba(26, 23, 18, 0.10);
}

/* ---- Basis ---- */

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

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

a { color: inherit; }

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

.wrap {
  max-width: var(--maat);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Typografie ---- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }

p { margin: 0 0 1rem; }

.klein { font-size: 0.9rem; color: var(--grijs); }

/* Gouden verfstreek onder een kernwoord: het handtekening-element. */
.streek {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 28' preserveAspectRatio='none'%3E%3Cpath d='M4 20 C40 12 92 10 132 12 C168 14 200 13 216 9 L215 15 C188 20 160 19 128 18 C90 17 44 19 6 26 Z' fill='%23e3a11c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.34em;
  padding-bottom: 0.16em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goud-donker);
  margin: 0 0 0.75rem;
}

/* ---- Knoppen ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 120ms ease, background-color 120ms ease, color 120ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-goud { background: var(--goud); color: var(--zwart); }
.btn-goud:hover { background: #f0b23a; }

.btn-zwart { background: var(--zwart); color: var(--wit); }
.btn-zwart:hover { background: var(--zwart-zacht); }

.btn-rand { border-color: var(--zwart); color: var(--zwart); background: transparent; }
.btn-rand:hover { background: var(--zwart); color: var(--wit); }

.btn-rand-licht { border-color: var(--wit); color: var(--wit); background: transparent; }
.btn-rand-licht:hover { background: var(--wit); color: var(--zwart); }

.btn svg { flex: none; }

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--wit);
  border-bottom: 1px solid var(--lijn);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  margin-right: auto;
}

.logo svg { flex: none; }

.logo .logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grijs);
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { background: #f1ecdf; }

.site-nav a[aria-current="page"] {
  background: var(--zwart);
  color: var(--wit);
}

.header-bel { padding: 0.7rem 1.1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--zwart);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--zwart);
}

@media (max-width: 900px) {
  .header-bel { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wit);
    border-bottom: 1px solid var(--lijn);
    box-shadow: var(--schaduw);
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.15rem;
  }

  .site-nav a { padding: 0.8rem 0.8rem; }
}

/* ---- Hero ---- */

.hero { padding: 3.5rem 0 3rem; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero p.intro {
  font-size: 1.15rem;
  max-width: 34rem;
}

.hero-acties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-foto { position: relative; }

.hero-foto img {
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}

/* gouden kader, iets verschoven: verwijst naar de belettering */
.hero-foto::after {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 3px solid var(--goud);
  border-radius: var(--radius);
  z-index: -1;
}

@media (max-width: 820px) {
  .hero { padding: 2.5rem 0 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-foto::after { inset: 0.75rem -0.5rem -0.75rem 0.5rem; }
}

/* ---- Zekerhedenbalk ---- */

.zekerheden {
  background: var(--zwart);
  color: var(--wit);
  padding: 1.1rem 0;
}

.zekerheden ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.zekerheden li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zekerheden svg { flex: none; color: var(--goud); }

/* ---- Secties ---- */

.sectie { padding: 4rem 0; }
.sectie-paneel { background: var(--wit-paneel); border-block: 1px solid var(--lijn); }
.sectie-zwart { background: var(--zwart); color: var(--wit); }

.sectie-kop { max-width: 42rem; margin-bottom: 2.25rem; }

@media (max-width: 820px) {
  .sectie { padding: 2.75rem 0; }
}

/* ---- Dienstenkaarten ---- */

.kaarten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kaart {
  background: var(--wit-paneel);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.kaart:hover {
  transform: translateY(-3px);
  box-shadow: var(--schaduw);
}

.kaart-icoon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--zwart);
  color: var(--goud);
  display: grid;
  place-items: center;
  margin-bottom: 0.4rem;
}

.kaart p { margin: 0; color: var(--grijs); font-size: 0.97rem; flex-grow: 1; }

.kaart a {
  font-weight: 700;
  text-decoration: none;
  color: var(--goud-donker);
}

.kaart a:hover { text-decoration: underline; }

/* kaartlink over hele kaart */
.kaart { position: relative; }
.kaart a::after { content: ""; position: absolute; inset: 0; }

@media (max-width: 900px) { .kaarten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kaarten { grid-template-columns: 1fr; } }

/* ---- Stappen (werkwijze) ---- */

.stappen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: stap;
}

.stap {
  counter-increment: stap;
  background: var(--wit-paneel);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.stap::before {
  content: counter(stap);
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--goud);
  color: var(--zwart);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.stap h3 { margin-bottom: 0.35rem; }
.stap p { margin: 0; color: var(--grijs); font-size: 0.95rem; }

@media (max-width: 900px) { .stappen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stappen { grid-template-columns: 1fr; } }

/* Verticale variant voor de werkwijzepagina */
.stappen-verticaal { grid-template-columns: 1fr; max-width: 44rem; }

/* ---- Fotoraster ---- */

.fotoraster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fotoraster figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--wit-paneel);
  border: 1px solid var(--lijn);
}

.fotoraster img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }

.fotoraster figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--grijs);
}

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

/* ---- Waarom / USP-lijst ---- */

.usps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.usp {
  display: flex;
  gap: 1rem;
  background: var(--wit-paneel);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.usp svg { flex: none; color: var(--goud-donker); margin-top: 0.2rem; }
.usp h3 { margin-bottom: 0.25rem; }
.usp p { margin: 0; color: var(--grijs); font-size: 0.95rem; }

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

/* ---- FAQ ---- */

.faq { max-width: 46rem; }

.faq details {
  background: var(--wit-paneel);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  padding: 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  color: var(--goud-donker);
  font-size: 1.2rem;
  transition: transform 140ms ease;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--grijs); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---- Contactband ---- */

.contactband { text-align: center; }

.contactband h2 { color: var(--wit); }
.contactband p { color: #d8d2c4; max-width: 36rem; margin-inline: auto; }

.contactband .hero-acties { justify-content: center; }

.contactband .nap {
  margin-top: 2rem;
  color: #d8d2c4;
  font-size: 0.95rem;
}

.contactband .nap a { color: var(--goud); font-weight: 600; }

/* ---- Contactpagina ---- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-kaart {
  background: var(--wit-paneel);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.contact-kaart .kaart-icoon { margin: 0 auto 0.75rem; }
.contact-kaart p { color: var(--grijs); font-size: 0.95rem; }

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

/* ---- Tekstpagina's ---- */

.pagina-kop {
  background: var(--wit-paneel);
  border-bottom: 1px solid var(--lijn);
  padding: 3rem 0 2.5rem;
}

.pagina-kop p { max-width: 44rem; color: var(--grijs); margin-bottom: 0; font-size: 1.1rem; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--grijs);
  margin-bottom: 1rem;
}

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: var(--lijn); }
.breadcrumb a { color: var(--grijs); }

/* ---- CTA-blok onderaan detailpagina's ---- */

.cta-blok {
  background: var(--zwart);
  color: var(--wit);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-blok h2 { color: var(--wit); }
.cta-blok p { color: #d8d2c4; }
.cta-blok .hero-acties { justify-content: center; }

/* ---- Footer ---- */

.site-footer {
  background: var(--zwart);
  color: #d8d2c4;
  padding: 3rem 0 6rem; /* extra ruimte voor mobiele belbalk */
  font-size: 0.95rem;
}

@media (min-width: 761px) { .site-footer { padding-bottom: 3rem; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer h2 {
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--wit);
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: #d8d2c4; text-decoration: none; }
.site-footer a:hover { color: var(--goud); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  color: var(--wit);
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.footer-onder {
  border-top: 1px solid #3a352b;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---- Mobiele actiebalk ---- */

.actiebalk {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--zwart);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
  box-shadow: 0 -6px 20px rgba(26, 23, 18, 0.25);
}

.actiebalk a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
}

.actiebalk .balk-bel { background: var(--goud); color: var(--zwart); }
.actiebalk .balk-app { background: #1fa855; color: #fff; }
.actiebalk .balk-offerte { background: transparent; color: var(--wit); border: 2px solid var(--wit); }

@media (max-width: 760px) { .actiebalk { display: flex; } }

/* ---- Skiplink ---- */

.skiplink {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--goud);
  color: var(--zwart);
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 100;
}

.skiplink:focus { left: 0; }
