/* ============================================================
   STUFIN — Redesign 2026
   Eén gedeelde stylesheet voor alle pagina's.
   Design tokens eerst, daarna componenten, daarna responsive.
============================================================ */

/* ------------------------------------------------------------
   Design tokens
------------------------------------------------------------ */
:root {
  --primary: #2f34ff;
  --primary-dark: #2328c9;
  --primary-soft: #eef1ff;
  --secondary: #14c46f;
  --secondary-soft: #dcf8e8;

  --ink: #0b1220;
  --dark: #0f172a;
  --gray: #55617a;
  --gray-soft: #94a3b8;
  --bg: #f7f8fc;
  --white: #ffffff;

  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 4px 14px rgba(47, 52, 255, 0.22);

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --container: 1180px;
  --nav-height: 76px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ------------------------------------------------------------
   Reset & basis
------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

/* ------------------------------------------------------------
   Layout helpers
------------------------------------------------------------ */
.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

section {
  padding: 5rem 0;
}

.compact-top {
  padding-top: 1.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  padding: 0.6rem 1.2rem;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ------------------------------------------------------------
   Typografie
------------------------------------------------------------ */
h1, h2, h3 {
  color: var(--ink);
  text-wrap: balance;
}

.hero-text h1,
.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.split-copy h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.hero-text p,
.page-header p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 58ch;
}

.section-heading p,
.split-copy p,
.card p {
  color: var(--gray);
}

.split-copy p + p {
  margin-top: 1rem;
}

/* Accentwoord in koppen: effen merkkleur, geen gradient */
.text-gradient {
  color: var(--primary);
}

/* Eyebrow / kicker: ingetogen label met streepje */
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--primary);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

/* ------------------------------------------------------------
   Navbar (geïnjecteerd via js/layout.js)
------------------------------------------------------------ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--nav-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 130px;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a,
.nav-links .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--gray);
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links .dropdown-toggle:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.05);
}

.nav-links a.active,
.nav-links .dropdown-toggle.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.dropdown-toggle .chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-links .dropdown:hover .chevron,
.nav-links .dropdown.open .chevron {
  transform: rotate(225deg) translateY(-1px);
}

.nav-links .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 21rem;
  padding: 0.5rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 20;
}

.nav-links .submenu a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-weight: 500;
  white-space: normal;
  line-height: 1.4;
}

.nav-links .submenu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-links .dropdown:hover > .submenu,
.nav-links .dropdown:focus-within > .submenu {
  display: block;
}

/* Onzichtbare hover-brug zodat het submenu niet dichtklapt */
.nav-links .dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.6rem;
}

.nav-links a.nav-cta {
  margin-left: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Buttons
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(47, 52, 255, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--gray-soft);
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------------------------
   Hero (home)
------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 12% 0%, rgba(47, 52, 255, 0.04), transparent 70%),
    radial-gradient(560px 420px at 88% 18%, rgba(15, 23, 42, 0.03), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

/* Feitenstrip onder de hero-knoppen: bewijs boven decoratie */
.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 3rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.hero-stats li {
  display: grid;
  gap: 0.1rem;
}

.hero-stats strong {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--gray);
}

.banner-image {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.banner-image .media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* ------------------------------------------------------------
   Page header (subpagina's)
------------------------------------------------------------ */
.page-header {
  position: relative;
  padding: 5.5rem 0 4rem;
  text-align: center;
  overflow: clip;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 320px at 50% -10%, rgba(47, 52, 255, 0.05), transparent 70%);
}

.page-header p {
  margin-inline: auto;
}

.page-header .eyebrow {
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------
   Cards
------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-grid .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 52, 255, 0.18);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(47, 52, 255, 0.12);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

/* ------------------------------------------------------------
   Split-secties (tekst + beeld)
------------------------------------------------------------ */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.image-placeholder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.image-placeholder-card .media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.split-section .image-placeholder-card {
  aspect-ratio: 16 / 11;
}

.image-slot {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-content {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--gray);
}

.image-slot.is-empty .placeholder-content {
  display: block;
}

/* ------------------------------------------------------------
   Checklist
------------------------------------------------------------ */
.check-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--dark);
  font-weight: 500;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary-soft);
}

.check-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 0.55rem;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid var(--secondary);
  border-bottom: 2.5px solid var(--secondary);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------
   Klantenlogo's: rustige statische rij, grijstinten
------------------------------------------------------------ */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 4.5rem;
  padding: 1.5rem 0;
}

.logos img {
  height: 56px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ------------------------------------------------------------
   App-logo grid (tools)
------------------------------------------------------------ */
.app-logo-section {
  padding: 2rem 0 5rem;
}

.app-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.app-logo-card {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-logo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 52, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.app-logo-card img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ------------------------------------------------------------
   Over STUFIN
------------------------------------------------------------ */
.about-intro-section {
  padding-bottom: 3rem;
}

.about-hero-grid {
  align-items: center;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.about-intro-section .image-placeholder-card {
  aspect-ratio: 4 / 5;
  max-width: 440px;
  width: 100%;
  justify-self: center;
}

.about-portrait-image {
  object-position: center top;
}

.about-values-section {
  padding-top: 3rem;
}

.about-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.about-process-layout .section-heading {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  margin-bottom: 0;
}

.about-steps {
  display: grid;
  gap: 1rem;
}

.about-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-step:hover {
  border-color: rgba(47, 52, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.about-step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

.about-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.about-step p {
  color: var(--gray);
}

/* ------------------------------------------------------------
   CTA-band (donker accent)
------------------------------------------------------------ */
.about-cta-section {
  padding-top: 1rem;
}

.about-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #141c31 0%, var(--dark) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 260px at 85% 0%, rgba(47, 52, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.about-cta > * {
  position: relative;
}

.about-cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.about-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.about-cta .section-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.about-cta .section-kicker::before {
  background: var(--secondary);
}

.about-cta .btn {
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   Contact
------------------------------------------------------------ */
.contact-hero {
  text-align: left;
  padding-bottom: 3rem;
}

.contact-hero p {
  margin-inline: 0;
}

.contact-section {
  padding-top: 0;
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-card {
  padding: 2.5rem;
}

.contact-card-intro {
  margin-bottom: 1.75rem;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

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

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.required-mark {
  color: #dc2626;
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-soft);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%2355617a' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 6px;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 52, 255, 0.12);
}

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

.contact-form .btn {
  width: 100%;
}

.form-note {
  color: var(--gray-soft);
  font-size: 0.85rem;
}

.contact-sidebar {
  display: grid;
  gap: 1.5rem;
}

.contact-info-list {
  list-style: none;
  display: grid;
  gap: 1.3rem;
  margin-top: 1.25rem;
}

.contact-info-list li {
  display: grid;
  gap: 0.2rem;
}

.info-title {
  font-size: 0.78rem;
  color: var(--gray-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contact-info-list strong {
  color: var(--ink);
  font-weight: 600;
}

.contact-cta-card {
  background: linear-gradient(135deg, #141c31 0%, var(--dark) 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.contact-cta-card:hover {
  transform: none;
}

.contact-cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.contact-cta-card .eyebrow::before {
  background: var(--secondary);
}

.contact-cta-card p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-cta-card .check-list li {
  color: var(--white);
}

/* ------------------------------------------------------------
   Carousel (about-product)
------------------------------------------------------------ */
.carousel {
  display: grid;
  gap: 1rem;
}

.carousel-track {
  position: relative;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem 0.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-soft);
  border-color: rgba(47, 52, 255, 0.3);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex: 1;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

/* ------------------------------------------------------------
   Footer (geïnjecteerd via js/layout.js)
------------------------------------------------------------ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  width: 130px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-nav h3,
.footer-social h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-soft);
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-nav a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.footer-links {
  display: flex;
  gap: 0.75rem;
}

.footer-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-links a:hover {
  border-color: rgba(47, 52, 255, 0.25);
  box-shadow: var(--shadow-sm);
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-copy {
  color: var(--gray-soft);
  font-size: 0.88rem;
}

/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */
@media (max-width: 960px) {
  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero-grid,
  .split-grid,
  .about-process-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .reverse-mobile .image-placeholder-card {
    order: 2;
  }

  .about-process-layout .section-heading {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .nav-links .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-links .submenu {
    position: static;
    display: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    background: var(--bg);
    margin-top: 0.25rem;
  }

  .nav-links .dropdown.open > .submenu {
    display: block;
  }

  .nav-links .dropdown:hover > .submenu {
    display: none;
  }

  .nav-links .dropdown.open:hover > .submenu {
    display: block;
  }

  .nav-links a.nav-cta {
    margin-left: 0;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .hero-actions .btn,
  .about-actions .btn,
  .about-cta .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-card {
    padding: 1.5rem;
  }

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

  .logos img {
    height: 44px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
