/* ===== Kerstmenu, De Eerste Aanleg ===== */

/* ---------- Fonts (zelf gehost, OFL) ---------- */
@font-face {
  font-family: 'KM Script';
  src: url('../fonts/kerst/great-vibes-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'KM Serif';
  src: url('../fonts/kerst/cormorant-garamond-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'KM Serif';
  src: url('../fonts/kerst/cormorant-garamond-latin-500-italic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'KM Serif';
  src: url('../fonts/kerst/cormorant-garamond-latin-600-italic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
}

/* ---------- Variabelen ---------- */
.kerstmenu {
  --km-green: #0f2219;
  --km-green-deep: #08140e;
  --km-green-soft: #163126;
  --km-gold: #c9a35a;
  --km-gold-light: #ecd59d;
  --km-gold-dark: #9c7a3a;
  --km-cream: #f7f1e7;
  --km-cream-2: #efe5d5;
  --km-ink: #1b1a16;
  --km-muted: #6b5e56;
  --km-brown: #6f5854;
  --km-radius: 28px;
  --km-ease: cubic-bezier(.22, .8, .24, 1);
  --km-gold-grad: linear-gradient(115deg, #a9853f 0%, #ecd59d 28%, #c9a35a 50%, #f3e2b4 70%, #a9853f 100%);
  overflow: hidden;
  background: var(--km-cream);
}

.kerstmenu .container { position: relative; z-index: 2; }

.kerstmenu .km-ico { width: 1.2em; height: 1.2em; flex: 0 0 auto; display: block; }

/* ---------- Knoppen ---------- */
.kerstmenu .km-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .35s var(--km-ease), box-shadow .35s var(--km-ease), background-color .35s var(--km-ease), color .35s var(--km-ease);
}
.kerstmenu .km-btn--gold {
  color: var(--km-green-deep) !important;
  background: var(--km-gold-grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  box-shadow: 0 10px 30px -10px rgba(201, 163, 90, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.kerstmenu .km-btn--gold:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(201, 163, 90, .85), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.kerstmenu .km-btn--ghost {
  color: var(--km-cream) !important;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1.5px rgba(236, 213, 157, .45);
  backdrop-filter: blur(6px);
}
.kerstmenu .km-btn--ghost:hover {
  background: rgba(236, 213, 157, .16);
  box-shadow: inset 0 0 0 1.5px rgba(236, 213, 157, .8);
  transform: translateY(-2px);
}
.kerstmenu .km-btn--ghost .km-ico { color: var(--km-gold-light); }

/* ============================================================
   HERO
   ============================================================ */
.km-hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vw, 140px) 0 clamp(90px, 12vw, 150px);
  background:
    radial-gradient(1200px 600px at 50% 110%, rgba(201, 163, 90, .22), transparent 60%),
    radial-gradient(800px 500px at 15% 10%, rgba(40, 90, 62, .55), transparent 60%),
    radial-gradient(700px 500px at 90% 20%, rgba(120, 30, 30, .28), transparent 60%),
    linear-gradient(180deg, var(--km-green-deep) 0%, var(--km-green) 55%, #10261c 100%);
  color: var(--km-cream);
  text-align: center;
  isolation: isolate;
}
.km-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  animation: km-kenburns 22s ease-in-out infinite alternate;
}
.km-hero.has-image::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 50% 45%, rgba(8, 20, 14, .55), rgba(8, 20, 14, .88)),
    linear-gradient(180deg, rgba(8, 20, 14, .5), rgba(8, 20, 14, .9));
}

/* Bokeh-lichtjes */
.km-hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 8% 70%, rgba(236, 213, 157, .35) 0 6px, transparent 7px),
    radial-gradient(circle at 12% 30%, rgba(236, 213, 157, .18) 0 18px, transparent 19px),
    radial-gradient(circle at 22% 85%, rgba(236, 213, 157, .14) 0 28px, transparent 29px),
    radial-gradient(circle at 80% 78%, rgba(236, 213, 157, .2) 0 14px, transparent 15px),
    radial-gradient(circle at 90% 35%, rgba(236, 213, 157, .3) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 15%, rgba(236, 213, 157, .12) 0 34px, transparent 35px),
    radial-gradient(circle at 95% 60%, rgba(200, 80, 60, .18) 0 22px, transparent 23px),
    radial-gradient(circle at 4% 15%, rgba(200, 80, 60, .14) 0 12px, transparent 13px);
  filter: blur(2px);
  animation: km-twinkle 6s ease-in-out infinite alternate;
}

.km-snow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.km-hero__inner { max-width: 880px; }

.km-hero__title {
  margin: 0;
  font-family: 'KM Script', 'depot-new-web', cursive;
  font-weight: 400;
  font-size: clamp(84px, 15vw, 176px);
  line-height: 1.05;
  padding: .05em .15em .12em;
  background: var(--km-gold-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 6px 24px rgba(201, 163, 90, .25));
  animation: km-shimmer 9s ease-in-out infinite alternate;
}

.km-hero__sub {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0 26px;
  font-family: 'KM Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--km-gold-light);
}
.km-hero__sub .km-ico { width: 18px; height: 18px; color: var(--km-gold); opacity: .85; }

.km-hero__intro {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.75;
  color: rgba(247, 241, 231, .82);
}

.km-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  margin-bottom: 34px;
}

.km-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(236, 213, 157, .3), 0 20px 40px -24px rgba(0, 0, 0, .6);
  backdrop-filter: blur(8px);
}
.km-price__amount {
  font-family: 'depot-new-web', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1;
  background: var(--km-gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.km-price__label { font-size: 15px; color: rgba(247, 241, 231, .75); }

.km-period {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; color: rgba(247, 241, 231, .85);
}
.km-period .km-ico { color: var(--km-gold); }

.km-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.km-scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  z-index: 3;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.km-scroll span {
  width: 11px; height: 11px;
  border-right: 2px solid var(--km-gold-light);
  border-bottom: 2px solid var(--km-gold-light);
  transform: rotate(45deg) translate(-2px, -2px);
  animation: km-bob 1.8s ease-in-out infinite;
}

/* ============================================================
   MENU
   ============================================================ */
.km-menu {
  position: relative;
  padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(201, 163, 90, .18), transparent 70%),
    var(--km-cream);
}
.km-menu::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M45 38l1.6 4.4L51 44l-4.4 1.6L45 50l-1.6-4.4L39 44l4.4-1.6z' fill='%23c9a35a' fill-opacity='.18'/%3E%3Ccircle cx='8' cy='10' r='1.2' fill='%23c9a35a' fill-opacity='.22'/%3E%3Ccircle cx='76' cy='78' r='1.2' fill='%23c9a35a' fill-opacity='.22'/%3E%3C/svg%3E");
  opacity: .9;
}

.km-head { text-align: center; max-width: 640px; margin: 0 auto clamp(30px, 5vw, 52px); }
.km-head h2 {
  margin: 0 0 10px;
  font-family: 'KM Serif', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  color: var(--km-brown) !important;
}
.km-head p { margin: 0; color: var(--km-muted); font-size: clamp(16px, 1.9vw, 18px); line-height: 1.7; }

/* De menukaart */
.km-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 78px) clamp(22px, 6vw, 72px) clamp(36px, 6vw, 64px);
  border-radius: var(--km-radius);
  text-align: center;
  color: var(--km-cream);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(201, 163, 90, .16), transparent 70%),
    radial-gradient(500px 400px at 100% 100%, rgba(120, 30, 30, .18), transparent 70%),
    linear-gradient(180deg, var(--km-green-soft) 0%, var(--km-green) 45%, var(--km-green-deep) 100%);
  box-shadow:
    0 50px 100px -40px rgba(8, 20, 14, .7),
    0 20px 40px -20px rgba(8, 20, 14, .45),
    inset 0 1px 0 rgba(236, 213, 157, .18);
  overflow: hidden;
  isolation: isolate;
}
.km-card__sparkle {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(236, 213, 157, .5) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 86% 12%, rgba(236, 213, 157, .45) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 92% 46%, rgba(236, 213, 157, .35) 0 1px, transparent 2px),
    radial-gradient(circle at 6% 58%, rgba(236, 213, 157, .4) 0 1px, transparent 2px),
    radial-gradient(circle at 15% 88%, rgba(236, 213, 157, .35) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 82% 90%, rgba(236, 213, 157, .4) 0 1px, transparent 2px);
  animation: km-twinkle 4s ease-in-out infinite alternate;
}

.km-card__script {
  margin: 0;
  font-family: 'KM Script', cursive;
  font-size: clamp(56px, 9vw, 92px);
  line-height: 1.1;
  background: var(--km-gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.km-orn {
  display: block;
  width: min(220px, 70%);
  height: auto;
  margin: 10px auto 8px;
  color: var(--km-gold);
}

.km-course { padding: clamp(26px, 4vw, 38px) 0 0; }
.km-course__title {
  margin: 0 0 18px;
  font-family: 'KM Serif', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.15;
  color: var(--km-gold-light) !important;
}

.km-dishes, .km-combo { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; }
.km-dish {
  font-family: 'KM Serif', Georgia, serif;
  font-weight: 500;
  font-size: clamp(19px, 2.3vw, 22px);
  line-height: 1.45;
  color: var(--km-cream);
  padding: 4px 0;
  transition: color .3s var(--km-ease), transform .3s var(--km-ease);
}
.km-dish:hover { color: #fff; transform: translateY(-1px); }
.km-dish em, .km-combo em { display: block; font-size: .78em; color: rgba(247, 241, 231, .6); }

.km-of {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0;
  font-family: 'KM Serif', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: var(--km-gold);
}
.km-of::before, .km-of::after {
  content: '';
  width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 163, 90, .7), transparent);
}

.km-dots { display: flex; justify-content: center; gap: 8px; margin: 0 0 22px; }
.km-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--km-gold); box-shadow: 0 0 10px rgba(236, 213, 157, .6); }

.km-combo {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.km-combo li {
  font-family: 'KM Serif', Georgia, serif;
  font-weight: 500;
  font-size: clamp(17px, 2vw, 20px);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(236, 213, 157, .08);
  box-shadow: inset 0 0 0 1px rgba(236, 213, 157, .22);
  color: var(--km-cream);
}

.km-card__price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(34px, 5vw, 50px);
  padding: 16px 40px 14px;
  border-radius: 20px;
  background: var(--km-gold-grad);
  color: var(--km-green-deep);
  box-shadow: 0 18px 40px -18px rgba(201, 163, 90, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.km-card__price-amt {
  font-family: 'depot-new-web', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(32px, 4.2vw, 40px);
  line-height: 1;
}
.km-card__price-pp { font-size: 14px; font-weight: 600; margin-top: 4px; opacity: .8; }

.km-diet {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 720px;
  margin: 28px auto 0;
  padding: 12px 22px;
  border-radius: 18px;
  background: rgba(201, 163, 90, .12);
  text-align: left !important;
  color: var(--km-muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}
.km-diet .km-ico { color: var(--km-gold-dark); width: 22px; height: 22px; }
.km-diet span { text-align: left; }

/* ============================================================
   GOED OM TE WETEN
   ============================================================ */
.km-info { padding: 0 0 clamp(70px, 10vw, 120px); background: var(--km-cream); position: relative; }
.km-info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 1080px;
  margin: 0 auto;
}
.km-tile {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(30, 20, 10, .04), 0 18px 40px -26px rgba(30, 20, 10, .28);
  text-align: center;
  transition: transform .45s var(--km-ease), box-shadow .45s var(--km-ease);
}
.km-tile:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(30, 20, 10, .05), 0 30px 60px -30px rgba(30, 20, 10, .4); }
.km-tile__ico {
  display: inline-grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--km-gold-light);
  background: radial-gradient(circle at 30% 25%, var(--km-green-soft), var(--km-green-deep));
  box-shadow: 0 12px 24px -12px rgba(8, 20, 14, .7);
}
.km-tile__ico .km-ico { width: 26px; height: 26px; }
.km-tile h3 {
  margin: 0 0 8px;
  font-family: 'KM Serif', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  color: var(--km-ink) !important;
}
.km-tile p { margin: 0; color: var(--km-muted); font-size: 15.5px; line-height: 1.65; }

/* ============================================================
   CTA
   ============================================================ */
.km-cta {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
  color: var(--km-cream);
  background:
    radial-gradient(900px 420px at 50% 100%, rgba(201, 163, 90, .24), transparent 70%),
    linear-gradient(180deg, var(--km-green) 0%, var(--km-green-deep) 100%);
  isolation: isolate;
}
.km-cta__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 10% 30%, rgba(236, 213, 157, .16) 0 26px, transparent 27px),
    radial-gradient(circle at 88% 70%, rgba(236, 213, 157, .14) 0 36px, transparent 37px),
    radial-gradient(circle at 78% 20%, rgba(236, 213, 157, .3) 0 4px, transparent 5px),
    radial-gradient(circle at 20% 80%, rgba(236, 213, 157, .3) 0 4px, transparent 5px);
  filter: blur(1.5px);
  animation: km-twinkle 7s ease-in-out infinite alternate;
}
.km-cta__inner { max-width: 760px; }
.km-cta h2 {
  margin: 14px 0 14px;
  font-family: 'KM Serif', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.1;
  color: var(--km-cream) !important;
}
.km-cta p { margin: 0 auto 32px; max-width: 580px; font-size: clamp(16px, 1.9vw, 18px); line-height: 1.75; color: rgba(247, 241, 231, .8); }
.km-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ============================================================
   Reveal-animaties
   ============================================================ */
.km-js .km-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--km-ease), transform .9s var(--km-ease);
}
.km-js .km-reveal.is-visible { opacity: 1; transform: none; }
.km-js .km-reveal-children > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--km-ease), transform .8s var(--km-ease), box-shadow .45s var(--km-ease);
}
.km-js .km-reveal-children.is-visible > * { opacity: 1; transform: none; }
.km-js .km-reveal-children.is-visible > *:nth-child(2) { transition-delay: .1s; }
.km-js .km-reveal-children.is-visible > *:nth-child(3) { transition-delay: .2s; }
.km-js .km-reveal-children.is-visible > *:nth-child(4) { transition-delay: .3s; }
.km-js .km-reveal-children.is-visible > *:hover { transition-delay: 0s; }

/* Hero direct gestaffeld in beeld */
.km-js .km-hero .km-reveal:nth-child(2) { transition-delay: .12s; }
.km-js .km-hero .km-reveal:nth-child(3) { transition-delay: .24s; }
.km-js .km-hero .km-reveal:nth-child(4) { transition-delay: .36s; }
.km-js .km-hero .km-reveal:nth-child(5) { transition-delay: .48s; }

/* Gerechten op de kaart één voor één */
.km-js .km-card .km-course { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--km-ease), transform .8s var(--km-ease); }
.km-js .km-card.is-visible .km-course { opacity: 1; transform: none; }
.km-js .km-card.is-visible .km-course:nth-of-type(2) { transition-delay: .15s; }
.km-js .km-card.is-visible .km-course:nth-of-type(3) { transition-delay: .3s; }
.km-js .km-card.is-visible .km-course:nth-of-type(4) { transition-delay: .45s; }
.km-js .km-card.is-visible .km-course:nth-of-type(5) { transition-delay: .6s; }

/* Vangnet: draait het script niet, dan komt alles na 1,2s alsnog in beeld */
html.km-js:not(.km-ready) .km-reveal,
html.km-js:not(.km-ready) .km-reveal-children > *,
html.km-js:not(.km-ready) .km-card .km-course { animation: km-failsafe .8s ease 1.2s forwards; }
@keyframes km-failsafe { to { opacity: 1; transform: none; } }

/* ---------- Keyframes ---------- */
@keyframes km-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes km-twinkle { from { opacity: .55; } to { opacity: 1; } }
@keyframes km-bob { 0%, 100% { transform: rotate(45deg) translate(-2px, -2px); } 50% { transform: rotate(45deg) translate(2px, 2px); } }
@keyframes km-kenburns { from { transform: scale(1.06); } to { transform: scale(1.14) translate(-1%, -1%); } }

@media (prefers-reduced-motion: reduce) {
  .kerstmenu *, .kerstmenu *::before, .kerstmenu *::after { animation: none !important; transition: none !important; }
  .km-js .km-reveal, .km-js .km-reveal-children > *, .km-js .km-card .km-course { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .km-hero { min-height: auto; }
  .km-hero__sub { gap: 10px; }
  .km-hero__ctas .km-btn, .km-cta__btns .km-btn { width: 100%; max-width: 340px; }
  .km-scroll { display: none; }
  .km-card { border-radius: 22px; }
  .km-price { padding: 12px 22px; }
  .km-combo li { padding: 6px 14px; }
  .km-diet { border-radius: 16px; font-size: 15px; }
}
