/* ==========================================================================
   DIELS restobar · main.css
   Tokens → fonts → base → utilities → components → layout → pages → motion → responsive
   Built on the Figma frame of 1600px (container 1360px, gutter 120px).
   ========================================================================== */

/* ---------- Tokens (Figma) ---------- */
:root {
	--ink: #1c1714;          /* tekst / donker */
	--green: #5c7d76;        /* DIELS-groen */
	--sand: #b4a695;         /* knoppen, tabbladen, menuknop */
	--sand-2: #b2a697;       /* social-rondjes, woordmerk */
	--paper: #e1dbd5;        /* zand 40% op wit */
	--white: #fff;
	--snow: #fef8f9;         /* tekst in de menu-socials */

	--ff-display: "Atelier Fleur", Georgia, "Times New Roman", serif;
	--ff-script: "Figuea Granatae", "Segoe Script", cursive;
	--ff-body: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gutter: clamp(20px, 7.5vw, 120px);
	--container: 1360px;
	--edge: clamp(20px, 5.47vw, 70px);       /* logo / menuknop vanaf de rand: 70px vanaf 1280px breed */
	--section: clamp(64px, 7.5vw, 120px);
	--radius: 10px;
	--admin: 0px;            /* hoogte WordPress-adminbalk (alleen ingelogd) */

	--fs-xxl: clamp(48px, 7.5vw, 120px);     /* paginatitel */
	--fs-xl: clamp(36px, 5vw, 80px);
	--fs-l: clamp(32px, 3.75vw, 60px);
	--fs-m: clamp(28px, 3.125vw, 50px);
	--fs-s: clamp(24px, 2.5vw, 40px);
	--fs-xs: clamp(21px, 1.875vw, 30px);
	--fs-body: clamp(15px, 1.125vw, 18px);
	--fs-lead: clamp(15px, 1.25vw, 20px);

	--btn-h: clamp(48px, 3.5vw, 56px);
	--btn-px: clamp(22px, 2.3vw, 36px);
	--btn-fs: clamp(15px, 1.1vw, 18px);

	--ease: cubic-bezier(.65, 0, .2, 1);
	--ease-out: cubic-bezier(.2, .7, .2, 1);
	--lines: url("../img/lines.svg?v=10");
}

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Atelier Fleur"; src: url("../fonts/atelier-fleur-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atelier Fleur"; src: url("../fonts/atelier-fleur-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figuea Granatae"; src: url("../fonts/figuea-granatae.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-700-latin-ext.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--paper); }
body {
	position: relative;    /* header (absolute) start onder de adminbalk, net als de vaste menuknop */
	margin: 0;
	min-height: 100vh;
	font-family: var(--ff-body);
	font-size: var(--fs-body);
	line-height: 1.333;
	color: var(--ink);
	background-color: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
img, video, svg { display: block; max-width: 100%; height: auto; }
img, video { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; } /* beeld niet selecteren of wegslepen */
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--sand); color: var(--ink); }

/* Lenis */
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; }

/* ---------- Utilities ---------- */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; z-index: 1000; left: 16px; top: 16px; padding: 12px 20px; border-radius: 100px;
	background: var(--ink); color: var(--white); font-weight: 500; text-decoration: none;
	transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-top: var(--section); }
.site-main:focus { outline: none; }

/* ---------- Page colours ---------- */
.page-color--beige { background: var(--paper) var(--lines) center top / 1279px auto repeat-y; }
.page-color--green { background: var(--green) var(--lines) center top / 1279px auto repeat-y; color: var(--white); }
html:has(.page-color--green) { background: var(--green); }
.page-color--split { background: var(--white); }
.page-color--split .page-head { background: linear-gradient(to bottom, transparent calc(100% - var(--head-split, 250px)), var(--white) 0), var(--lines) center -40px / 1279px auto no-repeat, var(--paper); }
.page-color--split .page-head:not(.page-head--image) { background: var(--lines) center -40px / 1279px auto no-repeat, var(--paper); padding-bottom: var(--section); }

/* ---------- Buttons & pills ---------- */
.button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: var(--btn-h); padding: 0 var(--btn-px); border-radius: 100px;
	font-family: var(--ff-body); font-weight: 500; font-size: var(--btn-fs); line-height: 1; text-decoration: none;
	transition: background-color .3s, color .3s, transform .3s var(--ease-out);
}
.button:hover { transform: translateY(-2px); }
.button--green, .button--theme { background: var(--green); color: var(--white); }
.button--green:hover, .button--theme:hover { background: #4d6a64; }
.button--white { background: var(--white); color: var(--ink); }
.button--white:hover { background: var(--paper); }
.button--sand { background: var(--sand); color: var(--ink); }
.button--sand:hover { background: #a5967f; }
.page-color--green .button--theme { background: var(--white); color: var(--ink); }
.page-color--green .button--theme:hover { background: var(--paper); }

.pill {
	display: inline-flex; align-items: center; padding: 10px 15px; border-radius: 100px;
	background: rgba(180, 166, 149, .45); font-size: 12px; font-weight: 500; line-height: 12px; color: var(--ink); white-space: nowrap;
}
.pill--note { background: rgba(92, 125, 118, .18); }

.script-line { margin-top: clamp(14px, 1.5vw, 24px); font-family: var(--ff-script); font-weight: 400; font-size: var(--fs-m); line-height: 1; color: var(--green); }
.page-color--green .script-line { color: var(--white); }

/* ---------- Header ---------- */
.admin-bar { --admin: 32px; }
@media (max-width: 782px) { .admin-bar { --admin: 46px; } }

.site-header { position: absolute; z-index: 40; top: var(--edge); left: var(--edge); }
.site-header__logo { display: block; width: clamp(85px, 9.66vw, 155px); }
.site-header__logo img { width: 100%; }

.menu-toggle {
	position: fixed; z-index: 70; top: calc(var(--edge) + var(--admin));
	right: calc(var(--edge) - var(--sbw, 0px)); /* 70px van de vensterrand, ook met een zichtbare schuifbalk (--sbw: main.js) */
	width: clamp(56px, 7.5vw, 120px); aspect-ratio: 1; border-radius: 50%; color: var(--ink);
	transition: transform .4s var(--ease-out), opacity .3s;
}
.menu-toggle:hover { transform: scale(1.05); }
.menu-toggle.is-hidden:not([aria-expanded="true"]) { transform: translateY(calc(-100% - var(--edge) - 40px)); }
.menu-toggle__icon { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .3s; }
.menu-toggle__icon--close { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon--open { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon--close { opacity: 1; }

/* ---------- Menu overlay ---------- */
.menu {
	position: fixed; inset: var(--admin) 0 0 0; z-index: 60; overflow: hidden;
	background: var(--green); color: var(--white);
	clip-path: circle(0 at calc(100% - var(--edge) - clamp(28px, 3.75vw, 60px)) calc(var(--edge) + clamp(28px, 3.75vw, 60px)));
	visibility: hidden;
	transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.is-open { clip-path: circle(150vmax at calc(100% - var(--edge) - clamp(28px, 3.75vw, 60px)) calc(var(--edge) + clamp(28px, 3.75vw, 60px))); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__shapes { position: absolute; inset: 0; pointer-events: none; color: rgba(255, 255, 255, .1); }
.menu__shape { position: absolute; left: 50%; width: 64vw; max-width: none; height: auto; transform: translateX(-50%); }
.menu__shape--top { bottom: calc(50% + .5vw); }
.menu__shape--bottom { top: calc(50% + .5vw); transform: translateX(-50%) scaleY(-1) scaleX(-1); }
.menu__inner { position: relative; height: 100%; outline: none; }
.menu__logo { position: absolute; top: var(--edge); left: var(--edge); width: clamp(85px, 9.66vw, 155px); }
.menu__logo img { width: 100%; }
.menu__socials { position: absolute; top: calc(var(--edge) + 19px); left: 45.4vw; }

.menu__nav { position: absolute; left: var(--edge); top: 28.9vh; }
.menu__list { display: grid; gap: min(1.25vw, 2.2vh); }
.menu__link { display: flex; align-items: baseline; gap: min(1.56vw, 2.8vh); text-decoration: none; }
.menu__num { min-width: 1.4em; font-family: var(--ff-script); font-size: min(2.5vw, 4.44vh); line-height: 1; text-align: right; transform: translateY(.1em); }
.menu__label { font-family: var(--ff-display); font-weight: 700; font-size: min(4.6875vw, 8.33vh); line-height: 1; transition: transform .4s var(--ease-out), opacity .3s; }
.menu__link:hover .menu__label, .menu__link[aria-current] .menu__label { transform: translateX(10px); }
.menu__link[aria-current] .menu__label { opacity: .7; }

.menu__more { position: absolute; left: 40.25vw; top: 56.6vh; }
.menu__more-title { font-family: var(--ff-script); font-size: min(2.5vw, 4.44vh); line-height: 1; margin-bottom: min(1vw, 1.8vh); }
.menu__more-list { display: grid; gap: min(.75vw, 1.33vh); }
.menu__more-list :is(a, .menu__soon) { font-weight: 500; font-size: clamp(15px, min(1.125vw, 2vh), 18px); line-height: 24px; text-decoration: none; }
.menu__more-list a[aria-current] { opacity: .7; }
.menu__more { --soon-y: 0px; }
.menu__soon { color: inherit; text-align: left; cursor: pointer; }
/* Nog niet klikbaar: klein label naast de aangeklikte link */
.menu__soon-pop { position: absolute; left: 0; top: var(--soon-y); margin-left: 16px; padding: 6px 14px 7px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .35s var(--ease-out); }
.menu__soon-pop.is-visible { opacity: 1; transform: none; }

.menu__feature { position: absolute; left: 60.6vw; top: 35vh; width: 33.1vw; height: 54vh; display: block; text-decoration: none; }
.menu__feature-img { position: absolute; left: 1.875vw; top: 0; width: calc(100% - 1.875vw); height: 100%; object-fit: cover; border-radius: var(--radius); }
.menu__feature-label {
	position: absolute; left: 0; bottom: 3.3vh; min-width: 17.6vw; padding: min(2vw, 3.5vh) min(2.4vw, 4vh);
	background: var(--white); color: var(--ink); border-radius: var(--radius);
	font-family: var(--ff-display); font-weight: 700; font-size: min(2.5vw, 4.44vh); line-height: 1; text-align: center;
	transition: transform .4s var(--ease-out);
}
.menu__feature:hover .menu__feature-label { transform: translateX(8px); }

/* Hover over één link: alle andere links in het menu worden vaag */
.menu__link, .menu__more-list :is(a, .menu__soon), .menu__feature, .menu .socials__link { transition: opacity .3s, transform .4s var(--ease-out), background-color .3s; }
@media (hover: hover) {
	.menu__inner:has(.menu__link:hover, .menu__more-list :is(a, .menu__soon):hover, .menu__feature:hover, .socials__link:hover) :is(.menu__link, .menu__more-list :is(a, .menu__soon), .socials__link):not(:hover) { opacity: .3; }
}

/* staggered entrance */
.menu .menu__item, .menu .menu__more, .menu .menu__feature, .menu .menu__socials { opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .5s var(--ease-out); }
.menu.is-open .menu__item, .menu.is-open .menu__more, .menu.is-open .menu__feature, .menu.is-open .menu__socials { opacity: 1; transform: none; }
.menu.is-open .menu__item { transition-delay: calc(.25s + var(--i) * .05s); }
.menu.is-open .menu__more { transition-delay: .5s; }
.menu.is-open .menu__socials { transition-delay: .45s; }
.menu.is-open .menu__feature { transition-delay: .4s; }

/* ---------- Socials ---------- */
.socials { display: flex; gap: clamp(10px, 1.04vw, 16.67px); }
.socials__link {
	display: grid; place-items: center; width: clamp(48px, 4.375vw, 70px); aspect-ratio: 1; border-radius: 50%;
	background: var(--sand-2); color: var(--white); text-decoration: none;
	font-weight: 700; font-size: clamp(14px, 1.125vw, 18px); line-height: 1; letter-spacing: .14em; text-indent: .14em;
	transition: transform .3s var(--ease-out), background-color .3s;
}
.socials__link:hover { transform: translateY(-3px); }
.page-color--green .socials--footer .socials__link { background: var(--white); color: var(--green); }
.socials--menu { gap: 10px; }
.socials--menu .socials__link { width: 42px; background: rgba(254, 248, 249, .18); color: var(--snow); font-size: 14px; }
.socials--menu .socials__link:hover { background: rgba(254, 248, 249, .3); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; margin-top: var(--section); min-height: clamp(220px, 19vw, 300px); padding: clamp(56px, 5.6vw, 90px) 0 clamp(28px, 3.4vw, 55px); }
.site-footer__inner { position: relative; z-index: 1; padding-left: var(--edge); display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.site-footer__copy { margin-top: clamp(16px, 1.875vw, 30px); font-weight: 500; font-size: var(--fs-body); line-height: 24px; }
.site-footer__wordmark { will-change: transform; position: absolute; right: clamp(-40px, 6.9vw, 110px); bottom: calc(-0.1325 * clamp(320px, 51.9vw, 830px)); width: clamp(320px, 51.9vw, 830px); max-width: none; color: rgba(178, 166, 151, .3); pointer-events: none; }
.page-color--green .site-footer__wordmark { color: rgba(255, 255, 255, .2); }

/* ---------- Page head ---------- */
.page-head { position: relative; padding-top: clamp(118px, 10vw, 160px); text-align: center; }
.page-head__title { padding-inline: clamp(70px, 10vw, 160px); font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xxl); line-height: .833; letter-spacing: -.005em; }
.page-head__intro { width: min(1000px, 100% - 2 * var(--gutter)); margin: clamp(24px, 2.5vw, 40px) auto 0; font-weight: 500; font-size: var(--fs-lead); line-height: 1.2; }
.page-head__media { width: min(var(--container), 100% - 2 * var(--gutter)); margin: clamp(32px, 5vw, 80px) auto 0; aspect-ratio: 1360 / 500; border-radius: var(--radius); overflow: hidden; }
.page-head__img { width: 100%; height: 100%; object-fit: cover; }
.page-head--image { --head-split: calc(min(var(--container), 100vw - 2 * var(--gutter)) * 500 / 1360 * .5); }

.section-title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-l); line-height: 1; text-align: center; }
.section-title--l { font-size: var(--fs-xl); }
.section-title--left { text-align: left; }

/* ---------- Home ---------- */
html.is-home-root { scrollbar-gutter: auto; }
html:has(body.is-home) { overflow: hidden; height: 100%; overscroll-behavior: none; background: var(--ink); }
body.is-home { position: fixed; inset: var(--admin) 0 0 0; height: auto; min-height: 0; overflow: hidden; overscroll-behavior: none; background: var(--ink); color: var(--white); }
body.is-home .site-main { position: absolute; inset: 0; }
.home-hero { position: absolute; inset: 0; overflow: hidden; }
.home__stage { position: absolute; inset: 0; }
.home__poster, .home__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home__video { opacity: 0; transition: opacity .8s; }
.home__video.is-playing { opacity: 1; }
.home__overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(28, 23, 20, .45) 0%, rgba(28, 23, 20, 0) 22%),
		linear-gradient(0deg, rgba(28, 23, 20, .55) 0%, rgba(28, 23, 20, 0) 40%),
		linear-gradient(90deg, rgba(28, 23, 20, .72) 0%, rgba(28, 23, 20, .25) 45%, rgba(28, 23, 20, 0) 70%);
}
.home__content {
	--title: clamp(40px, min(6.25vw, 11.1vh), 100px);
	position: absolute; left: var(--edge); right: var(--edge); bottom: min(4.2vw, 7.5vh);
	display: grid; grid-template-columns: auto 1fr; grid-template-areas: "title title" "button text"; align-items: end; column-gap: 40px;
}
.home__title { grid-area: title; position: relative; font-weight: 400; }
.home__title-main { display: block; font-family: var(--ff-display); font-weight: 700; font-size: var(--title); line-height: 1; letter-spacing: -.005em; }
.home__title-script { position: absolute; left: calc(var(--home-btn-w, var(--title) * 1.9) + 40px); /* 40px rechts van de knop (--home-btn-w: main.js) */ top: calc(var(--title) * 1.88); font-family: var(--ff-script); font-size: var(--title); line-height: 1; color: var(--sand); white-space: nowrap; }
.home__button { grid-area: button; justify-self: start; align-self: start; margin-top: calc(27px - var(--title) * .25); margin-bottom: calc(var(--title) * .5); } /* 27px tussen de onderkant van de letters en de knop (de regel loopt .25em onder de letters door) */
.home__text { grid-area: text; justify-self: end; max-width: 513px; margin-bottom: calc(var(--title) * .38); font-weight: 500; font-size: clamp(15px, 1.125vw, 18px); line-height: 1.333; text-align: right; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.25vw, 20px); margin-top: clamp(24px, 2.5vw, 40px); }
.tabs__tab {
	min-height: var(--btn-h); padding: 0 var(--btn-px); border-radius: 100px;
	background: rgba(180, 166, 149, .4); color: rgba(28, 23, 20, .4);
	font-weight: 500; font-size: var(--btn-fs); line-height: 1;
	transition: background-color .3s, color .3s;
}
.tabs__tab:hover { background: rgba(180, 166, 149, .6); color: rgba(28, 23, 20, .7); }
.tabs__tab[aria-selected="true"] { background: var(--sand); color: var(--ink); }
.tab-panel { margin-top: clamp(40px, 5vw, 80px); }
.tab-panel:focus-visible { outline-offset: 12px; }
.tab-panel.is-entering { animation: panel-in .5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tab-panel__note { max-width: 688px; margin: 0 auto clamp(32px, 3vw, 48px); text-align: center; font-weight: 500; font-size: var(--fs-lead); }

/* ---------- Menukaart ---------- */
.dish-row {
	display: grid; grid-template-columns: minmax(0, 500fr) minmax(0, 688fr); column-gap: clamp(24px, 5vw, 80px);
	max-width: 1268px; margin-inline: auto; align-items: stretch; /* foto = hoogte van de tekst + 50px boven en onder */
}
.dish-row + .dish-row { margin-top: 40px; }
.dish-row--reverse { grid-template-columns: minmax(0, 688fr) minmax(0, 500fr); }
.dish-row--reverse .dish-row__media { order: 2; }
.dish-row--text { grid-template-columns: 1fr; max-width: 688px; }
.dish-row__media { position: relative; min-height: clamp(220px, 18vw, 300px); border-radius: var(--radius); overflow: hidden; }
.dish-row__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish-row__dishes { display: grid; align-content: center; gap: 40px; padding-block: 50px; }
/* Naam op één regel met de prijs direct erachter; alleen extra lange namen breken (gebalanceerd) af over twee regels. */
.dish__head { display: flex; align-items: baseline; column-gap: clamp(16px, 1.6vw, 26px); }
.dish__name { flex: 0 1 auto; min-width: 0; font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-s); line-height: 1.05; text-wrap: balance; }
.dish__name .dish__price { display: inline-block; margin-left: .45em; font-family: var(--ff-script); font-weight: 400; white-space: nowrap; }
.dish__wine { flex: none; margin-left: clamp(8px, 2vw, 40px); }
.dish__wine { font-weight: 500; font-size: clamp(13px, 1vw, 16px); line-height: 1; color: rgba(92, 125, 118, .5); }
.dish__desc { margin-top: 20px; max-width: 688px; line-height: 1.333; }

/* Verrassingsmenu: menu's gecentreerd onder elkaar, met uitleg en reserveerknop */
.menu-set { max-width: 850px; margin-inline: auto; text-align: center; }
.menu-set__list { display: grid; gap: clamp(12px, 1.25vw, 20px); }
.menu-set__item { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: clamp(16px, 1.6vw, 26px); }
.menu-set__name { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }
.menu-set__price { font-family: var(--ff-script); font-size: var(--fs-m); line-height: 1; }
.menu-set__desc { flex-basis: 100%; margin-top: 10px; }
.menu-set__note { max-width: 850px; margin: clamp(24px, 2.5vw, 40px) auto 0; }
.menu-set__button { margin-top: clamp(16px, 1.4vw, 22px); }
.menu-set__pp { margin-left: .3em; font-family: var(--ff-body); font-weight: 500; font-size: clamp(14px, 1vw, 16px); vertical-align: baseline; }

/* ---------- Wijnkaart ---------- */
.wine-list .tab-panel { max-width: 1258px; margin-inline: auto; }
.wine-group + .wine-group, .advice + .wine-group { margin-top: clamp(64px, 6.25vw, 100px); }
.wine-group__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-s); line-height: 1; }
.wine-group__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 100px; row-gap: 34px; margin-top: clamp(32px, 2.5vw, 40px); }
.wine { display: flex; justify-content: space-between; gap: 24px; }
.wine__name { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xs); line-height: 1; }
.wine__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 15px; font-size: clamp(14px, 1vw, 16px); line-height: 22px; color: rgba(28, 23, 20, .7); white-space: pre-wrap; }
.wine__price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.wine__amount { font-family: var(--ff-script); font-size: var(--fs-s); line-height: 1; white-space: nowrap; word-spacing: .15em; }
.wine__unit { font-weight: 500; font-size: 12px; line-height: 14px; color: rgba(28, 23, 20, .5); white-space: pre; }

.advice { display: grid; grid-template-columns: minmax(0, 500fr) minmax(0, 780fr); column-gap: clamp(24px, 5vw, 80px); align-items: center; margin: clamp(64px, 6.25vw, 100px) calc(-1 * clamp(0px, 3.2vw, 51px)) 0; }
.advice__media { aspect-ratio: 500 / 278; border-radius: var(--radius); overflow: hidden; }
.advice__img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.advice__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }
.advice__text { margin-top: clamp(16px, 1.9vw, 30px); }

/* ---------- Gezelschappen (ontwerp v2): één rij die blijft staan, foto/nummer/tekst wisselen per stap ----------
   Zonder JS (of met 'minder beweging') staan de punten gewoon onder elkaar.
   Met JS (.steps--live) is de sectie (100vh + 60vh per extra stap) hoog en blijft de rij in beeld (sticky);
   main.js zet .is-active op de stap die bij de scrollpositie hoort. */
.steps { padding-top: var(--section); }
.steps__list { display: grid; gap: clamp(64px, 7.5vw, 120px); }
.step { display: grid; grid-template-columns: minmax(0, 500fr) minmax(0, 750fr); column-gap: clamp(32px, 5vw, 80px); align-items: center; }
.step__media { position: relative; }
.step__frame { aspect-ratio: 500 / 350; border-radius: var(--radius); overflow: hidden; }
.step__img { width: 100%; height: 100%; object-fit: cover; }
.step__num { position: absolute; right: clamp(20px, 3.25vw, 52px); top: -.175em; font-family: var(--ff-script); font-size: clamp(96px, 12.5vw, 200px); line-height: 1; color: var(--white); pointer-events: none; }
.step__title { font-family: var(--ff-display); font-weight: 700; font-size: clamp(34px, 4.375vw, 70px); line-height: 1; max-width: 750px; }
.step__text { max-width: 750px; margin-top: clamp(14px, 1.1vw, 17px); line-height: 1.333; }
.step__button { margin-top: clamp(20px, 2vw, 32px); }

/* Blok = 140px ruimte + rijhoogte + 60vh per extra stap; de rij staat stil in het midden van het scherm (--row-h: main.js). */
.steps--live { --gap140: clamp(64px, 8.75vw, 140px); box-sizing: border-box; padding-top: var(--gap140); height: calc(var(--gap140) + var(--row-h, 360px) + (var(--steps) - 1) * 60vh); }
.steps--live .steps__list { position: sticky; top: calc(50vh - var(--row-h, 360px) / 2); gap: 0; }
.steps--live .step { grid-area: 1 / 1; }
.steps--live .step:not(.is-active) { pointer-events: none; }
/* Uit: snel weg. In: foto opent als venster, nummer rijst op, woorden van de titel komen omhoog, tekst volgt. */
.steps--live .step__frame { clip-path: inset(10% 8% 10% 8% round var(--radius)); opacity: 0; transition: clip-path .5s var(--ease), opacity .4s; }
.steps--live .step__img { scale: 1.15; transition: scale .5s; }
.steps--live .step__num { opacity: 0; transform: translateY(25%); transition: opacity .3s, transform .4s; }
.steps--live .step__text, .steps--live .step__button { opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s, background-color .3s; }
html.js .steps--live .step:not(.is-active) .step__title .w__i { transform: translateY(calc(100% + .4em)); transition: transform .4s var(--ease); }
.steps--live .step.is-active .step__frame { clip-path: inset(0 round var(--radius)); opacity: 1; transition: clip-path 1.2s var(--ease) .1s, opacity .5s .1s; }
.steps--live .step.is-active .step__img { scale: 1; transition: scale 1.6s var(--ease-out) .1s; }
.steps--live .step.is-active .step__num { opacity: 1; transform: none; transition: opacity .8s var(--ease-out) .3s, transform 1s var(--ease-out) .3s; }
.steps--live .step.is-active .step__text, .steps--live .step.is-active .step__button { opacity: 1; transform: none; transition: opacity .7s var(--ease-out) .55s, transform .9s var(--ease-out) .55s, background-color .3s; }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 640px)); justify-content: space-between; gap: 40px 80px; padding-top: clamp(64px, 8.75vw, 140px); }
.extras__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }
.extras__text { margin-top: clamp(16px, 1.9vw, 30px); }

/* ---------- Over DIELS: floating gallery (madewithgsap effect051, adapted) ---------- */
.float-gallery { position: relative; overflow: hidden; height: 100vh; height: 100svh; margin-top: clamp(24px, 3vw, 48px); -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.float-gallery__data { display: none; }
.float-gallery__media {
	position: absolute; left: 0; top: 100%; width: 25vw; aspect-ratio: .75; height: auto;
	border-radius: 1vw; object-fit: cover; will-change: transform; visibility: hidden;
}
/* Drie dieptelagen: achter (klein, iets vervaagd, achter de kop), midden, voor (groot, over de kop heen). */
.float-gallery__media--1 { width: 16vw; z-index: 1; filter: blur(1.5px) saturate(.85); }
.float-gallery__media--2 { width: 24vw; z-index: 2; }
.float-gallery__media--3 { width: 31vw; z-index: 4; }
.float-gallery__media--1.is-wide { width: 22vw; aspect-ratio: 1.5; }
.float-gallery__media--2.is-wide { width: 32vw; aspect-ratio: 1.5; }
.float-gallery__media--3.is-wide { width: 42vw; aspect-ratio: 1.5; }
.float-gallery__title { position: absolute; left: 0; right: 0; top: 50%; z-index: 3; margin: 0; padding: 0 var(--gutter); text-align: center; transform: translateY(-50%); pointer-events: none; }
.float-gallery.is-live .float-gallery__media { visibility: visible; }
.float-gallery.is-live .float-gallery__static { display: none; }
.float-gallery__static { position: relative; width: min(var(--container), 100% - 2 * var(--gutter)); height: 100%; margin-inline: auto; }
.float-gallery__photo { position: absolute; border-radius: var(--radius); object-fit: cover; }
.float-gallery__photo--1 { left: 0; top: 18%; width: 44%; aspect-ratio: 3 / 2; height: auto; }
.float-gallery__photo--2 { left: 35%; top: 30%; width: 29%; aspect-ratio: 4 / 5.5; height: auto; }
.float-gallery__photo--3 { right: 0; top: 4%; width: 29%; aspect-ratio: 4 / 5.5; height: auto; }

.about .columns { margin-top: clamp(24px, 2.5vw, 40px); }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 640px)); justify-content: space-between; gap: 24px 80px; }
.columns p + p { margin-top: 1.333em; }
.about__grid { display: grid; grid-template-columns: minmax(0, 690px) minmax(0, 557px); justify-content: space-between; align-items: center; gap: 48px 80px; margin-top: clamp(32px, 3.4vw, 54px); }
.people { display: flex; gap: clamp(16px, 2.5vw, 40px); padding-left: clamp(0px, 2.2vw, 35px); }
.person { position: relative; width: min(300px, 44vw); }
.person:nth-child(odd) { transform: rotate(2deg); }
.person:nth-child(even) { transform: rotate(-2deg) translateY(clamp(20px, 3.2vw, 50px)); }
.person__img { width: 100%; aspect-ratio: 300 / 400; object-fit: cover; border-radius: var(--radius); background: var(--white); }
.person__name { position: absolute; bottom: clamp(14px, 1.9vw, 30px); font-family: var(--ff-script); font-size: clamp(30px, 3.75vw, 60px); line-height: 1; color: var(--white); text-shadow: 0 2px 20px rgba(28, 23, 20, .35); }
.person:nth-child(odd) .person__name { right: clamp(12px, 1.5vw, 24px); }
.person:nth-child(even) .person__name { left: clamp(12px, 2.5vw, 40px); }
.about__text p + p { margin-top: 1.333em; }
.about__lead { font-weight: 500; font-size: clamp(17px, 1.375vw, 22px); line-height: 1.27; }
.about__text .about__closing { margin-top: clamp(24px, 2.2vw, 36px); font-family: var(--ff-script); font-size: var(--fs-m); line-height: 1; color: var(--green); }

/* ---------- Contact ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 870px); justify-content: space-between; gap: 40px; align-items: start; }
.hours { padding: clamp(28px, 3.125vw, 50px); border-radius: var(--radius); background: rgba(255, 255, 255, .2); }
.hours__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }
.hours__list { margin-top: clamp(20px, 1.9vw, 30px); display: grid; gap: 5px; }
.hours__row { display: grid; grid-template-columns: 129px 1fr; line-height: 20px; }
.hours__row dt { font-weight: 500; }
.hours__note { max-width: none; margin-top: clamp(24px, 1.9vw, 30px); padding-inline: 30px; /* 30px links en rechts t.o.v. het openingstijdenblok */ font-weight: 500; line-height: 1.11; }
.visit__map { position: relative; }
/* Interactieve kaart (main.js): zelfde vlak als de oude kaartafbeelding; de afbeelding blijft als reserve zichtbaar tot de kaart klaar is. */
.visit__map-canvas { aspect-ratio: 870 / 500; border-radius: var(--radius); overflow: hidden; background: #ece6df; }
.visit__map[data-map] .visit__map-fallback { position: absolute; inset: 0; transition: opacity .5s; }
.visit__map.is-map-ready .visit__map-fallback { opacity: 0; pointer-events: none; }
/* De markering zelf (.map-pin) wordt door MapLibre met transform geplaatst: daar geen eigen transform/scale op,
   anders verschuift hij bij hover. Het rondje en het hover-effect zitten op de binnenste laag (.map-pin__dot). */
.map-pin { cursor: pointer; }
.map-pin:focus-visible { outline: none; }
.map-pin__dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); font-weight: 700; font-size: 17px; line-height: 1; transition: scale .2s var(--ease-out); }
.map-pin:hover .map-pin__dot, .map-pin:focus-visible .map-pin__dot { scale: 1.1; }
.map-pin:focus-visible .map-pin__dot { outline: 2px solid var(--ink); outline-offset: 3px; }
.map-pin--diels .map-pin__dot { width: 62px; height: 62px; background: var(--green); color: var(--white); font-family: var(--ff-script); font-weight: 400; font-size: 50px; }
.map-pin--diels .map-pin__dot span { -webkit-text-stroke: 1px currentColor; transform: translate(-2px, 6px); } /* dunne handschrift-D iets dikker en optisch gecentreerd */
.map-pin--parking .map-pin__dot { background: var(--sand); color: var(--ink); font-family: var(--ff-body); }
.map-pin--paid .map-pin__dot { background: var(--ink); color: var(--white); }
.map-pop .maplibregl-popup-content { padding: 18px 50px 18px 18px; border-radius: var(--radius); box-shadow: none; font-family: var(--ff-body); font-size: 14px; line-height: 1.4; color: var(--ink); }
.map-pop .maplibregl-popup-close-button { top: 18px; right: 18px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0 0 2px; border-radius: 50%; font-family: var(--ff-body); font-size: 22px; line-height: 1; color: var(--ink); transition: background-color .2s; } /* zelfde afstand tot de rand als de tekst, gecentreerd op de titelregel */
.map-pop .maplibregl-popup-close-button:hover { background: rgba(180, 166, 149, .35); }
.map-pop__body p + p { margin-top: 6px; }
.map-pop__title { font-family: var(--ff-display); font-weight: 700; font-size: 22px; line-height: 1.1; }
.map-pop__tag { display: inline-block; margin-left: 8px; padding: 4px 9px; border-radius: 100px; background: rgba(180, 166, 149, .45); font-family: var(--ff-body); font-weight: 500; font-size: 11px; vertical-align: middle; }
.map-pop__address { font-size: 13px; color: rgba(28, 23, 20, .65); }
.map-pop__address + p { margin-top: 10px; font-weight: 500; } /* eerste regel: "Gratis parkeren" / "Betaald parkeren" */
.map-pop a { color: inherit; }
.map-pop strong { font-weight: 700; }
.map-pop__lead { font-weight: 500; }
.map-pop__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.map-pop__btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 100px; font-weight: 500; font-size: 13px; text-decoration: none; transition: background-color .25s; }
.map-pop__btn--route { background: var(--green); color: var(--white) !important; }
.map-pop__btn--route:hover { background: #4d6a64; }
.map-pop__btn--call { background: rgba(180, 166, 149, .45); color: var(--ink); }
.map-pop__btn--call:hover { background: rgba(180, 166, 149, .7); }
.visit__map .maplibregl-ctrl-group { border-radius: 100px; overflow: hidden; }
.visit__map .maplibregl-ctrl-attrib { font-size: 10px; }
.visit__map-link { display: block; aspect-ratio: 870 / 500; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.visit__map-img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-out); }
.visit__map-link:hover .visit__map-img { scale: 1.2; }
.visit__card {
	position: absolute; right: 30px; bottom: 30px; min-width: 282px; padding: 18px 24px;
	display: grid; gap: 2px; border-radius: 5px; background: var(--sand-2); color: var(--ink);
	font-size: 16px; line-height: 1.35;
}
.visit__street { font-family: var(--ff-display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.visit__card a { text-decoration: none; }
.visit__card a:hover { text-decoration: underline; }
.visit__route { margin-top: 6px; font-weight: 500; text-decoration: underline !important; }

.parking { padding-top: clamp(80px, 9.4vw, 150px); }
.parking .columns { margin-top: clamp(14px, 1.25vw, 20px); }
.disclosure { margin-top: clamp(22px, 2vw, 32px); }
.disclosure__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.disclosure__panel.is-open { grid-template-rows: 1fr; }
.disclosure__inner { overflow: hidden; }
.disclosure__inner > :first-child { margin-top: 24px; }
.disclosure__inner p + p { margin-top: 1em; }
.disclosure .disclosure__inner { max-width: 640px; }

.media-text { display: grid; grid-template-columns: minmax(0, 550px) minmax(0, 727px); justify-content: space-between; gap: 32px 80px; align-items: start; padding-top: clamp(80px, 9.4vw, 150px); }
.media-text--reverse .media-text__media { order: 2; }
.media-text__media { aspect-ratio: 550 / 350; border-radius: var(--radius); overflow: hidden; }
.media-text__img { width: 100%; height: 100%; object-fit: cover; }
.media-text__body { padding-top: clamp(0px, 3.5vw, 56px); }
.media-text__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1; margin-bottom: clamp(14px, 1.25vw, 20px); }
.media-text__body .button { margin-top: clamp(22px, 2vw, 32px); }

/* ---------- Text pages ---------- */
.prose { max-width: 820px; line-height: 1.333; }
.block-text .prose, .block-text .section-title { margin-inline: auto; max-width: 820px; }
.block-text .section-title { margin-bottom: clamp(20px, 2.5vw, 32px); }
.block-text .script-line { max-width: 820px; margin-inline: auto; margin-top: 24px; }
.block-columns .columns { margin-top: clamp(24px, 2.5vw, 40px); }
.prose > * + * { margin-top: 1em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--green); }
.page-color--green .prose li::marker { color: var(--sand); }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 500; }

.faq__list { max-width: 960px; margin-inline: auto; border-top: 1px solid currentColor; }
.faq .section-title { max-width: 960px; margin: 0 auto clamp(24px, 2.5vw, 40px); }
.faq__item { border-bottom: 1px solid currentColor; }
.faq__toggle { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: clamp(18px, 1.9vw, 30px) 0; text-align: left; font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xs); line-height: 1.1; }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__toggle[aria-expanded="true"] .faq__icon::after { transform: rotate(0); }
.faq__answer .disclosure__inner > :first-child { margin-top: 0; }
.faq__answer .disclosure__inner { padding-right: 46px; }
.faq__answer.is-open .disclosure__inner { padding-bottom: clamp(18px, 1.9vw, 30px); }
.block-cta { text-align: center; }
.block-cta__text { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xs); line-height: 1.2; max-width: 760px; margin: 0 auto clamp(20px, 2vw, 32px); }

.not-found { text-align: center; }
.not-found__code { font-family: var(--ff-script); font-size: clamp(96px, 15vw, 240px); line-height: 1; color: var(--green); }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }

/* ---------- Motion ---------- */
/* Koppen: woord voor woord omhoog (JS zet .w/.w__i, zie main.js › split) */
html.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .05em .2em; margin: -.14em -.05em -.2em; }
html.js [data-split] .w__i { display: inline-block; transform: translateY(calc(100% + .4em)); }
html.js [data-split].is-in .w__i { transform: none; transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 45ms + var(--split-delay, 0ms)); }
@media (prefers-reduced-motion: no-preference) {
	/* Tot de titel in woorden is opgesplitst niets tonen (vangnet: na 2,5s toch zichtbaar). */
	html.js :is(.page-head__title, .home__title-main):not([data-split]) { visibility: hidden; animation: show-anyway 0s 2.5s forwards; }
}
@keyframes show-anyway { to { visibility: visible; } }
html.js [data-split].is-done .w { overflow: visible; }

/* Lijsten: items na elkaar (gerechten, wijnen, FAQ, openingstijden) */
html.js [data-stagger] > * { opacity: 0; transform: translateY(28px); }
html.js [data-stagger].is-in > * { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(min(var(--si, 0), 10) * 70ms); }

/* Paginakop: intro en grote foto openen als een venster */
html.js .page-head__intro { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out) .35s, transform 1s var(--ease-out) .35s; }
html.js .page-head.is-in .page-head__intro { opacity: 1; transform: none; }
html.js .page-head__media { clip-path: inset(14% 7% 0 7% round var(--radius)); transition: clip-path 1.5s var(--ease) .25s; }
html.js .page-head.is-in .page-head__media { clip-path: inset(0 round var(--radius)); }
html.js .page-head__img { scale: 1.32; transition: scale 2s var(--ease-out) .25s; }
html.js .page-head.is-in .page-head__img { scale: 1.16; }

/* Parallax-foto's: ruimte voor de beweging (GSAP schuift ze, zie main.js) */
html.js.has-parallax :is(.dish-row__img, .advice__img, .media-text__img, .visit__map-img) { scale: 1.16; }

/* Home: video zoomt rustig in, titel per woord, "Wageningen" wordt ingeschreven */
.home__stage { animation: home-zoom 2.6s var(--ease-out) both; }
@keyframes home-zoom { from { scale: 1.08; } to { scale: 1; } }
html.js .home__title-main { --split-delay: 250ms; }
html.js .home__title-script { clip-path: inset(-30% 100% -30% 0); transition: clip-path 1.6s var(--ease) 1s; }
html.js .home-hero.is-in .home__title-script { clip-path: inset(-30% -10% -30% -5%); }
html.js .home__text, html.js .home__button { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), background-color .3s; }
html.js .home__text { transition-delay: 1.15s; }
html.js .home__button { transition-delay: 1.3s, 1.3s, 0s; }
html.js .home-hero.is-in .home__text, html.js .home-hero.is-in .home__button { opacity: 1; transform: none; }
html.js .home-hero.is-in .home__button:hover { transform: translateY(-2px); }

/* Paginaovergang: Osmo "Column Wipe" (zie main.js) */
.transition {
  z-index: 100;
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: clip;
}

.transition__panels {
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.transition__panel {
  background-color: #B4A695;
  width: 100%;
  height: 100%;
  position: relative;
  top: -100%;
}

.transition__lines {
  opacity: .1;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.transition__line {
  border-right: 1px solid #fff;
  width: 100%;
  height: 100%;
}

.transition__line.is--last {
  border-right-style: none;
}

/* Aankomst via de overgang: de kolommen bedekken het scherm al voordat main.js ze wegschuift. */
/* De lijnen horen bij de kolommen: alleen tonen terwijl de overgang loopt, niet over de pagina. */
html:not(.is-entering):not(.is-leaving) .transition__lines { visibility: hidden; }
html.is-entering .transition__panel { transform: translateY(100%); animation: wipe-safety 0s 3s forwards; }
@keyframes wipe-safety { to { transform: translateY(200%); } } /* vangnet als het script niet laadt */

html.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js .person[data-reveal]:nth-child(odd) { transform: rotate(6deg) translateY(48px); }
html.js .person[data-reveal]:nth-child(even) { transform: rotate(-6deg) translateY(calc(clamp(20px, 3.2vw, 50px) + 48px)); transition-delay: .15s; }
html.js .person[data-reveal].is-visible:nth-child(odd) { transform: rotate(2deg); }
html.js .person[data-reveal].is-visible:nth-child(even) { transform: rotate(-2deg) translateY(clamp(20px, 3.2vw, 50px)); }

/* Merkmaten tab */
.mm-tab { position: fixed; z-index: 999; left: 50%; bottom: 0; display: block; pointer-events: none; transform: translateX(-50%) translateY(100%); transition: transform 0.2s ease-out; }
.mm-tab.active { pointer-events: auto; transform: translateX(-50%) translateY(20px); }
.mm-tab:hover, .mm-tab:focus-visible { transform: translateX(-50%) translateY(0); }
.mm-tab svg { display: block; width: 100px; height: 66px; }
.page-color--green .mm-tab__bg { fill: var(--white); }
.page-color--green .mm-tab__mark { fill: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.menu__feature { left: 62vw; width: 32vw; height: 44vh; top: 40vh; }
	.wine-group__list { column-gap: 56px; }
}

@media (max-width: 1023px) {
	/* Menu stacks (mobile design) */
	.menu__inner { overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--edge) + clamp(56px, 7.5vw, 120px) + 22px) var(--edge) 40px; display: flex; flex-direction: column; gap: 32px; }
	.menu__shape { width: 160vw; }
	.menu__shape--top { display: none; }
	.menu__shape--bottom { top: auto; bottom: -55vh; transform: translateX(-50%) scaleY(-1) scaleX(-1); }
	.menu__logo { position: absolute; }
	.menu__nav, .menu__more, .menu__feature, .menu__socials { position: relative; left: auto; top: auto; }
	.menu__socials { order: 3; }
	.menu__more { order: 2; }
	.menu__feature { order: 4; width: 100%; max-width: 480px; height: auto; aspect-ratio: 350 / 190; flex: none; }
	.menu__list { gap: 12px; }
	.menu__link { gap: 12px; }
	.menu__num { font-size: 24px; min-width: 1.3em; }
	.menu__label { font-weight: 400; font-size: clamp(32px, 9.2vw, 44px); line-height: 1.11; }
	.menu__more-title { font-size: 24px; margin-bottom: 4px; }
	.menu__more-list { gap: 8px; }
	.menu__more-list a { font-size: 15px; line-height: 20px; }
	.menu__feature-img { left: 0; width: 100%; }
	.menu__feature-label { left: 14px; bottom: 14px; min-width: 200px; padding: 20px 24px; font-size: 28px; }

	.dish-row, .dish-row--reverse { grid-template-columns: 1fr; max-width: 688px; }
	.dish-row--reverse .dish-row__media { order: 0; }
	.dish-row__media { min-height: 0; aspect-ratio: 500 / 356; }
	.dish-row__dishes { padding-block: 32px 0; gap: 32px; }
	.dish-row + .dish-row { margin-top: 64px; }

	.wine-group__list { grid-template-columns: 1fr; row-gap: 28px; }
	.advice { grid-template-columns: 1fr; gap: 24px; margin-inline: 0; }


	.visit { grid-template-columns: 1fr; }
	.hours, .hours__note { max-width: 520px; }
	.media-text, .media-text--reverse { grid-template-columns: 1fr; }
	.media-text--reverse .media-text__media { order: 0; }
	.media-text__body { padding-top: 0; }
	.extras, .columns, .about__grid { grid-template-columns: 1fr; }
	.people { padding-left: 0; justify-content: space-between; }
}

@media (max-width: 767px) {
	.page-color--beige, .page-color--green { background-size: 700px auto; }
	.page-color--split .page-head { background-size: auto, 700px auto, auto; }
	.page-head { padding-top: 104px; }
	.page-head__title { padding-inline: 64px; }
	.page-head__media { aspect-ratio: 350 / 210; }
	.home__content { --title: min(13.3vw, 7.2vh); left: 20px; right: 20px; bottom: 20px; grid-template-columns: auto 1fr; grid-template-areas: "title title" "text text" "button ."; column-gap: 0; }
	.home__title { padding-bottom: calc(var(--title) * .9); }
	.home__title-script { left: auto; right: 0; top: auto; bottom: 0; }
	.home__text { justify-self: start; text-align: left; margin: 24px 0 0; font-size: 15px; line-height: 21px; }
	.home__button { margin: clamp(8px, 1.5vh, 14px) 0 0; }
	.tabs__tab { min-height: 44px; padding: 0 20px; font-size: 15px; }
	.dish__head { flex-wrap: wrap; gap: 4px 14px; }
	.dish__wine { margin-left: 0; }
	.dish__wine { font-size: 13px; }
	.dish__desc { margin-top: 12px; }
	.wine { flex-direction: column; gap: 10px; }
	.wine__price { flex-direction: row; align-items: baseline; gap: 10px; }
	/* Gezelschappen op mobiel: foto met nummer, tekst eronder. */
	.step { grid-template-columns: 1fr; row-gap: 24px; }
	.step__num { top: -.2em; }
	.visit__map-canvas { aspect-ratio: 1 / 1; }
	.hours__row { grid-template-columns: 112px 1fr; }
	.float-gallery__media { border-radius: 3vw; }
	.float-gallery__media--1 { width: 30vw; }
	.float-gallery__media--2 { width: 44vw; }
	.float-gallery__media--3 { width: 56vw; }
	.float-gallery__media--1.is-wide { width: 40vw; }
	.float-gallery__media--2.is-wide { width: 58vw; }
	.float-gallery__media--3.is-wide { width: 72vw; }
	.person { width: 40vw; }
	.person__name { font-size: clamp(28px, 9vw, 40px); }
	.site-footer { min-height: 200px; }
	.site-footer__copy { font-size: 13px; }
	.site-footer__wordmark { right: -60px; }
	/* Mobiel ontwerp: logo (44px) verticaal gecentreerd op de menuknop (56px). */
	.site-header, .menu__logo { top: calc(var(--edge) + 6px); }
}

@media (max-height: 560px) and (orientation: landscape) {
	.home__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	html.js [data-reveal], html.js [data-stagger] > *, html.js .page-head__intro, html.js .home__text, html.js .home__button { opacity: 1; transform: none; }
	html.js [data-split] .w__i { transform: none; }
	html.js .page-head__media, html.js .home__title-script { clip-path: none; }
	.home__stage { animation: none; }
	.home__video { display: none; }
}

/* ---------- Laadanimatie home: Osmo "Willem" (resource-CSS ongewijzigd, DIELS-aanpassingen daaronder) ---------- */
/* Disable Scroll on Loading */
main:has(.willem-header.is--loading) {
  height: 100dvh;
}

.willem-header {
  color: #f4f4f4;
  position: relative;
  overflow: hidden;
}

/* Loading: Hidden */
.willem-header.is--loading.is--hidden {
  display: none;
}

.willem-loader {
  color: #201d1d;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.willem__h1 {
  white-space: nowrap;
  justify-content: center;
  font-size: 12.5em;
  font-weight: 500;
  line-height: .75;
  display: flex;
  position: relative;
}

.willem__h1-start {
  justify-content: flex-end;
  width: 1.5256em;
  display: flex;
  overflow: hidden;
}

.willem__h1-end {
  justify-content: flex-start;
  width: 1.525em;
  display: flex;
  overflow: hidden;
}

.willem__letter {
  display: block;
  position: relative;
}

.willem__letter-white.is--space {
  margin-left: .25em;
}

.willem-loader__box {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 0;
  display: flex;
  position: relative;
}

.willem-loader__box-inner {
  justify-content: center;
  align-items: center;
  min-width: 1em;
  height: 95%;
  display: flex;
  position: relative;
}

.willem__growing-image {
  justify-content: center;
  align-items: center;
  width: 0%;
  height: 100%;
  display: flex;
  position: absolute;
  overflow: hidden;
}

.willem__growing-image-wrap {
  width: 100%;
  min-width: 1em;
  height: 100%;
  position: absolute;
}

.willem__cover-image {
  pointer-events: none;
  object-fit: cover;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.willem__cover-image-extra {
  pointer-events: none;
  object-fit: cover;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.willem__cover-image-extra.is--1 {
  z-index: 3;
}

.willem__cover-image-extra.is--2 {
  z-index: 2;
}

.willem__cover-image-extra.is--3 {
  z-index: 1;
}

@media screen and (max-width: 991px) {
  .willem__h1 {
    font-size: 9em;
  }
}

@media screen and (max-width: 767px) {
  .willem__h1 {
    font-size: 5.5em;
  }
}

/* DIELS: schermvullende laag boven de home (onder de paginaovergang), zand met donkere letters in Atelier Fleur. */
.willem-header { position: fixed; inset: var(--admin) 0 0 0; z-index: 90; background: var(--paper) var(--lines) center top / 1279px auto repeat-y; } /* zand met dezelfde lijnen als de rest van de site */
@media (max-width: 767px) { .willem-header { background-size: 700px auto; } }
html.show-intro .willem-header.is--loading.is--hidden { display: block; }   /* direct zand, geen flits van de home */
.willem-header.is--hidden .willem-loader { visibility: hidden; }             /* letters pas tonen als de animatie start */
.willem-loader { color: var(--ink); }
.willem__h1 { font-family: var(--ff-display); font-weight: 700; }
/* Atelier Fleur: hoofdletters zijn .661em hoog (ascent .75, descent .25). De regel = precies de hoofdletterhoogte,
   letters .085em omlaag zodat de basislijn op de onderrand valt: niets afgesneden, foto en letters lijnen uit. */
.willem__h1 { line-height: .67; }
.willem__letter { top: .085em; }
.willem-loader__box-inner { height: 100%; }
.willem__h1-start, .willem__h1-end { width: var(--willem-side, 1.5256em); } /* gelijke breedtes: de opening blijft precies in het midden */
.willem__cover-image { object-position: center; }
