* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: #fff;
}

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

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: rgba(44, 95, 79, 0.14);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 5%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo img {
  height: clamp(52px, 6vw, 70px);
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
   justify-self: center;
  
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: color 0.3s;
}

nav a:hover { color: #2c5f4f; }

.contact-btn {
    justify-self: end;
    text-decoration: none;
  background-color: #2c5f4f;
  color: #fff !important;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.3s !important;
}

.contact-btn:hover { background-color: #1e4035 !important; }

.mobile-contact-btn {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 8px;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #2c5f4f;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  display: flex;
  align-items: stretch;
  min-height: calc(97.5vh - 62px);
  background: #fff;
  overflow: hidden;
}

.hero-text {
  flex: 0 0 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 8%;
  animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-accent {
  color: #356153;
  font-weight: 800;
}

.hero-text > p {
  font-size: 1rem;
  color: #666;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 42rem;
}

.hero-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 500;
}

.hero-checks li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-cta {
  display: inline-block;
  background-color: #f5a623;
  color: #1a1a1a;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  width: fit-content;
  transition: background-color 0.3s, transform 0.2s;
}

.hero-cta:hover {
  background-color: #e0941a;
  transform: translateY(-2px);
}

.hero-sub {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: #888;
}

/* Afbeelding vult de VOLLEDIGE rechterkant, tot aan de rand */
.hero-image {
  flex: 0 0 48%;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}


/* ── WAAROM ── */
.waarom {
  display: flex;
  align-items: stretch;
  min-height: 50vh;
  background: #fff;
  overflow: hidden;
}

.waarom-left {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.waarom-left img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.waarom-right {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 4rem 8% 4rem 5%;
}

.waarom-right h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.waarom-accent {
  color: #356153;
}

.waarom-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.waarom-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
}

.waarom-check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waarom-check svg {
  width: 22px;
  height: 22px;
}

.waarom-item-text p:first-child {
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.waarom-item-text p:last-child {
  font-size: 0.875rem;
  color: #666;
}

.waarom-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.waarom-cta .hero-cta {
  text-align: center;
  width: 100%;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.1rem;
}

.waarom-cta .hero-sub {
  text-align: center;
}

.supermarkt {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 5rem 5% 5rem 12%;
  background: #fff;
  overflow: hidden;
}

.supermarkt-top {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.supermarkt-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.supermarkt-left h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.supermarkt-accent {
  color: #356153;
}

.supermarkt-sub {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.7;
}

.supermarkt-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.supermarkt-checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 500;
}

.supermarkt-checks li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.supermarkt-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.supermarkt-cta .hero-cta {
  padding: 1rem 3rem;
  border-radius: 50px;
}

.supermarkt-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.supermarkt-right img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

/* ── BEGIN BANNER ── */
.begin-banner {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: #fff;
  padding: 0;
}

.begin-banner-left {
  flex: 0 0 30%;
}

.begin-banner-left img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.begin-banner-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.begin-banner-right h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.begin-cta {
  width: 100%;
  text-align: center;
  border-radius: 50px;
  padding: 1rem;
  font-size: 1.05rem;
}

.begin-banner .hero-sub {
  text-align: center;
}



.hhw {
  padding: 4rem 5%;
  background: #fff;
}

.hhw-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hhw-container h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.hhw-accent {
  color: #356153;
}

.hhw-stap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 16px;
  padding: 1.75rem 2rem;
}

.hhw-stap-left {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
}

.hhw-nummer {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
}

.hhw-stap-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.hhw-stap-text p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

.hhw-stap-right {
  flex: 0 0 220px;
  align-self: stretch;
  overflow: hidden;
  border-radius: 0 14px 14px 0;
  margin: -1.75rem -2rem -1.75rem 0;
}

.hhw-stap-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-height: 140px;
  margin-top: auto;
  margin-bottom: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.hhw-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hhw-btn {
  padding: 1rem 4rem;
  border-radius: 50px;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .hhw-stap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hhw-stap-right {
    flex: none;
    width: 100%;
  }

  .hhw-stap-right img {
    height: 160px;
    width: 100%;
  }

  .hhw-btn { padding: 1rem 2.5rem; }
}































/* ── FOOTER ── */
.footer {
  background-color: #1a2e27;
  color: #cdd8d5;
  padding: 5rem 5% 2rem;
}

.footer-container { max-width: 1400px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #9ab5ad;
  margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: 0.75rem; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ab5ad;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #2c5f4f;
  border-color: #2c5f4f;
  color: white;
  transform: translateY(-2px);
}

.footer-nav-group h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-group ul li a,
.footer-nav-group ul li span {
  color: #9ab5ad;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-nav-group ul li a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-item svg { flex-shrink: 0; color: #4a9070; }

.footer-cta-block h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1rem;
}

.footer-cta-block p {
  font-size: 0.9rem;
  color: #9ab5ad;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-demo-btn {
  display: inline-block;
  background-color: #2c5f4f;
  color: white;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s, transform 0.2s;
}

.footer-demo-btn:hover {
  background-color: #3a7a65;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-eldikit { color: #ffffff; font-size: 0.875rem; }
.footer-eldikit a { color: #ffffff; text-decoration: none; }
.footer-eldikit a:hover { text-decoration: underline; }
/* ── RECEPTEN PAGINA ── */
.recepten-page {
  min-height: 100vh;
  background: #f9f9f7;
}

.recepten-hero {
  background: #fff;
  padding: 4rem 8%;
  border-bottom: 1px solid #ebebeb;
}

.recepten-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.recepten-accent {
  color: #356153;
}

.recepten-hero p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.recepten-search {
  width: 100%;
  max-width: 480px;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.recepten-search:focus {
  border-color: #356153;
}

.recepten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 8%;
}

.recept-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #ebebeb;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.recept-card[hidden] {
  display: none;
}

.recept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.recept-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.recept-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.recept-card:hover .recept-card-img img {
  transform: scale(1.05);
}

.recept-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recept-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.recept-type {
  font-size: 0.8rem;
  color: #888;
}

.recept-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.recept-budget {
  font-size: 0.9rem;
  font-weight: 700;
  color: #356153;
}

.recept-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.recept-tag {
  font-size: 0.7rem;
  background: #f0f7f4;
  color: #356153;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-weight: 500;
}
/* ── DETAIL PAGINA ── */
.detail-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  font-size: 1.2rem;
  color: #888;
}

.detail-page {
  background: #f9f9f7;
  min-height: 100vh;
  padding: 3rem 0;
}

.detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  min-width: 0;
}

.detail-back {
  text-decoration: none;
  background: none;
  border: none;
  color: #356153;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}

.detail-back:hover {
  opacity: 0.7;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #ebebeb;
  margin-bottom: 2rem;
}

.detail-hero-img {
  height: 420px;
  overflow: hidden;
}

.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-info {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-mealtype {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #356153;
  font-weight: 700;
}

.detail-hero-info h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.detail-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

.detail-meta {
  display: flex;
  gap: 1.5rem;
}

.detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.detail-meta-label {
  font-size: 0.75rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-meta-value {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.detail-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-badge-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.detail-badge-title {
  font-size: 0.75rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-weight: 500;
}

.badge--diet {
  background: #f0f7f4;
  color: #356153;
}

.badge--allergen {
  background: #fff4e5;
  color: #b07200;
}

.badge--goal {
  background: #f0f4ff;
  color: #3b5bdb;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.detail-ingredients,
.detail-preparation {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1.5px solid #ebebeb;
}

.detail-ingredients h2,
.detail-preparation h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.detail-ingredients-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.detail-ingredients-header h2 {
  margin-bottom: 0;
}

.detail-person-picker {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 190px;
  color: #356153;
  font-size: 0.75rem;
  font-weight: 800;
}

.detail-person-picker select {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 2.35rem 0.6rem 0.8rem;
  border: 1.5px solid #b8d1c8;
  border-radius: 9px;
  background-color: #fff;
  color: #1f3f35;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.detail-person-picker select:focus-visible {
  border-color: #356153;
  outline: 3px solid rgba(53, 97, 83, 0.15);
  outline-offset: 1px;
}

.detail-person-status {
  margin-bottom: 1.25rem;
  color: #73807b;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ingredients-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #f9f9f7;
  border-radius: 10px;
}

.ingredient-name {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
}

.ingredient-amount {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.preparation-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1.25rem;
}

.preparation-list li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  padding-left: 0.5rem;
}


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  header {
    padding-inline: 4%;
  }

  .hero-text {
    flex-basis: 50%;
    padding: 4rem 3rem 4rem 5%;
  }

  .hero-image {
    flex-basis: 50%;
  }

  .waarom-right {
    padding: 3rem 5%;
  }

  .supermarkt {
    padding: 4rem 5%;
  }

  .supermarkt-top {
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-cta-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .waarom {
    flex-direction: column;
    min-height: 0;
  }

  .waarom-left {
    flex: none;
    height: clamp(220px, 48vw, 420px);
  }

  .waarom-left img {
    position: static;
    height: 100%;
  }

  .waarom-right {
    flex: none;
  }

  .supermarkt-top,
  .begin-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
  }

  .supermarkt-right img {
    max-width: 460px;
  }

  .begin-banner-left {
    flex: none;
    max-width: 460px;
  }
}

@media (max-width: 768px) {
  header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.4rem 5%;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .contact-btn {
    display: none;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    padding: 0.5rem 5% 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  }

  nav.is-open { display: flex; }
  nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
  }
  nav a:last-child { border-bottom: none; }

  .mobile-contact-btn {
    display: block;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem !important;
    border: 0 !important;
    border-radius: 6px;
    background: #2c5f4f;
    color: #fff !important;
    text-align: center;
    font-weight: 700;
  }

  .hero { flex-direction: column; min-height: auto; }
  .hero-text {
    flex: none;
    padding: 3rem 5% 2rem;
  }
  .hero-text h1 { font-size: 2rem; }
  .hero-text h1 br,
  .supermarkt-left h2 br,
  .supermarkt-sub br,
  .begin-banner-right h3 br {
    display: none;
  }
  .hero-image {
    flex: none;
    width: 100%;
    height: clamp(230px, 64vw, 460px);
    position: relative;
  }
  .hero-image img { position: absolute; }

  .waarom-item {
    padding: 1.25rem;
    align-items: flex-start;
  }

  .supermarkt {
    gap: 2rem;
    padding-block: 3rem;
  }

  .supermarkt-left,
  .begin-banner-right {
    gap: 1.25rem;
  }

  .supermarkt-left h2 {
    font-size: 2rem;
  }

  .begin-banner {
    gap: 1.75rem;
  }

  .hhw {
    padding: 3rem 5%;
  }

  .hhw-container h2 {
    font-size: 1.75rem;
  }

  .hhw-stap {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .hhw-stap-left {
    gap: 1rem;
  }

  .hhw-stap-right {
    margin: 0;
    border-radius: 12px;
  }

  .hhw-stap-right img {
    height: 180px;
    max-height: none;
    position: static;
    transform: none;
  }

  .footer {
    padding: 3rem 5% 1.5rem;
  }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-cta-block { grid-column: 1 / -1; }
  .footer-demo-btn { width: 100%; text-align: center; }

  .detail-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .detail-hero-img {
    height: clamp(240px, 58vw, 360px);
  }

  .detail-hero-info {
    padding: 1.5rem;
  }

  .detail-body {
    grid-template-columns: 1fr;
  }

  .detail-meta {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }


  .recepten-hero {
    padding: 3rem 5%;
  }
  .recepten-hero h1 {
    font-size: 2rem;
  }
  .recepten-grid {
    padding: 2rem 5%;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1rem;
  }
  .recept-card-img {
    height: 160px;
  }

}

@media (max-width: 480px) {
  .logo img {
    height: 48px;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-text,
  .waarom-right,
  .supermarkt {
    padding-inline: 1rem;
  }

  .hero-checks li,
  .supermarkt-checks li {
    align-items: flex-start;
  }

  .waarom-item {
    gap: 0.75rem;
    padding: 1rem;
  }

  .supermarkt-left h2 {
    font-size: 1.7rem;
  }

  .begin-banner-right h3 {
    font-size: 1.45rem;
  }

  .hhw {
    padding-inline: 1rem;
  }

  .hhw-stap-left {
    flex-direction: column;
  }

  .hhw-nummer {
    width: 38px;
    height: 38px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-contact-item {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .recepten-hero {
    padding: 2.25rem 1rem;
  }

  .recepten-grid {
    padding: 1.5rem 1rem;
  }

  .recept-card-footer,
  .ingredient-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-page {
    padding: 1.5rem 0;
  }

  .detail-container {
    padding: 0 1rem;
  }

  .detail-hero,
  .detail-ingredients,
  .detail-preparation {
    border-radius: 12px;
  }

  .detail-ingredients,
  .detail-preparation {
    padding: 1.25rem;
  }
}

/* Mobile polish overrides */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.6rem;
  }

  .supermarkt-left h2 {
    font-size: 2.35rem;
  }

  .detail-hero {
    gap: 2rem;
  }

  .detail-hero-info {
    padding-right: 2rem;
  }
}

@media (max-width: 900px) {
  header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.4rem 5%;
    position: sticky;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
    align-items: stretch;
    border-radius: 8px;
  }

  .nav-toggle.is-open {
    background: #f0f7f4;
  }

  .contact-btn {
    display: none;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    grid-column: 1 / -1;
    justify-self: stretch;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    margin: 0;
    padding: 0.75rem 5% 1rem;
    background: #fff;
    border-top: 1px solid #eef1ef;
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
    z-index: 150;
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 0;
    color: #263a34;
    border-bottom: 1px solid #edf0ef;
    text-align: left;
  }

  .mobile-contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem !important;
    border: 0 !important;
    border-radius: 8px;
    background: #2c5f4f;
    color: #fff !important;
    font-weight: 700;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-text {
    flex: none;
    padding: 3rem 5% 2rem;
  }

  .hero-image {
    flex: none;
    width: 100%;
    height: 360px;
    position: relative;
  }

  .hero-image img { position: absolute; }

  .waarom-left {
    order: 2;
    height: auto;
    padding: 0 5% 3rem;
    overflow: visible;
    background: #fff;
  }

  .waarom-left img {
    width: min(100%, 460px);
    height: auto;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 14px;
  }

  .waarom-right {
    order: 1;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .detail-hero-img {
    height: 340px;
  }

  .detail-hero-info {
    padding: 1.75rem;
  }

  .detail-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 62px;
  }

  .hero-text {
    padding: 2.75rem 5% 1.75rem;
  }

  .hero-text > p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-image {
    height: 300px;
  }

  .waarom-left {
    height: auto;
    padding-bottom: 2.5rem;
  }

  .begin-banner-left,
  .supermarkt-right {
    align-self: center;
    width: min(100%, 460px);
  }

  .detail-hero-img {
    height: 300px;
  }

  .recepten-hero p {
    max-width: 34rem;
  }
}

@media (max-width: 480px) {
  header {
    padding-inline: 1rem;
  }

  .logo img {
    height: 46px;
  }

  nav {
    padding-inline: 1rem;
    top: 59px;
    max-height: calc(100vh - 59px);
  }

  nav a {
    min-height: 44px;
    font-size: 0.98rem;
  }

  .hero-text {
    padding: 2.25rem 1rem 1.5rem;
  }

  .hero-text > p {
    font-size: 0.94rem;
  }

  .hero-checks {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-checks li,
  .supermarkt-checks li {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-image {
    height: 240px;
  }

  .waarom-left {
    height: auto;
    padding: 0 1rem 2.25rem;
  }

  .waarom-left img {
    width: 100%;
    border-radius: 12px;
  }

  .waarom-right h2,
  .hhw-container h2 {
    font-size: 1.55rem;
  }

  .hhw-container {
    gap: 1rem;
  }

  .hhw-stap {
    border-radius: 12px;
    padding: 1rem;
  }

  .recepten-hero h1 {
    font-size: 1.75rem;
  }

  .recepten-search {
    border-radius: 10px;
    padding: 0.8rem 0.95rem;
  }

  .recept-card {
    border-radius: 12px;
  }

  .recept-card-body {
    padding: 1rem;
  }

  .detail-back {
    min-height: 44px;
    margin-bottom: 1rem;
  }

  .detail-hero-img {
    height: 220px;
  }

  .detail-hero-info {
    padding: 1.25rem;
  }

  .detail-hero-info h1 {
    font-size: 1.55rem;
  }

  .detail-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .badge {
    border-radius: 8px;
    line-height: 1.35;
  }
}

@media (max-width: 360px) {
  .hero-text h1,
  .recepten-hero h1 {
    font-size: 1.55rem;
  }

  .hero-image {
    height: 210px;
  }

  .waarom-item-text p:first-child,
  .recept-card-body h3,
  .detail-meta-value {
    overflow-wrap: anywhere;
  }

  .footer-demo-btn,
  .mobile-contact-btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  header {
    overflow: visible;
  }

  header nav {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    padding: 0.85rem 1.25rem 1.15rem;
    background: #fff;
    border-top: 1px solid #eef1ef;
    box-shadow: 0 18px 34px rgba(0,0,0,0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition:
      opacity 0.18s ease,
      transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0s linear 0.24s;
  }

  header nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  header nav a {
    width: 100%;
  }

  header .mobile-contact-btn {
    margin-inline: 0;
  }
}

@media (max-width: 480px) {
  header nav {
    top: 59px;
    padding-inline: 1rem;
  }
}

/* Receptenoverzicht: compacte, database-gesynchroniseerde kaarten. */
.recepten-hero {
  padding: 3rem 5%;
}

.recepten-search:disabled {
  cursor: not-allowed;
  background: #f2f3f2;
  color: #7a7a7a;
}

.recepten-result-status {
  margin: 0.75rem 0 0;
  color: #356153;
  font-size: 0.9rem;
  font-weight: 700;
}

.recepten-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  padding: 2.25rem 5%;
}

.recept-card {
  border-radius: 14px;
}

.recept-card-img {
  height: 150px;
}

.recept-card-body {
  gap: 0.4rem;
  padding: 1rem;
}

.recept-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.recept-card-heading h3 {
  min-width: 0;
}

.recept-code,
.detail-recipe-code {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: #eef5f2;
  color: #356153;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  padding: 0.42rem 0.55rem;
  white-space: nowrap;
}

.detail-recipe-code {
  margin: -0.2rem 0 0.8rem;
  font-size: 0.76rem;
}

.recept-card-footer {
  align-items: flex-end;
  margin-top: 0.35rem;
}

.recept-tags {
  justify-content: flex-end;
}

.recepten-state {
  width: min(760px, 90%);
  margin: 2.25rem auto 4rem;
  padding: 2rem;
  border: 1px solid #dfe7e3;
  border-radius: 16px;
  background: #fff;
  color: #4a514e;
  text-align: center;
}

.recepten-state h2 {
  margin-bottom: 0.5rem;
  color: #1a1a1a;
  font-size: 1.25rem;
}

.recepten-state p {
  margin: 0;
  line-height: 1.6;
}

.recepten-state--error {
  border-color: #edc9c5;
  background: #fff8f7;
}

@media (max-width: 1180px) {
  .recepten-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .recepten-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .recepten-hero {
    padding: 2.25rem 1rem;
  }

  .recepten-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }

  .recept-card-img {
    height: 165px;
  }

  .recept-card-footer {
    align-items: flex-start;
  }

  .recept-tags {
    justify-content: flex-start;
  }

  .recepten-state {
    margin-top: 1.5rem;
    padding: 1.5rem 1rem;
  }
}

/* Homepage parity en robuuste responsive laag voor de blijvende PHP-site. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 1100px) {
  .hero-text {
    padding: 4rem 3rem 4rem 5%;
  }

  .hero-text h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.2rem);
  }

  .waarom-right,
  .supermarkt-left {
    padding-inline: 5%;
  }
}

@media (max-width: 900px) {
  header {
    position: sticky;
    top: 0;
    z-index: 300;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    min-height: 64px;
    padding: 0 1rem;
    gap: 0.75rem;
    overflow: visible;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #edf1ef;
    box-shadow: 0 2px 14px rgba(24, 43, 36, 0.08);
    backdrop-filter: blur(10px);
  }

  .logo,
  .logo a {
    min-width: 0;
    width: fit-content;
    max-width: 100%;
  }

  .logo img {
    height: 48px;
    max-width: min(170px, 100%);
    object-fit: contain;
  }

  .contact-btn {
    display: none;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dfe8e4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(24, 43, 36, 0.08);
  }

  .nav-toggle:hover,
  .nav-toggle[aria-expanded="true"] {
    background: #f0f7f4;
    border-color: #cbdcd5;
  }

  .nav-toggle:focus-visible {
    outline: 3px solid rgba(44, 95, 79, 0.24);
    outline-offset: 2px;
  }

  .nav-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #2c5f4f;
    transform-origin: center;
  }

  .nav-toggle span:nth-child(1) { transform: translateY(-7px); }
  .nav-toggle span:nth-child(2) { transform: translateY(0); }
  .nav-toggle span:nth-child(3) { transform: translateY(7px); }
  .nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

  header nav {
    position: absolute;
    top: 100%;
    left: 0 !important;
    right: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: auto !important;
    min-width: 0;
    max-width: none;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e2eae6;
    box-shadow: 0 18px 28px rgba(24, 43, 36, 0.14);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  header nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  body.nav-open {
    overflow: hidden;
  }

  header nav a,
  header .mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 54px;
    padding: 0 1rem !important;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #edf1ef;
    border-radius: 0;
    background: #fff;
    color: #203830;
    text-align: left;
  }

  header .mobile-contact-btn {
    min-height: 58px;
    background: #2c5f4f;
    color: #fff !important;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-text {
    flex: none;
    width: 100%;
    padding: 4rem 7% 3.25rem;
  }

  .hero-text h1 {
    font-size: clamp(2.35rem, 7vw, 3.1rem);
  }

  .hero-image {
    flex: none;
    width: 100%;
    height: clamp(360px, 68vw, 600px);
  }

  .waarom,
  .supermarkt-top,
  .begin-banner {
    flex-direction: column;
  }

  .supermarkt {
    padding: 3.75rem 0;
  }

  .waarom-left,
  .waarom-right,
  .supermarkt-left,
  .supermarkt-right,
  .begin-banner-left,
  .begin-banner-right {
    width: 100%;
    flex: none;
  }

  .waarom-left,
  .supermarkt-right,
  .begin-banner-left {
    min-height: 360px;
  }

  .waarom-right {
    padding: 3.75rem 7%;
  }

  .supermarkt-left,
  .begin-banner-right {
    padding: 0 7%;
  }

  .supermarkt-left h2,
  .begin-banner-right h3 {
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  header {
    min-height: 60px;
    padding-inline: 0.85rem;
  }

  header nav {
    top: 100%;
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
  }

  .logo img {
    height: 44px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-text {
    padding: 3rem 1.25rem 2.5rem;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .hero-text h1 br,
  .hero-text > p br,
  .supermarkt-left h2 br,
  .begin-banner-right h3 br {
    display: none;
  }

  .hero-text > p,
  .hero-checks li {
    font-size: 0.98rem;
  }

  .hero-image {
    height: clamp(290px, 82vw, 410px);
  }

  .waarom-left,
  .supermarkt-right,
  .begin-banner-left {
    min-height: 270px;
  }

  .supermarkt {
    padding: 3rem 0;
  }

  .waarom-right {
    padding: 3rem 1.25rem;
  }

  .supermarkt-left,
  .begin-banner-right {
    padding: 0 1.25rem;
  }

  .supermarkt-left h2 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
    line-height: 1.18;
  }

  .detail-ingredients-header {
    align-items: stretch;
    flex-direction: column;
    gap: 0.85rem;
  }

  .detail-person-picker {
    min-width: 0;
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}
