/* ============================================================
   STOOMPALEIS — GLOBAL STYLESHEET
   Stack: Plain HTML / CSS / JS  |  Nexa Marketing redesign
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Kleuren */
  --clr-dark:         #111318;   /* hero / footer achtergrond   */
  --clr-dark-2:       #1C2027;   /* kaarten op donkere bg       */
  --clr-orange:       #F28C00;   /* primair accent               */
  --clr-orange-dark:  #C97000;   /* hover states                 */
  --clr-white:        #F9F7F4;   /* warme witte achtergrond      */
  --clr-text:         #2D2D2D;   /* body tekst                   */
  --clr-text-light:   #6B7280;   /* subtekst / placeholder       */
  --clr-green:        #22C55E;   /* ✓ bacterievrij badges        */

  /* Typografie */
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Schaduwen */
  --shadow-sm:  0 1px 4px  rgba(0, 0, 0, 0.06);
  --shadow-md:  0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:  0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl:  0 16px 64px rgba(0, 0, 0, 0.16);

  /* Border-radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Transitions */
  --transition: 0.2s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-white);
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ============================================================
   3. TYPOGRAFIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: inherit;
}

h1 { font-size: clamp(2rem,   5vw, 3.5rem);  font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw,  1.5rem); }
h4 { font-size: 1.125rem; font-weight: 700; }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text-light);
}

/* Paragrafen binnen donkere secties */
.section--dark p {
  color: rgba(249, 247, 244, 0.72);
}

strong { font-weight: 600; color: inherit; }

/* Sectie-label boven titels */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--clr-text-light);
  max-width: 56ch;
}

.section--dark .section-subtitle {
  color: rgba(249, 247, 244, 0.62);
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }
}

.section--dark  { background-color: var(--clr-dark);  color: var(--clr-white); }
.section--light { background-color: var(--clr-white); color: var(--clr-text);  }
.section--grey  { background-color: #F1F0EE;           color: var(--clr-text);  }

/* Sectionkop gecentreerd */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

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

/* Flex helpers */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-8       { gap: 8px;  }
.gap-12      { gap: 12px; }
.gap-16      { gap: 16px; }
.gap-24      { gap: 24px; }

/* Text alignment helpers */
.text-center { text-align: center; }
.text-left   { text-align: left;   }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition),
              color var(--transition),
              border-color var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0);    }

/* Primair — oranje */
.btn-primary {
  background-color: var(--clr-orange);
  color: #ffffff;
  border-color: var(--clr-orange);
  box-shadow: 0 4px 20px rgba(242, 140, 0, 0.28);
}

.btn-primary:hover {
  background-color: var(--clr-orange-dark);
  border-color: var(--clr-orange-dark);
  box-shadow: 0 6px 28px rgba(242, 140, 0, 0.36);
}

/* Outline — transparant met oranje rand */
.btn-outline {
  background-color: transparent;
  color: var(--clr-orange);
  border-color: var(--clr-orange);
}

.btn-outline:hover {
  background-color: var(--clr-orange);
  color: #ffffff;
}

/* Outline wit — voor gebruik op donkere secties */
.btn-outline-white {
  background-color: transparent;
  color: var(--clr-white);
  border-color: rgba(249, 247, 244, 0.40);
}

.btn-outline-white:hover {
  background-color: var(--clr-white);
  color: var(--clr-dark);
  border-color: var(--clr-white);
}

/* WhatsApp */
.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: #1fba58;
  border-color: #1fba58;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.36);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Groot formaat */
.btn--lg {
  padding: 17px 40px;
  font-size: 1rem;
}

/* Klein formaat */
.btn--sm {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

/* Button groep */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   6. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-orange);
  background-color: rgba(242, 140, 0, 0.12);
  border: 1px solid rgba(242, 140, 0, 0.22);
  border-radius: 20px;
  line-height: 1;
}

.badge--green {
  color: var(--clr-green);
  background-color: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.22);
}

.badge--dark {
  color: rgba(249, 247, 244, 0.80);
  background-color: rgba(249, 247, 244, 0.08);
  border-color: rgba(249, 247, 244, 0.14);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

/* ============================================================
   7. CARDS
   ============================================================ */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--dark {
  background-color: var(--clr-dark-2);
  color: var(--clr-white);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card--dark:hover {
  border-color: rgba(242, 140, 0, 0.30);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.30);
}

.card--border {
  background-color: #ffffff;
  border: 1px solid #E8E6E3;
  box-shadow: none;
}

.card--border:hover {
  border-color: rgba(242, 140, 0, 0.35);
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: 28px;
}

.card__body--lg {
  padding: 36px;
}

/* ============================================================
   8. FADE-IN ANIMATIE
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays voor rijen kaartjes */
.fade-in[data-delay="100"] { transition-delay: 0.10s; }
.fade-in[data-delay="200"] { transition-delay: 0.20s; }
.fade-in[data-delay="300"] { transition-delay: 0.30s; }
.fade-in[data-delay="400"] { transition-delay: 0.40s; }
.fade-in[data-delay="500"] { transition-delay: 0.50s; }
.fade-in[data-delay="600"] { transition-delay: 0.60s; }

/* ============================================================
   9. FORMULIEREN
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.9375rem;
  color: var(--clr-text);
  background-color: #ffffff;
  border: 1.5px solid #D9D7D4;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 0, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-light);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Formulier op donkere achtergrond */
.form--dark .form-group label    { color: rgba(249, 247, 244, 0.85); }
.form--dark .form-group input,
.form--dark .form-group textarea,
.form--dark .form-group select   {
  background-color: var(--clr-dark-2);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--clr-white);
}
.form--dark .form-group input::placeholder,
.form--dark .form-group textarea::placeholder {
  color: rgba(249, 247, 244, 0.38);
}
.form--dark .form-group input:focus,
.form--dark .form-group textarea:focus {
  border-color: var(--clr-orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 0, 0.14);
}

/* Succes- en foutmeldingen */
.form-success {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background-color: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #15803d;
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-success.visible { display: block; }

/* ============================================================
   10. DIVIDER & HELPERS
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.10) 20%,
    rgba(0, 0, 0, 0.10) 80%,
    transparent
  );
  border: none;
  margin: 0;
}

.divider--dark {
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent
  );
}

/* Oranje horizontale accentlijn */
.accent-line {
  display: block;
  width: 48px;
  height: 4px;
  background-color: var(--clr-orange);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* Visually hidden (accessibility) */
.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;
}

/* ============================================================
   11. FLOATING BUTTONS
   ============================================================ */

/* Vaste WhatsApp-knop (rechtsonder) */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.40);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.50);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
  stroke: #ffffff;
}

/* Terug-naar-boven knop */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1.5px solid #D9D7D4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease,
              visibility 0.3s ease,
              transform var(--transition),
              background-color var(--transition);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--clr-orange);
  border-color: var(--clr-orange);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-text);
  transition: stroke var(--transition);
}

.back-to-top:hover svg {
  stroke: #ffffff;
}

/* ============================================================
   12. RESPONSIVE BREAKPOINTS — OVERRIDES
   ============================================================ */

/* -- Mobiel (default < 768px) -- */
.hide-mobile { display: none; }

@media (min-width: 768px) {
  /* -- Tablet -- */
  .hide-mobile  { display: revert; }
  .hide-tablet  { display: none;   }

  .section {
    padding: 96px 0;
  }
}

@media (min-width: 1024px) {
  /* -- Desktop -- */
  .hide-tablet  { display: revert; }

  .section {
    padding: 112px 0;
  }
}

/* Mobiel: knoppen full-width in .btn-group */
@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}
