/* ============================================================
   BOEKHOUDING VOOR TRADERS — style.css
   Design: Modern & Clean · Inspired by lemonade.com
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  /* Colors */
  --bg-primary: #F8FAFC;
  --bg-alt: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-dark: #1E293B;
  --bg-ink: #020617;
  --text-primary: #111827;
  --text-muted: #6B7280;
  --text-on-dark: #FFFFFF;

  /* Accent - Lichter groen voor betere uitstraling */
  --accent: #4ADE80;
  --accent-hover: #22C55E;
  --accent-dim: rgba(74, 222, 128, 0.12);

  --bear-red: #EF4444;
  --bear-red-dim: rgba(239, 68, 68, 0.10);

  /* Typography */
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --radius: 12px;
  --radius-sm: 8px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

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

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

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Typography ───────────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: background-color 0.2s ease,
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.btn--green {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn--green:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.30);
}

.btn--green:active {
  transform: translateY(0);
}

.btn--lg {
  font-size: 1rem;
  padding: 0.9rem 2.25rem;
}

/* ── Reveal Animations ────────────────────────────────────── */
.reveal-ready {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 0.65rem;
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s var(--ease-out),
    padding 0.3s var(--ease-out);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  padding-block: 0.5rem;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--bg-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav__logo--accent {
  color: var(--accent);
}

.nav__cta {
  margin-top: 6px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Ensure children like .container don't get centered if margin: auto fails */
  justify-content: flex-start;
  background-color: var(--bg-dark);
  padding-top: 10rem;
  padding-bottom: var(--space-xl);
  overflow: hidden;
  position: relative;
}

.hero .container {
  width: 100%;
  /* Force it to take space so margin-inline auto works reliably */
  text-align: left;
}

.hero__content {
  max-width: 840px;
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  text-align: left;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero__headline--italic {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}

.hero__sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.6;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  max-width: 460px;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.hero__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left,
      var(--bg-dark) 25%,
      transparent 80%);
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  display: block;
  opacity: 1;
  transform: scale(1.08) translate(-1%, 1%);
}

@media (max-width: 1023px) {
  .hero .container {
    padding-top: 2rem;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero__visual::after {
    background: linear-gradient(to top,
        var(--bg-dark) 20%,
        rgba(30, 41, 59, 0) 80%);
  }

  .hero__bg-img {
    opacity: 0.4;
    object-position: center;
  }

  .hero__actions {
    align-items: flex-start;
  }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__scroll span {
  display: block;
  width: 3px;
  height: 80px;
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ── PAIN POINTS ──────────────────────────────────────────── */
.pain {
  background-color: var(--bg-alt);
  padding-block: var(--space-xl);
  text-align: center;
}

.pain .eyebrow {
  margin-inline: auto;
}

.pain .section-title {
  max-width: 680px;
  margin-inline: auto;
}

.pain__intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.6;
  margin-inline: auto;
}

.pain__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: var(--space-lg);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  max-width: 760px;
  margin-inline: auto;
}

/* ── PAIN ZIGZAG ──────────────────────────────────────── */
.pain__zigzag {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: var(--space-lg);
}

.pain__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 3rem;
  border: 2px solid #FFFFFF;
  border-radius: 20px;
  background-color: var(--bg-card);
  width: fit-content;
  margin-inline: auto;
}

/* Reverse: image on right, text on left */
.pain__row--reverse {
  flex-direction: row-reverse;
}

/* Image wrapper */
.pain__img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4 / 3;
  width: 320px;
  flex-shrink: 0;
}

.pain__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.pain__img-wrap:hover .pain__img {
  transform: scale(1.04);
}

.pain__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}

/* Rows 1 and 3: Align the bubble and text to the right */
.pain__row:not(.pain__row--reverse) .pain__text {
  text-align: right;
  align-items: flex-end;
}

/* Rows 2 and 4: Align the bubble and text to the left */
.pain__row--reverse .pain__text {
  text-align: left;
  align-items: flex-start;
}

.pain__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--accent);
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.pain__question {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.pain__answer {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
}

/* ── TELEFOON: stapelen (≤640px — iPhone SE, 14 Pro Max) ──── */
@media (max-width: 640px) {
  .pain__row,
  .pain__row--reverse {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 1.5rem;
  }
  .pain__zigzag {
    gap: 2rem;
  }
  .pain__text {
    align-items: center;
    text-align: center;
  }
  .pain__row:not(.pain__row--reverse) .pain__text {
    text-align: center;
    align-items: center;
  }
  .pain__img-wrap {
    width: 100%;
    max-width: 100%;
  }
}

/* ── TABLET: iPad portrait 641px–1023px ──────────────────── */
@media (min-width: 641px) and (max-width: 1023px) {
  /* Pain: naast elkaar maar compacter */
  .pain__row {
    padding: 1.5rem 2rem;
    gap: 2rem;
    width: fit-content;
    max-width: 100%;
  }
  .pain__img-wrap {
    width: 220px;
  }
  .pain__text {
    max-width: 340px;
  }

  /* Steps: 2 kolommen op iPad */
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero: iets minder hoog */
  .hero {
    padding-top: 8rem;
  }
}

/* ── TELEFOON algemeen: iPhone 14 Pro Max en kleiner (≤430px) */
@media (max-width: 430px) {
  /* Nav */
  .nav__logo {
    font-size: 0.95rem;
  }
  .nav__cta {
    font-size: 0.8rem;
    padding: 0.55rem 1rem;
  }

  /* Hero */
  .hero {
    padding-top: 7rem;
    padding-bottom: var(--space-lg);
  }

  .hero__bg-img {
    object-position: 70% center;
  }

  /* Secties: minder verticale ruimte */
  .pain,
  .solution,
  .steps,
  .trust,
  .cta-section {
    padding-block: var(--space-lg);
  }

  /* Pain intro */
  .pain__intro {
    font-size: 1rem;
  }

  /* Steps */
  .steps__sub {
    font-size: 0.95rem;
  }

  /* Buttons */
  .btn--lg {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
}

/* ── Zeer klein scherm (320px) ───────────────────────────── */
@media (max-width: 320px) {
  .nav__cta {
    display: none;
  }
  .nav__logo {
    font-size: 0.85rem;
  }
}

/* ── iPhone SE (375px) ───────────────────────────────────── */
@media (max-width: 375px) {
  .nav__logo {
    font-size: 0.82rem;
  }
  .nav__cta {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  .hero {
    padding-top: 6rem;
  }
  .pain__row {
    padding: 1.25rem 1rem;
  }
  .hero__sub {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* ── SOLUTION / OPLOSSING ─────────────────────────────────── */
.solution {
  background-color: var(--bg-primary);
  padding-block: var(--space-xl);
}

.solution__content {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.solution__text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.solution__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .solution__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.solution__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s var(--ease-out);
}

.solution__item:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.solution__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 50%;
  flex-shrink: 0;
}

.solution__check svg {
  width: 16px;
  height: 16px;
}

.solution__label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

/* ── HOW IT WORKS / STEPS ─────────────────────────────────── */
.steps {
  background-color: var(--bg-alt);
  padding-block: var(--space-xl);
}

.steps__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps__header .section-title {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.steps__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  margin-top: 1rem;
}

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

@media (min-width: 1024px) {
  .steps__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step__icon-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  z-index: 2;
}

.step__num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--bg-card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
  z-index: 3;
  transition: transform 0.3s var(--ease-out);
}

.step:hover .step__num {
  transform: translateY(-4px) scale(1.05);
}

.step__svg {
  width: 32px;
  height: 32px;
}

.step__connector {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 24px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .step__connector {
    display: none;
  }
}

.step__wave {
  width: 100%;
  height: 100%;
  color: rgba(34, 197, 94, 0.4);
}

.step__wave path {
  vector-effect: non-scaling-stroke;
}

.step__content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.step__content p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── TRUST ────────────────────────────────────────────────── */
.trust {
  background-color: var(--bg-primary);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-md);
}

/* ── Testimonial CSS Marquee ──────────────────────────────────── */
.reviews-section {
  padding-bottom: 0;
  margin-bottom: var(--space-sm);
}

.reviews-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.reviews-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.reviews-stars {
  display: flex;
  gap: 0.5rem;
}

.reviews-stars svg {
  width: 44px;
  height: 44px;
}

.reviews-stars svg:not(.star-half) {
  fill: var(--accent);
}

.reviews-stars svg.star-half {
  fill: none;
}

/* Marquee infinite scroll wrapper */
.marquee-container {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1rem 0 3rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
  flex-shrink: 0;
  animation: marquee-scroll 45s linear infinite;
  min-width: max-content;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 2rem));
  }
}

/* Individual Card */
.review-card {
  width: 360px;
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s var(--ease-out);
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Colors for avatars */
.bg-a1 {
  background: linear-gradient(135deg, #111827, #374151);
}

.bg-a2 {
  background: linear-gradient(135deg, #22C55E, #14532D);
}

.bg-a3 {
  background: linear-gradient(135deg, #3B82F6, #1E3A8A);
}

.bg-a4 {
  background: linear-gradient(135deg, #F59E0B, #78350F);
}

.bg-a5 {
  background: linear-gradient(135deg, #8B5CF6, #4C1D95);
}

.review-card__author {
  display: flex;
  flex-direction: column;
}

.review-card__author strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.review-card__author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-card__body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

/* ── FINALE CTA ───────────────────────────────────────────── */
.cta-section {
  background-color: var(--bg-alt);
  padding-block: var(--space-xl);
}

.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.cta-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.cta-section__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 720px;
}

.calendly-inline-widget {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  background-color: var(--bg-card);
  /* Ensure rounded corners aren't transparent if iframe doesn't cover */
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background-color: var(--bg-ink);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-md);
}

.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;
}

.footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(34, 197, 94, 0.3), transparent);
  margin-bottom: var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Op mobile: alles centreren en brand als laatste */
@media (max-width: 639px) {
  .footer__grid {
    gap: 0;
  }

  .footer__col {
    align-items: center;
    text-align: center;
    padding-block: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
  }

  .footer__col--brand {
    order: 3;
    border-bottom: none;
    padding-top: 2rem;
  }

  .footer__heading {
    text-align: center;
    width: 100%;
  }

  .footer__nav {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer__nav a {
    text-align: center;
    width: 100%;
  }

  .footer__address {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer__address p {
    text-align: center;
  }
}

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

@media (min-width: 1024px) {
  .footer__grid {
    gap: 3rem;
  }
}

.footer__grid > .footer__col {
  justify-self: center;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  text-align: left;
}

.footer__col--brand {
  align-items: center;
  text-align: center;
}

.footer__col--brand .footer__tagline,
.footer__col--brand .footer__form {
  margin-inline: auto;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.footer__logo span {
  color: var(--accent);
}

.footer__tagline {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  color: #FFFFFF;
  max-width: 260px;
}

.footer__email-label {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  color: #FFFFFF;
  max-width: 260px;
  margin-bottom: 0.5rem;
}

.footer__form {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 280px;
}

.footer__input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer__input::placeholder {
  color: #9CA3AF;
}

.footer__input:focus {
  border-color: var(--accent);
  background: #FFFFFF;
}

.footer__send {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0 0.9rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  cursor: pointer;
}

.footer__send svg {
  width: 18px;
  height: 18px;
}

.footer__send:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #FFFFFF;
  transition: color 0.2s ease;
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__address p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
  color: #FFFFFF;
}

.footer__address a {
  color: #FFFFFF;
  transition: color 0.2s ease;
}

.footer__address a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  padding-top: var(--space-md);
}

.footer__bottom > span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* ============================================================
   MOBILE RESPONSIVE FIXES
   ============================================================ */

/* Hero: te hoge padding op medium telefoons (431–640px) */
@media (min-width: 431px) and (max-width: 640px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: var(--space-lg);
  }
}

/* Nav: voorkomen dat logo en button overlappen op 376–430px */
@media (min-width: 376px) and (max-width: 430px) {
  .nav__inner {
    gap: 0.5rem;
  }
  .nav__logo {
    min-width: 0;
    flex-shrink: 1;
  }
}

/* Nav CTA: korte tekst op kleine schermen */
.nav__cta--short { display: none; }
@media (max-width: 410px) {
  .nav__cta--long { display: none; }
  .nav__cta--short { display: inline; }
}

/* Nav logo: zelfde grootte als 430px tot 440px */
@media (min-width: 431px) and (max-width: 440px) {
  .nav__logo {
    font-size: 0.95rem;
  }
}

/* Nav CTA: zelfde grootte als 430px tot 495px */
@media (min-width: 431px) and (max-width: 495px) {
  .nav__cta {
    font-size: 0.8rem;
    padding: 0.55rem 1rem;
  }
}

/* Pain rows: stacking op 641–767px (kleine tablets/grote telefoons) */
@media (min-width: 641px) and (max-width: 767px) {
  .pain__zigzag {
    gap: 2rem;
  }
  .pain__row,
  .pain__row--reverse {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
  }
  .pain__img-wrap {
    width: 100%;
    max-width: 420px;
  }
  .pain__text,
  .pain__row:not(.pain__row--reverse) .pain__text,
  .pain__row--reverse .pain__text {
    text-align: center;
    align-items: center;
    max-width: 100%;
  }
  .pain__intro {
    font-size: 1rem;
  }
}

/* Pain zigzag gap op 768–1023px tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .pain__zigzag {
    gap: 3rem;
  }
}

/* Section-title: minder margin-bottom op mobiel */
@media (max-width: 767px) {
  .section-title {
    margin-bottom: var(--space-md);
  }
  .steps__grid {
    gap: 2rem;
  }
}

/* Footer: form en labels volle breedte op telefoon */
@media (max-width: 639px) {
  .footer__col--brand {
    align-items: center;
  }
  .footer__tagline,
  .footer__email-label {
    max-width: 100%;
  }
  .footer__form {
    max-width: 280px;
    width: auto;
  }
}

/* CTA sectie: Calendly widget hoogte op kleine telefoons */
@media (max-width: 480px) {
  .cta-section__sub br {
    display: none;
  }
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll span {
    animation: none;
    opacity: 0.5;
  }

  .btn {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}