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

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-text: #6b6b6b;
  --btn-bg: #1a1a1a;
  --btn-text: #ffffff;
  --side-padding: 20px;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --font-serif: 'Young Serif', Georgia, serif;

  /* Animation timing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  font-family: var(--font-body);
  color: var(--black);
  min-height: 100vh;
  overflow-x: hidden;
}


/* ════════════════════════
   ACHTERGROND
════════════════════════ */
.bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-image {
  position: absolute;
  top: 20%;
  left: 0%;
  width: 100%;
  height: 100%;
  background: url('images/background.png') center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 50%, black 70%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 50%, black 70%);
}

@media (min-width: 768px) {
  .bg-image {
    top: 10%;
    left: -30%;
    width: 100%;
    background-size: contain;
    background-position: center bottom;
  }
}

header, section, footer, .cta-section, .testimonial, .divider {
  position: relative;
  z-index: 1;
}


/* ════════════════════════
   HEADER
════════════════════════ */
header {
  height: 125px;
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  position: relative;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--side-padding) 20px var(--side-padding);
}

@media (min-width: 768px) {
  .header-inner {
    max-width: 680px;
    margin: 0 auto;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--black);
  position: relative;
  height: 60px;
}

.logo img {
  position: absolute;
  top: 50%;
  transform: translateY(-48%);
  width: 75px;
  height: 75px;
  object-fit: contain;
  /* gentle breathing rotation */
  animation: logoBreath 8s ease-in-out infinite;
}

@keyframes logoBreath {
  0%, 100% { transform: translateY(-48%) rotate(0deg); }
  50%       { transform: translateY(-48%) rotate(4deg); }
}

.logo-text {
  font-family: var(--font-body);
  line-height: 1.15;
  position: relative;
  z-index: 1;
  padding-left: 24px;
}

.logo-text .keto   { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.logo-text .bewust { font-weight: 100; font-size: 16px; }
.logo-text .metRick { font-weight: 100; font-size: 14px; }

/* ════════════════════════
   HAMBURGER
════════════════════════ */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0px;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 100;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--black);
  transition: background 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  transform-origin: center;
}

.menu-open .hamburger span { background: var(--white); }
.menu-open .hamburger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Wanneer menu open is: streepjes worden wit */
.menu-open .hamburger span {
  background: var(--white);
}

/* Scroll offset voor anker-links (compenseert sticky header) */
#aanpak,
#voor-wie,
#verhaal,
#videos {
  scroll-margin-top: 207px;
}

/* ════════════════════════
   FULLSCREEN MENU
════════════════════════ */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 50px;
  padding-right: 0;
  /* animatie: schuift van boven naar beneden */
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.fullscreen-menu.open {
  clip-path: inset(0 0 0% 0);
  pointer-events: all;
}

.fullscreen-menu ul {
  list-style: none;
  text-align: right;
  padding: 0 var(--side-padding);
  width: 100%;
  max-width: 680px;
}

@media (min-width: 680px) {
  .fullscreen-menu ul {
    padding-right: calc((100vw - 680px) / 2 + var(--side-padding));
    padding-left: 0;
  }
}

.fullscreen-menu ul li {
  overflow: hidden; /* nodig voor de slide-in van de tekst */
}

.fullscreen-menu ul li a {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  padding: 12px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              color 0s;
}

.fullscreen-menu.open ul li:nth-child(1) a { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.fullscreen-menu.open ul li:nth-child(2) a { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.fullscreen-menu.open ul li:nth-child(3) a { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.fullscreen-menu.open ul li:nth-child(4) a { opacity: 1; transform: translateY(0); transition-delay: 0.75s; }

.fullscreen-menu ul li a:hover {
  color: rgba(255,255,255,0.5);
  transition-delay: 0s;
}

/* Logo tekst wordt wit als menu open is */
.logo-text .keto,
.logo-text .bewust,
.logo-text .metRick {
  transition: color 0.2s ease;
}

.menu-open .logo-text .keto,
.menu-open .logo-text .bewust,
.menu-open .logo-text .metRick {
  color: var(--white);
  transition-delay: 0s;
}

/* Header moet boven het menu uitkomen */
.header-inner {
  position: relative;
  z-index: 100;
}

/* ════════════════════════
   MENU SOCIALS
════════════════════════ */
.menu-socials {
  display: flex;
  gap: 20px;
    padding-right: var(--side-padding);
  padding-left: 0;
  width: 100%;
  max-width: 680px;
  justify-content: flex-end;
  margin-top: 100px;
    opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 680px) {
  .menu-socials {
    padding-right: calc((100vw - 680px) / 2 + var(--side-padding));
  }
}

.fullscreen-menu.open .menu-socials {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.05s;
}

.menu-socials a {
  color: rgba(255,255,255,0.5);
  transition: color 0s;
  display: flex;
}

.menu-socials a:hover {
  color: var(--white);
}

/* ════════════════════════
   CONTENT WRAPPER (centering)
════════════════════════ */
@media (min-width: 768px) {
  .divider,
  .content,
  .cta-section,
  .testimonial {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  footer { max-width: 100%; }
}


/* ════════════════════════
   HERO
════════════════════════ */
.hero {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.hero-img-mobile {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% top;
  filter: contrast(1.1) saturate(1.025);
}

.hero-img-desktop {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.025);
}

@media (min-width: 768px) {
  .hero {
    height: 70vh;
    max-height: 600px;
    margin-top: 0;
    overflow: hidden;
  }

  .hero-img-mobile { display: none; }

  .hero-img-desktop {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;

  }
}

/* Gradient overlay */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90%;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.8) 30%,
    rgba(255,255,255,0.4) 60%,
    rgba(255,255,255,0.1) 80%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero::after {
    height: 70%;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  }
}

/* Hero text */
.hero-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 var(--side-padding) 20px;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-text {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 var(--side-padding) 0px;
    z-index: 3;
  }

  .intro {
    position: relative;
    z-index: 2;
    margin-top: 60px;
  }
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--black);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-text h1 { font-size: 36px; max-width: 66%; }
}

.hero-text h2 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--gray-text);
  letter-spacing: -0.02em;
}

.hero-text h2 strong {
  font-weight: 400;
  color: var(--black);
}

/* Hero text entrance */
.animate-hero {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 1s var(--ease-out) 0.3s forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════
   DIVIDER
════════════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0),
    rgba(0,0,0,0.3) 20%,
    rgba(0,0,0,0.3) 80%,
    rgba(0,0,0,0)
  );
  margin-top: 80px;
  margin-bottom: 80px;
  /* animated width reveal */
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-out);
}

.divider.visible { transform: scaleX(1); }


/* ════════════════════════
   SCROLL REVEAL — base states
════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children (aanpak cards) */
.reveal-stagger {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-stagger.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger:nth-child(1) { transition-delay: 0s;    }
.reveal-stagger:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger:nth-child(3) { transition-delay: 0.24s; }



/* ════════════════════════
   BODYTEKST
════════════════════════ */
.content {
  padding: 0 var(--side-padding);
}

.content.reveal {
  margin-top: 30px;
}

.content p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 200;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 14px;
}

.content p:last-child { margin-bottom: 0; }

.content p strong { font-weight: 600; }

.content-heading {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 20px;
}

.content-heading-small {
  
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 300;
  color: var(--gray-text);
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* ════════════════════════
   INSTAGRAM GRID
════════════════════════ */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 var(--side-padding);
  margin-top: 32px;
  margin-bottom: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--side-padding);
  }
}

.insta-item {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f0f0;
  display: block;
}

.insta-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.insta-item:hover video {
  transform: scale(1.03);
}

/* ════════════════════════
   AANPAK GRID
════════════════════════ */
.aanpak-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .aanpak-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
  }
}

.aanpak-item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin: -20px;
  border-radius: 12px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

@media (min-width: 768px) {
  .aanpak-item:hover {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
  }

  .aanpak-item h4 {
    min-height: 3.5em;
    display: flex;
    align-items: flex-start;
  }
}

.item-number {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.aanpak-item h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--black);
  line-height: 1.2;
}

.aanpak-item p {
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}


/* ════════════════════════
   CHECK-LIST
════════════════════════ */
.check-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.check-list li {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 200;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}

.check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gray-text);
  font-weight: 300;
}


/* ════════════════════════
   CTA
════════════════════════ */
.cta-section {
  padding: 0 var(--side-padding) 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-primary {
  display: block;
  width: 100%;
  max-width: 295px;
  padding: 15px 24px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #262626;
  transform: translateY(1px);
}

.cta-sub {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 200;
  color: var(--gray-text);
  text-align: center;
  font-style: italic;
}


/* ════════════════════════
   TESTIMONIAL
════════════════════════ */
.testimonial {
  padding: 0 var(--side-padding) 8px;
  text-align: center;
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 6px;
}

.testimonial cite {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 200;
  font-style: normal;
  color: var(--gray-text);
}

/* ════════════════════════
   CAROUSEL
════════════════════════ */
.carousel {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  -webkit-transform: translateX(0);
}

.carousel-slide {
  min-width: 100%;
  padding: 0 var(--side-padding);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-text);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
  background: var(--black);
}

/* ════════════════════════
   VERHAAL
════════════════════════ */
.story-section { margin-bottom: 80px; }

.story-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 1%;
}

@media (min-width: 768px) {
  .story-wrapper {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
}

.story-avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  /* gentle float */
  animation: avatarFloat 6s ease-in-out infinite;
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-4px); }
}

.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.story-text h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--black);
}

.story-text p {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 200;
  margin-bottom: 0;
}

/* ════════════════════════
   COMMUNITY
════════════════════════ */
.community-section {
  text-align: center;
}

.community-link {
  text-decoration: none;
  color: var(--black);
  display: block;
}

.community-visual {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.community-img {
  width: 140px;
  transition: transform 0.3s var(--ease-out);
}

.community-link:hover .community-img {
  transform: scale(1.05);
}

.community-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--gray-text);
}

.community-contact {
  margin-top: 40px;
}

.community-contact p {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.community-contact a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--black);
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s;
}

.community-section .content-heading {
  margin-bottom: 6px;
}

.community-contact a:hover { color: var(--gray-text); }

/* ════════════════════════
   FOOTER
════════════════════════ */
footer { padding: 0; }

.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px var(--side-padding) 40px;
  display: flex;
  justify-content: flex-end;
  text-align: left;
  gap: 20px;
}

.footer-info a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--black);
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s;
}

.footer-label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 6px;
}

.footer-info a:hover { color: var(--gray-text); }

