/* ==========================================================================
   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: "Northwell", "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) ---------- */
/**
 * @license
 * MyFonts Webfont Build ID 3867246
 * The fonts listed in this notice are subject to the End User License Agreement(s) entered into by the
 * website owner. All other parties are explicitly restricted from using the Licensed Webfonts(s).
 * Webfont: Atelier Fleur Bold by Fenotype, https://www.myfonts.com/collections/fenotype-foundry
 */
@font-face { font-family: "Atelier Fleur"; src: url("../fonts/atelier-fleur-bold.woff2") format("woff2"), url("../fonts/atelier-fleur-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Northwell"; src: url("../fonts/northwell.woff") format("woff"); /* WOFF: half zo groot als de TTF (origineel in _bron/fonts-ttf) */ 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; }

/* ---------- Knop naast de menuknop (Kerst bij DIELS): rood, glitters bij hover ---------- */
.header-cta {
	--toggle: clamp(56px, 7.5vw, 120px);
	--h: clamp(40px, 3.5vw, 52px);
	position: fixed; z-index: 70;
	top: calc(var(--edge) + var(--admin) + (var(--toggle) - var(--h)) / 2);
	right: calc(var(--edge) - var(--sbw, 0px) + var(--toggle) + clamp(10px, 1.25vw, 20px));
	display: inline-flex; align-items: center; justify-content: center;
	height: var(--h); padding: 0 clamp(16px, 1.9vw, 30px); border-radius: 100px;
	background: #c8202f; color: var(--white);
	font-family: var(--ff-body); font-weight: 500; font-size: clamp(13px, 1.05vw, 17px); line-height: 1; white-space: nowrap; text-decoration: none;
	transition: background-color .3s, transform .4s var(--ease-out), opacity .3s;
}
.header-cta__label { position: relative; z-index: 1; }
/* glans die over de knop trekt */
.header-cta::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
	background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
}
.header-cta__sparkles { position: absolute; inset: 0; pointer-events: none; }
.header-cta__sparkles i {
	position: absolute; width: 10px; height: 10px; opacity: 0; scale: 0;
	background: #ffe7a3; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
	filter: drop-shadow(0 0 3px rgb(255 220 130 / .9));
}
.header-cta__sparkles i:nth-child(1) { left: 8%;  top: -6px;  --d: 0s; }
.header-cta__sparkles i:nth-child(2) { left: 30%; top: -10px; --d: .25s; width: 7px; height: 7px; }
.header-cta__sparkles i:nth-child(3) { left: 58%; top: -7px;  --d: .5s; }
.header-cta__sparkles i:nth-child(4) { left: 86%; top: -9px;  --d: .15s; width: 8px; height: 8px; background: #fff; }
.header-cta__sparkles i:nth-child(5) { left: 92%; bottom: -6px; --d: .4s; width: 7px; height: 7px; }
.header-cta__sparkles i:nth-child(6) { left: 66%; bottom: -10px; --d: .1s; background: #fff; }
.header-cta__sparkles i:nth-child(7) { left: 38%; bottom: -7px; --d: .35s; width: 8px; height: 8px; }
.header-cta__sparkles i:nth-child(8) { left: 4%;  bottom: -9px; --d: .2s; width: 6px; height: 6px; background: #fff; }
.header-cta:hover, .header-cta:focus-visible { background: #ad1826; transform: translateY(-2px); }
.header-cta.is-hidden { transform: translateY(calc(-100% - var(--edge) - 80px)); }
body.menu-is-open .header-cta, html:is(.show-intro, .is-leaving, .is-entering) .header-cta { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
	.header-cta:is(:hover, :focus-visible)::before { animation: cta-shine .9s var(--ease-out); }
	.header-cta:is(:hover, :focus-visible) .header-cta__sparkles i { animation: cta-sparkle 1.1s var(--d) ease-in-out infinite; }
}
@keyframes cta-shine { to { background-position: 150% 0; } }
@keyframes cta-sparkle {
	0%, 100% { opacity: 0; scale: 0; rotate: 0deg; }
	45% { opacity: 1; scale: 1; rotate: 45deg; }
	70% { opacity: .8; scale: .6; rotate: 90deg; }
}
@media (max-width: 767px) {
	.header-cta { --h: 38px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 359px) {
	.header-cta { --h: 34px; padding: 0 11px; font-size: 12px; }
}

/* ---------- Snelknoppen naar de kopjes (paginakop) ---------- */
.page-head__anchors { width: min(1000px, 100% - 2 * var(--gutter)); margin: clamp(20px, 2vw, 32px) auto 0; }
.anchors { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.anchors__link {
	display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border: 1px solid currentColor; border-radius: 100px;
	font-weight: 500; font-size: clamp(13px, .95vw, 15px); line-height: 1; text-decoration: none;
	transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.anchors__link:hover, .anchors__link:focus-visible { background: var(--green); border-color: var(--green); color: var(--white); transform: translateY(-2px); }
.page-color--green .anchors__link:hover, .page-color--green .anchors__link:focus-visible { background: var(--white); border-color: var(--white); color: var(--ink); }

/* ---------- 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; text-decoration: none; }
.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__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(1000px, 100% - 2 * var(--gutter)); margin: clamp(20px, 2vw, 32px) auto 0; }
.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; font-weight: 500; font-size: clamp(15px, 1.125vw, 18px); line-height: 1.333; text-align: right; }
/* Onderkant van de tekst gelijk met de onderkant van de knop Ontdek DIELS: een vak van 0 hoog op die lijn, de tekst groeit naar boven. */
@media (min-width: 768px) {
	.home__text { align-self: start; height: 0; margin: calc(27px - var(--title) * .25 + var(--btn-h)) 0 0; display: flex; flex-direction: column; justify-content: flex-end; }
}

/* ---------- Kaart met legenda (menukaart, wijnkaart) ----------
   Links een legenda die meeloopt (sticky), rechts alle onderdelen onder elkaar.
   main.js ([data-legend]) markeert het onderdeel dat in beeld is. */
.card { display: grid; grid-template-columns: 350px minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: start; max-width: 1268px; }
.legend { position: sticky; top: calc(var(--admin) + 40px); }
.legend__box { padding: 40px 25px 40px 25px; border-radius: var(--radius); background: rgba(178, 166, 151, .4); }
.legend__title { font-family: var(--ff-display); font-weight: 700; font-size: clamp(28px, 2.5vw, 40px); line-height: 1; }
.legend__list { display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: 20px; }
.legend__link {
	display: inline-flex; align-items: center; min-height: 32px; padding: 0 15px; border-radius: 100px;
	background: rgba(255, 255, 255, .45); color: var(--ink); font-weight: 500; font-size: 12px; line-height: 1; text-decoration: none; white-space: nowrap;
	transition: background-color .3s, transform .3s var(--ease-out);
}
.legend__link:hover { background: rgba(255, 255, 255, .8); }
.legend__link[aria-current="true"] { background: var(--white); }

.card__part { scroll-margin-top: 40px; }
.card__part + .card__part { margin-top: clamp(72px, 6.25vw, 100px); }
.card__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-l); line-height: 1; padding-bottom: clamp(16px, 1.5vw, 24px); border-bottom: 1px solid rgba(28, 23, 20, .15); }
.card__note { max-width: 688px; margin-top: clamp(20px, 1.9vw, 30px); font-weight: 500; }
.card__note--after { font-weight: 400; }
.card__button { margin-top: clamp(20px, 2vw, 32px); }
.card__dishes { display: grid; gap: 40px; margin-top: clamp(32px, 2.5vw, 40px); }

/* Naam en prijs op één regel; korte namen houden de prijzen in één kolom (6em = 240px in het ontwerp). */
.dish__head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: clamp(16px, 1.6vw, 26px); }
.dish__name { min-width: 6em; max-width: 100%; font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-s); line-height: 1.05; text-wrap: balance; }
.dish__price { font-family: var(--ff-script); font-size: var(--fs-s); line-height: 1; white-space: nowrap; }
.dish__pp { margin-left: .4em; font-family: var(--ff-body); font-weight: 500; font-size: clamp(13px, .9vw, 15px); }
.dish__wine { font-weight: 500; font-size: clamp(13px, 1vw, 16px); line-height: 1; color: rgba(92, 125, 118, .7); }
.dish__desc { margin-top: 20px; max-width: 838px; line-height: 1.333; }
/* ---------- Wijnkaart ---------- */
.wine-group { margin-top: clamp(32px, 2.5vw, 40px); }
.wine-group + .wine-group, .advice + .wine-group { margin-top: clamp(56px, 5vw, 80px); }
.wine-group__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xs); line-height: 1; }
.wine-group__list { display: grid; row-gap: 30px; margin-top: clamp(24px, 2vw, 32px); }
.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, 1fr) minmax(0, 1.2fr); column-gap: clamp(24px, 3vw, 48px); align-items: center; margin-top: clamp(56px, 5vw, 80px); }
.advice__media { aspect-ratio: 4 / 5; 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__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, 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__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__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); }

/* Verrassings-pop-up (gezelschappen): native <dialog>, main.js opent/sluit met een kleine animatie. */
.popup { width: min(560px, 100% - 40px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.popup::backdrop { background: rgba(28, 23, 20, .55); opacity: 0; transition: opacity .35s; }
.popup.is-open::backdrop { opacity: 1; }
.popup__box { position: relative; padding: clamp(40px, 4vw, 60px) clamp(28px, 3.5vw, 56px); border-radius: var(--radius); background: var(--white); text-align: center; opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .35s, transform .5s var(--ease-out); }
.popup.is-open .popup__box { opacity: 1; transform: none; }
.popup__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(180, 166, 149, .4); font-size: 24px; line-height: 1; transition: background-color .3s; }
.popup__close:hover { background: var(--sand); }
.popup__script { font-family: var(--ff-script); font-size: clamp(36px, 3.5vw, 56px); line-height: 1; color: var(--green); transform: rotate(-4deg); }
.popup__title { margin-top: 10px; font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }
.popup__text { max-width: 420px; margin: clamp(14px, 1.4vw, 22px) auto 0; }
.popup__button { margin-top: clamp(22px, 2.2vw, 34px); }

/* ---------- 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); margin-bottom: clamp(20px, 3.4vw, 54px); } /* = de tweede foto die lager hangt (3.2vw) + zijn gekantelde hoek, zodat de volgende sectie op de gewone afstand begint */
.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); }

/* Gastenlijst (Over DIELS): begint op de gewone sectie-afstand, schuift door tot het midden van het scherm en blijft daar 220vh (mobiel 180vh) staan.
   main.js zet --stage-h (hoogte van de inhoud), per woord --t (0 → 1) en op de sectie --line.
   Zonder JS of met 'minder beweging' staat alles gewoon vol in beeld. */
.guests { --t: 1; --line: 1; --pin: 220vh; position: relative; padding-top: var(--section); }
.guests__stage { display: flex; flex-direction: column; align-items: center; padding-inline: clamp(20px, 12.5vw, 200px); text-align: center; }
.guests__title { font-family: var(--ff-display); font-weight: 700; font-size: clamp(36px, 5vw, 80px); line-height: 1; text-wrap: balance; }
.guests__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; --row-gap: clamp(8px, .75vw, 12px); column-gap: .3em; row-gap: var(--row-gap); max-width: 1200px; margin-top: clamp(20px, 2.25vw, 36px); font-family: var(--ff-display); font-weight: 700; font-size: clamp(22px, 2.5vw, 40px); line-height: 1.15; }
.guests__word { display: inline-block; opacity: calc(.08 + .92 * var(--t)); transform: translateY(calc((1 - var(--t)) * .35em)) scale(calc(.94 + .06 * var(--t))); transform-origin: 50% 80%; will-change: opacity, transform; }
.guests__word--accent { color: var(--green); }
/* Regelhoogte gelijk aan de andere woorden (1.15em van de lijst), zodat de slotregel niet extra zakt. */
.guests__word--script { position: relative; font-family: var(--ff-script); font-weight: 400; font-size: 1.3em; line-height: .885; color: var(--green); } /* 1.15 / 1.3 */
/* Slotzin begint altijd op een nieuwe regel, met dezelfde regelafstand als de woorden erboven. */
.guests__end { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; flex-basis: 100%; column-gap: inherit; row-gap: inherit; }
.guests__line { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .3em; overflow: visible; fill: none; stroke: var(--green); stroke-width: 2px; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--line)); vector-effect: non-scaling-stroke; }
html.js .guests.is-live { box-sizing: border-box; height: calc(var(--section) + var(--stage-h, 100vh) + var(--pin)); }
html.js .guests.is-live .guests__stage { position: sticky; top: max(0px, (100vh - var(--stage-h, 0px)) / 2); }

/* ---------- 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--diels { z-index: 2; } /* DIELS boven de P van het Raadhuisplein */
.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 .maplibregl-popup-close-button:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.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 .5s cubic-bezier(.4, 0, .2, 1); }
.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; }
.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 :is(.page-head__intro, .page-head__buttons, .page-head__anchors) { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out) .35s, transform 1s var(--ease-out) .35s; }
html.js :is(.page-head__buttons, .page-head__anchors) { transition-delay: .5s; }
html.js .page-head.is-in :is(.page-head__intro, .page-head__buttons, .page-head__anchors) { 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(.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 */
/* Mobiel: 3 kolommen, net als de achtergrondlijnen daar (main.js animeert alleen de zichtbare kolommen). */
@media (max-width: 767px) {
	.transition__panel:nth-child(n+4), .transition__line:nth-child(n+4) { display: none; }
	.transition__line:nth-child(3) { border-right-style: none; }
}

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; }
	.card { grid-template-columns: 280px minmax(0, 1fr); }
}

@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__label { font-weight: 700; 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; }

	/* Legenda wordt een balk met pillen die bovenaan blijft staan. */
	.card { display: block; }
	/* Rechts ruimte voor de menuknop, die over de balk heen valt. */
	.legend { z-index: 5; top: var(--admin); margin-inline: calc(-1 * var(--gutter)); padding: 12px calc(var(--edge) + 68px) 12px var(--gutter); background: var(--white); box-shadow: 0 1px 0 rgba(28, 23, 20, .08); }
	.legend__box { padding: 0; background: none; }
	.legend__title { display: none; }
	.legend__list { flex-wrap: nowrap; margin: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.legend__list::-webkit-scrollbar { display: none; }
	.legend__link { min-height: 36px; padding: 0 16px; font-size: 14px; background: rgba(180, 166, 149, .3); }
	.legend__link:hover { background: rgba(180, 166, 149, .5); }
	.legend__link[aria-current="true"] { background: var(--sand); }
	.card__list { margin-top: 40px; }
	.card__part { scroll-margin-top: 80px; }

	.advice { grid-template-columns: 1fr; gap: 24px; margin-inline: 0; }
	.advice__media { aspect-ratio: 4 / 3; }


	.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; }
	.about__grid { margin-bottom: 0; }
}

@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; }
	.dish__head { gap: 4px 14px; }
	.dish__name { min-width: 0; }
	.dish__wine { flex-basis: 100%; font-size: 13px; }
	.dish__desc { margin-top: 12px; }
	.card__dishes { gap: 32px; }
	.wine { flex-direction: column; gap: 10px; }
	.wine__price { flex-direction: row; align-items: baseline; gap: 10px; }
	/* Gezelschappen op mobiel: foto, tekst eronder. */
	.step { grid-template-columns: 1fr; row-gap: 24px; }
	.visit__map-canvas { aspect-ratio: 4 / 5; }
	.map-pop .maplibregl-popup-content { padding: 14px 44px 14px 14px; }
	.map-pop .maplibregl-popup-close-button { top: 14px; right: 14px; }
	.map-pop__title { font-size: 20px; }
	.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; }
	.guests { --pin: 180vh; }
	.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-width: 767px) and (max-height: 740px) {
	/* Lage telefoons (bijv. iPhone SE): hele gastenlijst blijft binnen het scherm. */
	.guests__title { font-size: 30px; }
	.guests__list { --row-gap: 6px; font-size: 18px; }
}

@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 .page-head__buttons, html.js .page-head__anchors, 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; }
.willem__growing-image { border-radius: var(--radius); } /* afbeelding tussen DI en ELS: 10px afgerond (wordt recht bij het uitgroeien, zie main.js) */

/* ==========================================================================
   v3: Kerst, Zakelijk, Werken bij (vacatures), FAQ, erkenningen Over DIELS
   ========================================================================== */
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

.eyebrow { font-weight: 700; font-size: clamp(12px, .875vw, 14px); line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; }
.section-intro { max-width: 720px; margin: clamp(16px, 1.5vw, 24px) auto 0; text-align: center; line-height: 1.333; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { display: grid; gap: 4px; font-weight: 500; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.3; }
.note { font-size: clamp(14px, 1vw, 16px); line-height: 1.375; opacity: .75; }

/* Foto + tekst: varianten "bijna vierkant" en "groot en hoog" (tekst verticaal gecentreerd) */
.media-text--block, .media-text--tall { align-items: center; padding-top: var(--section); }
.media-text--block { grid-template-columns: minmax(0, 550px) minmax(0, 730px); }
.media-text--tall { grid-template-columns: minmax(0, 600px) minmax(0, 680px); }
.media-text--block .media-text__media { aspect-ratio: 550 / 458; }
.media-text--tall .media-text__media { aspect-ratio: 600 / 560; }
:is(.media-text--block, .media-text--tall, .moments) :is(.media-text__body, .moments__body) { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.5vw, 24px); padding-top: 0; }
:is(.media-text--block, .media-text--tall, .moments) .media-text__title { margin: 0; }
:is(.media-text--block, .media-text--tall, .moments) .prose p + p { margin-top: 1.333em; }
:is(.media-text--block, .media-text--tall, .moments) .buttons, .media-text--block .script-line, .media-text--tall .script-line { margin-top: 0; }
.media-text .buttons { margin-top: clamp(22px, 2vw, 32px); }
:is(.media-text--block, .media-text--tall, .moments) .buttons { margin-top: 0; }
.media-text__body .buttons .button { margin-top: 0; }

/* Tekst + momenten (Kerst) */
.moments { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 600px); justify-content: space-between; gap: 40px 80px; align-items: start; }
.moments__list { padding: clamp(8px, 1vw, 16px) clamp(24px, 2.5vw, 40px); border-radius: var(--radius); background: rgba(255, 255, 255, .2); }
.page-color--beige .moments__list, .page-color--split .moments__list { background: var(--white); }
.moment { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(20px, 1.75vw, 28px) 0; }
.moment + .moment { border-top: 1px solid rgba(255, 255, 255, .3); }
.page-color--beige .moment + .moment, .page-color--split .moment + .moment { border-color: rgba(28, 23, 20, .15); }
.moment__when { display: grid; gap: 6px; }
.moment__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-s); line-height: 1; }
.moment__date { font-size: clamp(14px, 1vw, 16px); line-height: 1.25; }
.moment__info { flex: none; font-weight: 500; font-size: var(--fs-body); line-height: 1.333; text-align: right; }

/* Kaarten (Zakelijk) */
.offers__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(20px, 2.5vw, 40px); margin-top: clamp(40px, 5vw, 80px); } /* elke kaart zo hoog als zijn eigen tekst */
.offer { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .2); }
.page-color--beige .offer, .page-color--split .offer { background: var(--white); }
.offer__media { aspect-ratio: 426 / 280; overflow: hidden; }
.offer__img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-out); }
.offer:hover .offer__img { scale: 1.04; }
.offer__body { display: grid; gap: clamp(12px, 1.25vw, 20px); padding: clamp(24px, 2.25vw, 36px) clamp(24px, 2.25vw, 36px) clamp(28px, 2.5vw, 40px); }
.offer__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }
.offer__text { line-height: 1.333; }

/* Vacatures */
.jobs__list { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 80px); }
.jobs--others .jobs__list { margin-top: clamp(32px, 3.5vw, 56px); }
.job-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 2.25vw, 36px) clamp(20px, 2.25vw, 36px) clamp(24px, 2.25vw, 36px) clamp(24px, 3vw, 48px); border-radius: var(--radius); background: var(--white); color: var(--ink); transition: transform .3s var(--ease-out); }
.job-card:hover { transform: translateY(-3px); }
.job-card__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }
.job-card__link { text-decoration: none; }
.job-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card__link:focus-visible { outline: none; }
.job-card:has(.job-card__link:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
.job-card__button { flex: none; }
.job-card:hover .job-card__button { background: #4d6a64; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags--center { justify-content: center; margin-top: clamp(16px, 1.5vw, 24px); }
.tag { padding: 10px 15px; border-radius: 100px; background: rgba(180, 166, 149, .45); color: var(--ink); font-weight: 500; font-size: 12px; line-height: 1; }
.jobs__empty { max-width: 720px; margin: clamp(32px, 3.5vw, 56px) auto 0; padding: clamp(24px, 2.25vw, 36px); border-radius: var(--radius); background: var(--white); text-align: center; line-height: 1.333; }

/* Vacature: detailpagina */
.job-head__back { margin-bottom: clamp(16px, 1.5vw, 24px); font-weight: 500; font-size: clamp(14px, 1vw, 16px); }
.job-head__back a { text-decoration: none; }
.job-head__back a::before { content: "← "; }
.job-head__back a:hover { text-decoration: underline; text-underline-offset: 4px; }
.job { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 440px); justify-content: space-between; gap: 48px 80px; align-items: start; }
.job__part + .job__part { margin-top: clamp(40px, 4vw, 64px); }
.job__title { margin-bottom: clamp(14px, 1.25vw, 20px); font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }
.job__aside { position: sticky; top: calc(var(--admin) + 40px); }
.job-facts { padding: clamp(28px, 2.5vw, 40px); border-radius: var(--radius); background: var(--white); }
.job-facts__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-s); line-height: 1; }
.job-facts__list { margin-top: clamp(12px, 1vw, 16px); }
.job-facts__row { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(28, 23, 20, .12); }
.job-facts__row dt { font-weight: 700; font-size: 12px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.job-facts__row dd { font-weight: 500; line-height: 1.333; }
.job-facts__button { width: 100%; margin-top: clamp(24px, 2vw, 32px); }
.job-facts__contact { margin-top: 16px; font-size: clamp(14px, 1vw, 16px); line-height: 1.375; text-align: center; opacity: .75; }

/* Kop + tekst naast elkaar (Kerst: "En na Kerst?") */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 512px); justify-content: space-between; align-items: center; gap: 20px 80px; }
.split__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1; }
.split__text { line-height: 1.333; }

/* FAQ: vragen als kaarten */
.faq__list { display: grid; gap: 16px; max-width: 1060px; border-top: 0; }
.faq .section-intro + .faq__list, .faq .section-title + .faq__list { margin-top: clamp(40px, 5vw, 80px); }
.faq .section-title { max-width: none; margin: 0; }
.faq__item { border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.page-color--green .faq__item { background: rgba(255, 255, 255, .2); color: var(--white); }
.faq__toggle { padding: clamp(20px, 1.75vw, 28px) clamp(20px, 2.25vw, 36px) clamp(20px, 1.75vw, 28px) clamp(24px, 3vw, 48px); font-size: var(--fs-xs); }
.faq__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); transition: background-color .3s; }
.faq__icon::before, .faq__icon::after { left: 14px; width: 16px; height: 2px; margin-top: -1px; }
.page-color--green .faq__icon { background: var(--white); color: var(--ink); }
.faq__toggle:hover .faq__icon { background: #4d6a64; }
.page-color--green .faq__toggle:hover .faq__icon { background: var(--paper); }
.faq__answer .disclosure__inner { padding: 0 clamp(24px, 3vw, 48px); max-width: none; line-height: 1.333; } /* zelfde ruimte links en rechts, loopt onder het plusje door */
/* Ruimte onder het antwoord als marge binnen de inklapbare rij (geen padding die bij openen/sluiten in één keer verspringt) */
.faq__answer .disclosure__inner > :last-child { margin-bottom: clamp(22px, 2vw, 32px); }
.faq__answer .disclosure__inner > * { transition: opacity .35s var(--ease-out); }
.faq__answer:not(.is-open) .disclosure__inner > * { opacity: 0; transition-duration: .2s; }
.block-cta { padding-top: var(--section); }

/* Over DIELS: erkenningen */
/* Zand loopt geleidelijk over in groen en onderaan weer terug; de achtergrondlijnen lopen erover door (zelfde plek als op de pagina, --lines-y via main.js). */
.awards {
	--fade: clamp(200px, 20vw, 320px);
	position: relative; isolation: isolate;
	margin-top: var(--section);
	padding: calc(var(--fade) + clamp(40px, 4vw, 64px)) 0;
	background: linear-gradient(to bottom, rgba(92, 125, 118, 0) calc(var(--fade) * 0), rgba(92, 125, 118, 0.04) calc(var(--fade) * 0.15), rgba(92, 125, 118, 0.15) calc(var(--fade) * 0.3), rgba(92, 125, 118, 0.35) calc(var(--fade) * 0.45), rgba(92, 125, 118, 0.62) calc(var(--fade) * 0.6), rgba(92, 125, 118, 0.85) calc(var(--fade) * 0.75), rgba(92, 125, 118, 0.97) calc(var(--fade) * 0.9), var(--green) var(--fade), var(--green) calc(100% - var(--fade)), rgba(92, 125, 118, 0.97) calc(100% - var(--fade) * 0.9), rgba(92, 125, 118, 0.85) calc(100% - var(--fade) * 0.75), rgba(92, 125, 118, 0.62) calc(100% - var(--fade) * 0.6), rgba(92, 125, 118, 0.35) calc(100% - var(--fade) * 0.45), rgba(92, 125, 118, 0.15) calc(100% - var(--fade) * 0.3), rgba(92, 125, 118, 0.04) calc(100% - var(--fade) * 0.15), rgba(92, 125, 118, 0) calc(100% - var(--fade) * 0));
	color: var(--white);
}
.awards::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: var(--lines) center var(--lines-y, 0px) / 1279px auto repeat-y;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}
.awards__inner { display: grid; grid-template-columns: minmax(0, 950px) auto; justify-content: space-between; align-items: center; gap: 48px 80px; }
.awards__title { max-width: 750px; font-family: var(--ff-display); font-weight: 700; font-size: clamp(36px, 4.375vw, 70px); line-height: 1; }
.awards__text { margin-top: clamp(20px, 2.2vw, 35px); line-height: 1.333; }
.awards__badges { display: flex; flex-direction: column; align-items: center; padding-right: clamp(0px, 3.75vw, 60px); }
.badge { --size: clamp(180px, 17.5vw, 280px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: var(--size); height: var(--size); border-radius: 50%; text-align: center; white-space: nowrap; color: var(--ink); }
.badge + .badge { margin-top: calc(var(--size) * -.175); }
.badge--white { background: var(--white); }
.badge--sand { background: var(--sand); }
.badge__top { font-weight: 500; font-size: calc(var(--size) * .057); line-height: 1.25; }
.badge__main { font-weight: 700; font-size: calc(var(--size) * .107); line-height: 1.13; letter-spacing: .14em; padding-left: .14em; }
.badge__bottom { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: calc(var(--size) * .1786); line-height: 1; color: var(--green); }
.badge--number .badge__top { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.badge--number .badge__main { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: calc(var(--size) * .4286); line-height: .833; letter-spacing: 0; padding-left: 0; }
.badge--number .badge__bottom, .badge--sand .badge__bottom { color: var(--ink); }
html.js .awards .badge { opacity: 0; transform: translateY(40px) scale(.9); transition: opacity .7s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i) * .15s + .1s); }
html.js .awards.is-in .badge { opacity: 1; transform: none; }

@media (max-width: 1023px) {
	.media-text--block, .media-text--tall, .moments, .split, .job, .awards__inner { grid-template-columns: 1fr; }
	.offers__list { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
	.job__aside { position: static; }
	.awards__badges { flex-direction: row; justify-content: center; padding-right: 0; }
	.badge + .badge { margin-top: 0; margin-left: calc(var(--size) * -.12); }
}
@media (max-width: 767px) {
	.job-card { flex-direction: column; align-items: flex-start; }
	.moment { flex-direction: column; align-items: flex-start; gap: 8px; }
	.moment__info { text-align: left; }
	.badge { --size: min(46vw, 200px); }
	.faq__icon { width: 36px; height: 36px; }
	.faq__icon::before, .faq__icon::after { left: 11px; width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	html.js .awards .badge { opacity: 1; transform: none; }
}

/* ==========================================================================
   v3.2: Goed om te weten (Zakelijk), offerteformulier, geen vacatures
   ========================================================================== */
.jobs__empty p + .button { margin-top: clamp(18px, 1.5vw, 24px); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(16px, 2.5vw, 40px); margin-top: clamp(24px, 2.5vw, 40px); }
.stat__number { font-variant-numeric: tabular-nums; }
.stat { display: grid; justify-items: center; gap: 10px; padding: clamp(28px, 3vw, 48px) 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .2); text-align: center; }
.page-color--beige .stat, .page-color--split .stat { background: var(--white); }
.stat__number { font-family: var(--ff-display); font-weight: 700; font-size: clamp(56px, 7.5vw, 120px); line-height: .85; }
.stat__label { font-weight: 500; line-height: 1.3; }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(24px, 5vw, 80px); max-width: 1060px; margin: clamp(32px, 3.5vw, 56px) auto 0; }
.notes li { position: relative; padding-left: 26px; line-height: 1.333; }
.notes li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--sand); }
.page-color--beige .notes li::before { background: var(--green); }

.quote__card { max-width: 1060px; margin: clamp(40px, 5vw, 80px) auto 0; padding: clamp(24px, 3.5vw, 56px); border-radius: var(--radius); background: rgba(255, 255, 255, .2); }
.page-color--beige .quote__card, .page-color--split .quote__card { background: var(--white); color: var(--ink); }
.quote__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.5vw, 24px) clamp(16px, 2vw, 32px); }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-weight: 500; font-size: clamp(14px, 1vw, 16px); }
.field__optional { font-weight: 400; opacity: .6; }
.field__input { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid transparent; border-radius: 8px; background: var(--white); font: inherit; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.page-color--beige .field__input, .page-color--split .field__input { border-color: rgba(28, 23, 20, .18); background: #f7f4f1; }
textarea.field__input { min-height: 140px; resize: vertical; }
.field__input:hover { border-color: rgba(28, 23, 20, .25); }
.field__input:focus { outline: none; background: var(--white); }

.quote__submit { margin-top: clamp(24px, 2.5vw, 40px); }
.quote__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__done { text-align: center; }
.quote__done-title { margin-bottom: 10px; font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-m); line-height: 1; }

@media (max-width: 767px) {
	.notes, .quote__grid { grid-template-columns: 1fr; }
	.quote__submit .button { width: 100%; }
}

/* Tebi-reserveerwidget: buitenkant in DIELS-stijl (de inhoud is een iframe; kleuren daarvan staan in Tebi). */
#tebi_rs_01 { box-shadow: none !important; border-radius: var(--radius) !important; }
/* Pas na de laadanimatie op home (html.show-intro) en niet tijdens de paginaovergang; Tebi fadet zelf in (opacity-transitie). */
html:is(.show-intro, .is-leaving, .is-entering) #tebi_rs_01 { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
@media (max-width: 767px) {
	/* Merkmaten-tab naar links, zodat hij niet onder de reserveerknop (rechtsonder) valt. */
	body.has-tebi .mm-tab { left: calc(var(--edge) + 50px); }
}

/* Offerteformulier: live validatie (Osmo, Live Form Validation Basic) in DIELS-stijl */
.quote__form form { display: grid; }
.field__control { position: relative; }
.field__input { padding-right: 3.5em; }
.field__input.is--textarea { padding-right: 16px; }
.form-field-icon { position: absolute; top: 1px; right: 1px; bottom: 1px; display: flex; align-items: center; justify-content: center; width: 3.5em; max-height: 54px; padding: 0 .9em; color: var(--green); opacity: 0; pointer-events: none; user-select: none; transition: opacity .2s; }
.form-field-icon.is--error { color: #b3261e; }
[data-validate].is--error .field__input { border-color: #b3261e; }
[data-validate].is--error .form-field-icon.is--error, [data-validate].is--success .form-field-icon.is--success { opacity: 1; }
.field__error { display: none; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.field__error::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #ff8a7a; }
.page-color--beige .field__error, .page-color--split .field__error { color: #b3261e; }
.page-color--beige .field__error::before, .page-color--split .field__error::before { background: #b3261e; }
[data-validate].is--error .field__error { display: flex; }
.form-submit-btn { position: relative; cursor: pointer; }
.form-submit { position: absolute; inset: 0; visibility: hidden; opacity: 0; }
.form-notification { position: relative; margin-bottom: 24px; padding: 16px 3.5em 16px 18px; border: 1px solid currentColor; border-radius: 8px; background: var(--white); color: #b3261e; }
.form-notification-bg { position: absolute; inset: 0; border-radius: 7px; background: currentColor; opacity: .08; pointer-events: none; }
.form-notification-p { position: relative; font-weight: 500; line-height: 1.35; }
.form-notification-icon { position: absolute; top: 50%; right: 0; display: flex; width: 3.5em; padding: 0 1em; transform: translateY(-50%); pointer-events: none; }

/* Contact Form 7 (zonder eigen CSS) */
.hidden-fields-container, .wpcf7-spinner { display: none; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: #b3261e; }
.field.is--error .wpcf7-not-valid-tip { display: none; }
form.submitting .form-submit-btn { opacity: .7; cursor: progress; }
.wpcf7-response-output { margin-top: 24px; padding: 16px 18px; border: 1px solid currentColor; border-radius: 8px; background: var(--white); color: #b3261e; font-weight: 500; }
form:is(.init, .resetting, .submitting) .wpcf7-response-output, [data-thanks] form.sent .wpcf7-response-output { display: none; }
form.sent .wpcf7-response-output { color: var(--green); }

/* Datumveld: zelfde hoogte en uitlijning als de andere velden, zonder placeholder (dd-mm-jjjj) en zonder icoon.
   Het onzichtbare kalendericoon beslaat het hele veld, dus overal klikken opent de datumkiezer. */
.field__input[type="date"] { -webkit-appearance: none; appearance: none; display: block; height: 54px; line-height: 24px; position: relative; cursor: pointer; }
.field__input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field__input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; opacity: 0; cursor: pointer; }
.field:not(.is--filled) .field__input[type="date"] { color: transparent; }
.field:not(.is--filled) .field__input[type="date"]::-webkit-datetime-edit { color: transparent; }

/* Menukaart: regel onder de gerechten (supplement) en beige blok (bijgerechten) */
.card__after { margin-top: clamp(24px, 2vw, 32px); font-weight: 500; }
.sides { margin-top: clamp(24px, 2.5vw, 40px); padding: clamp(24px, 2.5vw, 40px); border-radius: var(--radius); background: var(--paper); }
.sides__title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xs); line-height: 1; }
.sides__list { display: grid; gap: 18px; margin-top: clamp(16px, 1.5vw, 24px); }
.sides__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 500; }
.sides__price { font-family: var(--ff-script); font-size: var(--fs-s); line-height: 1; white-space: nowrap; }
.sides__desc { margin-top: 4px; font-size: clamp(14px, 1vw, 16px); color: rgba(28, 23, 20, .7); }
/* Wijnkaart: label "Nieuw" in de blauwgroene kleur (zelfde vorm als "Ook per glas") */
.pill--note { background: var(--green); color: var(--white); }

/* Footer: link naar de privacyverklaring */
.site-footer__privacy { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__privacy:hover { text-decoration-thickness: 2px; }

/* Tussenkoppen in lopende tekst (o.a. privacyverklaring) in het koplettertype */
.prose h2, .prose h3 { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-xs); line-height: 1.1; }
.prose * + h2, .prose * + h3 { margin-top: clamp(28px, 2.5vw, 40px); }
.prose h2 + p, .prose h3 + p, .prose h2 + ul, .prose h3 + ul { margin-top: 12px; }
