/* Zoet! IJs & Chocolade — palette from the pink logo (#D22490) */
:root {
  --cream: #FFF7FB;
  --cream-dark: #F8E4F2;
  --choco: #5A1848;
  --choco-deep: #3D0F32;
  --caramel: #D22490;
  --caramel-hover: #B51C7C;
  --caramel-light: #F3B6DC;
  --pistache: #7CB89A;
  --aardbei: #D22490;
  --ink: #3A1A2E;
  --muted: #8A6078;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(90, 24, 72, .10);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --font-fun: "Leckerli One", "Fraunces", cursive;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--choco); font-weight: 600; line-height: 1.15; }
img { max-width: 100%; display: block; }
a { color: var(--choco); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 251, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1140px; margin: 0 auto;
}
.logo { font-family: var(--font-fun); font-size: 1.5rem; font-weight: 400; color: var(--caramel); text-decoration: none; }
.logo span { color: var(--choco); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav-links a:hover, .nav-links a.active { color: var(--caramel); }
.btn {
  display: inline-block; background: var(--choco); color: #fff !important;
  padding: 12px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: .95rem; border: none; cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--choco-deep); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--choco) !important; border: 2px solid var(--choco); }
.btn.ghost:hover { background: var(--choco); color: #fff !important; }
.btn.caramel { background: var(--caramel); }
.btn.caramel:hover { background: var(--caramel-hover); }
.hamburger { display: none; background: none; border: none; font-size: 1.6rem; color: var(--choco); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(61, 15, 50, .78) 25%, rgba(61, 15, 50, .28) 70%); }
.hero-inner { position: relative; z-index: 1; padding: 110px 24px 120px; max-width: 1140px; margin: 0 auto; }
.hero h1 { color: #fff; font-family: var(--font-fun); font-weight: 400; font-size: clamp(2.3rem, 5.2vw, 3.7rem); max-width: 640px; line-height: 1.22; }
.hero p { color: #FCEAF5; font-size: 1.2rem; max-width: 520px; margin: 20px 0 34px; }
.hero .badge {
  display: inline-block; background: var(--caramel); color: #fff;
  font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn.ghost { border-color: #fff; color: #fff !important; }
.hero-cta .btn.ghost:hover { background: #fff; color: var(--choco) !important; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-label { color: var(--caramel); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.lead { font-size: 1.12rem; max-width: 640px; }
.alt { background: var(--cream-dark); }
.dark { background: var(--choco-deep); }
.dark h2, .dark h3 { color: var(--cream); }
.dark p { color: var(--caramel-light); }
.dark .section-label { color: var(--caramel-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .2s;
}
.card:hover { transform: translateY(-5px); }
.card img { height: 210px; width: 100%; object-fit: cover; }
.card .card-body { padding: 22px 24px 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { font-size: .96rem; }

.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* flavor chips */
.flavors { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.flavor { text-align: center; width: 120px; }
.flavor img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin: 0 auto 10px; border: 4px solid #fff; box-shadow: var(--shadow); }
.flavor span { font-weight: 700; font-size: .9rem; }

/* stats */
.stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 36px; }
.stat b { font-family: var(--font-display); font-size: 2.2rem; color: var(--caramel); display: block; }
.stat span { font-size: .95rem; }

/* partner logos / list */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 34px; }
.partner {
  background: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow);
  font-weight: 700; display: flex; align-items: center; gap: 12px;
}
.partner small { display: block; font-weight: 600; color: var(--muted); }
.partner .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--caramel); flex-shrink: 0; }

/* USP list */
.usps { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.usps li { display: flex; gap: 14px; align-items: flex-start; }
.usps .ico {
  width: 40px; height: 40px; border-radius: 12px; background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.usps b { color: var(--choco); }

/* opening hours table */
.hours { width: 100%; border-collapse: collapse; margin-top: 20px; max-width: 420px; }
.hours td { padding: 9px 0; border-bottom: 1px dashed var(--caramel-light); }
.hours td:last-child { text-align: right; font-weight: 700; }

/* ---------- webshop ---------- */
.shop-banner {
  background: var(--caramel);
  color: #fff; text-align: center; padding: 12px 20px; font-weight: 700; font-size: .95rem;
}
.shop-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 26px; }
.chip {
  background: #fff; border: 2px solid var(--cream-dark); border-radius: 999px;
  padding: 8px 20px; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--ink);
  font-family: var(--font-body);
}
.chip.active, .chip:hover { border-color: var(--caramel); background: var(--caramel); color: #fff; }
.product { position: relative; }
.product .tag {
  position: absolute; top: 14px; left: 14px; background: var(--pistache);
  color: var(--choco-deep); font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 999px;
}
.product .price { font-family: var(--font-display); font-size: 1.3rem; color: var(--choco); }
.product .card-body { display: flex; flex-direction: column; gap: 10px; }
.product .row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.add-btn {
  background: var(--choco); color: #fff; border: none; border-radius: 999px;
  padding: 10px 20px; font-weight: 700; cursor: pointer; font-family: var(--font-body);
}
.add-btn:hover { background: var(--caramel); }

/* cart drawer */
.cart-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 60;
  background: var(--choco); color: #fff; border: none; border-radius: 999px;
  padding: 16px 24px; font-size: 1rem; font-weight: 800; cursor: pointer; box-shadow: var(--shadow);
}
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100vh;
  background: #fff; z-index: 70; box-shadow: -12px 0 40px rgba(0,0,0,.18);
  transition: right .3s; display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-head { padding: 22px 26px; border-bottom: 1px solid var(--cream-dark); display: flex; justify-content: space-between; align-items: center; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 26px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--caramel-light); gap: 10px; }
.cart-item button { background: none; border: none; color: var(--aardbei); font-weight: 800; cursor: pointer; font-size: 1.05rem; }
.cart-foot { padding: 22px 26px; border-top: 1px solid var(--cream-dark); }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.stripe-note { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: center; }
.overlay { position: fixed; inset: 0; background: rgba(61,15,50,.4); z-index: 65; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.show { opacity: 1; pointer-events: auto; }

/* ---------- footer ---------- */
footer { background: var(--choco-deep); color: var(--caramel-light); padding: 64px 0 30px; }
footer h4 { color: var(--cream); margin-bottom: 14px; font-size: 1.1rem; }
footer a { color: var(--caramel-light); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer ul { list-style: none; display: grid; gap: 8px; }

/* ---------- logo met beeldmerk ---------- */
.logo { display: flex; align-items: center; gap: 11px; }
.logo img { height: 54px; width: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 3px 10px rgba(210, 36, 144, .22); }

/* ---------- header scroll-state ---------- */
header { transition: box-shadow .3s, background .3s; }
header.scrolled { box-shadow: 0 6px 24px rgba(90, 24, 72, .10); background: rgba(255, 247, 251, .97); }
header.scrolled .nav { padding-top: 8px; padding-bottom: 8px; }
.nav { transition: padding .3s; }

/* ---------- scroll reveals ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-anim .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- hero entree + parallax ---------- */
.hero-media img { will-change: transform; transform: scale(1.08); }
.hero-anim .hero-inner > * { opacity: 0; transform: translateY(24px); animation: heroIn .8s cubic-bezier(.16, 1, .3, 1) forwards; }
.hero-anim .hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-anim .hero-inner > *:nth-child(2) { animation-delay: .15s; }
.hero-anim .hero-inner > *:nth-child(3) { animation-delay: .3s; }
.hero-anim .hero-inner > *:nth-child(4) { animation-delay: .45s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-anim .hero-inner > * { animation: none; opacity: 1; transform: none; } }
.hero-sm .hero-inner { padding: 84px 24px 92px; }

/* ---------- kaarten: zachtere motion ---------- */
.card { transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s; }
.card:hover { box-shadow: 0 18px 44px rgba(90, 24, 72, .18); }
.card img { transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.card:hover img { transform: scale(1.05); }
.card { overflow: hidden; }
.btn { transition: transform .2s cubic-bezier(.16, 1, .3, 1), background .2s, box-shadow .2s; }
.btn:hover { box-shadow: 0 8px 22px rgba(90, 24, 72, .25); }
.flavor img { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.flavor:hover img { transform: scale(1.12) rotate(-4deg); }

/* ---------- accent ---------- */
.accent { color: var(--caramel); }

/* ---------- assortiment: smaken ---------- */
.smaken-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 28px; }
.smaak-card {
  background: #fff; border-radius: 18px; padding: 14px 12px 16px; text-align: center;
  box-shadow: 0 4px 14px rgba(90, 24, 72, .08); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.smaak-card:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 14px 30px rgba(90, 24, 72, .16); }
.smaak-card img {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(90,24,72,.06), 0 4px 12px rgba(90,24,72,.12);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.smaak-card:hover img { transform: scale(1.08) rotate(-3deg); }
.smaak-card b { font-size: .92rem; color: var(--choco); line-height: 1.2; }
.smaak-card em { font-style: normal; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #fff; padding: 3px 10px; border-radius: 999px; }
.smaak-card.melk em { background: var(--caramel); }
.smaak-card.sorbet em { background: var(--pistache); color: var(--choco-deep); }
.smaak-pill {
  background: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: .93rem;
  box-shadow: 0 4px 14px rgba(90, 24, 72, .08); display: flex; align-items: center; gap: 9px;
  transition: transform .2s, box-shadow .2s;
}
.smaak-pill:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 24px rgba(90, 24, 72, .14); }
.smaak-pill em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff; padding: 3px 10px; border-radius: 999px; }
.smaak-pill.melk em { background: var(--caramel); }
.smaak-pill.sorbet em { background: var(--pistache); color: var(--choco-deep); }

/* ---------- assortiment: truffels & bonbons ---------- */
.truffel-grid, .bonbon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 30px; }
.truffel-item, .bonbon-item {
  background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 4px 14px rgba(90, 24, 72, .08);
  display: flex; flex-direction: column; gap: 5px; transition: transform .2s, box-shadow .2s;
  border-left: 4px solid var(--caramel-light);
}
.truffel-item:hover, .bonbon-item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(90, 24, 72, .14); border-left-color: var(--caramel); }
.truffel-item img {
  width: 100%; aspect-ratio: 1; height: auto; object-fit: contain;
  border-radius: 12px; margin-bottom: 10px; background: #f4eef2;
}
.truffel-item b, .bonbon-item b { color: var(--choco); font-size: 1rem; }
.truffel-item span, .bonbon-item span { font-size: .89rem; line-height: 1.45; }
.truffel-item em, .bonbon-item em { font-style: normal; font-size: .76rem; color: var(--muted); }
.cake-photo { background: #fff; object-fit: contain; max-height: 420px; width: 100%; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 30px; }
.photo-grid img {
  width: 100%; height: 180px; object-fit: contain; background: #fff;
  border-radius: 16px; padding: 10px; box-shadow: var(--shadow);
}
.allergen-note { font-size: .84rem; color: var(--muted); margin-top: 26px; max-width: 760px; }
.search-input {
  flex: 1; min-width: 240px; border: 2px solid var(--cream-dark); border-radius: 999px; padding: 10px 20px;
  font-family: var(--font-body); font-size: .95rem; background: #fff; color: var(--ink); outline: none;
  transition: border-color .2s;
}
.search-input:focus { border-color: var(--caramel); }
.price-table td:last-child { color: var(--choco); font-family: var(--font-display); font-size: 1.05rem; }
.card.mini .card-body { padding: 26px 26px 28px; }

/* ---------- paginaovergang ---------- */
body { animation: pageFade .45s ease; }
@keyframes pageFade { from { opacity: 0; } }
.page-transition {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  opacity: 1; transition: opacity .35s ease;
}
.page-transition.loaded { opacity: 0; }
.page-transition.exiting { opacity: 1; pointer-events: auto; transition-duration: .28s; }
@media (prefers-reduced-motion: reduce) { body { animation: none; } .page-transition { display: none; } }

/* ---------- terug naar boven ---------- */
.to-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 60; width: 48px; height: 48px; border-radius: 50%;
  background: var(--caramel); color: #fff; border: none; font-size: 1.3rem; font-weight: 800; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--choco); }

/* ---------- webshop coming soon ---------- */
.btn.coming-soon {
  display: inline-flex; align-items: center; gap: 8px;
}
.btn.coming-soon small {
  font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.28); color: #fff; padding: 3px 9px; border-radius: 999px;
}
.soon-tag {
  display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; background: var(--caramel); color: #fff;
  padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
}
footer .soon-tag { background: rgba(210, 36, 144, .45); }
.coming-soon-block { text-align: center; }
.coming-soon-block .lead { margin: 0 auto 8px; }
.soon-badge {
  display: inline-block; background: var(--cream-dark); color: var(--caramel);
  font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin: 22px 0 36px;
}
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 12px; text-align: left; }
.teaser-note { color: var(--muted); font-size: .95rem; margin-top: 16px; }

@media (max-width: 900px) {
  .teaser-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 80px 24px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 20px; gap: 16px;
    border-bottom: 1px solid var(--cream-dark);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
