:root {
  --anker: #2c2825;
  --terra: #b87455;
  --terra-licht: #d4a882;
  --terra-donker: #8a5038;
  --wit: #fafaf8;
  --creme: #f0ebe1;
  --zand: #e8dfd0;
  --muted: #7a736b;
  --border: #ddd8d0;
  --footer-bg: #1a1714;

  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Jost", sans-serif;

  --h1: clamp(2.8rem, 6vw, 5rem);
  --h2: clamp(2rem, 4vw, 3rem);
  --h3: 1.25rem;
  --body: 1rem;
  --small: 0.875rem;
  --xs: 0.75rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;
  --space-3xl: 27rem;

  --max-width: 1200px;
  --nav-height: 110px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;

  --t-fast: 150ms ease;
  --t-normal: 250ms ease;
  --t-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.65;
  color: var(--anker);
  background: var(--wit);
}

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

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

button,
input,
textarea,
select {
  font-family: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.question-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 8px 24px rgba(44, 40, 37, 0.28);
}

.question-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 14, 0.45);
  display: grid;
  place-items: center;
  z-index: 1201;
  padding: 16px;
}

.question-modal-backdrop[hidden] {
  display: none;
}

.question-modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  position: relative;
}

.question-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f3eee8;
  color: var(--anker);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.question-help {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.question-whatsapp-btn {
  margin-top: 10px;
}

.question-or {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.question-input {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
}

.question-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.question-actions-stack {
  flex-direction: column;
  align-items: stretch;
}

.question-actions-stack .btn {
  width: 100%;
  justify-content: center;
}

.question-back-link {
  background: transparent;
  border: 0;
  padding: 2px 0 0;
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: left;
}

.question-back-link:hover {
  color: var(--terra-donker);
}

.question-contact-choice {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.question-choice-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--anker);
  padding: 8px 12px;
  cursor: pointer;
}

.question-choice-btn.active {
  border-color: var(--terra);
  background: #fdf2ec;
}

.question-thanks {
  margin-top: 12px;
  font-size: 1rem;
}

.question-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--terra-donker);
}

.session-refresh-btn {
  margin-top: 6px;
}

.session-expired-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(20, 17, 15, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.session-expired-modal {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 36px rgba(20, 17, 15, 0.2);
}

.session-expired-modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--anker);
  margin-bottom: 8px;
}

.session-expired-modal-text {
  color: var(--muted);
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .question-fab {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

.display {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.h1 {
  font-family: var(--font-display);
  font-size: var(--h1);
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.h3 {
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.3;
}

.body {
  font-size: var(--body);
  font-weight: 400;
}

.body-sm {
  font-size: var(--small);
  font-weight: 400;
}

.label {
  font-size: var(--xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.terra {
  color: var(--terra);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--small);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--terra);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
}

.btn-primary:hover {
  background: var(--terra-donker);
}

/* Eén subtiele aandachtspulse als lightbox-CTA in beeld scrollt (zie js/feature-lightbox.js) */
@keyframes lightbox-cta-scroll-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--terra) 0%, transparent);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--terra) 32%, transparent);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1);
  }
}

.btn.lightbox-cta--scroll-hint {
  animation: lightbox-cta-scroll-pulse 0.75s ease-out 1;
}

@media (prefers-reduced-motion: reduce) {
  .btn.lightbox-cta--scroll-hint {
    animation: none;
  }
}

.btn-secondary {
  background: transparent;
  color: var(--anker);
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--anker);
}

.btn-secondary:hover {
  background: var(--anker);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-lg {
  font-size: var(--body);
  padding: 15px 32px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.switch-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.switch-track {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #d8d2cb;
  transition: background var(--t-fast);
  border: 1px solid #c8c1ba;
}

.switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform var(--t-fast);
}

.switch-input:checked + .switch-track {
  background: var(--terra);
  border-color: var(--terra-donker);
}

.switch-input:checked + .switch-track .switch-thumb {
  transform: translateX(20px);
}

.switch-input:focus-visible + .switch-track {
  outline: 2px solid var(--terra);
  outline-offset: 2px;
}

.switch-label {
  font-size: var(--small);
  color: var(--anker);
}
