/* ============ Pannenbaas — shared styles ============ */

:root {
  --color-primary: #a3472a;
  --color-primary-dark: #832f18;
  --color-dark: #111111;
  --color-cream: #f6f2ea;
  --color-white: #ffffff;
  --color-muted: #6b6560;
  --color-border: #e3ddd1;

  --font-display: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", Arial, sans-serif;

  --max-width: 1180px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-cream);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: 0.75em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6px 6px 6px 26px;
  gap: 16px;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-primary .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-primary.btn-block {
  justify-content: space-between;
  padding-left: 28px;
}

.btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-dark:hover {
  background: #000;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

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

.top-bar {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--color-muted);
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-contact a:hover {
  color: var(--color-primary);
}

.site-header {
  background: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
  margin-right: auto;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.logo svg {
  height: 26px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: #d8d3ca;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:not(.btn):hover,
.main-nav a.active {
  color: var(--color-white);
  border-bottom-color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
}

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

.hero {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--color-dark);
}

.hero h1 span {
  color: var(--color-primary);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-actions small {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.hero-media {
  position: relative;
  max-width: 320px;
  margin-left: auto;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #2a2a2a, var(--color-dark) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media svg {
  opacity: 0.9;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Full-width hero (foto achter tekst) ---------- */

.hero-full {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
}

.hero-full-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-full-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-full-bg::after {
  /* subtiele donkere overlay */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,10,0.78) 0%, rgba(15,12,10,0.55) 45%, rgba(15,12,10,0.25) 100%);
}

/* ---------- Hero met video ---------- */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-bg::after {
  /* donkerder overlay: de video is licht, de tekst moet leesbaar blijven */
  background: linear-gradient(90deg, rgba(15,12,10,0.84) 0%, rgba(15,12,10,0.68) 50%, rgba(15,12,10,0.5) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero-full-inner {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 110px;
  max-width: var(--max-width);
}

.eyebrow-light {
  color: #f0c9b8;
}

.hero-full h1 {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  color: var(--color-white);
  margin-bottom: 0.35em;
}

.hero-full h1 span {
  color: #e08a63;
}

.hero-full-lead {
  font-size: 1.15rem;
  color: #ece7e1;
  max-width: 42ch;
  margin-bottom: 1.4em;
}

.hero-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: #f4f0ea;
}

.hero-checks li::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/58% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/58% no-repeat;
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(2px);
}

.btn-ghost:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

/* ---------- Bewegende USP-slider ---------- */

.marquee {
  background: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 34px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.marquee-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Split feature (Jasper / Climotec-stijl) ---------- */

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}

.split-photo {
  border-radius: 22px;
  overflow: hidden;
  min-height: 460px;
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.split-card {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 22px;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-card h2 {
  color: var(--color-white);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 0.6em;
}

.split-card p {
  color: #cfc9c1;
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 2em;
}

.split-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 10px 10px 24px;
  border-radius: 999px;
  border: 2px solid var(--color-white);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pill:hover {
  transform: translateY(-2px);
}

.pill-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.pill-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.pill-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
}

.pill-outline .pill-arrow {
  background: rgba(255,255,255,0.15);
}

.pill-arrow svg {
  width: 14px;
  height: 14px;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--color-dark);
  color: var(--color-white);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-item .icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-white);
}

.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section-dark h2,
.section-dark .eyebrow {
  color: var(--color-white);
}

.section-dark .eyebrow {
  color: var(--color-primary);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section-header p {
  color: var(--color-muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col.reverse .col-media {
  order: 2;
}

.col-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Check list ---------- */

.check-list {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-muted);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
}

.check-list strong {
  color: var(--color-dark);
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card .icon {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.service-card .thumb {
  aspect-ratio: 16/10;
  background: var(--color-cream) center/cover no-repeat;
  border-bottom: 1px solid var(--color-border);
}

.service-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-card p {
  color: var(--color-muted);
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 4px;
}

.service-link .btn-arrow {
  width: auto;
  height: auto;
  background: none;
  color: var(--color-primary);
  border-radius: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 26px;
}

.back-link:hover {
  color: var(--color-primary);
}

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial .stars {
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial .author {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ---------- CTA split ---------- */

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-split > div {
  background: var(--color-white);
  padding: 40px;
}

.cta-split h3 {
  font-size: 1.4rem;
}

.cta-split .contact-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 88px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid #2a2a2a;
}

.site-footer .logo-img {
  height: 58px;
}

.site-footer .logo {
  margin-bottom: 20px !important;
}

.site-footer p {
  font-size: 1.02rem;
  line-height: 1.65;
}

.footer-grid h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 22px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 15px;
  font-size: 1.02rem;
  color: #cfc9c1;
  line-height: 1.5;
}

.footer-grid a {
  color: #cfc9c1;
}

.footer-grid a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.9rem;
  color: #999;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-hero p {
  color: #cfc9c1;
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- Forms (contact) ---------- */

.form-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ---------- Offerte multi-step form ---------- */

.offerte-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
}

.progress-track {
  height: 10px;
  background: var(--color-cream);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  width: 65%;
  background-color: var(--color-primary);
  background-image: linear-gradient(45deg,
    rgba(255,255,255,0.22) 25%, transparent 25%,
    transparent 50%, rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.22) 75%, transparent 75%, transparent);
  background-size: 26px 26px;
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  animation: progress-stripes 0.7s linear infinite;
}

@keyframes progress-stripes {
  from { background-position: 0 0; }
  to { background-position: 26px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .progress-fill { animation: none; }
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.progress-label .pct {
  color: var(--color-primary);
  font-weight: 700;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadein 0.25s ease;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step h2 {
  font-size: 1.5rem;
}

.form-step > p {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.option-card {
  position: relative;
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-card label {
  display: block;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-card input:checked + label {
  border-color: var(--color-primary);
  background: #fbf1ec;
  color: var(--color-primary-dark);
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 16px;
}

.upload-box:hover {
  border-color: var(--color-primary);
}

.upload-box input {
  display: none;
}

.upload-box .icon {
  color: var(--color-primary);
  margin-bottom: 12px;
}

#file-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

#file-preview-list span {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.skip-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: underline;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.form-success .icon {
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .trust-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .two-col.reverse .col-media {
    grid-template-columns: 1fr;
    order: initial;
  }

  .cta-split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-feature {
    grid-template-columns: 1fr;
  }

  .split-photo {
    min-height: 300px;
  }

  .split-card {
    padding: 40px 32px;
  }

  .hero-full-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 700px) {
  .top-bar {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-top: 1px solid #2a2a2a;
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }

  .main-nav .btn {
    margin-top: 4px;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .offerte-wrap {
    padding: 24px;
  }
}

/* ============ Trello-updates ============ */

/* ---------- Nav dropdown (Diensten) ---------- */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 240px;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--color-dark);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.main-nav .nav-dropdown-menu a {
  padding: 9px 12px;
  border-bottom: 0;
  border-radius: 6px;
  font-size: 0.92rem;
}

.main-nav .nav-dropdown-menu a:hover {
  background: #222;
}

/* ---------- Kaarten in donkere sectie ---------- */

.card {
  color: var(--color-dark);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.section-header-wide {
  max-width: 780px;
  padding: 0 24px;
}

.section > .section-header:last-child {
  margin-bottom: 0;
}

/* ---------- USP-balk: klikbaar item ---------- */

a.marquee-item:hover {
  text-decoration: underline;
}

/* ---------- Partnerlogo's ---------- */

.partner-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
  gap: 24px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.partner-logos img {
  width: 100%;
  max-width: 170px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

/* ---------- Stappenplan ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step {
  position: relative;
  text-align: center;
}

.step:not(:last-child)::after {
  /* verbindingslijn tussen de stappen */
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 52px);
  border-top: 2px dashed var(--color-border);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}

.step h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step p {
  color: var(--color-muted);
  margin: 0;
}

/* ---------- Reviews ---------- */

.testimonial p {
  margin: 0;
}

.testimonial .author span {
  font-weight: 500;
}

/* ---------- USP-rij onder afsluitende CTA ---------- */

.usp-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 36px;
  font-family: var(--font-display);
  font-weight: 600;
}

.usp-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.usp-list svg {
  color: var(--color-primary);
}

.usp-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Lopende tekst (dienst- en juridische pagina's) ---------- */

.two-col-top {
  align-items: start;
}

.prose h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin-top: 1.6em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.prose-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.prose .check-list {
  margin-bottom: 1.4em;
}

/* ---------- Split feature: varianten ---------- */

.split-feature-reverse {
  grid-template-columns: 1.15fr 1fr;
}

.split-card-primary {
  background: var(--color-primary);
}

.split-card-primary p {
  color: #f6e6df;
}

.split-card-primary .pill-outline:hover {
  color: var(--color-primary-dark);
}

.section-partners {
  padding: 56px 0;
}

.section-partners .section-header {
  margin-bottom: 32px;
}

/* ---------- Juridische pagina's ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal-download {
  margin-bottom: 36px;
}

.legal-intro {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2em;
}

.legal p,
.legal li {
  color: #3d3935;
}

.legal-list {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.legal-list li {
  margin-bottom: 6px;
}

/* ---------- Projecten ---------- */

.project-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.project-hero .hero-full-inner {
  padding-top: 150px;
  padding-bottom: 70px;
}

.project-hero .hero-full-bg img {
  object-position: center;
}

.project-hero .hero-full-bg::after {
  background: linear-gradient(0deg, rgba(15,12,10,0.8) 0%, rgba(15,12,10,0.35) 60%, rgba(15,12,10,0.25) 100%);
}

.project-hero h1 {
  max-width: 18em;
  margin-bottom: 0;
}

.project-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

.project-facts {
  margin: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 8px 28px;
}

.project-facts > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.project-facts > div:last-child {
  border-bottom: 0;
}

.project-facts dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.project-facts dd {
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery a {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery a:hover img {
  transform: scale(1.04);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 72px;
  background: rgba(10, 8, 7, 0.92);
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox button:hover {
  background: var(--color-primary);
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 72px 8px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 14px;
  }

  .lightbox-prev {
    left: calc(50% - 56px);
  }

  .lightbox-next {
    right: calc(50% - 56px);
  }
}

/* ---------- Honeypot (Netlify Forms) ---------- */

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer extra's ---------- */

.footer-review {
  margin-top: 6px;
  padding: 10px 22px;
  font-size: 0.92rem;
}

.site-footer .footer-review:hover {
  color: var(--color-dark);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-legal a:hover {
  color: var(--color-white);
}

@media (max-width: 900px) {
  .split-feature-reverse {
    grid-template-columns: 1fr;
  }

  .project-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-hero .hero-full-inner {
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .partner-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }

  .step::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown-menu {
    display: flex;
    position: static;
    min-width: 0;
    padding: 10px 0 0 14px;
    border: 0;
    background: none;
  }

  .main-nav .nav-dropdown-menu a {
    padding: 6px 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .usp-list {
    flex-direction: column;
    align-items: center;
  }
}
