/*
Theme Name: Bij Herbert
Theme URI: https://bij-herbert.nl
Description: High-end brasserie child theme voor Bij Herbert (Horeca Herbert), brasserie bij station Ede-Wageningen. Child van Twenty Twenty-Five. Design system: crème/bordeaux/goud, Cormorant Garamond + DM Sans.
Author: Sportschool/Horeca Herbert (Claude)
Template: twentytwentyfive
Version: 0.7.9
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: bij-herbert
*/

/* Design tokens leven in theme.json. Deze style.css bevat alleen kleine aanvullingen
   die (nog) niet via theme.json/blocks uit te drukken zijn. Houd dit bewust minimaal. */

/* Zachte cross-page overgangen (View Transitions API; progressieve verbetering) */
@view-transition { navigation: auto; }

/* Leesbaarheid van hero-tekst over lichte foto's (eyebrow/subkop/H1) */
.wp-block-cover__inner-container :is(h1, h2, p) {
	text-shadow: 0 1px 20px rgba(26, 23, 20, 0.5);
}

/* Zachte, luxe focus-ring i.p.v. harde browser-default */
:where(a, button, input, .wp-element-button):focus-visible {
	outline: 2px solid var(--wp--preset--color--goud);
	outline-offset: 2px;
}

/* =========================================================================
   HERO-SLIDER (3 sfeerfoto's, CSS-crossfade, vaste donkere overlay)
   ========================================================================= */
.bh-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	isolation: isolate;
}
.bh-hero__slides { position: absolute; inset: 0; z-index: 0; }
.bh-hero__slide {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0;
	animation: bhHeroFade 18s infinite, bhKenBurns 26s ease-in-out infinite alternate;
	will-change: opacity, transform;
}
/* Slide 1 = direct zichtbare basislaag (instant LCP; alleen Ken Burns, geen fade-in) */
.bh-hero__slide:nth-child(1) { opacity: 1; animation: bhKenBurns 26s ease-in-out infinite alternate; }
.bh-hero__slide:nth-child(2) { animation-delay: 6s, 0s; }
.bh-hero__slide:nth-child(3) { animation-delay: 12s, 0s; }
@keyframes bhHeroFade {
	0%   { opacity: 0; }
	3%   { opacity: 1; }
	30%  { opacity: 1; }
	36%  { opacity: 0; }
	100% { opacity: 0; }
}
@keyframes bhKenBurns { from { transform: scale(1.001); } to { transform: scale(1.08); } }
.bh-hero__overlay {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to bottom, rgba(26,23,20,0.30) 0%, rgba(26,23,20,0.42) 48%, rgba(26,23,20,0.72) 100%);
}
.bh-hero__content {
	position: relative; z-index: 2;
	max-width: 720px; margin: 0 auto;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
	text-align: center;
}
.bh-hero__content :is(h1, p) { text-shadow: 0 1px 22px rgba(26, 23, 20, 0.55); }
@media (prefers-reduced-motion: reduce) {
	.bh-hero__slide { animation: none; opacity: 0; }
	.bh-hero__slide:nth-child(1) { opacity: 1; }
}

/* =========================================================================
   MENUKAART — categorie-cards + nette prijsregels
   ========================================================================= */
.bh-menu-card {
	background: var(--wp--preset--color--room);
	border: 1px solid #e6dcc7;
	border-radius: 16px;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	box-shadow: 0 10px 30px rgba(26, 23, 20, 0.05);
}
.bh-menu-card .wp-block-image img { border-radius: 10px; }
.bh-menu-item { display: flex; align-items: baseline; gap: 0.75rem; margin: 0.55rem 0; }
.bh-menu-item__name { min-width: 0; font-weight: 500; }
.bh-menu-item__dots {
	flex: 1 1 auto; min-width: 1.5rem;
	border-bottom: 1px dotted #c9bda8;
	transform: translateY(-0.28em);
}
.bh-menu-item__price { flex-shrink: 0; white-space: nowrap; color: #9A814A; font-weight: 400; font-size: 0.82rem;
	letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.bh-menu-item__desc { color: var(--wp--preset--color--grijs); font-size: 0.9rem; margin: 0.1rem 0 0; }

/* =========================================================================
   HEADER-LOGO — "Bij" + HERBERT-wordmerk
   ========================================================================= */
.bh-logo {
	font-family: var(--wp--preset--font-family--script);
	font-size: 2.15rem; line-height: 1;
	color: var(--wp--preset--color--bordeaux);
	text-decoration: none; display: inline-block; padding: 4px 0;
}
.bh-logo:hover { color: var(--wp--preset--color--bordeaux-donker); }
@media (max-width: 600px) { .bh-logo { font-size: 1.7rem; } }
/* Handschrift-entree: het script-logo "schrijft zichzelf" links→rechts bij het eerste
   bezoek van een sessie (klas .bh-write op <html> gezet vóór paint → geen flits).
   Zachte gradient-rand = inkt-bleed, alsof de pen net over het papier gaat. */
@keyframes bh-schrijf {
	from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
	to   { -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}
.bh-write .bh-logo {
	-webkit-mask-image: linear-gradient(90deg, #000 45%, rgba(0,0,0,.4) 53%, transparent 61%);
	        mask-image: linear-gradient(90deg, #000 45%, rgba(0,0,0,.4) 53%, transparent 61%);
	-webkit-mask-size: 220% 100%; mask-size: 220% 100%;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	animation: bh-schrijf 1.45s cubic-bezier(.55,.06,.2,1) forwards;
}
@media (prefers-reduced-motion: reduce) {
	.bh-write .bh-logo { animation: none; -webkit-mask-image: none; mask-image: none; }
}
/* Header: logo + hamburger verticaal centreren (was: hamburger plakte bovenaan) */
header .wp-block-group.is-content-justification-space-between.is-layout-flex { align-items: center !important; }
.wp-block-navigation__responsive-container-open {
	align-self: center; display: inline-flex !important; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 6px; color: var(--wp--preset--color--inkt);
}

/* =========================================================================
   VROUWELIJKE POLISH — gouden divider onder gecentreerde sectiekoppen
   + subtiele scroll-reveal (progressive enhancement via .bh-anim)
   ========================================================================= */
main :where(section, .wp-block-group) > h2.has-text-align-center { position: relative; padding-bottom: 28px; }
main :where(section, .wp-block-group) > h2.has-text-align-center::after {
	content: ""; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
	width: 74px; height: 1px; background: var(--wp--preset--color--goud); opacity: 0.85;
}
main :where(section, .wp-block-group) > h2.has-text-align-center::before {
	content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%) rotate(45deg);
	width: 9px; height: 9px; background: var(--wp--preset--color--goud);
}

/* Verfijnde kerning voor de Playfair-koppen */
.wp-block-heading, main h1, main h2, main h3 { letter-spacing: -0.011em; }
.bh-anim .bh-reveal { opacity: 0; transform: translateY(22px); }
.bh-anim .bh-reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
@media (prefers-reduced-motion: reduce) {
	.bh-anim .bh-reveal, .bh-anim .bh-reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* Sierlijk script-accent (korte woorden boven een kop, in goud) */
.bh-script { font-family: var(--wp--preset--font-family--script); font-weight: 400; line-height: 1; }

/* FIX (Fable-review): "is-not-stacked-on-mobile"-kolommen blijven op telefoons naast
   elkaar en worden loodrecht smal → tekst brak letter-voor-letter ("Capp uccin o").
   Op ≤600px alsnog stapelen; en nergens meer midden in een woord afbreken. */
@media (max-width: 600px) {
	.wp-block-columns.is-not-stacked-on-mobile { flex-wrap: wrap !important; }
	.wp-block-columns.is-not-stacked-on-mobile > .wp-block-column { flex-basis: 100% !important; }
}
.bh-carte__row .n, .bh-carte h3, .bh-carte__title,
.bh-menu-item__name, .bh-menu-item__price { overflow-wrap: normal; word-break: normal; hyphens: none; }

/* FIX (Fable-review): horizontale pagina-overloop (de lopende menu-marquee-track duwde
   de pagina ~200px breder → footer-strook op desktop). overflow-x:clip is sticky-veilig
   (breekt position:sticky niet, i.t.t. overflow:hidden). */
html, body { overflow-x: clip; }
/* FIX (Fable-review): gouden script-eyebrows op foto's waren slecht leesbaar → steviger schaduw. */
.wp-block-cover .bh-script, .bh-band .bh-script { text-shadow: 0 2px 16px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.4); }
/* Ons verhaal — sierlijke script-ondertitel onder elke hoofdstuktitel (curly-accent).
   Kort gehouden zodat Great Vibes leesbaar blijft; goud, licht ingesprongen als een gefluisterde echo. */
.bh-verhaal-script { font-family: var(--wp--preset--font-family--script); font-weight: 400;
	color: var(--wp--preset--color--goud); font-size: clamp(1.5rem, 4.2vw, 2.25rem); line-height: 1.1;
	margin: -0.35rem 0 1.15rem; padding-left: 0.15em; }

/* =========================================================================
   ONS VERHAAL — extra curly + editorial design (ALLEEN page-id-24).
   Hoofdstuktitels in de schrijfletter, grote curly hero-titel, gouden swash
   onder de ondertitel, en een klassieke drop-cap die de krul balanceert.
   ========================================================================= */
/* Hero-eyebrow → klein & getrackt, als rustig contrast met de grote curl eronder */
.page-id-24 .bh-band .bh-script {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.8rem !important; line-height: 1.4 !important;
	text-transform: uppercase; letter-spacing: 0.32em; opacity: 0.92;
}
/* Hero-titel "Ons verhaal" in de curly schrijfletter (Dancing Script), goud */
.page-id-24 .bh-band h1.bh-display {
	font-family: var(--wp--preset--font-family--krul) !important;
	text-transform: none !important; font-weight: 600 !important;
	letter-spacing: 0 !important; line-height: 1.08 !important;
	color: var(--wp--preset--color--goud) !important;
	font-size: clamp(2.9rem, 12vw, 5rem) !important;
	text-shadow: 0 2px 22px rgba(0,0,0,.5);
}
/* Hoofdstuktitels (H2) → grote curly schrijfletter (Dancing Script), bordeaux */
.page-id-24 main h2.has-bordeaux-color {
	font-family: var(--wp--preset--font-family--krul);
	font-weight: 600; letter-spacing: 0; line-height: 1.05;
	font-size: clamp(2.2rem, 6vw, 3.3rem); margin-bottom: 0.1rem;
}
/* Poëtische script-ondertitel (Dancing Script): tweede, kleinere curl-laag met gouden swash */
.page-id-24 .bh-verhaal-script {
	font-family: var(--wp--preset--font-family--krul); font-weight: 500;
	font-size: clamp(1.35rem, 3.6vw, 1.9rem); margin: 0 0 1.4rem;
}
.page-id-24 .bh-verhaal-script::after {
	content: ""; display: block; width: 92px; height: 2px; margin-top: 0.5rem;
	background: linear-gradient(90deg, var(--wp--preset--color--goud), transparent);
}
/* Editorial drop-cap op de eerste alinea van elk hoofdstuk (Playfair — anker in de krul) */
.page-id-24 .bh-verhaal-script + p::first-letter {
	float: left; font-family: var(--wp--preset--font-family--display);
	font-weight: 600; font-size: 3.9em; line-height: 0.74;
	color: var(--wp--preset--color--bordeaux); padding: 0.04em 0.12em 0 0;
}
@media (max-width: 600px) {
	.page-id-24 .bh-verhaal-script + p::first-letter { font-size: 3.1em; }
}

/* Tijd-bewuste hero-groet */
.bh-hero__daypart { color: var(--wp--preset--color--goud); font-size: clamp(1.5rem, 3.5vw, 2rem); text-align: center; margin: 0 0 0.8rem; text-shadow: 0 1px 18px rgba(26,23,20,0.5); }

/* =========================================================================
   IMMERSIE / "DE BRASSERIE ALS TIJDSCHRIFT" (Fable-visie)
   ========================================================================= */

/* 1. Merk-fotograde: warm & filmisch — maakt telefoonfoto's coherent.
      Niet op de hero-slides (LCP beschermen). */
.wp-block-image img,
.wp-block-gallery img,
.wp-block-cover:not(.bh-hero) .wp-block-cover__image-background,
.bh-band .wp-block-cover__image-background {
	filter: saturate(0.94) contrast(1.04) brightness(1.01);
}

/* 2. Display-typografie — grote statements */
.bh-display, .bh-band h2, .bh-band h1 {
	font-family: var(--wp--preset--font-family--display) !important;
	font-weight: 600; line-height: 0.98; letter-spacing: -0.02em;
	font-size: clamp(2.8rem, 8vw, 6.5rem) !important;
}

/* 3. Full-bleed sfeerband: de cover-blokken met class bh-band ademen 100vw */
.bh-band.wp-block-cover { min-height: 62vh; }
@media (max-width: 781px){ .bh-band.wp-block-cover { min-height: 70vh; } }

/* 4. Boog-masker — echo van de interieurbogen als merkvorm */
.bh-arch img { border-radius: 46% 46% 10px 10px / 30% 30% 10px 10px; display: block; }

/* 5. Menu-marquee — trage gouden lopende tekst tussen goudlijnen */
.bh-marquee { overflow: hidden; border-top: 1px solid var(--wp--preset--color--goud); border-bottom: 1px solid var(--wp--preset--color--goud); padding: 16px 0; background: var(--wp--preset--color--creme); }
.bh-marquee__track { display: inline-block; white-space: nowrap; will-change: transform; animation: bhMarquee 34s linear infinite; }
.bh-marquee__track span { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--wp--preset--color--bordeaux); }
.bh-marquee__track b { color: var(--wp--preset--color--goud); font-weight: 400; margin: 0 1.6rem; }
@keyframes bhMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .bh-marquee__track { animation: none; } }

/* 6. De kaart als typografisch object (Zédel-stijl): goudkader + puntjesleiders */
.bh-carte { border: 1px solid var(--wp--preset--color--goud); padding: clamp(1.5rem, 4vw, 3rem); background: var(--wp--preset--color--room); }
.bh-carte h3 { font-family: var(--wp--preset--font-family--display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem; color: var(--wp--preset--color--bordeaux); margin: 0 0 0.6rem; }
.bh-carte__row { display: flex; align-items: baseline; gap: 0.7rem; margin: 0.45rem 0; }
.bh-carte__row .n { font-family: var(--wp--preset--font-family--display); font-size: 1.15rem; white-space: normal; min-width: 0; flex: 0 1 auto; }
.bh-carte__row .l { flex: 1 1 2rem; border-bottom: 1px dotted #c9bda8; transform: translateY(-0.32em); min-width: 1.5rem; }
.bh-carte__row .p { color: #8A6D2E; font-weight: 600; white-space: nowrap; flex-shrink: 0; padding-left: 0.4rem; }
/* Vangnet: als een rij géén leader-span heeft, tóch ruimte vóór de prijs */
.bh-carte__row .n + .p { margin-left: auto; }

/* 7. Overlap-detail: laat een script-watermerk subtiel over een sectie vallen */
.bh-watermark { position: relative; }
.bh-watermark::before { content: attr(data-word); position: absolute; top: -0.35em; left: 50%; transform: translateX(-50%); font-family: var(--wp--preset--font-family--script); color: var(--wp--preset--color--goud); opacity: 0.16; font-size: clamp(4rem, 14vw, 11rem); line-height: 1; pointer-events: none; white-space: nowrap; }

/* =========================================================================
   MOBIEL & KNOPPEN/UX-TAAL "Zacht maar zeker" (Fable-spec 9/7)
   ========================================================================= */
:root {
	--bh-bordeaux: #7B1C2C; --bh-bordeaux-diep: #63151F; --bh-bordeaux-nacht: #4E101A;
	--bh-goud: #B8963E; --bh-goud-licht: #D6BC77; --bh-goud-donker: #8A6D2E;
	--bh-creme: #F5F0E7; --bh-espresso: #1A1714; --bh-lijn: #DDD2BF;
	--bh-ease: cubic-bezier(.33, 0, .2, 1); --bh-t-tik: 180ms; --bh-t-zacht: 420ms;
}

/* ---- Knoppen: pill, 56px, gouden hairline-gloed, active scale ---- */
.wp-element-button, .wp-block-button__link, .ff-btn-submit, button.wp-element-button {
	min-height: 56px; padding: 0 34px !important;
	border-radius: 999px !important;
	font-weight: 600 !important; font-size: 17px; letter-spacing: 0.01em;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	transition: background var(--bh-t-zacht) var(--bh-ease), box-shadow var(--bh-t-zacht) var(--bh-ease), transform var(--bh-t-tik) var(--bh-ease);
	-webkit-tap-highlight-color: transparent;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.ff-btn-submit {
	box-shadow: 0 2px 10px rgba(99,21,31,.26), inset 0 0 0 1px rgba(214,188,119,0);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.ff-btn-submit:hover {
	box-shadow: 0 4px 18px rgba(99,21,31,.32), inset 0 0 0 1px rgba(214,188,119,.55);
}
.wp-element-button:active, .ff-btn-submit:active { transform: scale(0.97); }
/* Secundair: elegante goudlijn i.p.v. witte/harde outline */
.is-style-outline .wp-block-button__link {
	background: transparent !important; border: 0 !important;
	box-shadow: inset 0 0 0 1.5px var(--bh-goud);
	color: var(--bh-espresso);
}
.is-style-outline .wp-block-button__link.has-wit-color { color: var(--bh-creme); }
.is-style-outline .wp-block-button__link:hover { background: rgba(184,150,62,.10) !important; }

/* ---- Formuliervelden: 56px, 16px (geen iOS-zoom), zachte goud-gloed ---- */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], textarea, select,
.ff-el-input input, .ff-el-input textarea, .bh-news input[type=email] {
	min-height: 56px; padding: 15px 18px !important;
	border-radius: 14px !important; border: 1px solid var(--bh-lijn) !important;
	font-size: 16px !important; background: #FBF8F1;
	transition: border-color var(--bh-t-zacht), box-shadow var(--bh-t-zacht);
}
textarea, .ff-el-input textarea { min-height: 110px; }
input:focus, textarea:focus, select:focus, .ff-el-input input:focus, .bh-news input:focus {
	outline: none !important; border-color: var(--bh-goud) !important;
	box-shadow: 0 0 0 4px rgba(184,150,62,.16) !important;
}

/* ============================ MOBIEL (≤781px) ============================ */
@media (max-width: 781px) {
	/* M1 — alle kolommen stapelen (fixt de gebroken pijlers + zomer-kaarten) */
	.wp-block-columns { flex-wrap: wrap !important; }
	.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
	/* M3 — dode-lucht-kap op secties */
	main .wp-block-group.alignfull:not(.bh-hero) {
		padding-top: clamp(48px, 11svh, 84px) !important;
		padding-bottom: clamp(48px, 11svh, 84px) !important;
	}
	/* M2 — watermerk-lek weg op mobiel */
	.bh-watermark::before { display: none; }
	/* Full-bleed banden niet té hoog op mobiel */
	.bh-band.wp-block-cover { min-height: 56vh; }
	/* Reuzenkoppen iets temperen zodat ze passen */
	.bh-display { font-size: clamp(2.4rem, 12vw, 3.6rem) !important; }
	/* Knoppen volle (nuttige) breedte in de duimzone */
	.wp-block-buttons.is-content-justification-center .wp-block-button { flex: 1 1 auto; }
	.wp-block-button__link { width: 100%; }
	/* Tap-targets */
	.wp-block-navigation a, .wp-block-list a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* M12 — footer-linkcontrast (crème op espresso = ruim AA) */
footer.has-inkt-background-color a, .wp-block-group.has-inkt-background-color footer a {
	color: var(--bh-creme) !important; text-decoration-color: rgba(245,240,231,.4);
}
footer.has-inkt-background-color a:hover { color: var(--bh-goud-licht) !important; }

/* ---- Boog-promenade: galerijen worden swipe-strips van boogvensters op mobiel ---- */
@media (max-width: 781px) {
	.wp-block-gallery.has-nested-images {
		display: flex !important; flex-wrap: nowrap !important;
		overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
		scrollbar-width: none; -webkit-overflow-scrolling: touch;
		padding-bottom: 8px; margin-inline: calc(-1 * var(--wp--preset--spacing--30));
		padding-inline: var(--wp--preset--spacing--30);
	}
	.wp-block-gallery.has-nested-images::-webkit-scrollbar { display: none; }
	.wp-block-gallery.has-nested-images figure.wp-block-image {
		flex: 0 0 72vw !important; margin: 0 !important; scroll-snap-align: center;
	}
	.wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(even) { flex-basis: 60vw !important; }
	.wp-block-gallery.has-nested-images figure.wp-block-image img {
		width: 100%; height: 52svh; object-fit: cover;
		border-radius: 46% 46% 12px 12px / 28% 28% 12px 12px; /* boogmasker */
	}
	/* Boog-beelden (o.a. de bordeaux-verhaal-band) royaal op mobiel */
	.bh-arch img { width: 100%; max-height: 46svh; object-fit: cover; }
	/* Columns die als kaart-rij bedoeld zijn: iets ademruimte tussen gestapelde kaarten */
	.wp-block-columns { gap: 16px; }
}

/* =========================================================================
   WOW-LAAG: stationsklok · goud-shimmer · prijs-psychologie · badges
   ========================================================================= */

/* Stationsklok */
.bh-klok { position: relative; width: clamp(120px, 26vw, 176px); aspect-ratio: 1; border-radius: 50%; margin: 8px auto;
	background: radial-gradient(circle at 50% 38%, #FBF8F1, #EFE6D4);
	border: 3px solid var(--wp--preset--color--goud);
	box-shadow: 0 14px 44px rgba(26,23,20,.4), inset 0 0 0 6px rgba(255,255,255,.45); }
.bh-klok::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(184,150,62,.35); }
.bh-klok__h, .bh-klok__m, .bh-klok__s { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; border-radius: 4px; }
.bh-klok__h { width: 4px; height: 24%; margin-left: -2px; background: var(--wp--preset--color--inkt); animation: bh-tik 43200s linear infinite; }
.bh-klok__m { width: 3px; height: 34%; margin-left: -1.5px; background: var(--wp--preset--color--inkt); animation: bh-tik 3600s linear infinite; }
.bh-klok__s { width: 2px; height: 38%; margin-left: -1px; background: var(--wp--preset--color--bordeaux); animation: bh-tik 60s linear infinite; }
.bh-klok__dot { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--wp--preset--color--bordeaux); z-index: 2; }
@keyframes bh-tik { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bh-klok__h, .bh-klok__m, .bh-klok__s { animation: none; } }

/* Goud-shimmer (zachte glans over script-tekst) */
.bh-shimmer { background: linear-gradient(100deg, var(--wp--preset--color--goud) 32%, #F3E4B8 50%, var(--wp--preset--color--goud) 68%);
	background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important;
	animation: bh-shine 7s linear infinite; }
@keyframes bh-shine { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .bh-shimmer { animation: none; background: none; -webkit-text-fill-color: var(--wp--preset--color--goud); color: var(--wp--preset--color--goud) !important; } }

/* =========================================================================
   KOFFIE-RITUEEL — cinematisch "van boon tot kopje" (sticky foto + scrollende
   stappen). Default = alles zichtbaar (veilig, geen JS nodig); waar de browser
   scroll-driven animaties kent, komen de stappen sereen omhoog. Reduced-motion-safe.
   ========================================================================= */
.bh-ritueel { position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
	background: var(--wp--preset--color--inkt); color: var(--wp--preset--color--creme); overflow: clip; }
.bh-ritueel__media { position: sticky; top: 0; align-self: start; height: 100vh; overflow: hidden; }
.bh-ritueel__media img { width: 100%; height: 100%; object-fit: cover; display: block;
	filter: saturate(1.03) contrast(1.03); transform: scale(1.03); }
.bh-ritueel__media::after { content: ""; position: absolute; inset: 0;
	background: linear-gradient(200deg, transparent 45%, rgba(26,23,20,.55)); pointer-events: none; }
.bh-ritueel__label { position: absolute; left: clamp(16px,4vw,52px); bottom: clamp(18px,5vh,54px); z-index: 2;
	color: var(--wp--preset--color--goud); font-family: var(--wp--preset--font-family--script);
	font-size: clamp(1.9rem,4.2vw,3.1rem); line-height: 1; text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.bh-ritueel__steps { margin: 0; padding: 0; list-style: none; }
.bh-ritueel__step { min-height: 82vh; display: flex; flex-direction: column; justify-content: center;
	padding: clamp(30px,6vw,92px); border-bottom: 1px solid rgba(184,150,62,.16); }
.bh-ritueel__num { font-family: var(--wp--preset--font-family--script); color: var(--wp--preset--color--goud);
	font-size: 2.5rem; line-height: 1; opacity: .92; }
.bh-ritueel__step h3 { font-family: var(--wp--preset--font-family--display); color: #fff;
	font-size: clamp(1.8rem,4vw,2.8rem); margin: .18em 0 .32em; font-weight: 600; }
.bh-ritueel__step p { color: rgba(245,240,231,.82); font-size: 1.06rem; line-height: 1.75; max-width: 34ch; margin: 0; }
@media (max-width: 781px) {
	.bh-ritueel { grid-template-columns: 1fr; }
	.bh-ritueel__media { position: relative; height: 42vh; }
	.bh-ritueel__label { font-size: 2rem; }
	.bh-ritueel__step { min-height: auto; padding: 40px 26px; }
}
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.bh-ritueel__step { animation: bh-rit-in linear both; animation-timeline: view(); animation-range: entry 2% cover 22%; }
		@keyframes bh-rit-in { from { opacity: .5; transform: translateY(20px); } to { opacity: 1; transform: none; } }
	}
}

/* Prijs-psychologie: prijzen sterk de-emphaseren — klein, licht, gedempt goud, zónder
   euroteken (bare getallen = menu-engineering: lagere prijs-saillantie, hogere waardebeleving).
   Tabulaire cijfers houden de kolom netjes uitgelijnd. */
.bh-carte__row .p { font-size: 0.78rem; font-weight: 400; color: #9A814A; letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums; }

/* "Meest geliefd"/signatuur-badge (eerlijk, alleen op echte toppers) */
.bh-tag { display: inline-block; font-family: var(--wp--preset--font-family--body); font-size: 0.6rem; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase; color: #8A6D2E; border: 1px solid rgba(184,150,62,.5);
	border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }

/* Openingsstatus-pill */
.bh-status {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--wp--preset--font-family--body); font-size: 0.9rem; font-weight: 500;
	padding: 7px 15px; border-radius: 999px;
	background: var(--wp--preset--color--room); border: 1px solid #e6dcc7; color: var(--wp--preset--color--inkt);
}
.bh-status__dot { width: 9px; height: 9px; border-radius: 50%; background: #9a938a; }
.bh-status.is-open .bh-status__dot { background: #3a9d5a; box-shadow: 0 0 0 3px rgba(58,157,90,0.18); }
.bh-status.is-closed .bh-status__dot { background: #b23a3a; box-shadow: 0 0 0 3px rgba(178,58,58,0.15); }

/* "Vrienden van Bij Herbert"-formulier (voornaam · e-mail · verjaardag) */
.bh-news { max-width: 480px; margin: 0 auto; text-align: left; }
.bh-news__grid { display: grid; gap: 10px; }
.bh-news__row { display: flex; gap: 10px; flex-wrap: wrap; }
.bh-news input[type=email], .bh-news input[type=text] { width: 100%; padding: 13px 16px; border: 1px solid #d8cfc0; border-radius: 10px; background: #fff; font: inherit; }
.bh-news input:focus { outline: 2px solid var(--wp--preset--color--goud); border-color: var(--wp--preset--color--goud); }
.bh-news__hint { font-size: 0.76rem; color: var(--wp--preset--color--grijs); margin: 6px 2px 0; }
.bh-news .bh-news__consent { font-size: 0.82rem; color: var(--wp--preset--color--grijs); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.bh-news .bh-news__consent input { margin-top: 3px; flex: 0 0 auto; }
.bh-news button { margin-top: 14px; }
.bh-news .bh-news__msg { margin-top: 12px; font-size: 0.9rem; font-weight: 500; }
.bh-news__foot { margin-top: 10px; font-size: 0.76rem; color: var(--wp--preset--color--grijs); font-style: italic; }

/* Beeld-verfijning: zachte schaduw op kolombeelden + subtiele hover-zoom in galerij */
main .wp-block-columns .wp-block-image img { box-shadow: 0 16px 40px rgba(26, 23, 20, 0.16); }
.wp-block-gallery.has-nested-images figure.wp-block-image { overflow: hidden; border-radius: 12px; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { transition: transform 0.8s cubic-bezier(.2, .6, .2, 1); }
.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.06); }

/* Knop-interactie: subtiele lift */
.wp-element-button { transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.wp-element-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(123, 28, 44, 0.22); }
@media (prefers-reduced-motion: reduce) {
	.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: none; }
	.wp-element-button:hover { transform: none; }
}

/* =========================================================================
   FIX v0.7.8 — mobiel hamburger-overlay was een kale witte laag: de
   desktop-nav-instellingen (justifyContent:right + blockGap 1.5rem) lekten
   de open overlay in → items rechts uitgelijnd, half buiten beeld, enorme
   gaten, geen opmaak. Nu: crème paneel, verticale lijst links, Playfair-
   topniveau, subitems ingesprongen achter een gouden haarlijn.
   ========================================================================= */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--creme) !important;
	color: var(--wp--preset--color--inkt);
	padding: 16px 26px 48px !important; /* core reset padding naar 0 → items plakten tegen de rand */
	overflow-y: auto;
}
/* Sluitknop rechtsboven, zelfde tikoppervlak als de hamburger */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	min-width: 44px; min-height: 44px; padding: 6px;
	color: var(--wp--preset--color--inkt);
}
/* De lijst: verticale kolom, LINKS uitgelijnd (override justification:right) */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--preset--spacing--30);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: flex-start !important;
	justify-content: flex-start !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0.4rem !important;
	width: 100%;
	text-align: left;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
/* Topniveau: Playfair, inkt, royaal tikoppervlak */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.4rem !important; line-height: 1.25;
	color: var(--wp--preset--color--inkt);
	padding: 0.4rem 0;
}
/* Subitems (Ons aanbod / Vieren): ingesprongen achter een gouden haarlijn, body-font */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	position: static !important;
	width: 100%;
	min-width: 0 !important;
	padding: 0 0 0 1.05rem !important;
	margin: 0.1rem 0 0.5rem;
	border: 0 !important;
	border-left: 1px solid var(--wp--preset--color--goud) !important;
	background: transparent !important;
	box-shadow: none !important;
	gap: 0 !important;
	align-items: flex-start !important;
	opacity: 1 !important; visibility: visible !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.02rem !important;
	color: var(--wp--preset--color--inkt);
	padding: 0.3rem 0 !important; /* core gaf 8px 16px → dubbele insprong + te veel lucht */
}
/* Pijltjes/toggles hebben in de overlay geen functie (alles staat al open) */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none !important; }
/* Focusring: WP focust "Home" automatisch bij openen → zwart kader bij elke tik.
   Geen ring bij tik/auto-focus, gouden ring alleen bij toetsenbord-navigatie. */
.wp-block-navigation__responsive-container.is-menu-open a:focus:not(:focus-visible),
.wp-block-navigation__responsive-container.is-menu-open button:focus:not(:focus-visible) {
	outline: none !important;
}
.wp-block-navigation__responsive-container.is-menu-open a:focus-visible,
.wp-block-navigation__responsive-container.is-menu-open button:focus-visible {
	outline: 2px solid var(--wp--preset--color--goud) !important; outline-offset: 3px;
}
