/* Wat Kost Mijn Klus - vormgeving (zelfde tokens en opbouw als het origineel). */

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.006 95);
  --foreground: oklch(0.22 0.025 155);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.22 0.025 155);
  --primary: oklch(0.33 0.07 157);
  --primary-foreground: oklch(0.985 0.006 95);
  --secondary: oklch(0.955 0.012 105);
  --secondary-foreground: oklch(0.26 0.04 157);
  --muted: oklch(0.95 0.01 100);
  --muted-foreground: oklch(0.48 0.025 155);
  --accent: oklch(0.78 0.15 71);
  --accent-foreground: oklch(0.24 0.04 156);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.88 0.016 112);
  --input: oklch(0.86 0.018 112);
  --ring: oklch(0.45 0.08 157);
  --hero: oklch(0.23 0.045 157);
  --hero-foreground: oklch(0.99 0.004 95);
  --hero-muted: oklch(0.88 0.015 110);
  --primary-soft: oklch(0.94 0.035 155);
  --success: oklch(0.48 0.11 153);
  --success-soft: oklch(0.93 0.05 150);
  --accent-strong: oklch(0.65 0.16 58);
  --footer: oklch(0.19 0.03 157);
  --footer-foreground: oklch(0.98 0.004 95);
  --footer-muted: oklch(0.75 0.018 150);
  --shadow-calculator: 0 24px 60px color-mix(in oklab, var(--hero) 28%, transparent);
  --shadow-card: 0 14px 32px color-mix(in oklab, var(--primary) 12%, transparent);
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.only-mobile {
  display: inline;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.muted {
  color: var(--muted-foreground);
}

.strong {
  font-weight: 700;
}

.nowrap {
  white-space: nowrap;
}

.center {
  text-align: center;
}

/* ------------------------------------------------------------- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

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

.btn-primary:hover:not(:disabled) {
  background: color-mix(in oklab, var(--primary) 88%, black);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover:not(:disabled) {
  background: color-mix(in oklab, var(--accent) 88%, white);
}

.btn-outline {
  border-color: var(--border);
  background: var(--card);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
  color: var(--primary);
}

.btn-light {
  background: var(--accent-foreground);
  color: var(--primary);
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.btn-small {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
}

.btn-header {
  height: 2.75rem;
}

.link-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* -------------------------------------------------------------- header ---- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid color-mix(in oklab, var(--hero-foreground) 20%, transparent);
  background: color-mix(in oklab, var(--hero) 35%, transparent);
  color: var(--hero-foreground);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.1;
}

.main-nav,
.header-actions {
  display: none;
}

.main-nav a,
.header-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.header-link:hover {
  opacity: 0.7;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--hero-foreground);
  cursor: pointer;
}

.menu-toggle:hover {
  background: color-mix(in oklab, var(--hero-foreground) 12%, transparent);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-top: 1px solid color-mix(in oklab, var(--hero-foreground) 20%, transparent);
  background: var(--hero);
  font-weight: 600;
}

/* Het paneel staat standaard dicht via het hidden-attribuut; zonder deze regel
   wint display:flex hierboven van de ingebouwde [hidden]-opmaak en blijft het
   menu altijd zichtbaar. */
.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
}

/* ---------------------------------------------------------------- hero ---- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 46rem;
  padding-top: 7rem;
  overflow: hidden;
  background: var(--hero);
  color: var(--hero-foreground);
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--hero) 88%, transparent) 0%,
    color-mix(in oklab, var(--hero) 78%, transparent) 45%,
    var(--hero) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.25rem;
  padding-bottom: 3rem;
  padding-top: 2rem;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.07;
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 32rem;
  color: var(--hero-muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-checks .icon {
  color: var(--accent);
  width: 1.35rem;
  height: 1.35rem;
}

/* ------------------------------------------------------- calculatorkaart ---- */

.calc-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  box-shadow: var(--shadow-calculator);
}

.calc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.calc-head h2 {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-step {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.step-label {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
}

/* AI-hulp */

.assistant {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: color-mix(in oklab, var(--secondary) 60%, white);
}

.assistant-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.assistant-label .icon {
  color: var(--primary);
}

.assistant-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.assistant-row textarea {
  min-height: 3rem;
  resize: vertical;
}

.assistant-error {
  margin-top: 0.5rem;
  color: var(--destructive);
  font-size: 0.85rem;
}

.assistant-hint {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
  background: var(--card);
  font-size: 0.875rem;
}

.assistant-question {
  margin-top: 0.5rem;
  font-weight: 600;
}

.assistant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid color-mix(in oklab, currentColor 30%, transparent);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* kluskeuze */

.job-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.job-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 4rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.job-btn:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
  background: var(--secondary);
}

.job-btn.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.other-job {
  margin-top: 0.75rem;
}

/* omvang */

.size-block {
  margin-top: 1.5rem;
}

.size-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.size-head .step-label {
  margin-bottom: 0;
}

.size-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.size-input-wrap input {
  width: 5rem;
  height: 2.5rem;
  padding: 0.4rem;
  text-align: center;
  font-weight: 700;
}

.size-input-wrap span {
  min-width: 3rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.cost-slider {
  width: 100%;
  accent-color: var(--primary);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* prijs */

.price-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.price-label {
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-value {
  margin-top: 0.25rem;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.price-note {
  margin-top: 0.25rem;
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
  font-size: 0.75rem;
}

.price-box .btn-accent {
  align-self: flex-start;
}

/* stap 2 */

.link-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

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

.quote-box {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 0.375rem;
  background: var(--primary-soft);
}

.price-value-sm {
  margin-top: 0.25rem;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.form-subtitle {
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.success {
  display: grid;
  place-items: center;
  min-height: 24rem;
  padding: 1.5rem 0;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.success-icon .icon {
  width: 2rem;
  height: 2rem;
}

.success h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
}

.success p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.success .btn {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------- productvragen ---- */

.pq {
  margin-top: 1.25rem;
}

.pq-group {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.pq-group legend {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.pq-options {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pq-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pq-check input {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

.pq-check.is-checked {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.pq-grid,
.form-grid {
  display: grid;
  gap: 1rem;
}

/* --------------------------------------------------------------- velden ---- */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.field-label {
  display: block;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--input);
  border-radius: 0.375rem;
  background: var(--card);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

input[type="checkbox"],
input[type="radio"],
input[type="range"] {
  width: auto;
  min-width: 0;
}

/* De marktplaats-plugin zet padding en border-radius op alle formuliervelden.
   Daardoor werden de radio's en checkboxen in "Werkgebied" uitgerekt tot
   ovalen. Binnen het partnerformulier houden we de native controls compact. */
.wkmk-mp-form input[type="radio"],
.wkmk-mp-form input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  accent-color: var(--primary);
}

.wkmk-mp-form input[type="checkbox"] {
  border-radius: 0.2rem;
}

textarea {
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}

.alert {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.alert-error {
  background: color-mix(in oklab, var(--destructive) 12%, white);
  color: var(--destructive);
}

.alert-success {
  background: var(--success-soft);
  color: var(--success);
}

.alert-info {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

/* ----------------------------------------------------------- trustbalk ---- */

.trustbar {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--secondary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

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

/* ------------------------------------------------------------- secties ---- */

.section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-label {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-label-accent {
  color: var(--accent);
}

.section-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.12;
}

.section-intro {
  max-width: 30rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.section-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section-primary .section-title {
  color: var(--primary-foreground);
}

.section-secondary {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--secondary);
}

/* kluskaarten */

.job-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 10rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--primary) 35%, var(--border));
  box-shadow: var(--shadow-card);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.job-card-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.375rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.job-card-arrow {
  color: var(--muted-foreground);
  transition: transform 0.2s ease, color 0.2s ease;
}

.job-card:hover .job-card-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

.job-card-title {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
}

.job-card-price {
  display: block;
  margin-top: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

/* werkwijze */

.steps-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.step-card {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 25%, transparent);
}

.step-number {
  position: absolute;
  top: 1.25rem;
  right: 0;
  color: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
  font-size: 2.25rem;
  font-weight: 900;
}

.step-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

.step-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.step-card p {
  margin-top: 0.75rem;
  max-width: 24rem;
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
  line-height: 1.75;
}

/* kostenoverzicht */

.cost-layout {
  display: grid;
  gap: 3rem;
}

.cost-copy {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.tip-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 1rem;
  border-radius: 0.375rem;
  background: var(--secondary);
  font-size: 0.875rem;
}

.tip-icon {
  margin-top: 0.15rem;
  color: var(--accent-strong);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

.cost-table {
  min-width: 35rem;
  font-size: 0.875rem;
  text-align: left;
}

.cost-table thead {
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.cost-table th,
.cost-table td {
  padding: 1rem 1.25rem;
}

.cost-table tbody tr + tr {
  border-top: 1px solid var(--border);
}

.price-cell {
  color: var(--primary);
  font-weight: 600;
}

/* regio */

.region-grid {
  display: grid;
  gap: 2.5rem;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.city-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--card);
  color: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.city-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.region-card {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
}

.region-ring {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  border: 36px solid color-mix(in oklab, var(--primary-foreground) 5%, transparent);
  border-radius: 50%;
}

.region-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent);
}

.region-label {
  margin-top: 3rem;
  color: color-mix(in oklab, var(--primary-foreground) 65%, transparent);
  font-size: 0.875rem;
  font-weight: 700;
}

.region-title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
}

.region-copy {
  margin-top: 1rem;
  max-width: 24rem;
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
  line-height: 1.75;
}

/* faq */

.faq-grid {
  display: grid;
  gap: 2.5rem;
}

.faq-intro {
  margin-top: 1rem;
  max-width: 26rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding-bottom: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* vakman-cta */

.pro-cta {
  display: grid;
  gap: 2rem;
  margin: 0 1.25rem 5rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-foreground);
}

.pro-cta-copy {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.pro-cta-icon {
  display: none;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.375rem;
  background: color-mix(in oklab, var(--accent-foreground) 10%, transparent);
}

.pro-cta-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.pro-cta-label {
  color: color-mix(in oklab, var(--accent-foreground) 65%, transparent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pro-cta h2 {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
}

.pro-cta-copy p:last-child {
  margin-top: 0.75rem;
  max-width: 42rem;
  color: color-mix(in oklab, var(--accent-foreground) 75%, transparent);
  line-height: 1.75;
}

.pro-cta .btn-light {
  justify-self: start;
  height: 3rem;
}

/* footer */

.site-footer {
  padding: 3rem 0;
  background: var(--footer);
  color: var(--footer-foreground);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.footer-brand .brand-mark {
  width: 2.25rem;
  height: 2.25rem;
}

.footer-tagline {
  margin-top: 0.75rem;
  color: var(--footer-muted);
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  color: var(--footer-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--footer-foreground);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--footer-foreground) 15%, transparent);
  color: var(--footer-muted);
  font-size: 0.75rem;
}

/* ---------------------------------------------------------------- beheer ---- */

.admin-body {
  background: var(--background);
}

.admin-shell {
  min-height: 100vh;
  padding: 2.5rem 1.25rem;
}

.admin-container {
  max-width: 72rem;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
}

.inline-form {
  margin: 0;
}

.login-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 24rem;
  padding: 1.5rem;
}

.login-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.login-switch {
  font-size: 0.85rem;
  font-weight: 700;
}

.login-switch a {
  color: var(--primary);
}

.login-note {
  color: var(--muted-foreground);
  font-size: 0.8rem;
}

.card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  padding: 0.25rem;
  border-radius: var(--radius);
  background: var(--secondary);
  overflow-x: auto;
}

.tab {
  padding: 0.5rem 0.9rem;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.tab.is-active {
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
}

.stats-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.stat-value {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
}

.dash-grid {
  display: grid;
  gap: 1rem;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.toolbar-search {
  max-width: 22rem;
}

.admin-table {
  min-width: 48rem;
  font-size: 0.85rem;
}

.admin-table thead {
  background: var(--secondary);
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 0.5rem;
}

.admin-table tbody tr {
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.table-comment {
  max-width: 18rem;
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  font-weight: 400;
}

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.switch-row:first-of-type {
  border-top: 0;
}

.switch-title {
  font-weight: 600;
}

.switch-desc {
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 2.75rem;
  height: 1.5rem;
}

.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--input);
  transition: background-color 0.2s ease;
}

.switch-slider::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--card);
  transition: transform 0.2s ease;
}

.switch input:checked + .switch-slider {
  background: var(--primary);
}

.switch input:checked + .switch-slider::after {
  transform: translateX(1.25rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pricing-help {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.pricing-table {
  min-width: 56rem;
}

.input-compact {
  width: 6rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
}

.pricing-table tr.is-dirty {
  background: var(--primary-soft);
}

.install-list {
  margin: 1rem 0;
  padding-left: 1.2rem;
  line-height: 1.9;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

code {
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
  background: var(--secondary);
  font-size: 0.85em;
}

/* ---------------------------------------------------------- responsive ---- */

@media (min-width: 640px) {
  .assistant-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .assistant-row textarea {
    flex: 1;
  }

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

  .pq-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pq-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .job-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: row;
  }

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

  .cta-row {
    flex-direction: row;
  }

  .pro-cta-icon {
    display: grid;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .only-mobile {
    display: none;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero {
    min-height: 51rem;
  }

  .hero-grid {
    grid-template-columns: 0.83fr 1.17fr;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .hero-overlay {
    background: linear-gradient(90deg,
      color-mix(in oklab, var(--hero) 96%, transparent) 0%,
      color-mix(in oklab, var(--hero) 85%, transparent) 39%,
      color-mix(in oklab, var(--hero) 38%, transparent) 72%,
      color-mix(in oklab, var(--hero) 18%, transparent) 100%);
  }

  .calc-card {
    width: 100%;
    max-width: 42rem;
    margin-left: auto;
    padding: 1.75rem;
  }

  .price-box {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .section {
    padding: 6rem 0;
  }

  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

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

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

  .cost-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
  }

  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .faq-grid {
    grid-template-columns: 0.55fr 1fr;
    gap: 2.5rem;
  }

  .pro-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin: 0 auto 5rem;
    max-width: 80rem;
    padding: 3rem;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------ WordPress-integratie -- */
body.admin-bar .site-header { top: 32px; }

@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

.entry-content > * { max-width: 72ch; }
.entry-content h1, .entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content p { line-height: 1.7; }
.archive-item { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }

/* ------------------------------------------------ thema-instellingen ---- */

.brand-logo {
  width: auto;
  max-height: 2.75rem;
}

.mobile-nav-list,
.footer-nav,
.footer-legal {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact,
.footer-social,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--footer-muted);
  font-size: 0.875rem;
}

.footer-social {
  margin-top: 1rem;
  font-weight: 600;
}

.footer-contact a,
.footer-social a,
.footer-legal a {
  text-decoration: none;
}

.footer-contact a:hover,
.footer-social a:hover,
.footer-legal a:hover {
  color: var(--footer-foreground);
}

.footer-legal {
  font-size: 0.75rem;
}

@media (min-width: 900px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.main-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------------------------------------------------------------- submenu ---- */

/* Uitklapmenu in de hoofdnavigatie (alleen op desktop, want daar staat
   .main-nav op display:flex). Een item met kinderen krijgt van WordPress de
   klasse menu-item-has-children. */
.main-nav li {
  position: relative;
}

.main-nav .sub-menu {
  position: absolute;
  z-index: 60;
  top: 100%;
  left: 0;
  display: none;
  min-width: 15rem;
  margin: 0;
  padding: 0.85rem 0.4rem 0.4rem;
  list-style: none;
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px color-mix(in oklab, var(--hero) 24%, transparent);
}

/* Onzichtbare brug boven het paneel, zodat het menu niet dichtklapt terwijl de
   muis van het hoofditem naar het submenu beweegt. */
.main-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  display: block;
}

/* Derde niveau naast het tweede, zoals in een klassiek uitklapmenu. */
.main-nav .sub-menu .sub-menu {
  top: -0.45rem;
  left: 100%;
  padding-top: 0.4rem;
}

.main-nav .sub-menu .sub-menu::before {
  top: 0;
  bottom: 0;
  left: -0.5rem;
  right: auto;
  width: 0.5rem;
  height: auto;
}

.main-nav .sub-menu a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 0.375rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus {
  background: var(--secondary);
  color: var(--primary);
  opacity: 1;
}

/* Pijltje bij een item met een submenu. */
.main-nav .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav .menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

/* Mobiel en in de voettekst: het submenu staat onder het hoofditem, ingesprongen
   met een dun streepje. Geen hover nodig, dus altijd zichtbaar. */
.mobile-nav-list .sub-menu,
.footer-nav .sub-menu,
.footer-legal .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0 0;
  padding: 0 0 0 0.85rem;
  list-style: none;
  border-left: 2px solid color-mix(in oklab, currentColor 25%, transparent);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Rij met de link en het uitklappijltje; het submenu staat eronder over de volle
   breedte. Het pijltje wordt door nav.js toegevoegd. */
.mobile-nav-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.mobile-nav-list li > a {
  flex: 1 1 auto;
}

.mobile-nav-list .sub-menu {
  flex: 1 0 100%;
}

.submenu-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid color-mix(in oklab, currentColor 30%, transparent);
  border-radius: 0.375rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  background: color-mix(in oklab, currentColor 12%, transparent);
}

.submenu-toggle-icon {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.2rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}

.submenu-toggle[aria-expanded="true"] .submenu-toggle-icon {
  margin-top: 0.2rem;
  transform: rotate(-135deg);
}

/* Zoekveld in de hero: suggesties uit de kluscatalogus. */
.job-search-field {
  position: relative;
}

.job-search-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow: auto;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.job-search-list[hidden] {
  display: none;
}

.job-search-list li {
  padding: 0.55rem 0.75rem;
  color: #0f172a;
  font-weight: 500;
  cursor: pointer;
}

.job-search-list li[aria-selected="true"],
.job-search-list li:hover {
  background: rgba(15, 23, 42, 0.06);
}

.job-search-cat {
  display: block;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.2;
}

.job-search-none {
  cursor: default;
  opacity: 0.7;
}

/* ------------------------------------------------ toegankelijkheid ---- */

.skip-link {
  position: absolute;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.site-main {
  display: block;
}

/* Zonder JavaScript is het mobiele menu altijd zichtbaar. */
@media (max-width: 1023px) {
  html.no-js .site-header {
    position: relative;
  }

  html.no-js .menu-toggle {
    display: none;
  }

  html.no-js .mobile-nav[hidden] {
    display: flex !important;
    position: static;
  }

  html.no-js .hero {
    padding-top: 3rem;
  }
}

/* ------------------------------------------------ blog en archief ---- */

.archive-content {
  min-width: 0;
}

.archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 24px color-mix(in oklab, var(--primary) 6%, transparent);
}

.post-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--secondary);
}

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

.post-card-media:hover .post-card-img,
.post-card-media:focus-visible .post-card-img {
  transform: scale(1.03);
}

.post-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem;
}

.post-card-meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  color: var(--muted-foreground);
  font-size: 0.8rem;
  font-weight: 600;
}

.post-card-meta a,
.entry-meta a {
  color: inherit;
  text-decoration: none;
}

.post-card-meta a:hover,
.entry-meta a:hover {
  color: var(--primary);
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}

.post-card-title a {
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-excerpt {
  flex: 1 1 auto;
  color: var(--muted-foreground);
  font-size: 0.925rem;
  line-height: 1.65;
}

.post-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}

.post-card-more:hover {
  text-decoration: underline;
}

.pagination {
  margin-top: 2.5rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.pagination .page-numbers {
  display: inline-flex;
  min-width: 2.4rem;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.empty-state {
  max-width: 44rem;
  padding: 2rem 0;
}

.empty-state > * + * {
  margin-top: 1rem;
}

/* ------------------------------------------------ single bericht ---- */

.single-content {
  min-width: 0;
}

.single-entry {
  max-width: 72ch;
}

.single-featured {
  margin: 0 0 2rem;
}

.single-featured-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.entry-meta {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.entry-content {
  font-size: 1.05rem;
}

.entry-content > * + * {
  margin-top: 1.1em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35rem;
}

.entry-tags {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.entry-tags a {
  color: var(--primary);
}

.entry-edit {
  margin-top: 1rem;
  font-size: 0.8rem;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

.post-navigation {
  max-width: 72ch;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.post-navigation .nav-links {
  display: grid;
  gap: 1rem;
}

.post-navigation a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.post-navigation a:hover {
  text-decoration: underline;
}

.comments-area {
  max-width: 72ch;
  margin-top: 2.5rem;
}

/* ------------------------------------------------ zoeken en 404 ---- */

.search-form {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 34rem;
  margin: 1.25rem 0;
}

.search-form label {
  flex: 1 1 auto;
  min-width: 0;
}

.search-field {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--card);
  color: var(--foreground);
  font: inherit;
}

.search-submit {
  min-height: 2.75rem;
}

.error-page {
  max-width: 48rem;
  padding: 1rem 0 2rem;
}

.error-code {
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 600;
  line-height: 0.9;
}

.error-page .section-title {
  margin-top: 1rem;
}

.error-page > p:not(.error-code) {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.review-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.review-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.review-meta strong {
  color: var(--foreground);
}

@media (min-width: 640px) {
  .archive-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 520px) {
  .search-form {
    flex-direction: column;
  }

  .search-submit {
    width: 100%;
  }
}

/* De kosten tabel heeft vier kolommen en een vaste minimumbreedte. Op mobiel
   past hij niet naast de intro; toon elke klus als kaart in plaats van een
   horizontale scrollbalk. */
@media (max-width: 640px) {
  .cost-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .cost-table {
    display: block;
    min-width: 0;
    border-collapse: separate;
  }

  .cost-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .cost-table tbody,
  .cost-table tr,
  .cost-table td {
    display: block;
    width: 100%;
  }

  .cost-table tr {
    margin-bottom: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
  }

  .cost-table tr:last-child {
    margin-bottom: 0;
  }

  .cost-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0;
    border: 0;
    text-align: right;
    overflow-wrap: break-word; word-break: normal; hyphens: none;
  }

  .cost-table td::before {
    flex: 0 0 auto;
    color: var(--muted-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .cost-table td:nth-child(2)::before { content: "Gemiddelde kosten"; }
  .cost-table td:nth-child(3)::before { content: "Materiaal"; }
  .cost-table td:nth-child(4)::before { content: "Arbeid"; }

  .cost-table td:first-child {
    justify-content: flex-start;
    margin-bottom: 0.45rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
    text-align: left;
  }

  .cost-table td:first-child::before {
    display: none;
  }

  .cost-table .price-cell {
    font-size: 1rem;
  }
}

/* ------------------------------------------------ partnerdashboard ---- */

/* De leadtabel in het partnerdashboard komt uit de plugin en heeft zes
   kolommen. Op mobiel wordt hij anders te breed en ontstaat een horizontale
   scrollbalk. We tonen elke rij als een compacte kaart met labels. */
@media (max-width: 767px) {
  .wkmk-mp > h3 + .wkmk-mp-table {
    display: block;
    width: 100%;
    margin-bottom: 1.25rem;
    border-collapse: separate;
  }

  .wkmk-mp > h3 + .wkmk-mp-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .wkmk-mp > h3 + .wkmk-mp-table tbody,
  .wkmk-mp > h3 + .wkmk-mp-table tr,
  .wkmk-mp > h3 + .wkmk-mp-table td {
    display: block;
    width: 100%;
  }

  .wkmk-mp > h3 + .wkmk-mp-table tr {
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
  }

  .wkmk-mp > h3 + .wkmk-mp-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0;
    border: 0;
    text-align: right;
    overflow-wrap: break-word; word-break: normal; hyphens: none;
  }

  .wkmk-mp > h3 + .wkmk-mp-table td::before {
    flex: 0 0 auto;
    color: var(--muted-foreground);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .wkmk-mp > h3 + .wkmk-mp-table td:nth-child(1)::before { content: "Aanvraag"; }
  .wkmk-mp > h3 + .wkmk-mp-table td:nth-child(2)::before { content: "Klus"; }
  .wkmk-mp > h3 + .wkmk-mp-table td:nth-child(3)::before { content: "Plaats"; }
  .wkmk-mp > h3 + .wkmk-mp-table td:nth-child(4)::before { content: "Afstand"; }
  .wkmk-mp > h3 + .wkmk-mp-table td:nth-child(5)::before { content: "Status"; }

  .wkmk-mp > h3 + .wkmk-mp-table td:last-child {
    justify-content: flex-end;
    margin-top: 0.35rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border);
  }

  .wkmk-mp > h3 + .wkmk-mp-table td:last-child::before {
    display: none;
  }

  .wkmk-mp > h3 + .wkmk-mp-table td:last-child a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 0.375rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
  }

  .wkmk-mp > h3 + .wkmk-mp-table td:last-child a:hover {
    background: var(--primary);
    color: var(--primary-foreground);
  }
}
