/* =========================================================
   Zirkels — Landing page
   Design tokens matched to zirkels-mobile (tailwind.config.js)
   ========================================================= */

:root {
  --primary: #242a5a;
  --primary-dark: #1a1f45;
  --primary-light: #8b8fb3;
  --primary-subtle: #e8e9f0;
  --secondary: #3d4580;

  --text: #242a5a;
  --text-secondary: #6b7194;
  --text-tertiary: #9ba3c2;
  --text-inverse: #ffffff;

  --surface: #f0f2f8;
  --surface-elevated: #ffffff;

  --border: #e2e5f0;
  --border-light: #eceef5;

  --success: #34c759;
  --warning: #f5a623;
  --error: #e8475f;
  --info: #4a6cf7;

  --card-green: #34c759;
  --card-blue: #4a6cf7;
  --card-orange: #f5a623;
  --card-purple: #8b5cf6;
  --card-teal: #14b8a6;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(36, 42, 90, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(36, 42, 90, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(36, 42, 90, 0.28);

  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--surface-elevated);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

p {
  margin: 0;
  color: var(--text-secondary);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- Background orbs -------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.orb-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 30% 30%, #c8cef0, transparent 70%);
  top: -180px;
  right: -140px;
}
.orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 60% 50%, #b7f0c8, transparent 70%);
  top: 420px;
  left: -200px;
}
.orb-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 50% 50%, #ffe3b7, transparent 70%);
  bottom: -160px;
  right: 10%;
}

/* -------- Header / Nav -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: #fff;
  /* nav-bar zelf blijft boven de scrim staan */
  border-bottom: 1px solid rgba(226, 229, 240, 0.6);
}
.nav {
  position: relative;
  z-index: 46;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  width: 112px;
  height: auto;
  fill: var(--primary);
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 12px;
  flex: 1;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-cta {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
/* CTA-kopie in het uitklapmenu: alleen zichtbaar op de kleinste schermen */
.nav-links-cta {
  display: none;
}

/* Hamburger: verborgen op desktop, zichtbaar zodra de links inklappen */
.nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
  cursor: pointer;
  color: var(--primary);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-toggle:hover {
  border-color: var(--primary-light);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bars {
  top: 50%;
  margin-top: -1px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  margin-left: -10px;
}
.nav-toggle-bars::before {
  top: -6px;
}
.nav-toggle-bars::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Scrim achter het uitgeklapte menu */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(36, 42, 90, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-scrim.is-visible {
  opacity: 1;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-lg {
  padding: 14px 24px;
  font-size: 16px;
}
.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: var(--surface-elevated);
  color: var(--primary);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--primary-subtle);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* -------- Shared components -------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.gradient-text {
  background: linear-gradient(120deg, var(--primary), #6873c7 60%, var(--card-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section {
  padding: 96px 0;
}
.section-alt {
  background: linear-gradient(180deg, var(--surface) 0%, #ffffff 100%);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 17px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 56px 0 72px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.trust-row .check {
  color: var(--success);
  font-weight: 800;
  margin-right: 4px;
}

/* ---- Hero visual: phone + floating cards ---- */
.hero-visual {
  position: relative;
  min-height: 620px;
}
.phone {
  position: relative;
  width: 320px;
  height: 620px;
  margin: 0 auto;
  background: var(--primary);
  border-radius: 48px;
  padding: 14px;
  box-shadow: 0 40px 80px -20px rgba(36, 42, 90, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #0b0e2e;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 36px;
  padding: 48px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--card-blue), var(--primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.avatar.big {
  width: 52px;
  height: 52px;
  font-size: 17px;
}
.avatar.photo {
  background: var(--surface);
  overflow: hidden;
}
.avatar.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar.a1 {
  background: linear-gradient(135deg, #8b5cf6, var(--primary));
}
.avatar.a2 {
  background: linear-gradient(135deg, #14b8a6, #1a7a6f);
}
.avatar.a3 {
  background: linear-gradient(135deg, #f5a623, #d68810);
}
.avatar.a4 {
  background: linear-gradient(135deg, #4a6cf7, #2d4bd1);
}
.screen-title {
  font-weight: 700;
  color: var(--text);
  font-size: 17px;
}
.screen-sub {
  font-size: 13px;
  color: var(--text-secondary);
}
/* Dossier-tegels in de telefoon: abstracte versie van de app-dossierpagina.
   Bewust zonder tekstlabels — alleen icoon plus een neutrale balk. */
.dossier-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0 14px;
}
.dossier-head .avatar {
  margin-bottom: 4px;
}
.dossier-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.dossier-meta {
  font-size: 13px;
  color: var(--text-secondary);
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.tile-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
}
.tile-badge svg {
  width: 21px;
  height: 21px;
  display: block;
}
/* De balk vervangt het label van de tegel in de app. */
.tile-line {
  width: 66%;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.28;
}

/* Tegelkleuren komen overeen met de kaartkleuren in de app. */
.tile-green {
  background: rgba(52, 199, 89, 0.12);
  border-color: rgba(52, 199, 89, 0.4);
}
.tile-green .tile-badge {
  background: var(--card-green);
}
.tile-orange {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.4);
}
.tile-orange .tile-badge {
  background: var(--card-orange);
}
.tile-teal {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.4);
}
.tile-teal .tile-badge {
  background: var(--card-teal);
}
.tile-rose {
  background: rgba(232, 71, 95, 0.12);
  border-color: rgba(232, 71, 95, 0.4);
}
.tile-rose .tile-badge {
  background: var(--error);
}
.tile-primary {
  background: rgba(36, 42, 90, 0.1);
  border-color: rgba(36, 42, 90, 0.32);
}
.tile-primary .tile-badge {
  background: var(--primary);
}
.tile-blue {
  background: rgba(74, 108, 247, 0.12);
  border-color: rgba(74, 108, 247, 0.4);
}
.tile-blue .tile-badge {
  background: var(--card-blue);
}
/* "Nieuw document" is in de app een gestippelde, gedempte tegel. */
.tile-add {
  margin-top: 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px dashed rgba(139, 92, 246, 0.5);
  opacity: 0.75;
}
.tile-add .tile-badge {
  background: var(--card-purple);
}

.float-card {
  position: absolute;
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.float-reward {
  top: 16px;
  right: -84px;
  width: 220px;
}
/* Zwevende kaart: begeleider met de hoofdnavigatie uit de app
   (Dossiers · Rapportage · Meldingen · Berichten). */
.pro-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.pro-head .avatar {
  width: 38px;
  height: 38px;
}
.pro-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.pro-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.pro-role {
  font-size: 12px;
  color: var(--text-secondary);
}
.pro-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pro-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 10px;
}
/* Actieve regel, net als de geselecteerde tab in de app. */
.pro-item:first-child {
  background: var(--primary-subtle);
}
.pro-item:first-child .pro-icon,
.pro-item:first-child .pro-label {
  color: var(--primary);
}
.pro-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-secondary);
}
.pro-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.pro-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pro-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--error);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-green {
  background: var(--success);
}
.dot-orange {
  background: var(--warning);
}
.dot-red {
  background: var(--error);
}

/* =========================================================
   Locations strip
   ========================================================= */
.strip {
  background: var(--primary);
  color: var(--text-inverse);
  padding: 22px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
}
.strip-inner > span:first-child {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Eigen lijniconen i.p.v. emoji: nemen de witte tekstkleur over. */
.loc-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.9;
}

/* =========================================================
   Netwerk-diagram (het netwerk rond je kind)
   ========================================================= */
.network-section {
  overflow: hidden;
  padding-bottom: 40px;
}
.network-wrap {
  container-type: inline-size;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 0 0;
}
.network-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

/* Gestippelde ringen, heel langzaam draaiend */
.net-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ring {
  fill: none;
  stroke: rgba(36, 42, 90, 0.32);
  stroke-width: 0.28;
  stroke-dasharray: 1.5 1.7;
  transform-origin: 50% 50%;
}
.ring-outer {
  animation: ring-spin 240s linear infinite;
}
.ring-inner {
  animation: ring-spin 180s linear infinite reverse;
}
@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Nodes: gepositioneerd op de ringen, parallax via --px/--py */
.net-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(
    calc(-50% + var(--px, 0px)),
    calc(-50% + var(--py, 0px))
  );
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.net-node.is-dim {
  opacity: 0.25;
  filter: saturate(0.4);
  pointer-events: none;
}
.net-float {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  animation: net-float var(--float-d, 8s) ease-in-out var(--float-delay, 0s)
    infinite;
}
@keyframes net-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Personen */
.net-avatar {
  width: clamp(44px, 8.5cqw, 84px);
  height: clamp(44px, 8.5cqw, 84px);
  border-radius: 50%;
  border: clamp(2px, 0.4cqw, 4px) solid #fff;
  padding: 0;
  overflow: hidden;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(13px, 2.4cqw, 24px);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(36, 42, 90, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.net-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
}
.net-avatar:hover,
.net-avatar:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 16px 34px -10px rgba(36, 42, 90, 0.55);
}
.net-avatar:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.pa-kind {
  background: linear-gradient(135deg, #34c759, #1f8a3d);
}
.pa-1 {
  background: linear-gradient(135deg, #14b8a6, #0f8473);
}
.pa-2 {
  background: linear-gradient(135deg, #4a6cf7, #2d4bd1);
}
.pa-3 {
  background: linear-gradient(135deg, #f5a623, #d68810);
}
.pa-4 {
  background: linear-gradient(135deg, #8b5cf6, #6d3fd6);
}
.pa-5 {
  background: linear-gradient(135deg, #3d4580, #242a5a);
}
.pa-6 {
  background: linear-gradient(135deg, #e8475f, #b82638);
}
.pa-7 {
  background: linear-gradient(135deg, #6873c7, #3d4580);
}
.pa-8 {
  background: linear-gradient(135deg, #2fb4c9, #147a8c);
}
.pa-9 {
  background: linear-gradient(135deg, #f57c4a, #d1531f);
}
.net-label {
  font-size: clamp(10px, 1.6cqw, 15px);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
}

/* Locaties */
.loc-circle {
  width: clamp(56px, 10.5cqw, 104px);
  height: clamp(56px, 10.5cqw, 104px);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.5cqw, 5px);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 14px 30px -12px rgba(36, 42, 90, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.loc-circle:hover,
.loc-circle:focus-visible {
  transform: scale(1.07);
  box-shadow: 0 20px 40px -12px rgba(36, 42, 90, 0.5);
}
.loc-circle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.loc-circle svg {
  width: clamp(16px, 3cqw, 30px);
  height: clamp(16px, 3cqw, 30px);
}
.loc-name {
  font-size: clamp(7px, 1.3cqw, 13px);
  font-weight: 700;
  line-height: 1.15;
  padding: 0 6px;
}
.loc-thuis .loc-circle {
  width: clamp(72px, 13cqw, 128px);
  height: clamp(72px, 13cqw, 128px);
  background: var(--primary);
  box-shadow: 0 20px 44px -14px rgba(36, 42, 90, 0.55);
}
.loc-thuis .loc-name {
  font-size: clamp(10px, 1.8cqw, 18px);
}
.loc-voetbal .loc-circle {
  background: var(--card-green);
}
.loc-dagbesteding .loc-circle {
  background: var(--card-purple);
}
.loc-therapie .loc-circle {
  background: var(--error);
}
.loc-school .loc-circle {
  background: var(--card-orange);
}
.loc-new .loc-circle {
  background: var(--primary-subtle);
  color: var(--primary);
  border: 2px dashed var(--primary-light);
  box-shadow: none;
  animation: new-pulse 3s ease-in-out infinite;
}
.loc-new .loc-circle:hover {
  background: #dde0ee;
  animation-play-state: paused;
}
@keyframes new-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(36, 42, 90, 0.16);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(36, 42, 90, 0);
  }
}

/* Actieve locatie na klik */
.network-stage[data-active]:not([data-active='']) .net-node:not(.is-dim)
  .loc-circle {
  box-shadow: 0 20px 44px -12px rgba(36, 42, 90, 0.55);
}

/* Popover met plan-rechten */
.net-pop {
  --tx: -50%;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translate(var(--tx), 6px);
  width: clamp(160px, 24cqw, 210px);
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}
.net-node:hover .net-pop,
.net-node:focus-within .net-pop,
.net-node.pop-open .net-pop {
  opacity: 1;
  pointer-events: auto;
  transform: translate(var(--tx), 0);
}
.net-node:hover,
.net-node.pop-open,
.net-node:focus-within {
  z-index: 30;
}
.pop-shift-l .net-pop {
  --tx: -80%;
}
.pop-shift-xl .net-pop {
  --tx: -108%;
}
.pop-shift-r .net-pop {
  --tx: -20%;
}
.pop-below .net-pop {
  bottom: auto;
  top: calc(100% + 12px);
  transform: translate(var(--tx), -6px);
}
.pop-below:hover .net-pop,
.pop-below:focus-within .net-pop,
.pop-below.pop-open .net-pop {
  transform: translate(var(--tx), 0);
}
.pop-title {
  font-size: clamp(11px, 1.5cqw, 13px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pop-note {
  font-size: clamp(11px, 1.4cqw, 12.5px);
  line-height: 1.45;
  margin: 0;
}
.pop-plans {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pop-plans li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(10px, 1.35cqw, 12px);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}
.pop-plans li.ok {
  background: var(--success);
  color: #fff;
}
.pop-plans li.ok::after {
  content: '✓';
  font-weight: 800;
}
.pop-plans li.lock {
  background: var(--surface);
  color: var(--text-tertiary);
}
.pop-plans li.lock::after {
  content: '🔒';
  font-size: 0.85em;
  filter: grayscale(1) opacity(0.55);
}

@media (prefers-reduced-motion: reduce) {
  .net-float,
  .ring-outer,
  .ring-inner,
  .loc-new .loc-circle {
    animation: none;
  }
}

/* =========================================================
   Feature grid
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
}
.icon-primary {
  background: var(--primary-subtle);
  color: var(--primary);
}
.icon-blue {
  background: rgba(74, 108, 247, 0.12);
  color: var(--card-blue);
}
.icon-green {
  background: rgba(52, 199, 89, 0.14);
  color: #1f8a3d;
}
.icon-orange {
  background: rgba(245, 166, 35, 0.14);
  color: #a36700;
}
.icon-purple {
  background: rgba(139, 92, 246, 0.14);
  color: #6d3fd6;
}
.icon-teal {
  background: rgba(20, 184, 166, 0.14);
  color: #0f8473;
}
.feature-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.55;
}

/* =========================================================
   Plans
   ========================================================= */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.plan-card {
  background: var(--surface-elevated);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease;
}
.plan-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}
.plan-card > * {
  position: relative;
  z-index: 1;
}
.plan-card:hover {
  transform: translateY(-3px);
}
.plan-warning::after {
  background: var(--error);
}
.plan-moment::after {
  background: var(--card-blue);
}
.plan-reward::after {
  background: var(--card-orange);
}
.plan-approach::after {
  background: var(--card-purple);
}
.plan-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-subtle);
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.plan-warning .plan-badge {
  background: rgba(232, 71, 95, 0.12);
  color: #b82638;
}
.plan-moment .plan-badge {
  background: rgba(74, 108, 247, 0.12);
  color: var(--card-blue);
}
.plan-reward .plan-badge {
  background: rgba(245, 166, 35, 0.14);
  color: #a36700;
}
.plan-approach .plan-badge {
  background: rgba(139, 92, 246, 0.14);
  color: #6d3fd6;
}
.plan-card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.plan-card p {
  font-size: 15px;
  margin-bottom: 20px;
}
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.plan-checks .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
.plan-checks .check.pending {
  background: var(--surface);
  color: var(--text-tertiary);
  border: 1.5px dashed var(--border);
}
.mini-stickers {
  display: flex;
  gap: 6px;
}
.mini-stickers span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--card-orange), #ffcd5a);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  box-shadow: 0 3px 8px -2px rgba(245, 166, 35, 0.45);
}
.mini-stickers span.off {
  background: var(--surface);
  color: var(--text-tertiary);
  box-shadow: none;
  border: 1px dashed var(--border);
}
.icon-chip {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 15px;
}

/* =========================================================
   Workflow
   ========================================================= */
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.workflow-grid h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.workflow-grid .lead {
  margin-bottom: 32px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}
.steps h4 {
  font-size: 17px;
  margin-bottom: 4px;
}
.steps p {
  font-size: 15px;
}

.workflow-visual {
  position: relative;
}
.people-card {
  background: var(--surface-elevated);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.people-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.people-head span:first-child {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.count {
  background: var(--primary-subtle);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.person {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
}
.person-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.person-role {
  font-size: 12px;
  color: var(--text-secondary);
}
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.badge-primary {
  background: var(--primary-subtle);
  color: var(--primary);
}
.badge-info {
  background: rgba(74, 108, 247, 0.12);
  color: var(--card-blue);
}
.badge-warning {
  background: rgba(245, 166, 35, 0.14);
  color: #a36700;
}
.badge-muted {
  background: var(--surface);
  color: var(--text-secondary);
}

/* =========================================================
   Quote
   ========================================================= */
.quote-section {
  padding-top: 0;
  padding-bottom: 96px;
}
.quote {
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary) 0%, #1a1f45 100%);
  color: var(--text-inverse);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.quote::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
}
.quote::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 70%);
}
.quote-mark {
  font-size: 80px;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: -20px;
  position: relative;
}
.quote blockquote {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 32px;
  position: relative;
  letter-spacing: -0.01em;
}
.quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  position: relative;
}
.q-name {
  font-weight: 700;
  font-size: 15px;
}
.q-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   CTA
   ========================================================= */
.cta-section {
  padding: 0 0 96px;
}
.cta-card {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: var(--text-inverse);
  border-radius: var(--radius-xl);
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(74, 108, 247, 0.28),
    transparent 70%
  );
  border-radius: 50%;
}
.cta-copy {
  position: relative;
}
.cta-copy h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--text-inverse);
  line-height: 1.15;
  margin-bottom: 12px;
}
.cta-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 440px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  position: relative;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.faq-grid h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 14px;
}
.faq-grid p {
  font-size: 17px;
}
.faq-cta {
  margin-top: 28px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
details {
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
details[open] {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  /* Padding op de summary i.p.v. de details: zo is de hele regel
     aanklikbaar en haalt het tikdoel de 44px-ondergrens. */
  padding: 20px 0;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: '+';
  font-size: 22px;
  color: var(--text-tertiary);
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] summary::after {
  content: '–';
  color: var(--primary);
}
details p {
  margin-top: -4px;
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-intro h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 14px;
}
.contact-intro .lead {
  margin-bottom: 32px;
}
.contact-list {
  display: flex;
  flex-direction: column;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-list li:last-child {
  border-bottom: 0;
}
.contact-list .ci {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-subtle);
  color: var(--primary);
  flex: none;
}
.contact-list .ci-lbl {
  display: block;
  font-size: 12.5px;
  color: var(--text-tertiary);
}
.contact-list .ci-val {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-top: 2px;
}

/* honeypots: onzichtbaar én uit de a11y-boom, maar niet display:none —
   veel bots slaan display:none-velden over en vullen deze juist wél in.
   clip-path houdt ze binnen de layout (geen horizontale scroll op mobiel,
   anders dan bij het klassieke left:-9999px). */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form-in {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.contact-form-in .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form-in .field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.contact-form-in .optional {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--text-tertiary);
}
.contact-form-in input,
.contact-form-in textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.17s ease, box-shadow 0.17s ease;
}
.contact-form-in textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.contact-form-in input:hover,
.contact-form-in textarea:hover {
  border-color: var(--primary-light);
}
.contact-form-in input:focus,
.contact-form-in textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 42, 90, 0.14);
}

/* veld in foutstaat */
.contact-form-in .field:has(.field-error) input,
.contact-form-in .field:has(.field-error) textarea {
  border-color: var(--error);
}
.contact-form-in .field:has(.field-error) input:focus,
.contact-form-in .field:has(.field-error) textarea:focus {
  box-shadow: 0 0 0 3px rgba(232, 71, 95, 0.16);
}
.contact-form-in .field-error {
  font-size: 14px;
  font-weight: 500;
  color: var(--error);
}

/* algemene fout bovenaan het formulier */
.contact-form-in .form-error {
  font-size: 14px;
  font-weight: 500;
  color: #b82638;
  background: rgba(232, 71, 95, 0.08);
  border: 1px solid rgba(232, 71, 95, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

/* inline succesmelding na AJAX-verzending (formulier blijft staan) */
.contact-form-in .form-success-inline {
  font-size: 14px;
  font-weight: 500;
  color: #1f8a3d;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.contact-form-in [hidden] {
  display: none;
}
.contact-form-in .btn-primary {
  align-self: start;
}
.contact-form-in .btn-primary[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* succesbericht na verzenden zonder JS — zelfde kaarttaal als het formulier */
.form-success {
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.form-success h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--surface);
  padding: 72px 0 32px;
  border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-tag {
  margin-top: 14px;
  max-width: 320px;
  font-size: 14px;
}
.site-footer h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

/* -------- Inlogpagina -------- */
.auth {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px 24px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.auth-brand {
  display: inline-flex;
  margin-bottom: 28px;
}
/* Iets groter dan in de header: hier draagt het logo de hele pagina. */
.auth-brand .brand-logo {
  width: 128px;
}
.auth-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
/* Op de 404-pagina volgt direct een uitleg-alinea. */
.error-code + .auth-title {
  margin-bottom: 10px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-form .field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.auth-form input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.17s ease, box-shadow 0.17s ease;
}
.auth-form input:hover {
  border-color: var(--primary-light);
}
.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 42, 90, 0.14);
}
/* Foutmelding boven het formulier, zelfde stijl als bij contact. */
.auth-form .form-error {
  font-size: 14px;
  font-weight: 500;
  color: #b82638;
  background: rgba(232, 71, 95, 0.08);
  border: 1px solid rgba(232, 71, 95, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}
.auth-foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-secondary);
}
.auth-foot a {
  color: var(--primary);
  font-weight: 600;
}
.auth-foot a:hover,
.auth-back a:hover {
  text-decoration: underline;
}
.auth-back {
  font-size: 14px;
}
.auth-back a {
  color: var(--text-secondary);
}

/* -------- 404 -------- */
.error-code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}
.error-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 26px;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* De 404-kaart heeft twee knoppen naast elkaar; iets breder dan het
   inlogformulier zodat ze niet stapelen. */
.auth-card:has(.error-code) {
  max-width: 520px;
}

/* =========================================================
   Responsive
   ========================================================= */
/* Tussenmaat: laat de nav krimpen voordat hij inklapt */
@media (max-width: 1100px) {
  .nav-links {
    gap: 20px;
    margin-left: 4px;
  }
  .nav-links a {
    font-size: 14px;
  }
  .btn {
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    min-height: 560px;
  }
  /* In één kolom staat de telefoon gecentreerd; houd de zwevende kaart
     binnen de viewport zodat er geen horizontale scrollbalk ontstaat. */
  .float-reward {
    right: -16px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 32px;
  }
  .cta-actions {
    justify-content: center;
  }
  .cta-copy p {
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .nav-links {
    gap: 16px;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    order: 3;
  }
  .nav {
    gap: 12px;
    height: 64px;
  }
  .nav-cta {
    order: 2;
    margin-left: auto;
  }
  .nav-toggle {
    margin-left: 0;
  }
  .brand-logo {
    width: 96px;
  }

  /* Links worden een uitklapbaar paneel onder de header */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 45;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 460px) {
  .auth {
    padding: 32px 16px;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .nav {
    gap: 8px;
  }
  .nav-cta .btn-primary {
    padding: 9px 12px;
    font-size: 13px;
  }
  .brand-logo {
    width: 84px;
  }
}

/* Kleinste telefoons: alleen logo + hamburger, CTA zit in het menu */
@media (max-width: 360px) {
  .nav-cta {
    display: none;
  }
  .nav-links .nav-links-cta {
    display: block;
    margin-top: 12px;
    padding: 0;
    border-bottom: 0;
  }
  .nav-links .nav-links-cta .btn-primary {
    display: flex;
    justify-content: center;
    width: 100%;
    color: var(--text-inverse);
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  /* Locatiebalk: op mobiel wordt de rij een net 2-koloms raster met het
     kopje op een eigen regel erboven. Los liepen de items ongelijk over
     vier regels. */
  .strip {
    padding: 26px 0 28px;
  }
  .strip-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
    justify-content: stretch;
  }
  .strip-inner > span:first-child {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 4px;
  }
  .loc {
    justify-content: flex-start;
    font-size: 14px;
  }

  .section {
    padding: 72px 0;
  }
  .hero {
    padding: 32px 0 48px;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .phone {
    transform: scale(0.92);
  }
  /* Houd de zwevende kaart weg van de avatar en de tegels. */
  .float-reward {
    right: -8px;
    top: -34px;
    width: 176px;
    transform: scale(0.82);
    transform-origin: top right;
  }
  .quote {
    padding: 44px 28px;
  }
  .contact-form-in,
  .form-success {
    padding: 24px;
  }
  .contact-form-in .btn-primary {
    align-self: stretch;
    justify-content: center;
  }
  .cta-card {
    padding: 36px 24px;
  }
  .nav {
    height: 64px;
  }
  .brand-logo {
    width: 96px;
  }
}
