/* Diensten Sectie */

/* Variabelen */
:root {
  --diensten-bg: #ffffff;
  --diensten-text: #111827;
  --diensten-muted: #6b7280;
  --diensten-brand: #047857;
  --diensten-brand-hover: #065f46;
  --diensten-card: #ffffff;
  --diensten-border: #e5e7eb;
  --diensten-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--diensten-text);
  background: var(--diensten-bg);
}

/* Sectie */
.diensten-section {
  padding: 80px 20px;
  background: var(--diensten-bg);
}
.diensten-container {
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */
.diensten-badge {
  display: inline-block;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
}
.diensten-section h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
}
.diensten-lead {
  margin: 0;
  color: var(--diensten-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.diensten-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .diensten-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .diensten-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Card */
.diensten-card {
  background: var(--diensten-card);
  border: 1px solid var(--diensten-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--diensten-shadow);
  transition: transform .15s ease, box-shadow .15s ease;

  /* Flexbox zodat link onderaan blijft */
  display: flex;
  flex-direction: column;
}
.diensten-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 28px rgba(0,0,0,.1);
}
.diensten-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.diensten-card p {
  margin: 0;
  color: var(--diensten-muted);
  font-size: 15px;

  /* Tekst kan ruimte opvullen */
  flex: 1;
}
.diensten-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto; /* altijd onderaan */
  font-weight: 600;
  font-size: 14px;
  color: var(--diensten-brand);
  text-decoration: none;
}
.diensten-more:hover { text-decoration: underline; }

/* CTA */
.diensten-cta {
  margin-top: 48px;
  text-align: center;
}
.diensten-cta p {
  margin: 0 0 12px;
  color: white;
}
.diensten-button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--diensten-brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease;
}
.diensten-button:hover { background: var(--diensten-brand-hover); }
.diensten-small-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--diensten-muted);
}

/* Anchor offset */
.diensten-section { 
    scroll-margin-top: var(--header-raw);
}

.diensten-pagina-section{
    margin-bottom: -80px;
}