/*
 * Ensar Yufka — Premium rebuild
 * Asymmetrisch, scroll-storytelling, hand-getekende yufka SVG signature
 */

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

:root {
  --c-goud: #c4a127;
  --c-goud-light: #d6b02f;
  --c-goud-deep: #997e1f;
  --c-navy: #021935;
  --c-text: #0d0d0d;
  --c-text-muted: #737373;
  --c-bg: #ffffff;
  --c-bg-warm: #faf6ec;
  --c-bg-alt: #f2f2f2;
  --c-line: rgba(196,161,39,0.2);
  --c-success: #5a6b3a;

  --font-heading: 'Cardo', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: clip;
  font-feature-settings: 'ss01', 'cv11';
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--c-goud); color: var(--c-navy); }

/* === LENIS SMOOTH SCROLL ===================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* === TYPOGRAFIE =============================================== */
.font-display {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.font-display em { font-style: italic; color: var(--c-goud-deep); font-weight: 400; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-goud-deep);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
}

.lead { font-size: clamp(1.125rem, 0.4vw + 1rem, 1.375rem); color: var(--c-text-muted); line-height: 1.55; }

/* === LAYOUT WRAPPERS ========================================== */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* === HEADER ================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--c-line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
}
.brand-mark { color: var(--c-goud); font-style: italic; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-goud); display: inline-block; margin-left: 4px; vertical-align: middle; }

.nav-primary { display: flex; align-items: center; gap: 2rem; }
.nav-primary a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-text);
  position: relative;
  transition: color 0.2s ease;
}
.nav-primary a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--c-goud);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-primary a:hover { color: var(--c-goud-deep); }
.nav-primary a:hover::after,
.nav-primary a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-right { display: flex; align-items: center; gap: 1.25rem; }

.lang-switch { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-toggle:hover { border-color: var(--c-goud); color: var(--c-goud-deep); }
.lang-toggle svg { width: 12px; height: 12px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 0.375rem;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 32px rgba(153,126,31,0.12);
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--c-text);
  border-radius: 4px;
  transition: background-color 0.15s ease;
}
.lang-menu a:hover { background: var(--c-bg-warm); color: var(--c-goud-deep); }
.lang-menu a.is-current { color: var(--c-goud-deep); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary { background: var(--c-navy); color: #fff; }
.btn-primary:hover { background: var(--c-goud-deep); transform: translateY(-2px); }
.btn-gold { background: var(--c-goud); color: var(--c-navy); }
.btn-gold:hover { background: var(--c-goud-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-text); }
.btn-ghost:hover { background: var(--c-text); color: #fff; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--c-goud-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-link:hover { gap: 0.75rem; color: var(--c-goud); }
.btn-link svg { width: 14px; height: 14px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  align-items: center;
  justify-content: center;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--c-text); display: block; position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--c-text); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* === HERO — FULL BLEED ASYMMETRIC ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem 0 4rem;
  background: linear-gradient(135deg, #faf6ec 0%, #fff8e0 60%, #f4e9c4 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 70%; height: 140%;
  background: radial-gradient(circle, rgba(196,161,39,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text { position: relative; }
.hero-text .eyebrow { margin-bottom: 2rem; }

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw + 1rem, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--c-text);
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: italic;
  color: var(--c-goud-deep);
  font-weight: 400;
  display: inline-block;
  position: relative;
}
.hero-title .underline-svg {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -8px;
  width: 104%;
  height: 14px;
  pointer-events: none;
  color: var(--c-goud);
}
.hero-title .underline-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 1.6s var(--ease) 0.8s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.hero-sub {
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem);
  color: var(--c-text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges { margin-top: 3rem; display: flex; gap: 1.5rem 2rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-goud); }

.hero-illustration {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
}
.hero-illustration svg.yufka-main { width: 100%; height: 100%; overflow: visible; }
.hero-illustration .yufka-disc path,
.hero-illustration .yufka-disc circle,
.hero-illustration .yufka-disc ellipse {
  fill: none;
  stroke: var(--c-goud-deep);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.hero-illustration .yufka-fill { fill: var(--c-goud); fill-opacity: 0.12; stroke: none; }
.hero-illustration .yufka-grain { fill: var(--c-goud-deep); }

.hero-illustration .draw-stroke { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: drawStroke 2.4s var(--ease) 0.4s forwards; }
.hero-illustration .draw-stroke-2 { stroke-dasharray: 800; stroke-dashoffset: 800; animation: drawStroke2 2s var(--ease) 1.2s forwards; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes drawStroke2 { to { stroke-dashoffset: 0; } }

.flour-particles { position: absolute; inset: 0; pointer-events: none; }
.flour-particles circle { fill: var(--c-goud-deep); fill-opacity: 0.4; animation: floatGrain 8s ease-in-out infinite; }
.flour-particles circle:nth-child(1) { animation-delay: 0s; }
.flour-particles circle:nth-child(2) { animation-delay: -2s; }
.flour-particles circle:nth-child(3) { animation-delay: -4s; }
.flour-particles circle:nth-child(4) { animation-delay: -1s; }
.flour-particles circle:nth-child(5) { animation-delay: -3s; }
.flour-particles circle:nth-child(6) { animation-delay: -5s; }
@keyframes floatGrain {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
  50% { transform: translate(-12px, -20px) rotate(180deg); opacity: 0.7; }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  z-index: 3;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--c-goud), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* === STORY (4-stappen) ======================================== */
.story {
  position: relative;
  background: var(--c-text);
  color: #fff;
  padding: clamp(5rem, 10vw, 9rem) 0;
  overflow: hidden;
}
.story::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--c-goud), transparent); }

.story-head { max-width: 760px; margin: 0 auto 5rem; padding: 0 var(--gutter); text-align: center; }
.story-head .eyebrow { color: var(--c-goud); justify-content: center; }
.story-head .eyebrow::before { background: var(--c-goud); }
.story-head h2 { font-size: clamp(2rem, 4vw + 1rem, 3.75rem); margin: 1.25rem 0 1rem; letter-spacing: -0.02em; }
.story-head p { color: rgba(255,255,255,0.7); font-size: 1.125rem; }

.steps {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%; right: 10%;
  height: 2px;
  background-image: linear-gradient(to right, var(--c-goud) 60%, transparent 0%);
  background-size: 14px 2px;
  background-repeat: repeat-x;
  opacity: 0.3;
}
.step { text-align: center; position: relative; }
.step-num {
  width: 80px; height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--c-text);
  border: 2px solid var(--c-goud);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--c-goud);
  position: relative;
  z-index: 2;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: #fff; }
.step p { font-size: 0.9375rem; color: rgba(255,255,255,0.6); line-height: 1.55; }

/* === PRODUCT TRIO ============================================ */
.products { background: var(--c-bg); padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }
.products-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  max-width: var(--container);
  margin: 0 auto 5rem;
  padding: 0 var(--gutter);
}
.products-head h2 { font-size: clamp(2.25rem, 4vw + 1rem, 4rem); letter-spacing: -0.02em; }
.products-head p { color: var(--c-text-muted); font-size: 1.125rem; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.product-card {
  position: relative;
  background: var(--c-bg-warm);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.product-card:nth-child(2) { background: var(--c-navy); color: #fff; }
.product-card:nth-child(2) .product-label { color: var(--c-goud); border-color: var(--c-goud); }
.product-card:nth-child(2) .product-desc { color: rgba(255,255,255,0.7); }
.product-card:nth-child(2) .product-link { color: var(--c-goud); }
.product-card:hover { transform: translateY(-8px); }

.product-svg-wrap { height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.product-svg-wrap svg { width: 140px; height: 140px; transition: transform 0.6s var(--ease); }
.product-card:hover .product-svg-wrap svg { transform: rotate(8deg) scale(1.05); }

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background: #f1ead4;
  flex-shrink: 0;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-card:nth-child(2) .product-img-wrap { background: #0d2440; }

.product-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-goud-deep);
  border: 1px solid var(--c-goud-deep);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
  font-style: italic;
  font-weight: 400;
}
.product-desc { font-size: 1rem; color: var(--c-text-muted); line-height: 1.55; margin-bottom: 1.5rem; flex-grow: 1; }
.product-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--c-goud-deep); }
.product-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.product-card:hover .product-link svg { transform: translateX(4px); }

/* === USP STRIP =============================================== */
.usp-strip {
  background: var(--c-goud);
  color: var(--c-navy);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--c-goud-deep);
  border-bottom: 1px solid var(--c-goud-deep);
}
.usp-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.usp-track span {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}
.usp-track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-navy); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === CLIENTS ================================================= */
.clients { background: var(--c-bg); padding: clamp(4rem, 8vw, 7rem) 0; text-align: center; }
.clients .eyebrow { justify-content: center; }
.clients h2 { font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem); margin: 1.25rem auto 3rem; max-width: 720px; letter-spacing: -0.015em; }
.client-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.client {
  padding: 2rem 1rem;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--c-text);
  font-style: italic;
  transition: color 0.3s var(--ease);
}
.client:hover { color: var(--c-goud-deep); }
.client-sub {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
}

/* === B2B BANNER ============================================== */
.b2b-banner { background: var(--c-navy); color: #fff; position: relative; overflow: hidden; }
.b2b-banner-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.b2b-text .eyebrow { color: var(--c-goud); }
.b2b-text .eyebrow::before { background: var(--c-goud); }
.b2b-text h2 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); margin: 1.25rem 0 1.5rem; letter-spacing: -0.02em; }
.b2b-text p { color: rgba(255,255,255,0.7); font-size: 1.125rem; margin-bottom: 2rem; }
.b2b-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}
.b2b-stat { background: var(--c-navy); padding: 2rem 1.5rem; }
.b2b-stat .num {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--c-goud);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.b2b-stat .label { font-size: 0.875rem; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }

/* === RECIPE TEASER =========================================== */
.recipes-teaser { background: var(--c-bg-warm); padding: clamp(5rem, 10vw, 9rem) 0; }
.recipes-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; padding: 0 var(--gutter); }
.recipes-head h2 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); margin: 1rem 0 1rem; letter-spacing: -0.02em; }
.recipes-head .eyebrow { justify-content: center; }
.recipes-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.recipe-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(153,126,31,0.12); }
.recipe-card:nth-child(2),
.recipe-card:nth-child(5) { background: var(--c-goud); color: var(--c-navy); border-color: transparent; }
.recipe-card:nth-child(2) .recipe-meta,
.recipe-card:nth-child(5) .recipe-meta { color: var(--c-navy); opacity: 0.7; }
.recipe-card:nth-child(2) .recipe-desc,
.recipe-card:nth-child(5) .recipe-desc { color: var(--c-navy); }

.recipe-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
}
.recipe-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; font-style: italic; font-weight: 400; }
.recipe-desc { font-size: 0.9375rem; color: var(--c-text-muted); flex-grow: 1; line-height: 1.55; }

/* === FOOTER ================================================== */
.site-footer { background: var(--c-text); color: rgba(255,255,255,0.7); padding: 5rem 0 2rem; }
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .brand { color: #fff; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { max-width: 320px; font-size: 0.9375rem; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-goud);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { font-size: 0.9375rem; color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--c-goud); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--c-goud); }

/* === PAGE HEADER (inner pages) =============================== */
.page-header {
  padding: 10rem 0 4rem;
  background: linear-gradient(180deg, #faf6ec 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-goud), transparent);
}
.page-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  letter-spacing: -0.025em;
  max-width: 900px;
}
.page-header h1 em { font-style: italic; color: var(--c-goud-deep); font-weight: 400; }
.page-header .lead { margin-top: 1.5rem; max-width: 600px; }

.crumbs { font-size: 0.8125rem; color: var(--c-text-muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--c-text-muted); border-bottom: 1px solid currentColor; }
.crumbs a:hover { color: var(--c-goud-deep); }

/* === PROSE =================================================== */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-text);
}
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); margin-top: 3rem; margin-bottom: 0.75rem; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.375rem; margin-top: 2.5rem; margin-bottom: 0.5rem; font-style: italic; font-weight: 400; color: var(--c-goud-deep); }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose ul li, .prose ol li { margin-bottom: 0.5rem; }
.prose strong { color: var(--c-text); font-weight: 600; }
.prose a { color: var(--c-goud-deep); border-bottom: 1px solid currentColor; transition: color 0.2s ease; }
.prose a:hover { color: var(--c-goud); }
.prose blockquote {
  border-left: 3px solid var(--c-goud);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--c-text-muted);
}
.prose hr { border: none; border-top: 1px solid var(--c-line); margin: 3rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.9375rem; }
.prose th { text-align: left; padding: 0.875rem 1rem; border-bottom: 2px solid var(--c-goud); font-weight: 600; }
.prose td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--c-line); }
.prose tr:hover td { background: var(--c-bg-warm); }

/* === CONTACT-SPECIFIC ======================================== */
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-card { background: var(--c-bg-warm); border-radius: 16px; padding: 2.5rem; }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 1.5rem; font-style: italic; font-weight: 400; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--c-line);
}
.contact-detail:first-of-type { border-top: none; }
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  width: 120px;
  flex-shrink: 0;
}
.contact-detail-value { font-size: 1rem; color: var(--c-text); }
.contact-detail-value a { color: var(--c-goud-deep); border-bottom: 1px solid currentColor; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--c-text); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  color: var(--c-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-goud);
  box-shadow: 0 0 0 3px rgba(196,161,39,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-checkbox { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--c-text-muted); }
.field-checkbox input { width: auto; margin-top: 0.25rem; }

/* === REVEAL ================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === PLACEHOLDER PAGE (de/fr/en) ============================= */
.placeholder-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--gutter);
  background: linear-gradient(135deg, #faf6ec 0%, #fff8e0 60%, #f4e9c4 100%);
}
.placeholder-wrap .brand { font-size: 2rem; margin-bottom: 2rem; }
.placeholder-wrap h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--c-goud-deep);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.placeholder-wrap p { font-size: 1.125rem; color: var(--c-text-muted); max-width: 500px; margin-bottom: 2rem; }
.placeholder-langs { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.placeholder-langs a {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--c-goud-deep);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.placeholder-langs a:hover { background: var(--c-goud); color: var(--c-navy); }

/* === RESPONSIVE ============================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-illustration { max-width: 400px; margin: 0 auto; }
  .products-head, .b2b-banner-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-grid, .recipes-grid { grid-template-columns: 1fr 1fr; }
  .product-card:nth-child(2), .product-card:nth-child(3) { margin-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
  .steps::before { display: none; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-header-inner { grid-template-columns: 1fr; }
}

/* Tablet nav: switch to hamburger from 1024px (was 720px) zodat nav niet wrapt op iPad */
@media (max-width: 1024px) {
  .nav-primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-primary.is-open {
    display: flex;
    position: fixed;
    inset: 64px 0 0 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    z-index: 99;
    border-top: 1px solid var(--c-line);
  }
}

@media (max-width: 720px) {
  .nav-primary.is-open {
    display: flex;
    position: fixed;
    inset: 64px 0 0 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    z-index: 99;
    border-top: 1px solid var(--c-line);
  }
  .header-right .btn { display: none; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-title { font-size: clamp(2.25rem, 9vw, 3.25rem); }
  .hero-scroll { display: none; }
  .product-grid, .recipes-grid, .client-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .b2b-stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-detail { flex-direction: column; gap: 0.375rem; }
  .contact-detail-label { width: auto; }
  .usp-track span { font-size: 1.125rem; gap: 2.5rem; }
}

/* === A11Y ==================================================== */
:focus-visible {
  outline: 2px solid var(--c-goud);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  top: -40px; left: 1rem;
  background: var(--c-text);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .underline-svg path,
  .hero-illustration .draw-stroke,
  .hero-illustration .draw-stroke-2 { stroke-dashoffset: 0; }
  .usp-track { animation: none; }
}

/* ===== Header login link ===== */
.header-login {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-goud-deep);
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.header-login:hover { background: rgba(196,161,39,0.08); border-color: rgba(196,161,39,0.25); }
.header-login.is-active { background: var(--c-goud-deep); color: #fff; }
@media (max-width: 860px) {
  .header-login { display: none; }
}

/* ===== Login page ===== */
.login-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #faf6ec 0%, #fff 70%);
}
.login-wrap {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 18px 48px rgba(13,36,64,0.08), 0 2px 8px rgba(13,36,64,0.04);
  border: 1px solid rgba(196,161,39,0.18);
}
@media (max-width: 520px) { .login-card { padding: 2rem 1.5rem; } }

.login-head { text-align: center; margin-bottom: 2rem; }
.login-mark {
  display: inline-flex;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-bg-warm);
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--c-goud-deep);
}
.login-mark svg { width: 24px; height: 24px; }
.login-head h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  margin: 0 0 0.5rem;
  font-style: italic;
  font-weight: 400;
}
.login-head p { color: var(--c-text-muted); font-size: 0.9375rem; margin: 0; line-height: 1.55; }

.login-form { display: flex; flex-direction: column; gap: 1.125rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4375rem; }
.form-row label { font-size: 0.8125rem; font-weight: 600; color: var(--c-text); letter-spacing: 0.02em; }
.form-row input {
  border: 1px solid #e6dfc8;
  background: #fff;
  border-radius: 8px;
  padding: 0.75rem 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--c-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus {
  outline: none;
  border-color: var(--c-goud);
  box-shadow: 0 0 0 3px rgba(196,161,39,0.18);
}
.form-row input::placeholder { color: #b8a96b; }

.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.checkbox-row { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-text-muted); cursor: pointer; }
.checkbox-row input { accent-color: var(--c-goud-deep); }
.muted-link { color: var(--c-goud-deep); text-decoration: none; }
.muted-link:hover { text-decoration: underline; }

.btn-block { width: 100%; justify-content: center; padding: 0.875rem 1rem; font-size: 0.9375rem; }

.login-note {
  background: #faf6ec;
  border-left: 3px solid var(--c-goud);
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  margin: 0.5rem 0 0;
  border-radius: 6px;
  line-height: 1.5;
}
.login-note a { color: var(--c-goud-deep); }

.login-foot {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee5cc;
  text-align: center;
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.login-foot a { color: var(--c-goud-deep); font-weight: 600; }

.login-side {
  text-align: center;
  padding: 1.5rem 1rem;
}
.login-side h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--c-text-muted);
}
.login-features { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.625rem 1.25rem; text-align: left; }
.login-features li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.45;
}
.login-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--c-goud);
  border-radius: 50%;
}
.login-features strong { color: var(--c-text); font-weight: 600; }
.login-side-cta { font-size: 0.8125rem; color: var(--c-text-muted); margin-top: 0.75rem; }
.login-side-cta a { color: var(--c-goud-deep); font-weight: 600; }

/* ===== Hero photo (replaces SVG illustration) ===== */
.hero-photo {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 36, 64, 0.18), 0 4px 16px rgba(13, 36, 64, 0.08);
  transform: translateY(0);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.hero-photo--landscape {
  max-width: 620px;
  aspect-ratio: 4 / 3;
}
.hero-photo--landscape img {
  object-position: center 35%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(196,161,39,0.18);
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}
.hero-photo:hover img { transform: scale(1.03); }
@media (max-width: 1024px) {
  .hero-photo { max-width: 420px; }
}

/* ===== Hero cinematic (full-bleed photo achtergrond) ===== */
.hero-cinematic {
  position: relative;
  width: 100%;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  margin-top: -88px;
  padding-top: 140px;
  background: #000;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(1.05) contrast(1.02);
  animation: hero-ken-burns 40s ease-out forwards;
}
@keyframes hero-ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.85) 78%, rgba(0,0,0,0.96) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, transparent 50%);
}

.hero-stamp {
  position: absolute;
  top: clamp(9rem, 18vh, 13rem);
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 3;
  width: clamp(130px, 14vw, 180px);
  height: clamp(130px, 14vw, 180px);
  border: 1.5px solid rgba(196,161,39,0.85);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-goud);
  text-align: center;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: rotate(-6deg);
  font-family: var(--font-heading);
  padding: 1rem;
}
.hero-stamp-line {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
}
.hero-stamp-year {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  margin: 0.25rem 0;
}

.hero-cinema-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-bottom: clamp(6rem, 12vh, 9rem);
}
.hero-eyebrow-cinema {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-goud);
  margin-bottom: 1.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(196,161,39,0.4);
  border-radius: 999px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-cinema-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 1.5rem;
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-cinema-title em { color: var(--c-goud); font-style: italic; font-weight: 400; position: relative; }
.hero-cinema-title em .underline-svg { position: absolute; left: 0; right: 0; bottom: -8px; width: 100%; height: 14px; fill: none; stroke: var(--c-goud); stroke-width: 2; }
.hero-cinema-sub {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin: 0 0 2rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

.btn-cinema-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-cinema-ghost:hover { background: rgba(255,255,255,0.15); border-color: var(--c-goud); color: var(--c-goud); transform: translateY(-2px); }

.hero-meta-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(196,161,39,0.18);
  border-top: 1px solid rgba(196,161,39,0.25);
}
.hero-meta-item {
  background: rgba(0,0,0,0.94);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-meta-num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--c-goud);
  line-height: 1;
}
.hero-meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-cinematic { min-height: 88vh; padding-top: 120px; }
  .hero-bg img { object-position: center 40%; }
  .hero-stamp { width: 110px; height: 110px; top: 8.5rem; right: 1rem; }
  .hero-stamp-year { font-size: 1.5rem; }
  .hero-stamp-line { font-size: 0.5625rem; }
  .hero-meta-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-meta-item { padding: 1rem 1.25rem; }
  .hero-cinema-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-stamp { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}

/* ===== Behind-scenes video grid (altijd 2 kolommen) ===== */
.bts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .bts-grid { gap: 0.75rem; }
  .bts-item figcaption { padding: 0.625rem 0.75rem !important; font-size: 0.75rem !important; }
}

/* ===== WebGL particle morph (futuristic, ~3000 particles) ===== */
.morph-webgl {
  position: relative;
  background: #000;
  color: #fff;
}
.morph-webgl-track {
  height: 400vh;
  position: relative;
}
.morph-webgl-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #1a1209 0%, #000 70%);
}
.morph-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.morph-webgl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 7rem 1.5rem 3rem;
  pointer-events: none;
  z-index: 2;
}
.morph-webgl-head { text-align: center; max-width: 720px; }
.morph-webgl-head .eyebrow { color: var(--c-goud); }
.morph-webgl-head .eyebrow::before { background: var(--c-goud); }
.morph-webgl-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 1rem 0 1rem;
  position: relative;
  height: 1.2em;
  color: var(--c-goud);
  text-shadow: 0 0 32px rgba(196,161,39,0.4);
}
.morph-step {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap;
}
.morph-step.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.morph-webgl-sub {
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.9375rem, 1vw + 0.5rem, 1.125rem);
  max-width: 480px;
  margin: 0 auto;
}
.morph-webgl-progress {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0,0,0,0.4);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(196,161,39,0.18);
}
.morph-webgl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(196,161,39,0.25);
  transition: background 0.3s, transform 0.3s;
}
.morph-webgl-dot.is-active {
  background: var(--c-goud);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(196,161,39,0.8);
}
.morph-webgl-hint {
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: hint-bob 2.2s ease-in-out infinite;
}
.morph-webgl-hint svg { width: 18px; height: 18px; color: var(--c-goud); }
@keyframes hint-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@media (max-width: 640px) {
  .morph-webgl-track { height: 350vh; }
  .morph-webgl-overlay { padding: 6rem 1rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .morph-webgl-track { height: auto; }
  .morph-webgl-stage { position: static; height: auto; min-height: 60vh; }
  .morph-webgl-canvas { display: none; }
  .morph-step { position: static; transform: none; opacity: 1; display: block; }
}

/* === ALLE OUDE morph layers verbergen === */
.morph-section, .ingredients-morph { display: none !important; }
.morph-track { display: none; }
.morph-track { height: 300vh; position: relative; }
.morph-stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; padding: 6rem 1.5rem 4rem;
}
.morph-head { text-align: center; max-width: 640px; margin-bottom: 2rem; position: relative; z-index: 2; }
.morph-title { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin: 0.5rem 0 0.875rem; }
.morph-title em { color: var(--c-goud-deep); font-style: italic; font-weight: 400; }
.morph-sub { color: var(--c-text-muted); font-size: 1rem; }
.morph-canvas { position: relative; width: 100%; max-width: 720px; height: clamp(280px, 40vh, 420px); margin: 1rem auto 0; }
.morph-ing, .morph-result { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 0.625rem; will-change: transform, opacity; }
.morph-circle { width: clamp(80px, 12vw, 140px); height: clamp(80px, 12vw, 140px); border-radius: 50%; overflow: hidden; border: 1px solid var(--c-line); box-shadow: 0 14px 32px rgba(13,36,64,0.12); position: relative; }
.morph-circle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 2px 14px rgba(255,255,255,0.3); pointer-events: none; }
.morph-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.morph-label { font-family: var(--font-heading); font-style: italic; font-size: 0.9375rem; color: var(--c-text); }
.morph-ing--flour { left: 8%; top: 50%; transform: translate(-50%, -50%); }
.morph-ing--water { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.morph-ing--salt  { left: 92%; top: 50%; transform: translate(-50%, -50%); }
.morph-result { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
.morph-circle--result { width: clamp(140px, 20vw, 220px); height: clamp(140px, 20vw, 220px); border: 2px solid var(--c-goud); box-shadow: 0 24px 56px rgba(196,161,39,0.32), 0 0 0 8px rgba(196,161,39,0.1); }
.morph-label--result { color: var(--c-goud-deep); font-weight: 700; font-size: 1.125rem; }
.morph-progress { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 160px; height: 3px; background: rgba(196,161,39,0.18); border-radius: 999px; overflow: hidden; z-index: 2; }
.morph-progress-fill { display: block; height: 100%; width: 0%; background: var(--c-goud); }
@media (prefers-reduced-motion: reduce) {
  .morph-track { height: auto; }
  .morph-stage { position: static; height: auto; padding: 4rem 1.5rem; }
  .morph-canvas { height: auto; min-height: 280px; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; }
  .morph-ing, .morph-result { position: static; transform: none !important; opacity: 1 !important; }
}
@media (max-width: 720px) {
  .morph-ing--flour { left: 18%; }
  .morph-ing--salt  { left: 82%; }
  .morph-canvas { height: 320px; }
}
.ingredients-morph { display: none !important; }

/* ===== Old equation layout (kept for reference, hidden) ===== */
.ingredients-morph-OLD {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: linear-gradient(180deg, #faf6ec 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.ingredients-morph::before {
  content: "";
  position: absolute;
  top: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,161,39,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ingredients-morph::after {
  content: "";
  position: absolute;
  bottom: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,161,39,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.ingredients-head { text-align: center; max-width: 640px; margin: 0 auto 4rem; position: relative; }
.ingredients-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
}
.ingredients-head p {
  color: var(--c-text-muted);
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  line-height: 1.55;
}
.ingredients-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.ing-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin: 0;
}
.ing-circle {
  width: clamp(88px, 11vw, 130px);
  height: clamp(88px, 11vw, 130px);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: 0 12px 28px rgba(13,36,64,0.1);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative;
}
.ing-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 2px 12px rgba(255,255,255,0.3);
  pointer-events: none;
}
.ing-circle img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.ing-item:hover .ing-circle { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(196,161,39,0.25); border-color: var(--c-goud); }
.ing-item:hover .ing-circle img { transform: scale(1.08); }
.ing-item figcaption {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--c-text);
  letter-spacing: 0.01em;
}
.ing-plus, .ing-equals {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  color: var(--c-goud);
  font-weight: 700;
  align-self: center;
  margin-top: -1.5rem;
  user-select: none;
  line-height: 1;
}
.ing-equals {
  color: var(--c-goud-deep);
  font-size: clamp(2rem, 3vw, 2.75rem);
  position: relative;
}
.ing-equals::before, .ing-equals::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-goud);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ing-pulse 2.4s ease-in-out infinite;
}
.ing-equals::after { animation-delay: 1.2s; }
@keyframes ing-pulse {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.4; transform: translate(-50%, -50%) scale(3); }
}
.ing-result .ing-circle {
  width: clamp(108px, 14vw, 170px);
  height: clamp(108px, 14vw, 170px);
  border: 2px solid var(--c-goud);
  box-shadow: 0 20px 48px rgba(196,161,39,0.3), 0 0 0 6px rgba(196,161,39,0.1);
}
.ing-result figcaption {
  color: var(--c-goud-deep);
  font-weight: 700;
  font-style: italic;
  font-size: 1.125rem;
  font-family: var(--font-heading);
}

@media (max-width: 768px) {
  .ingredients-equation { gap: 0.5rem; }
  .ing-plus { margin-top: -1.25rem; font-size: 1.5rem; }
  .ing-equals { margin-top: -1.25rem; font-size: 1.75rem; }
}
@media (max-width: 560px) {
  .ingredients-equation {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem 0.25rem;
    max-width: 380px;
  }
  .ing-plus, .ing-equals { display: none; }
  .ing-result {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--c-line);
    position: relative;
  }
  .ing-result::before {
    content: "=";
    position: absolute;
    top: -0.5rem; left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--c-goud-deep);
    line-height: 1;
  }
  .ing-circle { width: 64px; height: 64px; }
  .ing-item figcaption { font-size: 0.8125rem; }
  .ing-result .ing-circle { width: 108px; height: 108px; }
}

/* ===== Photo cross-dissolve morph (echte foto's ipv particles) ===== */
.photo-morph { position: relative; background: #000; color: #fff; }
.photo-morph-track { height: 360vh; position: relative; }
.photo-morph-stage {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; background: #000;
}
.photo-morph-layers { position: absolute; inset: 0; }
.photo-layer {
  position: absolute; inset: 0; margin: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: filter 0.4s ease-out;
  will-change: opacity, transform, filter;
}
.photo-layer.is-active { opacity: 1; }
.photo-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-morph-vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.photo-morph-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 7rem 1.5rem 3rem; pointer-events: none;
}
.photo-morph-head { text-align: center; max-width: 720px; }
.photo-morph-head .eyebrow { color: var(--c-goud); }
.photo-morph-head .eyebrow::before { background: var(--c-goud); }
.photo-morph-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 8vw, 6rem);
  font-weight: 700; font-style: italic;
  letter-spacing: -0.02em; line-height: 1.05;
  margin: 1rem 0 1rem;
  position: relative; height: 1.2em;
  color: #fff;
  text-shadow: 0 4px 32px rgba(0,0,0,0.6), 0 0 80px rgba(196,161,39,0.3);
}
.ph-step {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap;
}
.ph-step.is-active { opacity: 1; transform: translateX(-50%) translateY(0); }
.photo-morph-sub {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 1vw + 0.5rem, 1.25rem);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.photo-morph-progress {
  display: flex; gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0,0,0,0.5);
  border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(196,161,39,0.25);
}
.ph-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s, transform 0.3s;
}
.ph-dot.is-active { background: var(--c-goud); transform: scale(1.4); box-shadow: 0 0 12px rgba(196,161,39,0.8); }
.photo-morph-hint {
  position: absolute; bottom: 5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  animation: ph-bob 2.2s ease-in-out infinite;
}
.photo-morph-hint svg { width: 16px; height: 16px; color: var(--c-goud); }
@keyframes ph-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-morph-track { height: auto; }
  .photo-morph-stage { position: static; height: auto; min-height: 60vh; }
  .photo-layer { opacity: 1; position: relative; }
  .photo-layer img { height: 240px; }
}
/* Hide everything from previous WebGL/equation morphs */
.morph-webgl, .morph-section, .ingredients-morph { display: none !important; }

/* ===== HTML bg + safe areas (voorkomt zwarte streep boven header op mobile) ===== */
html { background: #faf6ec; }

/* ===== Footer social icons ===== */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(196,161,39,0.25);
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.04);
  transition: all 0.25s var(--ease);
}
.footer-social a:hover {
  color: var(--c-navy);
  background: var(--c-goud);
  border-color: var(--c-goud);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px; height: 18px;
  display: block;
}
@media (max-width: 480px) {
  .footer-social a { width: 42px; height: 42px; }
  .footer-social svg { width: 20px; height: 20px; }
}

/* ==========================================================================
   Cookie Consent Banner (AVG/GDPR ready)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 360px;
  width: calc(100% - 40px);
  background: #faf6ec;
  color: var(--c-navy, #021935);
  border: 1px solid rgba(196, 161, 39, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(2, 25, 53, 0.18), 0 2px 6px rgba(2, 25, 53, 0.08);
  padding: 20px 22px;
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner.is-hidden {
  display: none;
}
.cookie-banner-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--c-navy, #021935);
}
.cookie-banner-body {
  margin: 0 0 14px;
  color: rgba(2, 25, 53, 0.78);
}
.cookie-banner-link {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--c-goud-deep, #997e1f);
  text-decoration: underline;
  font-size: 0.85rem;
  font-weight: 500;
}
.cookie-banner-link:hover {
  color: var(--c-goud, #c4a127);
}
.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  flex: 1 1 auto;
  min-width: 120px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid transparent;
}
.cookie-banner button.accept {
  background: var(--c-goud, #c4a127);
  color: var(--c-navy, #021935);
  border-color: var(--c-goud, #c4a127);
}
.cookie-banner button.accept:hover {
  background: var(--c-goud-deep, #997e1f);
  color: #fff;
  border-color: var(--c-goud-deep, #997e1f);
}
.cookie-banner button.reject {
  background: transparent;
  color: rgba(2, 25, 53, 0.65);
  border-color: rgba(2, 25, 53, 0.2);
}
.cookie-banner button.reject:hover {
  color: var(--c-navy, #021935);
  border-color: rgba(2, 25, 53, 0.45);
  background: rgba(2, 25, 53, 0.04);
}

@media (max-width: 600px) {
  .cookie-banner {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 14px 14px 0 0;
    padding: 18px 20px 20px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
  }
  .cookie-banner button {
    width: 100%;
  }
}
