body {
  font-family: Inter, light, sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
  background-color: #faf6f2;
  color: #5d5d5d;
  letter-spacing: 0.05em;
  letter-spacing: 0.05em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Melodrama", serif;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  letter-spacing: 0.05em;
}

p {
  margin: 0;
  padding: 0;
}

/* Fix algemene overflow */
html,
body {
  overflow-x: hidden;
}

/* Enable smooth in-page anchor scrolling */
html {
  scroll-behavior: smooth;
}

/* Centered scroll-to-top arrow (appears on scroll-up) */
.scroll-top-arrow {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(-140%);
  z-index: 2200;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #212121;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 200ms ease;
  opacity: 0;
}

.scroll-top-arrow.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  animation: scroll-bounce 1.6s infinite ease-in-out;
}

@keyframes scroll-bounce {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes soft-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes contact-watermark-loop {
  from {
    background-position: 0 50%;
  }
  to {
    background-position: calc(var(--contact-watermark-width) * -1) 50%;
  }
}

.is-preloading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf6f2;
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: min(58vw, 300px);
  height: auto;
  overflow: visible;
}

.preloader-logo-base {
  fill: rgba(33, 33, 33, 0.12);
}

.preloader-logo-fill {
  fill: #212121;
}

.preloader-fill-rect {
  animation: logo-fill 1500ms cubic-bezier(0.72, 0, 0.18, 1) forwards;
  transform-box: fill-box;
  transform-origin: left center;
}

.scroll-top-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.container {
  display: flex;
  flex-direction: column;
  /* align-items: center;
  justify-content: center; */
  padding: 0 10%;
}

/* Form Styles */

.formcontainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.form {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  max-height: calc(100dvh - 40px);
  justify-content: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  transition:
    transform 250ms ease,
    opacity 250ms ease;
  position: absolute;
  align-items: center;
  padding: 80px 40px;
  box-sizing: border-box;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50px 50px 5px 5px;
  background-color: #faf6f2;
  z-index: 10000;
}

/* Wanneer .formcontainer krijgt de .open klasse, toon de form met animatie */
.formcontainer.open .form {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.persoonlijkbericht {
  text-align: center;
}

.persoonlijkbericht h1 {
  margin-bottom: 40px;
  margin-top: 40px;
}
.persoonlijkbericht h3 {
  margin-bottom: 10px;
}

.persoonlijkbericht p {
  margin-bottom: 20px;
  color: #212121;
}

.form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.form button {
  border: none;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
  border-radius: 10px;
  /* border-radius: 20px; */
  color: #5d5d5d;
  background-color: #faf6f2;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Inter, light, sans-serif;
  font-weight: 300;
  width: fit-content;
  font-size: 0.9rem;
  margin-top: 20px;
  align-self: center;
}

.form button:hover {
  background-color: #5d5d5d;
  color: #f5f4ef;
  transition: all 0.6s ease;
  cursor: pointer;
}

.form-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: center;
  min-height: 420px;
  max-width: 420px;
  text-align: center;
  color: #212121;
}

.form-thanks-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(33, 33, 33, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #212121;
  background: rgba(250, 246, 242, 0.68);
}

.form-thanks-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.form-thanks h1 {
  margin-top: 10px;
}

.form-thanks p {
  line-height: 1.6;
}

.form.is-success .persoonlijkbericht,
.form.is-success #waitlistForm,
.form.is-success .form-feedback {
  display: none;
}

.form.is-success .form-thanks {
  display: flex;
  animation: reveal-up 0.45s ease both;
}

.closeform {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 24px;
  color: #212121;
  cursor: pointer;
}

.closeform img {
  width: 30px;
  height: 30px;
}

/* HERO STYLING */

.hero {
  height: 100vh;
  height: 100dvh;
  min-height: 100dvh;
}

.herocontent {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: center;
  transition: opacity 200ms ease;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  z-index: 999;
  background-color: #f5f4ef;
  display: flex;
  /* start hidden by moving it off-screen to the right and making it transparent */
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 300ms ease,
    opacity 250ms ease;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

/* When sidebar is open, slide in and allow interaction */
.sidebar.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.sidebar a {
  padding: 10px 20px;
  text-decoration: none;
  color: #212121;
  font-weight: 500;
  text-transform: uppercase;
  font-family: Inter, light, sans-serif;
  font-weight: 300;
  width: 100%;
}

.sidenavitem:hover {
  background-color: #212121;
  color: #f5f4ef;
  transition: all 0.6s ease;
}

.sidenavitem:hover img {
  filter: invert(100%);
  transition: all 0.6s ease;
}

#menu {
  display: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #faf6f2;
  padding: 20px;
  position: relative;
}
.nav-links a {
  text-decoration: none;
  color: #f5f4ef;
  font-weight: 500;
  text-transform: uppercase;
  font-family: Inter, light, sans-serif;
  font-weight: 300;
  z-index: 1;
  padding: 10px 20px;
  border-radius: 20px;
  z-index: 10;
}

.nav-links .nav-l {
  color: #212121;
}

.nav-links {
  display: flex;
  gap: 40px;
  padding: 0 40px;
  padding-right: 230px;
}

.hero-l {
  justify-content: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-right: 20%;
  gap: 10px;
  padding-bottom: 60px;
}

.hero-copy {
  position: relative;
}

.hero-copy-base {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-copy-overlap {
  display: none;
}

.hero-r {
  position: relative;
  top: -100px;
  align-items: right;
  z-index: 5;
}

.hero-r img {
  animation: soft-float 7s ease-in-out infinite;
}

.btn {
  border: solid 1px #212121;
  /* border-radius: 20px; */
  color: #212121;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Inter, light, sans-serif;
  font-weight: 300;
  width: fit-content;
  font-size: 0.9rem;
  margin-top: 20px;
  transition:
    background-color 0.6s ease,
    color 0.6s ease,
    transform 0.3s ease;
}

.socials {
  margin-top: 20px;
}

.btn:hover {
  background-color: #212121;
  color: #f5f4ef;
  transform: translateY(-2px);
}

.nav-links .nav-l:hover {
  background-color: #212121;
  color: #f5f4ef;
  transition: all 0.6s ease;
}

.nav-links .nav-r:hover {
  background-color: #f5f4ef;
  color: #212121;
  transition: all 0.6s ease;
}

.menu-icon-mobile {
  display: none;
}

/* Sectie 1 Styling - Behandelingen */

.sectie1 {
  --section-curve-height: clamp(120px, 15vw, 230px);
  --sectie1-gradient: linear-gradient(
    90deg,
    #f3e9db 24%,
    #f9f3ed 78%,
    #faf6f2 98%
  );
  position: relative;
  overflow: visible;
  background: var(--sectie1-gradient);
}

.sectie1::after,
.sectie-producten::before,
.sectie-producten::after {
  content: "";
  position: absolute;
  left: -5%;
  width: 110%;
  height: var(--section-curve-height);
  background: #faf6f2;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.sectie-producten::before {
  top: calc(var(--section-curve-height) / -2);
}

.sectie1::after,
.sectie-producten::after {
  bottom: calc(var(--section-curve-height) / -2);
}

.sectie1 > *,
.sectie-producten > * {
  position: relative;
  z-index: 1;
}

.behandelingen {
  padding: clamp(56px, 9vw, 140px) 0 26%;
  counter-reset: behandelingen;
}

.behandelingen-marquee {
  width: calc(100% + 20vw);
  margin-left: -10vw;
  padding: clamp(16px, 2.4vw, 28px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(33, 33, 33, 0.12);
  border-bottom: 1px solid rgba(33, 33, 33, 0.12);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.behandelingen-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 32s linear infinite;
  will-change: transform;
}

.behandelingen-marquee-group {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(28px, 5vw, 72px);
  padding-right: clamp(28px, 5vw, 72px);
}

.behandelingen-marquee span {
  flex: 0 0 auto;
  color: rgba(33, 33, 33, 0.58);
  font-family: "Melodrama", serif;
  font-size: clamp(1.25rem, 3.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.behandelingen-marquee span::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: clamp(28px, 5vw, 72px);
  border-radius: 50%;
  background: rgba(33, 33, 33, 0.24);
  vertical-align: middle;
}

.behandelingen > h1,
.gallerijtitel-l h1,
.producten-l h1,
.contact h1 {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.behandelingen > h1::after,
.gallerijtitel-l h1::after,
.producten-l h1::after,
.contact h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 1px;
  background: rgba(33, 33, 33, 0.32);
}

.behandeling {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
  counter-increment: behandelingen;
}

.behandeling-t {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.behandeling-t h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.behandeling-t h2::before {
  content: "0" counter(behandelingen);
  font-family: Inter, light, sans-serif;
  font-size: 0.68rem;
  color: rgba(33, 33, 33, 0.48);
}

.behandeling-toggle {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
}

.prijs h3 {
  border-left: 1px solid rgba(33, 33, 33, 0.22);
  padding-left: 18px;
}

.btn-spacer {
  margin-top: 40px;
  margin-bottom: clamp(48px, 8vw, 120px);
  justify-content: end;
  display: flex;
}

/* Gallerij styling */

.gallerij {
  min-height: 100vh;
  max-height: 100vh;
  padding-bottom: 40px;
  box-sizing: border-box;
  justify-content: center;
}

.gallerijtitel {
  display: flex;
  justify-content: space-around;
  padding: clamp(42px, 7vh, 72px) 0 clamp(28px, 5vh, 48px);
}

.gallerijtitel-l {
  width: 50%;
}

.gallerijtitel-r {
  width: 50%;
}

.gallery-grid {
  align-self: center;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: stretch;
  gap: 24px;
  min-height: 0;
  height: auto;
}

.gallery-preview,
.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-preview {
  min-height: 0;
  margin: 0;
  background: #f3e9db;
}

.gallery-preview img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-preview img {
  position: absolute;
  inset: 0;
  display: block;
  transition:
    opacity 0.42s ease,
    filter 0.35s ease;
}

.gallery-preview .preview-next {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.gallery-preview.is-switching .preview-next {
  opacity: 1;
}

.gallery-preview figcaption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  padding: 8px 14px;
  background: rgba(250, 246, 242, 0.82);
  color: #212121;
  font-size: 0.72rem;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(250, 246, 242, 0);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  min-height: 0;
}

.gallery-thumbs-shell {
  position: relative;
  min-height: 0;
}

.gallery-scroll-hint {
  display: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.gallery-item {
  min-height: 0;
  aspect-ratio: 1 / 1.08;
  border: 0;
  padding: 0;
  background: #f3e9db;
  cursor: pointer;
  appearance: none;
  transition:
    opacity 0.35s ease,
    filter 0.5s ease,
    transform 0.8s ease;
}

.gallery-item img {
  display: block;
  transition:
    filter 0.35s ease,
    transform 0.5s ease;
}

.gallery-item::before {
  content: attr(data-label);
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  background: rgba(250, 246, 242, 0.78);
  color: #212121;
  font-size: 0.62rem;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.gallery-item.is-active::after {
  border-color: rgba(33, 33, 33, 0.5);
}

.gallery-item:focus-visible {
  outline: 1px solid #212121;
  outline-offset: 4px;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.025);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  border-color: rgba(250, 246, 242, 0.78);
}

.gallery-item:hover::before,
.gallery-item:focus-visible::before,
.gallery-item.is-active::before {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
}

.btn-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Producten styling */

.sectie-producten {
  --section-curve-height: clamp(90px, 12vw, 180px);
  position: relative;
  background: linear-gradient(
    90deg,
    rgba(250, 246, 242, 0.1),
    rgba(247, 240, 231, 0.5),
    rgba(243, 233, 219, 1)
  );
  overflow: hidden;
  height: 100%;
}

.producten {
  display: flex;
  padding: 15% 0;
  align-items: center;
  min-height: 70vh;
  height: 100%;
}

.producten-l {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  height: 100%;
}

.producten-l > div:not(:first-child) {
  display: grid;
  gap: 10px;
}

.producten-r {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.productfoto {
  height: 600px;
  position: relative;
  max-height: 100%;
  width: 100%;
  z-index: 99;
  animation: soft-float 8s ease-in-out infinite;
}

.productitem {
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.product-handcreme {
  inset: 0 auto 0 0;
  width: 72%;
  background-image: url(content/manihandcreme.png);
}

.product-nagelriemolie {
  right: 0;
  bottom: 8%;
  width: 42%;
  height: 62%;
  background-image: url(content/nagelriemolie.png);
}

.product-benefit-toggle {
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(33, 33, 33, 0.22);
  border-radius: 50%;
  background: rgba(250, 246, 242, 0.82);
  color: #212121;
  cursor: pointer;
  font-family: Inter, light, sans-serif;
  font-size: 1rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(33, 33, 33, 0.1);
  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease;
}

.product-handcreme .product-benefit-toggle {
  top: 42%;
  left: 48%;
}

.product-nagelriemolie .product-benefit-toggle {
  top: 34%;
  right: 24%;
}

.product-benefit-toggle:hover,
.product-benefit-toggle:focus-visible,
.productitem.is-benefit-open .product-benefit-toggle {
  background: #212121;
  color: #faf6f2;
  transform: scale(1.05);
}

.productitem.is-benefit-open .product-benefit-toggle {
  transform: rotate(45deg) scale(1.05);
}

.product-benefit-card {
  position: absolute;
  z-index: 4;
  width: min(210px, 72vw);
  padding: 14px 16px;
  background: rgba(250, 246, 242, 0.92);
  color: #212121;
  border: 1px solid rgba(33, 33, 33, 0.13);
  box-shadow: 0 18px 38px rgba(33, 33, 33, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.product-benefit-card h4 {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.product-benefit-card p {
  color: #5d5d5d;
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.product-handcreme .product-benefit-card {
  top: 49%;
  left: 58%;
}

.product-nagelriemolie .product-benefit-card {
  top: 44%;
  right: 0;
}

.productitem.is-benefit-open .product-benefit-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact {
  --contact-watermark-width: min(90vw, 900px);
  display: flex;
  gap: 40px;
  padding: 80px 10%;
  justify-content: space-between;
  align-items: center;
  height: 400px;
  background: #faf6f2;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(content/logo\ header.svg);
  background-position: 0 50%;
  background-repeat: repeat-x;
  background-size: var(--contact-watermark-width) auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: contact-watermark-loop 22s linear infinite;
}

/* zorg dat de drie kolommen evenveel ruimte krijgen */
.contact > * {
  flex: 1;
  position: relative;
  z-index: 1;
}

/* behoud interne layout */
.contact-l,
.contact-r {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.contact-l p,
.contact-r p {
  flex: 1 1 auto;
}

.contactbutton {
  align-self: center;
}

.footer {
  text-align: center;
  padding: 20px;
  font-size: 0.65rem;
  color: #212121;
}

.footer a {
  color: #212121;
  text-decoration: none;
  font-weight: 500;
}

.section-animations-ready #behandelingen-L:not(.show) .behandelingen > h1,
.section-animations-ready #behandelingen-L:not(.show) .behandeling,
.section-animations-ready #behandelingen-L:not(.show) .btn-spacer,
.section-animations-ready #gallerij-L:not(.show) .gallerijtitel > *,
.section-animations-ready #gallerij-L:not(.show) .gallery-preview,
.section-animations-ready #gallerij-L:not(.show) .gallery-item,
.section-animations-ready #gallerij-L:not(.show) .btn-center,
.section-animations-ready #producten-L:not(.show) .producten-l > div,
.section-animations-ready #producten-L:not(.show) .producten-r,
.section-animations-ready #contact-L:not(.show) .contact-l,
.section-animations-ready #contact-L:not(.show) .contact-r {
  opacity: 0;
  transform: translateY(18px);
}

.show .behandelingen > h1,
.show .behandeling,
.show .btn-spacer,
.show .gallerijtitel > *,
.show .gallery-preview,
.show .gallery-item,
.show .btn-center,
.show .producten-l > div,
.show .producten-r,
.show .contact-l,
.show .contact-r {
  animation: reveal-up 0.8s ease both;
}

.show .behandeling:nth-of-type(1),
.show .gallerijtitel-r,
.show .gallery-item:nth-child(1),
.show .producten-l > div:nth-child(1),
.show .producten-r,
.show .contact-l {
  animation-delay: 0.04s;
}

.show .behandeling:nth-of-type(2),
.show .gallery-item:nth-child(2),
.show .producten-l > div:nth-child(2),
.show .contact-r {
  animation-delay: 0.08s;
}

.show .behandeling:nth-of-type(3),
.show .gallery-item:nth-child(3),
.show .producten-l > div:nth-child(3) {
  animation-delay: 0.16s;
}

.show .gallery-item:nth-child(4) {
  animation-delay: 0.24s;
}

.show .gallery-item:nth-child(5) {
  animation-delay: 0.32s;
}

.show .btn-spacer,
.show .btn-center {
  animation-delay: 0.4s;
}

/* ------------------------- */
/* RESPONSIVE */
/* ------------------------- */

@media screen and (max-width: 1450px) {
  .container {
    padding: 0 5%;
  }

  .behandelingen-marquee {
    width: calc(100% + 10vw);
    margin-left: -5vw;
  }
}

@media screen and (max-width: 950px) {
  /* Zorg voor ruimte onder de gallerij-knop op small screens */
  .gallerij {
    padding-bottom: 40px;
  }

  .btn-center {
    margin-top: 40px;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 1250px) {
  .hideonmobile {
    display: none;
  }
  #menu {
    display: block;
    align-items: flex-end;
  }

  #menu img {
    width: 100%;
    height: 40px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .nav-links {
    padding-right: 20px;
  }

  .hero-r {
    top: -150px;
  }

  .hero-l {
    padding-right: 20px;
    top: -60px;
    position: relative;
  }
  .nav {
    padding: 20px 0;
    background-color: transparent;
    z-index: 1000;
  }
}

@media screen and (max-width: 885px) {
  .form {
    width: min(88vw, 520px);
    height: auto;
    padding: 64px 28px 32px;
    gap: 14px;
    justify-content: flex-start;
  }

  .form form {
    gap: 10px;
  }

  .form h1 {
    font-size: 1.35rem;
  }

  .form h3 {
    font-size: 0.9rem;
  }

  .form p {
    font-size: 0.76rem;
    line-height: 1.55;
  }

  .menu-icon-mobile {
    display: block;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-self: flex-end;
  }

  .menu-icon {
    display: none;
  }

  .behandeling-t {
    width: 75%;
  }

  .behandelingen-marquee {
    padding: 14px 0;
  }

  .contact {
    margin-top: 80px;
  }

  #menu {
    display: block;
    align-items: flex-end;
    align-self: flex-end;
    justify-content: flex-end;
    padding: 0;
  }

  .nav-links {
    padding-right: 0;
  }

  .gallerij {
    min-height: 100%;
  }
  .hero {
    --hero-mobile-image-width: min(76vw, 400px);
    --hero-mobile-image-outset: 64px;
    --hero-overlap-top: 0px;
    --hero-overlap-right: 0px;
    --hero-overlap-bottom: 0px;
    --hero-overlap-left: 100%;
    position: relative;
    overflow: hidden;
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    background:
      linear-gradient(
        180deg,
        rgba(250, 246, 242, 0.65),
        rgba(250, 246, 242, 1) 78%
      ),
      linear-gradient(135deg, rgba(243, 233, 219, 0.95), rgba(250, 246, 242, 0));
  }

  .hero::before {
    content: none;
  }

  .hero::after {
    content: none;
  }

  .herocontent {
    align-items: flex-start;
    flex: 1;
    height: auto;
  }

  .nav {
    position: relative;
    z-index: 1000;
  }

  .hero-r img {
    animation: none;
    background: #030403;
    border-radius: 200px 200px 0 0;
    clip-path: inset(0 0 0 0 round 200px 200px 0 0);
    display: block;
    height: auto;
    opacity: 1;
    position: relative;
    transform: none;
    width: 100%;
    z-index: 1;
  }

  .hero-r {
    background: transparent;
    border-radius: 200px 200px 0 0;
    bottom: 0;
    display: block;
    isolation: isolate;
    overflow: visible;
    position: absolute;
    right: calc(0px - var(--hero-mobile-image-outset));
    top: auto;
    width: var(--hero-mobile-image-width);
    z-index: 0;
  }

  .hero-r::before {
    content: "";
    position: absolute;
    inset: 58px 18px 0 -10px;
    background: rgba(250, 246, 242, 0.62);
    border-radius: 999px 999px 0 0 / 180px 180px 0 0;
    z-index: 0;
  }

  .hero-r::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: #030403;
    border-radius: 202px 202px 0 0;
    z-index: 1;
  }

  .hero-r picture {
    background: #030403;
    border-radius: 200px 200px 0 0;
    clip-path: inset(0 0 0 0 round 200px 200px 0 0);
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
  }

  .hero-l {
    padding-right: 0;
    width: 100%;
    top: auto;
    justify-content: flex-start;
    position: relative;
    max-width: 520px;
    padding-left: 18px;
    padding-top: clamp(42px, 8vh, 84px);
    z-index: 1;
  }

  .hero-copy-base::before,
  .hero-copy-overlap::before {
    content: "";
    float: right;
    width: min(32vw, 150px);
    height: min(38vw, 190px);
    shape-outside: ellipse(48% 44% at 54% 58%);
    shape-margin: 14px;
  }

  .hero-l::before {
    content: none;
  }

  .hero-l h1 {
    max-width: 11ch;
    line-height: 1.05;
  }

  .hero-l p {
    max-width: 30ch;
    color: #212121;
  }

  .hero-copy-overlap {
    display: flex;
    position: absolute;
    inset: 0;
    flex-direction: column;
    gap: 10px;
    color: #faf6f2;
    pointer-events: none;
    text-shadow: 0 1px 14px rgba(33, 33, 33, 0.28);
    clip-path: inset(
      var(--hero-overlap-top) var(--hero-overlap-right)
        var(--hero-overlap-bottom) var(--hero-overlap-left) round 180px 180px 0
        0
    );
  }

  .hero-copy-overlap p {
    color: #faf6f2;
  }

  .hero-l .btn {
    background: rgba(250, 246, 242, 0.78);
    backdrop-filter: blur(6px);
  }

  .btn,
  .form button {
    font-size: 0.72rem;
    padding: 8px 14px;
    letter-spacing: 0.04em;
  }

  .hero-l .btn:hover {
    background: #212121;
    color: #f5f4ef;
  }

  .form {
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    padding: 56px 20px 24px;
    border-radius: 32px 32px 5px 5px;
  }

  .persoonlijkbericht h1 {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .persoonlijkbericht h3 {
    margin-bottom: 8px;
  }

  .persoonlijkbericht p {
    margin-bottom: 14px;
  }

  .form input {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    font-size: 16px;
  }

  .form button {
    margin-top: 8px;
  }

  .closeform {
    top: 20px;
    right: 20px;
  }

  .nav {
    gap: 24px;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-l {
    padding-bottom: 20px;
  }

  .sectie1,
  .sectie-producten {
    clip-path: none;
  }

  .sectie1 {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .behandelingen {
    padding: 100px 0;
  }

  .behandeling {
    align-items: flex-start;
    gap: 12px;
    padding: 28px 0;
  }

  .behandelingen > h1::after,
  .gallerijtitel-l h1::after,
  .producten-l h1::after,
  .contact h1::after {
    width: 30px;
  }

  .behandeling-t h2 {
    gap: 8px;
  }

  .behandeling-t {
    gap: 0;
  }

  .behandeling-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }

  .behandeling-toggle::after {
    content: "+";
    font-family: Inter, light, sans-serif;
    font-size: 1rem;
    line-height: 1;
    color: rgba(33, 33, 33, 0.55);
  }

  .behandeling-toggle[aria-expanded="true"]::after {
    content: "-";
  }

  .behandeling-t p {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 260ms ease,
      margin-top 260ms ease,
      opacity 220ms ease;
  }

  .behandeling.is-open .behandeling-t p {
    max-height: 320px;
    margin-top: 14px;
    opacity: 1;
  }

  .prijs h3 {
    padding-left: 12px;
  }

  .prijs h3 {
    font-size: 1rem;
  }

  .gallerijtitel {
    padding: 60px 0 40px;
    gap: 20px;
  }

  .gallerij {
    min-height: auto;
    max-height: none;
    justify-content: flex-start;
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto;
    min-height: 0;
  }

  .gallery-preview {
    min-height: 420px;
  }

  .gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .gallery-scroll-hint {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(33, 33, 33, 0.18);
    border-radius: 50%;
    background: rgba(250, 246, 242, 0.86);
    color: #212121;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, light, sans-serif;
    font-size: 1.35rem;
    line-height: 1;
    transform: translateY(-50%);
  }

  .gallery-scroll-hint:hover,
  .gallery-scroll-hint:focus-visible {
    background: #212121;
    color: #faf6f2;
  }

  .gallery-scroll-hint-left {
    left: 8px;
  }

  .gallery-scroll-hint-right {
    right: 8px;
  }

  .gallery-item {
    flex: 0 0 min(66vw, 240px);
    height: 220px;
    scroll-snap-align: start;
  }

  .producten {
    padding: 72px 0;
    align-items: center;
    gap: 22px;
  }

  .producten-l {
    padding: none;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  .producten-r {
    width: auto;
    flex: 0 0 clamp(168px, 33vw, 260px);
    display: flex;
    justify-content: center;
  }

  .productfoto {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: auto;
    transform: none;
    position: relative;
    animation: none;
  }

  .productitem {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .product-handcreme {
    height: clamp(270px, 48vw, 420px);
    background-size: 132% auto;
  }

  .product-nagelriemolie {
    height: clamp(190px, 34vw, 300px);
    background-size: 142% auto;
  }

  .product-benefit-toggle {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .product-benefit-card {
    width: min(178px, 58vw);
    padding: 12px 13px;
  }

  .product-benefit-card h4 {
    font-size: 0.8rem;
  }

  .product-benefit-card p {
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .product-handcreme .product-benefit-toggle {
    top: 42%;
    left: 58%;
  }

  .product-handcreme .product-benefit-card {
    top: 52%;
    right: 2px;
    left: auto;
  }

  .product-nagelriemolie .product-benefit-toggle {
    top: 34%;
    right: 16%;
  }

  .product-nagelriemolie .product-benefit-card {
    top: 46%;
    right: 0;
  }

  .hero {
    height: 100dvh;
  }

  .contact {
    padding: 80px 2%;
    align-items: center;
    justify-content: center;
  }

  .contact-l,
  .contact-r {
    flex: 1;
    height: 200px;
    justify-content: center;
  }

  .contact-l p,
  .contact-r p {
    flex: 1 1 auto;
  }

  h1 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.8rem;
    line-height: 1.6;
  }
}

@media screen and (min-width: 650px) and (max-width: 885px) {
  .hero {
    --hero-mobile-image-width: min(86vw, 430px);
    --hero-mobile-image-outset: 78px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 24px;
  }

  .hero {
    --hero-mobile-image-width: 88vw;
    --hero-mobile-image-outset: 74px;
  }

  .hero-r {
    right: calc(0px - var(--hero-mobile-image-outset));
    bottom: 0;
    width: var(--hero-mobile-image-width);
  }

  .hero::after {
    content: none;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    width: fit-content;
  }

  .hero {
    height: 100dvh;
    min-height: 100dvh;
    padding-bottom: 0;
  }

  .hero-l {
    padding-left: 14px;
    padding-top: clamp(34px, 6vh, 64px);
  }

  .hero-l h1 {
    max-width: 10ch;
  }

  .hero-copy-overlap {
    clip-path: inset(
      var(--hero-overlap-top) var(--hero-overlap-right)
        var(--hero-overlap-bottom) var(--hero-overlap-left) round 2000px 2000px
        0 0
    );
  }

  .gallery-preview {
    min-height: 360px;
  }

  .gallery-item {
    flex-basis: 72vw;
    height: 190px;
  }

  .producten {
    gap: 10px;
  }

  .producten-l {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  .producten-r {
    width: auto;
    flex: 0 0 136px;
  }

  .productfoto {
    width: 100%;
    height: auto;
    transform: none;
  }

  .product-handcreme {
    left: auto;
    width: 100%;
    height: 305px;
    background-size: 142% auto;
  }

  .product-nagelriemolie {
    right: auto;
    bottom: auto;
    width: 100%;
    height: 210px;
    background-size: 154% auto;
  }

  .product-benefit-card {
    width: 142px;
    padding: 10px 11px;
  }

  .product-benefit-card h4 {
    font-size: 0.74rem;
  }

  .product-benefit-card p {
    font-size: 0.6rem;
  }

  .product-handcreme .product-benefit-card,
  .product-nagelriemolie .product-benefit-card {
    right: -6px;
  }
}

@media screen and (max-width: 600px) {
  .hero-l p,
  .hero-copy-overlap p {
    display: none;
  }
}

@media screen and (min-width: 1450px) {
  .gallerij {
    min-height: 125vh;
    max-height: none;
  }

  .productfoto {
    height: 800px;
  }
}

@media screen and (min-width: 2000px) {
  .container {
    padding: 0 15%;
  }

  .gallerij {
    min-height: 115vh;
  }
}

@media screen and (min-width: 2500px) {
}

@media screen and (max-height: 800px) {
  .form {
    max-width: 400px;
    max-height: calc(100dvh - 24px);
  }

  .form p,
  input {
    font-size: smaller;
  }

  .form button {
    margin-top: 10px;
  }

  .persoonlijkbericht h1 {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Contact alignment tweaks (override duplicates) --- */
.contact {
  align-items: flex-start !important;
}

.contact-l,
.contact-r {
  display: grid;
  grid-template-rows: auto minmax(7.8em, 1fr) auto;
  align-content: start;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.contact-l h1,
.contact-r h1 {
  margin: 0;
}

.contact-l p,
.contact-r p {
  margin: 0;
  margin-top: 6px;
  min-height: 7.8em;
}

.socials,
.contactbutton {
  justify-self: center;
  align-self: start;
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .contact {
    --contact-watermark-width: min(135vw, 720px);
    flex-direction: column;
    height: auto;
    margin-top: 56px;
    padding: 56px 24px 64px;
    gap: 0;
    align-items: stretch !important;
  }
  .contact-l,
  .contact-r {
    width: 100%;
    height: auto;
    grid-template-rows: auto auto auto;
    gap: 14px;
    justify-items: center;
  }

  .contact-l {
    padding-bottom: 28px;
  }

  .contact-r {
    padding-top: 30px;
  }

  .contact-l p,
  .contact-r p {
    max-width: 30rem;
    min-height: 0;
    margin-top: 0;
  }

  .socials {
    display: flex;
    margin-top: 4px;
  }

  .socials a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(33, 33, 33, 0.2);
    border-radius: 50%;
    color: #212121;
    transition:
      background-color 0.35s ease,
      color 0.35s ease,
      transform 0.25s ease;
  }

  .socials a:hover,
  .socials a:focus-visible {
    background: #212121;
    color: #faf6f2;
    transform: translateY(-2px);
  }

  .socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .contactbutton {
    width: min(100%, 240px);
    box-sizing: border-box;
    margin-top: 4px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-fill-rect {
    animation: none !important;
    transform: scaleX(1);
  }
}
