/* ═══════════════════════════════════════════════
   TSKR BV — Gedeeld Design System
   Versie 2.0 | Multi-page architectuur
   Alle pagina's importeren dit bestand
═══════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────── */
:root {
  --green:       #B9F000;
  --green-dark:  #9ACC00;
  --green-dim:   #2a3800;
  --black:       #0D0D0D;
  --surface:     #161616;
  --surface2:    #1E1E1E;
  --border:      #2A2A2A;
  --muted:       #888;
  --white:       #FFFFFF;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:  8px;
  --radius-lg: 14px;
  --max-w:   1200px;
  --section-pad: clamp(60px, 8vw, 100px);
  --side-pad: clamp(16px, 4vw, 40px);
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ── TYPOGRAPHY ──────────────────────────────── */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.accent { color: var(--green); }

/* ── LAYOUT ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.section {
  padding: var(--section-pad) 0;
}
.section--alt { background: var(--surface); }
.section--dark { background: var(--black); }
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 700px) {
  .section-header { grid-template-columns: 1fr; gap: 20px; }
}

/* ── TAG / LABEL ─────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green-dim);
  background: rgba(185,240,0,.07);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background .2s, transform .15s;
  border: none;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ── NAV ─────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 4px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.06); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--muted);
}
.dropdown-menu a:hover { color: var(--white); background: var(--border); }
.dropdown-divider {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  padding: 8px 12px 4px;
}

.nav-cta {
  font-size: 12px !important;
  padding: 10px 18px !important;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--white);
  padding: 10px 20px;
  transition: color .15s;
}
.mobile-menu a:hover { color: var(--green); }
.mobile-menu .mobile-cta {
  margin-top: 16px;
  font-size: 18px !important;
}
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── STICKY MOBILE CTA BAR ───────────────────── */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 8px;
}
@media (max-width: 700px) {
  .sticky-cta-bar { display: flex; }
}
.sticky-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sticky-cta-bar .cta-tel { background: var(--green); color: var(--black); }
.sticky-cta-bar .cta-whatsapp { background: #25D366; color: #000; }
.sticky-cta-bar .cta-offerte { background: transparent; color: var(--white); border: 1px solid var(--border); }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(500px, 80vh, 800px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(40px, 6vw, 80px) var(--side-pad) clamp(40px, 6vw, 80px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-subtitle {
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  max-width: 520px;
  margin: 20px 0 32px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* ── USP STRIP ───────────────────────────────── */
.usp-strip {
  background: var(--green);
  color: var(--black);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.usp-strip-inner {
  display: flex;
  gap: 0;
  width: max-content;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}
.usp-strip-inner > span {
  flex: 0 0 auto;
  margin-right: 48px;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SERVICE CARDS ───────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card:hover { border-color: var(--green); transform: translateY(-3px); }
.service-icon { font-size: 28px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.65; flex: 1; }
.link-arrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 8px;
}

/* ── PROJECT GALLERY ─────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}
.project-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.project-card:hover img { transform: scale(1.04); }
.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  z-index: 2;
}
.badge-voor { background: rgba(13,13,13,.85); color: var(--white); border: 1px solid var(--border); }
.badge-na   { background: var(--green); color: var(--black); }
.project-info {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(13,13,13,.95) 0%, rgba(13,13,13,.7) 60%, transparent 100%);
  color: var(--white);
  padding: 28px 14px 14px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.project-card:hover .project-info,
.project-card.tapped .project-info { opacity: 1; transform: translateY(0); }
.project-info strong { display: block; font-size: 14px; margin-bottom: 3px; color: var(--green); }

/* ── STEPS ───────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}
.step {
  background: var(--surface2);
  padding: 32px 28px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--green-dim);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ── REVIEWS ─────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.review-stars { color: var(--green); font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
.review-author { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .06em; }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background .15s;
}
.faq-question:hover { background: var(--surface2); }
.faq-icon {
  font-size: 20px;
  color: var(--green);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── TRUST BADGES ────────────────────────────── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.trust-item span { font-size: 16px; }

/* ── DETAIL CONTENT (dienstenpagina's) ───────── */
.service-hero {
  background: var(--surface);
  padding: clamp(40px, 6vw, 80px) var(--side-pad);
  border-bottom: 1px solid var(--border);
}
.service-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.service-hero h1 { margin: 12px 0 20px; }
.service-hero p { color: var(--muted); max-width: 600px; font-size: 16px; line-height: 1.7; }
.service-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--border); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.detail-layout.reverse { direction: rtl; }
.detail-layout.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .detail-layout, .detail-layout.reverse { grid-template-columns: 1fr; direction: ltr; }
}
.detail-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-text { display: flex; flex-direction: column; gap: 20px; }
.detail-text p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.detail-list { display: flex; flex-direction: column; gap: 8px; }
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.detail-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FORM ────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color .2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group select option { background: var(--surface); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-promise {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* ── CTA BAND ────────────────────────────────── */
.cta-band {
  background: var(--green);
  padding: clamp(48px, 6vw, 80px) var(--side-pad);
  text-align: center;
}
.cta-band .h2 { color: var(--black); margin-bottom: 12px; }
.cta-band p { color: rgba(13,13,13,.7); font-size: 16px; margin-bottom: 32px; }
.cta-band .btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  transition: transform .15s;
}
.cta-band .btn-dark:hover { transform: translateY(-2px); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── WERKGEBIED PILLS ────────────────────────── */
.werkgebied-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.werkgebied-pills .tag { margin-bottom: 0; }

/* ── INLINE OFFERTE BOX ──────────────────────── */
.offerte-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
@media (max-width: 600px) { .offerte-box { padding: 24px 20px; } }
.offerte-box .offerte-review {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.offerte-review-text { font-size: 13px; color: var(--muted); line-height: 1.6; }
.offerte-review-text strong { display: block; color: var(--white); margin-bottom: 4px; }

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--green); }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 13px;
  color: var(--muted);
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: var(--muted); }

/* ── WHATSAPP FLOAT ──────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 80;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
@media (max-width: 700px) {
  .whatsapp-float { display: none; }
}

/* ── COOKIES BANNER ──────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px var(--side-pad);
  z-index: 1000;
  display: none;
}
.cookie-banner.show { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-banner p { font-size: 13px; color: var(--muted); flex: 1; min-width: 200px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── REVEAL ANIMATION ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── UTILITIES ───────────────────────────────── */
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.divider { border: none; border-top: 1px solid var(--border); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ═══════════════════════════════════════════════
   MOBILE OPTIMALISATIES — 360px / 390px / 414px
   Toegevoegd v3.1 — grondige mobiele audit
═══════════════════════════════════════════════ */

/* Padding-bottom zodat sticky CTA-bar content niet overlapt */
@media (max-width: 700px) {
  body {
    padding-bottom: 60px; /* hoogte sticky-cta-bar */
  }
}

/* ── NAVIGATIE MOBIEL ──────────────────────────── */
@media (max-width: 900px) {
  .nav-cta { display: none; } /* verborgen op mobiel, sticky bar neemt over */
  .nav-inner { padding: 0 var(--side-pad); }
}

/* ── HERO SECTIES ──────────────────────────────── */
@media (max-width: 480px) {
  .h1 {
    font-size: clamp(34px, 10vw, 56px); /* kleiner op smal scherm */
    line-height: 1.0;
  }
  .h2 {
    font-size: clamp(22px, 7vw, 38px);
  }
  .h3 {
    font-size: clamp(15px, 5vw, 20px);
  }
  .service-hero {
    padding: 32px var(--side-pad) 40px;
  }
  .service-hero p {
    font-size: 14px;
  }
  .service-hero-actions {
    flex-direction: column;
  }
  .service-hero-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ── TRUST BAR MOBIEL ──────────────────────────── */
@media (max-width: 700px) {
  .trust-bar {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 14px 0;
  }
  .trust-bar .trust-item {
    font-size: 11px;
    white-space: nowrap;
  }
}

/* ── SECTION-HEADER ────────────────────────────── */
@media (max-width: 700px) {
  .section-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }
  .section {
    padding: clamp(40px, 8vw, 60px) 0;
  }
}

/* ── SERVICE CARDS GRID ────────────────────────── */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .service-card {
    padding: 20px 16px;
  }
}

/* ── STEPS GRID ─────────────────────────────────── */
@media (max-width: 700px) {
  .steps {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px;
  }
}
@media (max-width: 400px) {
  .steps {
    grid-template-columns: 1fr !important;
  }
}

/* ── PROJECT GRID / REALISATIES ─────────────────── */
@media (max-width: 600px) {
  .project-grid {
    grid-template-columns: 1fr !important;
  }
  .project-card {
    aspect-ratio: 4/3 !important;
  }
}

/* ── FOOTER MOBIEL ──────────────────────────────── */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ── STICKY CTA BAR MOBIEL ──────────────────────── */
@media (max-width: 700px) {
  .sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 56px;
    z-index: 90;
    border-top: 1px solid var(--border);
  }
  .sticky-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding: 0 4px;
    white-space: nowrap;
  }
}

/* ── FORMULIER MOBIEL ───────────────────────────── */
@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* voorkomt zoom op iOS */
    padding: 14px 12px;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
  }
}

/* ── OFFERTE PAGINA LAYOUT ──────────────────────── */
@media (max-width: 900px) {
  .offerte-layout {
    grid-template-columns: 1fr !important;
  }
  .offerte-sidebar {
    order: -1;
    position: static !important;
  }
}

/* ── TABELLEN (privacy) ─────────────────────────── */
@media (max-width: 700px) {
  .privacy-section table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 12px;
  }
  .privacy-section th,
  .privacy-section td {
    padding: 8px 10px;
    min-width: 100px;
  }
}

/* ── WERKGEBIED PILLS ───────────────────────────── */
@media (max-width: 480px) {
  .werkgebied-pills {
    gap: 6px;
  }
  .werkgebied-pills .tag,
  .werkgebied-pills a.tag {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* ── FAQ MOBIEL ─────────────────────────────────── */
@media (max-width: 480px) {
  .faq-question {
    font-size: 13px;
    padding: 14px 12px;
  }
  .faq-answer {
    font-size: 13px;
    padding: 0 12px 14px;
  }
}

/* ── CTA BAND MOBIEL ────────────────────────────── */
@media (max-width: 600px) {
  .cta-band {
    text-align: center;
    padding: 40px var(--side-pad);
  }
  .cta-band-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-band-actions a {
    text-align: center;
    justify-content: center;
  }
}

/* ── REVIEWS GRID MOBIEL ────────────────────────── */
@media (max-width: 700px) {
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

/* ── DETAIL LIJST ───────────────────────────────── */
@media (max-width: 480px) {
  .detail-list li {
    font-size: 13px;
  }
}

/* ── TWEE-KOLOM GRIDS (inline op pagina's) ──────── */
/* Alle inline grid-template-columns:1fr 1fr die niet al responsief zijn */
@media (max-width: 640px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── BREADCRUMB MOBIEL ──────────────────────────── */
@media (max-width: 480px) {
  .breadcrumb {
    font-size: 11px;
  }
}

/* ── COOKIE BANNER MOBIEL ──────────────────────── */
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px var(--side-pad);
    bottom: 56px; /* boven sticky cta bar */
  }
  .cookie-actions {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-actions button {
    flex: 1;
  }
}

/* ── MOBILE MENU ────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  border-right: 1px solid var(--border);
  z-index: 200;
  display: none;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  padding: 80px 0 100px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px var(--side-pad);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--green); }
.mobile-cta {
  margin: 20px var(--side-pad);
  text-align: center;
  justify-content: center;
}
.mobile-close {
  position: absolute;
  top: 16px;
  right: var(--side-pad);
  font-size: 24px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
  padding: 8px;
}

/* ── SPOED CTA GRID (offerte pagina) ─────────────── */
@media (max-width: 600px) {
  .spoed-cta-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .spoed-cta-grid a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ── INLINE GRIDS OP DETAIL PAGINA'S ──────────────── */
/* Verzekert dat alle twee-kolom grids op mobiel 1 kolom worden */
@media (max-width: 700px) {
  .hub-two-col,
  .las-two-col,
  .afb-two-col,
  .rs-two-col,
  .fs-two-col,
  .regio-two-col,
  .doel-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .rs-three-col,
  .fs-steps-4,
  .afb-steps {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 380px) {
  .rs-three-col,
  .fs-steps-4,
  .afb-steps {
    grid-template-columns: 1fr !important;
  }
}

/* ── PREVENT HORIZONTAL SCROLL ───────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
* {
  min-width: 0; /* Fixes flexbox overflow in Firefox */
}

/* ── TOUCH TARGETS ───────────────────────────────── */
@media (max-width: 700px) {
  a, button {
    min-height: 44px; /* iOS accessibility minimum */
  }
  .nav-hamburger {
    min-height: 44px;
    min-width: 44px;
  }
}


/* ── EXTRA MOBIELE VERFIJNINGEN v3.2 ────────────────────────────────────
   Specifiek voor 390px (iPhone 14), 414px (iPhone Plus), 430px (iPhone 15 Pro Max)
═══════════════════════════════════════════════════════════════════════ */

/* Zorg dat knoppen nooit de viewport overschrijden */
@media (max-width: 480px) {
  .btn-primary,
  .btn-outline,
  .btn-dark {
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }

  /* Hero secties: minder padding */
  .service-hero,
  section.service-hero {
    padding: 28px var(--side-pad) 36px;
  }

  /* Tags niet buiten viewport */
  .tag {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  /* CTA band */
  .cta-band {
    padding: 36px var(--side-pad);
  }

  /* Spoed-balk op offerte pagina */
  .spoed-cta-grid > a {
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* ── STICKY CTA: optimale hoogte voor alle schermen ─────────────────── */
@media (max-width: 700px) {
  .sticky-cta-bar {
    height: auto;
    min-height: 52px;
    padding: 0;
  }
  .sticky-cta-bar a {
    padding: 14px 6px;
    font-size: 10px;
    letter-spacing: .03em;
    line-height: 1.2;
    text-align: center;
  }
}

/* ── REALISATIES MOBIEL ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Project-cards: foto-paar naast elkaar → stapelen */
  .project-card[style*="aspect-ratio:1"] {
    aspect-ratio: 4/3 !important;
    min-height: 160px;
  }
  /* Sectie-headers in realisaties */
  div[style*="margin-bottom:24px;padding-bottom:16px"] {
    flex-wrap: wrap;
  }
}

/* ── OFFERTE PAGINA SPECIFIEK ───────────────────────────────────────── */
@media (max-width: 600px) {
  /* Layout: formulier boven sidebar */
  .offerte-layout > div:last-child {
    order: -1;
  }
  /* GDPR checkbox legenda */
  div[style*="display:flex;gap:12px;align-items:flex-start"] {
    gap: 8px;
  }
}

/* ── PREVENT TEXT OVERFLOW IN KAARTEN ──────────────────────────────── */
.service-card,
.review-card,
.step {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── SECTION SPACING MOBILE ─────────────────────────────────────────── */
@media (max-width: 390px) {
  :root {
    --side-pad: 14px;
    --section-pad: clamp(32px, 7vw, 50px);
  }
  .container {
    padding: 0 14px;
  }
}


/* ── MOBIELE SCHAALFIX v3.3 ─────────────────────────────────────────────
   Targeted fixes voor 360px-430px gebaseerd op visuele audit
═══════════════════════════════════════════════════════════════════════ */

/* ── INLINE GRID OVERSCHRIJVINGEN ───────────────────────────────────── */
/* Pagina's gebruiken inline style="display:grid;grid-template-columns:1fr 1fr"
   Op mobiel moeten ALLE twee-kolom layouts stacken */
@media (max-width: 700px) {
  /* Projectkaarten voor/na paren blijven naast elkaar (klein) */
  .project-card[style*="aspect-ratio:1"] {
    aspect-ratio: 3/2 !important;
  }
}

@media (max-width: 480px) {
  /* Alle inline grids op dienstenpagina's */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Uitzondering: voor/na foto-paren in kaarten ALTIJD 2 kolommen */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:2px"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Steps die nog 2-kolom staan */
  .steps {
    grid-template-columns: 1fr !important;
  }
}

/* ── TEKST OVERFLOW ─────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* H1 in hero's */
  .h1 {
    font-size: clamp(30px, 9vw, 48px) !important;
    word-break: break-word;
  }

  /* Lange woorden breken */
  h1, h2, h3, p, li, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* Tags niet buiten viewport */
  .tag {
    white-space: normal;
    word-break: break-word;
  }
}

/* ── HERO ACTIES STACKING ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .service-hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .service-hero-actions a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box;
  }
}

/* ── CTA BAND KNOPPEN ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cta-band-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .cta-band-actions a {
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .cta-band {
    padding: 36px var(--side-pad) !important;
  }
  .cta-band .h2 {
    font-size: clamp(22px, 6vw, 34px) !important;
    text-align: center;
  }
}

/* ── NAV HOOGTE ─────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .nav-inner {
    padding: 0 12px !important;
  }
  .nav-logo {
    font-size: clamp(22px, 6vw, 30px) !important;
  }
}

/* ── SECTION INNER PADDING ──────────────────────────────────────────── */
@media (max-width: 360px) {
  :root {
    --side-pad: 12px;
  }
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ── TRUST BAR WRAP ─────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .trust-bar {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .trust-bar .trust-item {
    font-size: 10px !important;
  }
}

/* ── WERKGEBIED PILLS GRID ──────────────────────────────────────────── */
@media (max-width: 480px) {
  .werkgebied-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px !important;
  }
  .werkgebied-pills .tag,
  .werkgebied-pills a.tag {
    font-size: 10px !important;
    padding: 4px 8px !important;
  }
}

/* ── REALISATIES VOOR/NA PAREN ──────────────────────────────────────── */
@media (max-width: 360px) {
  /* Voor/na foto paren: kleiner maar behoud 2 kolommen */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:2px"] .project-card {
    min-height: 120px;
  }
}

/* ── STICKY BAR TEKST ───────────────────────────────────────────────── */
@media (max-width: 360px) {
  .sticky-cta-bar a {
    font-size: 9px !important;
    padding: 0 2px !important;
    letter-spacing: 0 !important;
  }
}

/* ── FORM LABELS EN INPUTS ──────────────────────────────────────────── */
@media (max-width: 480px) {
  .form-group label {
    font-size: 13px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important; /* iOS zoom fix */
    padding: 12px 10px !important;
    box-sizing: border-box;
    width: 100% !important;
  }
}

/* ── PREVENT GLOBAL OVERFLOW ────────────────────────────────────────── */
html {
  overflow-x: hidden !important;
}
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   MOBIELE SCHAAL-REFINEMENT v4.0
   Doel: compact, rustig en professioneel op 360 / 375 / 390 / 412 / 430px.
   Referentie: Samsung Galaxy S24 (390px).
   Enkel lay-out/CSS — geen content, SEO, structured data of formulierlogica.
   Deze laag staat bewust als laatste zodat ze de eerdere patches (v3.x)
   coherent overschrijft.
═══════════════════════════════════════════════════════════════════════ */

/* ── STAP-RASTERS: compacte 2 kolommen i.p.v. eindeloze 1-koloms stapel ──
   De "Waarom TSKR" (8 kaarten) en "In 4 stappen" secties voelden aan als
   een uitgerekte desktopkolom. Twee kolommen halveert de scrolllengte en
   oogt professioneler op mobiel. */
@media (max-width: 700px) {
  .steps {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  /* Hogere specificiteit nodig om de inline repeat(4,1fr) + oudere
     div[style]-regel te verslaan (anders valt de processectie terug op 1 kolom) */
  .steps[style*="repeat(4,1fr)"],
  .steps[style*="repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .step {
    padding: 20px 16px;
  }
  .step-num {
    font-size: 36px;
    margin-bottom: 8px;
  }
  .step h3 {
    font-size: 15px;
  }
  .step p {
    font-size: 13px;
    line-height: 1.55;
  }
}
/* Veiligheidsvloer voor zeer smalle toestellen (<340px, buiten doelbereik):
   terug naar 1 kolom om inklemmen te voorkomen. */
@media (max-width: 339px) {
  .steps,
  .steps[style*="repeat(4,1fr)"],
  .steps[style*="repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── TRUST-BAR: nette 2-koloms grid i.p.v. ongelijke flex-wrap ──────────
   De oude regel zette grid-template-columns op een flex-container (dode CSS),
   waardoor het telefoonnummer en icoon ongelijk uiteenvielen. */
@media (max-width: 700px) {
  .trust-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 16px 0;
    align-items: center;
  }
  .trust-bar .trust-item {
    font-size: 11px;
    white-space: normal;
    min-height: 0;
  }
  /* Touch-target min-height van 44px mag de compacte rijen niet oprekken */
  .trust-bar .trust-item a {
    min-height: 0;
  }
}
@media (max-width: 360px) {
  .trust-bar {
    gap: 8px 10px !important;
  }
  .trust-bar .trust-item {
    font-size: 10px !important;
  }
}

/* ── USP-MARQUEE: minder gedrukt op smalle schermen ─────────────────── */
@media (max-width: 480px) {
  .usp-strip {
    padding: 11px 0;
  }
  .usp-strip-inner {
    font-size: 11px;
  }
  .usp-strip-inner > span {
    margin-right: 30px;
  }
}

/* ── REALISATIES VOOR/NA-PAREN: afkapping voorkomen ─────────────────────
   Kaarten met inline aspect-ratio:1 kregen via oudere regels tegelijk
   aspect-ratio:3/2 én min-height:160px. Dat rekende een breedte van 240px
   uit binnen een 179px-kolom → de 2e kaart werd ~46px afgesneden.
   Fix: breedte volgt de kolom, hoogte volgt de verhouding. */
@media (max-width: 700px) {
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:2px"] .project-card,
  div[style*="grid-template-columns: 1fr 1fr"][style*="gap:2px"] .project-card {
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }
}

/* ── HERO-STATS: iets compacter ─────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-stats {
    gap: 20px 28px;
    padding-top: 24px;
  }
}


/* ═══════════════════════════════════════════════════
   TSKR — Homepage hero-achtergrond (eigen werffoto)
   ═══════════════════════════════════════════════════ */
.hero-bg--home {
  background-image: url('/assets/tskr-hero.jpg');
  background-position: 60% center;
}
@media (max-width: 700px) {
  .hero-bg--home {
    /* Lichtere foto = sneller op mobiel (124 KB i.p.v. 487 KB) */
    background-image: url('/assets/tskr-hero-mobile.jpg');
    background-position: 62% center;
  }
}

/* Hero: CTA's vlot aantikbaar op smalle schermen */
@media (max-width: 480px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════
   USP — Ontruiming + kleine herstellingen in één
   ═══════════════════════════════════════════════════ */
.usp-herstel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.usp-herstel-text .btn-primary { margin-top: 28px; }
.usp-herstel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.usp-herstel-list li {
  position: relative;
  padding: 14px 18px 14px 48px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  line-height: 1.4;
}
.usp-herstel-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-weight: 900;
}
@media (max-width: 768px) {
  .usp-herstel { grid-template-columns: 1fr; }
  .usp-herstel-text .btn-primary {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
