/* ==========================================================================
   NavigatieInbouwen.nl, laag 2: secties en componenten
   Markup + stijlen 1-op-1 uit de mockup. Ongebruikte mockup-blokken
   (.videos / .about / .models / .hero__visual) zijn niet meegenomen.
   ========================================================================== */

/* ---------- Topbar ---------- */
.topbar {
  background: var(--yellow);
  color: var(--black);
  font-size: 13px; font-weight: 600;
  text-align: center;
  padding: 8px var(--gutter);
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }

.header__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: inline-flex; align-items: baseline; gap: 10px; }
.logo strong {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
}
.logo strong em { color: var(--yellow); font-style: normal; }
.logo span {
  font-size: 11px; color: var(--grey);
  border-left: 1px solid var(--line-dark);
  padding-left: 10px;
  white-space: nowrap;
}
.logo img { max-height: 40px; width: auto; }

.header__nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 500; }
.header__nav > a { color: var(--grey); transition: color 0.2s var(--ease); white-space: nowrap; }
.header__nav > a:hover { color: var(--white); }
.header__nav > a.is-current { color: var(--yellow); }
.header .btn { padding: 12px 22px; font-size: 14px; }

/* Hamburger */
.nav-toggle { display: none; }
.nav-toggle__bars { display: block; position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

/* Desktop: 9 menu-items + knop moeten samen met het logo binnen --max
   (1240px) passen, dus de nav is op ELKE desktopbreedte compact - niet
   alleen in een krappe band. Onder 1320px valt de logo-tagline weg. */
@media (min-width: 1101px) {
  .header__nav { gap: 14px; font-size: 13.5px; }
  .header .btn { padding: 11px 18px; font-size: 13.5px; }
}
@media (min-width: 1101px) and (max-width: 1320px) {
  .header__nav { gap: 11px; }
  .logo span { display: none; }
}

@media (max-width: 1100px) {
  .logo span { display: none; }

  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 46px; height: 46px; flex-shrink: 0;
    border: 1.5px solid var(--line-dark);
    border-radius: 13px;
    color: var(--white);
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
  }
  .header.is-open .nav-toggle { border-color: var(--yellow); color: var(--yellow); }
  .header.is-open .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .header.is-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .header.is-open .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

  .header__nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
    padding: 6px var(--gutter) 24px;
    max-height: calc(100vh - 100%);
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .header.is-open .header__nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .header__nav > a:not(.btn) {
    display: block;
    padding: 16px 2px;
    font-size: 16.5px; font-weight: 500;
    border-bottom: 1px solid var(--line-dark);
  }
  .header__nav .btn { margin-top: 20px; padding: 16px 22px; font-size: 15.5px; }
}

/* ---------- Hero (full-bleed foto) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 10vw, 130px) 0 250px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.68) 48%, rgba(0,0,0,0.42) 100%),
    linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.45) 100%);
}
.hero__copy { max-width: 680px; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__sub {
  color: var(--grey); font-size: clamp(16px, 1.4vw, 18px);
  max-width: 52ch; margin-bottom: 30px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__usps { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__usps li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--grey);
}
.hero__usps svg { color: var(--green); flex-shrink: 0; }

.tp-badge {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 28px;
  padding: 14px 22px 14px 16px;
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.tp-badge:hover { border-color: #00b67a; transform: translateY(-2px); }
.tp-badge__star {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #00b67a;
  color: var(--white);
  border-radius: 10px;
  display: grid; place-items: center;
}
.tp-badge__text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  color: var(--white);
}
.tp-badge__text > span { display: block; font-size: 12.5px; color: #00b67a; font-weight: 600; }

/* ---------- Sterren (gedeeld) ---------- */
.trustbar__stars { color: #00b67a; font-size: 15px; letter-spacing: 2px; }

/* ---------- Modelcheck (overlapt hero) ---------- */
.modelcheck {
  position: relative;
  z-index: 5;
  margin-top: -180px;
  padding: 0 0 clamp(60px, 8vw, 90px);
}
.modelcheck__card {
  background: linear-gradient(145deg, var(--dark-2) 0%, var(--dark-3) 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.modelcheck__head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.modelcheck__form {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  max-width: 980px; margin: 0 auto 34px;
}
.modelcheck__form select {
  padding: 16px 18px;
  background: var(--black);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s var(--ease);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23febe14' stroke-width='2'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.modelcheck__form select:focus { border-color: var(--yellow); }
.modelcheck__brands {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}
.brand-chip {
  display: grid; place-items: center;
  min-height: 56px;
  padding: 12px 8px;
  background: var(--black);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600; line-height: 1.25;
  color: var(--grey);
  transition: all 0.2s var(--ease);
}
.brand-chip:hover, .brand-chip.is-active {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}
.modelcheck__note {
  text-align: center; margin-top: 26px;
  font-size: 14px; color: var(--grey);
}
.modelcheck__note a { color: var(--green); font-weight: 600; text-decoration: underline; }
@media (max-width: 880px) {
  .modelcheck__form { grid-template-columns: 1fr; }
  .modelcheck__brands { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-chip { font-size: 13px; padding: 12px 5px; min-height: 54px; }
}
@media (max-width: 560px) {
  .modelcheck__card { padding: 1.9rem 1.15rem; }
}

/* ---------- Why ---------- */
.why {
  background: var(--off);
  color: var(--black);
  padding: clamp(70px, 9vw, 110px) 0;
}
.why .kicker { color: var(--black); }
.why .kicker::before { background: var(--yellow); }
.why .section-sub { color: #55554e; }
.why__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.why__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__points { display: grid; gap: 18px; margin: 30px 0; }
.why__points li { display: flex; gap: 16px; }
.why__point-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--green);
}
.why__points strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.why__points span { font-size: 14px; color: #55554e; }
.why__facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}
.why__facts div { text-align: center; }
.why__facts strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  color: var(--black);
}
.why__facts span { font-size: 12.5px; color: #77776e; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .why__facts { grid-template-columns: 1fr; gap: 0; padding: 6px 18px; }
  .why__facts div { padding: 15px 0; border-bottom: 1px solid var(--line-light); }
  .why__facts div:last-child { border-bottom: 0; }
}

/* ---------- Gallery ---------- */
.gallery { padding-bottom: clamp(70px, 9vw, 110px); padding-top: clamp(70px, 9vw, 110px); }
.gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 380px;
  gap: 14px;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--dark-2);
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.g-item:hover img { transform: scale(1.05); }
.g-item--tall { grid-row: span 2; }
.g-item--wide { grid-column: span 2; }
.g-item__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 13.5px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.g-item__cap em { font-style: normal; color: var(--yellow); font-size: 12px; }
.gallery__more { text-align: center; margin-top: 34px; }
@media (max-width: 880px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
}

/* ---------- Process ---------- */
.process { padding: clamp(70px, 9vw, 110px) 0; }
.process__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-top: 44px;
}
.step {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.step__num {
  font-family: var(--font-head);
  font-size: 44px; font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--grey); }
@media (max-width: 880px) { .process__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process__grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(70px, 9vw, 110px) 0 0; }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 44px;
}
.review-card {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.review-card__stars { color: #00b67a; font-size: 16px; letter-spacing: 2.5px; }
.review-card > p { font-size: 14.5px; color: var(--grey); flex-grow: 1; }
.review-card > p strong { color: var(--white); font-weight: 600; }
.review-card footer {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
}
.review-card footer strong { color: var(--white); font-weight: 600; }
.review-card footer span { color: #77776e; font-size: 12.5px; }
@media (max-width: 880px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq {
  background: var(--dark-2);
  border-top: 1px solid var(--line-dark);
  padding: clamp(70px, 9vw, 110px) 0;
  margin-top: clamp(70px, 9vw, 110px);
}
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq-item {
  background: var(--black);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--yellow); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-weight: 600; font-size: 16px;
}
.faq-item summary::after {
  content: "+";
  width: 30px; height: 30px; flex-shrink: 0;
  border: 1.5px solid var(--line-dark);
  color: var(--yellow);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px;
  transition: all 0.25s var(--ease);
}
.faq-item[open] summary::after { content: "–"; background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.faq-item p { padding: 0 24px 22px; font-size: 14.5px; color: var(--grey); }
.faq__more { justify-self: start; margin-top: 8px; }
.faq__cta { margin-top: 20px; }
@media (max-width: 880px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final {
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute; bottom: -320px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 164, 85, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.final h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 800;
  max-width: 20ch; margin: 0 auto 18px;
}
.final h2 em { font-style: normal; color: var(--yellow); }
.final p { color: var(--grey); max-width: 52ch; margin: 0 auto 34px; font-size: 17px; }
.final__ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.final__trust {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--grey);
}
.final__trust .trustbar__stars { font-size: 14px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-dark);
  padding: 44px 0 90px;
  font-size: 14px; color: var(--grey);
}
.footer__grid {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer__contact { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s var(--ease); }
.footer__contact a:hover { color: var(--yellow); }
.footer__base {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: #666;
}
.footer__base a:hover { color: var(--yellow); }

/* ---------- Sticky CTA (mobiel) ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  padding: 12px var(--gutter);
  display: flex; gap: 10px;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding: 14px 10px; font-size: 14.5px; }
@media (min-width: 901px) {
  .sticky-cta { display: none; }
  .footer { padding-bottom: 44px; }
}

/* ---------- Losse pagina's (page.php / 404 / index) ---------- */
.page-wrap { padding: clamp(60px, 8vw, 110px) 0; min-height: 50vh; }
.page-wrap h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 24px; }
.page-wrap h2 { font-size: clamp(24px, 3vw, 34px); margin: 32px 0 14px; }
.page-wrap h3 { font-size: 20px; margin: 26px 0 10px; }
.page-wrap p, .page-wrap li { color: var(--grey); margin-bottom: 14px; }
.page-wrap ul, .page-wrap ol { padding-left: 22px; margin-bottom: 18px; }
.page-wrap ul li { list-style: disc; }
.page-wrap ol li { list-style: decimal; }
.page-wrap a:not(.btn) { color: var(--yellow); text-decoration: underline; }
.page-wrap__cta { margin-top: 28px; }
.entry-list { display: grid; gap: 18px; margin-top: 30px; }
.entry-list article {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.entry-list h2 { margin: 0 0 8px; font-size: 20px; }

/* ---------- Ankernavigatie ---------- */
/* De header is sticky (~74px). Zonder scroll-margin verdwijnt de kop van de
   sectie erachter zodra je een menu-anker aanklikt. Geldt voor alle ankers
   in het hoofdmenu, niet alleen #diensten. */
section[id],
#contact { scroll-margin-top: 96px; }

@media (max-width: 1100px) {
  section[id],
  #contact { scroll-margin-top: 84px; }
}
