/* ============================================================
   SAMENWERKEN NICHE — samenwerken-niche.css
   DG Media PRD Custom Theme · v1.0.8
   Bouwt voort op: global.css, dienst-detail.css, contact.css,
   faq.css, samenwerken.css
   ============================================================ */

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.sw-breadcrumb {
  margin-top: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.sw-breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.sw-breadcrumb-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.sw-breadcrumb-list a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.sw-breadcrumb-list a:hover {
  color: var(--warm);
}

.sw-breadcrumb-list [aria-current="page"] {
  color: var(--ink);
}

/* Override dd-hero margin-top when breadcrumb is present */
#sw-niche-<?php /* covered via general rule below */ ?> .dd-hero,
.sw-niche-page .dd-hero {
  margin-top: 0;
}
/* Since we output the breadcrumb before the hero, margin-top: 0 on .sw-hero */
.sw-hero {
  margin-top: 0 !important;
}

/* ── PROBLEEM SPLIT LAYOUT ───────────────────────────────────── */
.sw-niche-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sw-niche-split-left {
  /* intentionally empty — flex column from parent */
}

.sw-niche-split-right {
  padding-top: 8px;
}

.sw-niche-body-text {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 28px;
}

.sw-niche-text-link {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.sw-niche-text-link:hover {
  color: var(--warm);
  border-color: var(--warm);
}

/* ── OFFERING GRID ───────────────────────────────────────────── */
.sw-offering-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.sw-offering-item {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}
.sw-offering-item:hover {
  border-color: var(--warm);
}

.sw-offering-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--warm);
}

.sw-offering-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}

/* ── STEPS ───────────────────────────────────────────────────── */
.sw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sw-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.sw-step:first-child {
  border-top: 1px solid var(--border);
}

.sw-step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--border);
  line-height: 1;
  min-width: 48px;
  padding-top: 2px;
}

.sw-step-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.8;
  padding-top: 4px;
}

/* ── PAKKET GRID ─────────────────────────────────────────────── */
.sw-pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sw-pkg-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  margin-top: 8px;
}

.sw-pkg-cta {
  display: inline-block;
  margin-top: 8px;
}

.sw-pkg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}
.sw-pkg-list li {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sw-pkg-list li:first-child {
  border-top: 1px solid var(--border);
}
.sw-pkg-list li::before {
  content: '✓';
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--warm);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── TRUST FULL WIDTH ─────────────────────────────────────────── */
.sw-trust-full {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 56px 60px;
  background: var(--ink);
}

.sw-trust-full .sw-trust-icon {
  color: var(--warm);
  flex-shrink: 0;
}

.sw-trust-full .sw-trust-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--bg);
  margin-bottom: 10px;
}

.sw-trust-full .sw-trust-text {
  font-size: 15px;
  color: rgba(250, 250, 248, 0.65);
  line-height: 1.85;
  max-width: 520px;
}

.sw-trust-full .sw-trust-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex-shrink: 0;
}

.sw-trust-full .sw-hero-cta-sec {
  color: rgba(250, 250, 248, 0.65);
  border-color: rgba(232, 232, 224, 0.25);
}
.sw-trust-full .sw-hero-cta-sec:hover {
  background: rgba(250, 250, 248, 0.1);
  color: var(--bg);
  border-color: rgba(232, 232, 224, 0.5);
}

/* ── GERELATEERDE NICHES ─────────────────────────────────────── */
.sw-related-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sw-related-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.sw-related-card:hover {
  border-color: var(--warm);
  background: var(--off);
}

.sw-related-card--all {
  background: var(--bg);
  border-color: var(--warm);
}

.sw-related-label {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}

.sw-related-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--warm);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.sw-related-card:hover .sw-related-arrow {
  transform: translateX(4px);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .sw-offering-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sw-trust-full {
    padding: 48px 40px;
  }
}

@media (max-width: 1024px) {
  .sw-niche-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sw-offering-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sw-pkg-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sw-trust-full {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 32px;
    text-align: left;
  }
  .sw-trust-full .sw-trust-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .sw-offering-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sw-step {
    gap: 20px;
  }
  .sw-step-num {
    font-size: 22px;
    min-width: 36px;
  }
  .sw-trust-full {
    padding: 32px 24px;
  }
  .sw-trust-full .sw-trust-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sw-trust-full .sw-hero-cta-sec {
    text-align: center;
  }
  .sw-related-card {
    padding: 20px 20px;
  }
}

@media (max-width: 480px) {
  .sw-offering-grid {
    grid-template-columns: 1fr;
  }
  .sw-offering-item {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .sw-breadcrumb-list {
    gap: 6px;
  }
}

/* ── COMPACT HERO TITEL (niche pagina's) ─────────────────────── */
.sw-hero-title-compact {
  font-size: clamp(20px, 2.4vw, 30px) !important;
  line-height: 1.15 !important;
}

/* ── OFFERING GRID — flex centering voor oneven items ─────────── */
.sw-offering-grid.sw-grid-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.sw-offering-grid.sw-grid-center .sw-offering-item {
  flex: 0 0 calc(25% - 2px);
  min-width: 0;
}

/* ── TRUST SECTION — volledige breedte achtergrond ─────────────── */
.sw-trust-section {
  background: var(--ink);
  padding: 80px 0;
  margin: 0;
  /* Zorg dat de sectie de volle body-breedte vult net als alle andere secties */
}

.sw-trust-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}

.sw-trust-section .sw-trust-icon {
  color: var(--warm);
  flex-shrink: 0;
}

.sw-trust-section .sw-trust-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--bg);
  margin-bottom: 10px;
}

.sw-trust-section .sw-trust-text {
  font-size: 15px;
  color: rgba(250, 250, 248, 0.65);
  line-height: 1.85;
  max-width: 520px;
  margin: 0;
}

.sw-trust-section .sw-trust-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex-shrink: 0;
}

.sw-trust-section .sw-hero-cta-sec {
  color: rgba(250, 250, 248, 0.65);
  border-color: rgba(232, 232, 224, 0.25);
}
.sw-trust-section .sw-hero-cta-sec:hover {
  background: rgba(250, 250, 248, 0.1);
  color: var(--bg);
  border-color: rgba(232, 232, 224, 0.5);
}

/* ── CTA FORM SECTIE (niche versie) ─────────────────────────── */
.sw-cta-form-section {
  padding: 80px 0 100px;
  border-top: 1px solid var(--border);
}

.sw-cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sw-cta-form-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.85;
  margin: 20px 0 28px;
}

.sw-cta-form-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.sw-cta-form-list li {
  font-size: 15px;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sw-cta-form-list li:first-child { border-top: 1px solid var(--border); }
.sw-cta-form-list li::before {
  content: '✓';
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--warm);
  flex-shrink: 0;
}

.sw-cta-form-right .ac-hero-form {
  background: var(--off);
  border: 1px solid var(--border);
  padding: 40px 36px 32px;
}

/* ── RESPONSIVE: niche grids + trust ────────────────────────── */
@media (max-width: 1200px) {
  .sw-offering-grid.sw-grid-center .sw-offering-item {
    flex: 0 0 calc(33.333% - 2px);
  }
  .sw-trust-inner {
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  .sw-offering-grid.sw-grid-center .sw-offering-item {
    flex: 0 0 calc(50% - 1px);
  }
  .sw-trust-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sw-trust-section .sw-trust-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sw-cta-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .sw-offering-grid.sw-grid-center .sw-offering-item {
    flex: 0 0 calc(50% - 1px);
  }
  .sw-trust-section {
    padding: 56px 0;
  }
  .sw-trust-section .sw-trust-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sw-trust-section .sw-hero-cta-sec {
    text-align: center;
  }
  .sw-cta-form-right .ac-hero-form {
    padding: 28px 24px 24px;
  }
  .sw-hero-title-compact {
    font-size: clamp(18px, 5vw, 24px) !important;
  }
}

@media (max-width: 480px) {
  .sw-offering-grid.sw-grid-center .sw-offering-item {
    flex: 0 0 100%;
  }
}
