/*
Theme Name: Gästehappen
Theme URI: https://gaestehappen.de
Author: gaestehappen.de
Description: Modernes, schnelles Block-Theme für gaestehappen.de – Gäste bewirten, Buffet planen, Mengen berechnen. Lokale Schriften (DSGVO-konform), keine externen Abhängigkeiten, Gäste-Rechner per Shortcode [gaeste_rechner].
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gaestehappen
Tags: block-theme, full-site-editing, food-and-drink, blog, one-column, wide-blocks
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
:where(.wp-site-blocks) *:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--wp--preset--color--sage); }

/* ---------- Header ---------- */
.gh-header { border-bottom: 1px solid var(--wp--preset--color--border); }
.gh-header.is-position-sticky { backdrop-filter: saturate(140%) blur(8px); background: rgba(255,255,255,.92) !important; }
.gh-logo { font-family: var(--wp--preset--font-family--heading); font-weight: 650; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; color: var(--wp--preset--color--contrast); }
.gh-logo a { text-decoration: none; color: inherit; }
.gh-logo .gh-dot { color: var(--wp--preset--color--primary); }
.gh-header .wp-block-navigation a { text-decoration: none; }
.gh-header .wp-block-navigation a:hover { color: var(--wp--preset--color--primary); }

/* ---------- Eyebrow / labels ---------- */
.gh-eyebrow { font-size: .78rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--primary); margin-bottom: .25rem !important; }
.gh-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--muted); line-height: 1.6; }

/* ---------- Hero ---------- */
.gh-hero { position: relative; overflow: hidden; }
.gh-hero .gh-hero-img img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--wp--custom--radius--large); }
.gh-hero-badges { gap: .5rem !important; }
.gh-badge { display: inline-block; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border); border-radius: 999px; padding: .35em .9em; font-size: .85rem; font-weight: 500; margin: 0 !important; }

/* ---------- Cards ---------- */
.gh-card { background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium); overflow: hidden; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.gh-card:hover { transform: translateY(-3px); box-shadow: var(--wp--custom--shadow--card); }
.gh-card .wp-block-post-featured-image { margin: 0; }
.gh-card .wp-block-post-featured-image img { aspect-ratio: 4/3; object-fit: cover; border-radius: 0; width: 100%; }
.gh-card-body { padding: 1rem 1.25rem 1.35rem; }
.gh-card .wp-block-post-title { font-size: 1.25rem; line-height: 1.25; margin-top: .35rem; }
.gh-card .wp-block-post-title a:hover { color: var(--wp--preset--color--primary); }
.gh-card .wp-block-post-excerpt__excerpt { font-size: .95rem; color: var(--wp--preset--color--muted); margin: .4rem 0 0; }
.wp-block-post-template.is-layout-grid { gap: 1.5rem; }

/* Category tiles */
.gh-cat { position: relative; border-radius: var(--wp--custom--radius--medium); overflow: hidden; min-height: 220px; }
.gh-cat .wp-block-cover__inner-container { width: 100%; }
.gh-cat h3 { color: #fff; margin: 0; font-size: 1.4rem; }
.gh-cat p { color: rgba(255,255,255,.88); margin: .2rem 0 0; font-size: .92rem; }
.gh-cat a { color: inherit; text-decoration: none; }
.gh-cat a::after { content: ""; position: absolute; inset: 0; }
.gh-cat:hover img { transform: scale(1.04); }
.gh-cat img { transition: transform .4s ease; }

/* Steps */
.gh-step-num { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--wp--preset--color--primary); color: #fff; font-weight: 700; font-family: var(--wp--preset--font-family--heading); margin-bottom: .75rem !important; }

/* ---------- Single post ---------- */
.gh-single-header .wp-block-post-title { font-size: var(--wp--preset--font-size--huge); }
.gh-meta { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); gap: .4rem 1rem !important; }
.gh-meta a { color: inherit; }
.entry-content > * + h2 { margin-top: 1.8em; }
.entry-content > * + h3 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin: .35em 0; }
.entry-content li::marker { color: var(--wp--preset--color--primary); }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--wp--preset--color--border); padding: .6em .75em; text-align: left; }
.entry-content th { background: var(--wp--preset--color--surface); font-weight: 600; }
.gh-author-box { border-radius: var(--wp--custom--radius--medium); }

/* Tip / info box (Gruppe mit Klasse "gh-tipp") */
.gh-tipp, .is-style-gh-tipp { background: var(--wp--preset--color--sage); border-radius: var(--wp--custom--radius--medium); padding: 1.25rem 1.5rem !important; border-left: 4px solid var(--wp--preset--color--primary); }
.gh-tipp > :first-child, .is-style-gh-tipp > :first-child { margin-top: 0; }

/* ---------- WP Recipe Maker look ---------- */
.wprm-recipe-container .wprm-recipe { border: 1px solid var(--wp--preset--color--border) !important; border-radius: var(--wp--custom--radius--medium) !important; background: var(--wp--preset--color--surface) !important; font-family: var(--wp--preset--font-family--body) !important; }
.wprm-recipe .wprm-recipe-name { font-family: var(--wp--preset--font-family--heading) !important; }
.wprm-recipe a.wprm-recipe-link, .wprm-recipe .wprm-recipe-jump { background: var(--wp--preset--color--primary) !important; border-color: var(--wp--preset--color--primary) !important; color: #fff !important; border-radius: 999px !important; }

/* ---------- Gäste-Rechner ---------- */
.gh-rechner { background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--large); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--wp--custom--shadow--card); }
.gh-rechner h3 { margin: 0 0 .25rem; font-size: 1.5rem; }
.gh-rechner .gh-r-sub { margin: 0 0 1.25rem; color: var(--wp--preset--color--muted); font-size: .95rem; }
.gh-r-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.gh-r-field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-bottom: .35rem; }
.gh-r-field input, .gh-r-field select { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; padding: .7em .9em; border: 1px solid var(--wp--preset--color--border); border-radius: 10px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); }
.gh-r-field input:focus, .gh-r-field select:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 1px; background: #fff; }
.gh-r-result { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.gh-r-stat { background: var(--wp--preset--color--sage); border-radius: 14px; padding: 1rem 1.1rem; }
.gh-r-stat strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 2rem; line-height: 1.1; color: var(--wp--preset--color--primary-dark); font-variant-numeric: tabular-nums; }
.gh-r-stat span { display: block; line-height: 1.35; margin-top: .25rem; font-size: .85rem; color: var(--wp--preset--color--muted); }
.gh-r-note { margin: 1rem 0 0; font-size: .85rem; color: var(--wp--preset--color--muted); }

/* ---------- Newsletter / CTA ---------- */
.gh-cta { border-radius: var(--wp--custom--radius--large); text-align: center; }
.gh-cta h2, .gh-cta p { color: #fff; }
.gh-cta .wp-block-button__link { background: #fff !important; color: var(--wp--preset--color--primary-dark) !important; }

/* ---------- Footer ---------- */
.gh-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.gh-footer a:hover { color: #fff; text-decoration: underline; }
.gh-footer .wp-block-heading { color: #fff; font-size: 1rem; font-family: var(--wp--preset--font-family--body); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gh-footer ul { list-style: none; padding: 0; margin: 0; }
.gh-footer li { margin: .45em 0; }

/* ---------- Pagination ---------- */
.wp-block-query-pagination { gap: .5rem; }
.wp-block-query-pagination-numbers .page-numbers { display: inline-flex; min-width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--wp--preset--color--border); text-decoration: none; }
.wp-block-query-pagination-numbers .page-numbers.current { background: var(--wp--preset--color--primary); color: #fff; border-color: var(--wp--preset--color--primary); }

/* ---------- Ads: reserve space, avoid layout shift ---------- */
.code-block, .ai-viewport-1, .ai-viewport-2, .ai-viewport-3 { margin: 2rem auto !important; text-align: center; }

@media (max-width: 781px) {
	.gh-hero .gh-hero-img img { aspect-ratio: 4/3; }
	.gh-hide-mobile { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   v1.1 – Motion-Layer (GSAP + Lenis) & Pro-Details
   ===================================================================== */

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

/* Hero vor dem JS-Start verstecken (kein Flackern) + Sicherheitsnetz nach 2,5 s */
@keyframes gh-failsafe { to { opacity: 1; visibility: visible; transform: none; } }
.gh-js .gh-hero h1,
.gh-js .gh-hero .gh-eyebrow,
.gh-js .gh-hero .gh-lead,
.gh-js .gh-hero .wp-block-buttons,
.gh-js .gh-hero .gh-badge,
.gh-js .gh-hero .gh-card { opacity: 0; animation: gh-failsafe 0s linear 2.5s forwards; }
.gh-motion-ready .gh-hero h1,
.gh-motion-ready .gh-hero .gh-eyebrow,
.gh-motion-ready .gh-hero .gh-lead,
.gh-motion-ready .gh-hero .wp-block-buttons,
.gh-motion-ready .gh-hero .gh-badge,
.gh-motion-ready .gh-hero .gh-card,
.gh-motion-off .gh-hero * { animation: none; }
.gh-motion-off .gh-hero h1, .gh-motion-off .gh-hero .gh-eyebrow, .gh-motion-off .gh-hero .gh-lead,
.gh-motion-off .gh-hero .wp-block-buttons, .gh-motion-off .gh-hero .gh-badge, .gh-motion-off .gh-hero .gh-card { opacity: 1; }
.gh-word { display: inline-block; will-change: transform, filter; }

/* Smart Header */
.gh-header { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background-color .3s ease; will-change: transform; z-index: 50; }
.gh-header.is-scrolled { box-shadow: 0 6px 24px rgba(29,32,27,.06); }
.gh-header.is-hidden { transform: translateY(-110%); }

/* Spotlight (React Bits „SpotlightCard“) */
.gh-spot { position: relative; isolation: isolate; }
.gh-spot::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 45%);
	opacity: 0; transition: opacity .3s ease;
}
.gh-card.gh-spot::after, .gh-rechner.gh-spot::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(79,93,47,.09), transparent 45%); }
.gh-spot:hover::after { opacity: 1; }

/* Karten: Bild-Zoom beim Hover */
.gh-card .wp-block-post-featured-image { overflow: hidden; }
.gh-card .wp-block-post-featured-image img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gh-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.gh-hero .gh-card .wp-block-post-featured-image img { transition: none; }
.gh-cat { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.gh-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,32,27,.18); }
.gh-cat h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s ease; }
.gh-cat:hover h3 a { background-size: 100% 1.5px; }

/* Laufband (React Bits „ScrollVelocity“) */
.gh-marquee { overflow: hidden; border-block: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--base); padding: 1.1rem 0; margin: 0 !important; }
.gh-marquee-track { display: flex; width: max-content; will-change: transform; }
.gh-marquee-row { display: flex; align-items: center; flex-shrink: 0; }
.gh-marquee-item { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.4rem, 3.2vw, 2.4rem); font-weight: 500; letter-spacing: -.02em; color: var(--wp--preset--color--contrast); padding: 0 .9rem; white-space: nowrap; }
.gh-marquee-item:nth-child(4n+1) { font-style: italic; color: var(--wp--preset--color--primary); }
.gh-marquee-dot { color: var(--wp--preset--color--accent); font-size: 1rem; }
@keyframes gh-marquee { to { transform: translateX(-50%); } }
.gh-marquee:not(.is-js) .gh-marquee-track { animation: gh-marquee 40s linear infinite; }
.gh-motion-off .gh-marquee .gh-marquee-track { animation: none; }

/* CTA: weich wandernde Farbflächen + Glanz */
.gh-cta { position: relative; overflow: hidden; isolation: isolate; }
.gh-cta::before, .gh-cta::after { content: ""; position: absolute; z-index: -1; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(60px); opacity: .45; }
.gh-cta::before { background: #6f8040; top: -30%; left: -15%; animation: gh-blob 16s ease-in-out infinite alternate; }
.gh-cta::after { background: #2c361a; bottom: -40%; right: -10%; animation: gh-blob 20s ease-in-out infinite alternate-reverse; }
@keyframes gh-blob { to { transform: translate(12%, 10%) scale(1.15); } }
.gh-cta h2 { background: linear-gradient(110deg, #fff 35%, #e3ebcf 50%, #fff 65%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: gh-shine 6s ease-in-out infinite; }
@keyframes gh-shine { 0%, 40% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Buttons: weicher Übergang (Magnet-Effekt per JS) */
.wp-block-button__link { transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; will-change: transform; }
.wp-block-button__link:hover { box-shadow: 0 10px 24px rgba(56,67,31,.22); }

/* Lesefortschritt */
.gh-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--wp--preset--color--primary); transform-origin: 0 50%; transform: scaleX(0); z-index: 100000; pointer-events: none; }
.admin-bar .gh-progress { top: 32px; }

/* Inhaltsverzeichnis */
.gh-toc { margin: 2rem 0 !important; }
.gh-toc details { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium); padding: 1rem 1.25rem; }
.gh-toc summary { cursor: pointer; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--primary); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.gh-toc summary::-webkit-details-marker { display: none; }
.gh-toc summary::after { content: "–"; font-size: 1.2rem; }
.gh-toc details:not([open]) summary::after { content: "+"; }
.gh-toc ol { margin: .75rem 0 0; padding-left: 1.25rem; counter-reset: toc; }
.gh-toc li { margin: .35rem 0; }
.gh-toc a { text-decoration: none; color: var(--wp--preset--color--contrast); transition: color .2s ease, padding .2s ease; }
.gh-toc a:hover, .gh-toc a.is-active { color: var(--wp--preset--color--primary); padding-left: .25rem; }
.gh-toc a.is-active { font-weight: 600; }
.entry-content h2[id] { scroll-margin-top: 110px; }

/* Pinterest „Merken“ auf Bildern */
.gh-pin-wrap { position: relative; }
.gh-pin { position: absolute !important; top: .75rem; left: .75rem; width: auto !important; height: auto !important; line-height: 1.2; z-index: 3; display: inline-flex; align-items: center; gap: .35rem; background: #e60023; color: #fff !important; font-size: .85rem; font-weight: 700; text-decoration: none !important; padding: .5em .9em; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease, background-color .2s ease; }
.gh-pin-wrap:hover .gh-pin, .gh-pin:focus-visible { opacity: 1; transform: none; }
.gh-pin:hover { background: #ad081b; }
@media (hover: none) { .gh-pin { opacity: 1; transform: none; padding: .45em .7em; } .gh-pin span { display: none; } }

/* Nach oben */
.gh-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--wp--preset--color--base); color: var(--wp--preset--color--primary-dark); box-shadow: 0 8px 24px rgba(29,32,27,.14); cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; z-index: 90; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.gh-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.gh-top svg { position: absolute; inset: 2px; width: 44px; height: 44px; transform: rotate(-90deg); }
.gh-top-ring { fill: none; stroke: var(--wp--preset--color--primary); stroke-width: 2.5; stroke-linecap: round; }
.gh-top span { position: relative; }

/* Details (FAQ) schöner */
.entry-content .wp-block-details { border-bottom: 1px solid var(--wp--preset--color--border); padding: .9rem 0; }
.entry-content .wp-block-details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after { content: "+"; color: var(--wp--preset--color--primary); font-size: 1.3rem; line-height: 1; transition: transform .25s ease; }
.entry-content .wp-block-details[open] summary::after { transform: rotate(45deg); }
.entry-content .wp-block-details > :not(summary) { margin-top: .6rem; color: var(--wp--preset--color--muted); }

@media (prefers-reduced-motion: reduce) {
	.gh-js .gh-hero * { opacity: 1 !important; animation: none !important; }
	.gh-cta::before, .gh-cta::after, .gh-cta h2 { animation: none !important; }
	.gh-marquee-track { animation: none !important; }
}

/* =========================================================
   v1.2 – Artikel-Format (Zutaten-Karte .hkz, Rezept-Kopf .hkf, WPRM)
   Passt die Blöcke aus den KI-Artikeln an das Gästehappen-Design an.
   ========================================================= */
.entry-content .gh-kicker { font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; line-height: 1.35; color: var(--wp--preset--color--primary-dark); font-weight: 600; margin-bottom: .5em; }

/* Zutaten & Vorbereitung */
.entry-content .hkz { max-width: 100%; margin: 2rem 0; padding: 1.75rem 1.75rem 1.5rem; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium, 18px); box-shadow: 0 1px 0 rgba(29,32,27,.03), 0 18px 40px -28px rgba(29,32,27,.25); font-family: var(--wp--preset--font-family--body); color: var(--wp--preset--color--contrast); position: relative; overflow: hidden; }
.entry-content .hkz::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent)); }
.entry-content .hkz-eb, .entry-content .hkz-g, .entry-content .hkf-eb { color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--body); }
.entry-content .hkz-h { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.5rem; margin: 0 0 .35rem; }
.entry-content .hkz-sub { color: var(--wp--preset--color--muted); margin: 0; }
.entry-content .hkz-g { border-top-color: var(--wp--preset--color--border); }
.entry-content ul.hkz-list { list-style: none; padding-left: 0; margin: .4rem 0 0; }
.entry-content .hkz-list li.hkz-i { margin: 0; border-top-color: var(--wp--preset--color--border); transition: background-color .2s ease; border-radius: 10px; }
.entry-content .hkz-list li.hkz-i:hover { background: rgba(79,93,47,.05); }
.entry-content .hkz-i::marker { content: none; }
.entry-content .hkz-ic { display: grid; place-items: center; flex-basis: 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border); font-size: 17px; }
.entry-content .hkz-ic img.emoji { width: 18px !important; height: 18px !important; margin: 0 !important; }
.entry-content .hkz-n { font-weight: 600; }
.entry-content .hkz-note, .entry-content .hkz-alt { color: var(--wp--preset--color--muted); }
.entry-content .hkz-alt b { color: var(--wp--preset--color--accent); }
.entry-content .hkz-q { font-weight: 700; color: var(--wp--preset--color--primary-dark); background: var(--wp--preset--color--sage); border-radius: 999px; padding: .2rem .7rem; margin-left: .75rem; font-size: .85rem; align-self: center; }
.entry-content .hkz-warn { background: #FBEDE7; border-left-color: var(--wp--preset--color--accent); }
.entry-content .hkz-warn b { color: var(--wp--preset--color--accent); }
@media (max-width: 600px) {
	.entry-content .hkz { padding: 1.25rem 1rem; }
	.entry-content .hkz-q { width: auto; margin-left: 46px; padding: .15rem .6rem; }
}

/* Grundlayout auch ohne das Inline-CSS der Vorlage (z. B. wenn <style> entfernt wird) */
.entry-content .hkz-eb, .entry-content .hkz-g, .entry-content .hkf-eb { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.entry-content .hkz-eb { margin-bottom: .35rem; }
.entry-content .hkz-g { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--wp--preset--color--border); }
.entry-content .hkz-i { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem .25rem; border-top: 1px solid var(--wp--preset--color--border); }
.entry-content .hkz-i:first-child { border-top: none; }
.entry-content .hkz-txt { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; }
.entry-content .hkz-n { font-size: .95rem; }
.entry-content .hkz-note, .entry-content .hkz-alt { font-size: .8rem; line-height: 1.45; }
.entry-content .hkz-alt b { font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; margin-right: 6px; }
.entry-content .hkz-q { flex: 0 0 auto; white-space: nowrap; }
.entry-content .hkz-warn { margin: 1.1rem 0 0; padding: .75rem .9rem; border-left: 3px solid var(--wp--preset--color--accent); border-radius: 0 10px 10px 0; font-size: .87rem; line-height: 1.55; }
.entry-content .hkz-warn b { margin-right: 6px; }
@media (max-width: 600px) { .entry-content .hkz-i { flex-wrap: wrap; } }
.entry-content .hkf-eb { margin-bottom: .5rem; }
.entry-content .hkf-d { font-size: .95rem; line-height: 1.6; }
.entry-content .hkf-m { display: flex; flex-direction: column; gap: 4px; }
.entry-content .hkf-k { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.entry-content .hkz > style, .entry-content .hkf > style { display: none !important; }

/* Rezept-Kopf (Zeiten & Portionen) */
.entry-content .hkf { max-width: 100%; margin: 2rem 0; padding: 1.5rem 1.75rem; background: var(--wp--preset--color--sage); border-radius: var(--wp--custom--radius--medium, 18px); font-family: var(--wp--preset--font-family--body); color: var(--wp--preset--color--contrast); }
.entry-content .hkf-h { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0 0 .5rem; scroll-margin-top: 110px; }
.entry-content .hkf-d { color: var(--wp--preset--color--muted); margin: 0 0 1.1rem; }
.entry-content .hkf-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: .6rem; padding-top: 0; border-top: 0; }
.entry-content .hkf-m { background: var(--wp--preset--color--base); border-radius: 12px; padding: .6rem .7rem; min-width: 0; }
.entry-content .hkf-k { color: var(--wp--preset--color--muted); }
.entry-content .hkf-v { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--wp--preset--color--primary-dark); font-size: 1.15rem; }
@media (max-width: 600px) { .entry-content .hkf { padding: 1.25rem 1rem; } .entry-content .hkf-meta { grid-template-columns: repeat(3, 1fr); } }

/* Schritt-Liste im Artikel: nummerierte Kreise */
.entry-content > ol.wp-block-list { counter-reset: gh-step; list-style: none; padding-left: 0; }
.entry-content > ol.wp-block-list > li { counter-increment: gh-step; position: relative; padding: .2rem 0 .9rem 3.1rem; margin: 0; }
.entry-content > ol.wp-block-list > li::before { content: counter(gh-step); position: absolute; left: 0; top: .1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--primary); color: #fff; font-weight: 700; font-size: .95rem; }
.entry-content > ol.wp-block-list > li:not(:last-child)::after { content: ""; position: absolute; left: 1.03rem; top: 2.5rem; bottom: .1rem; width: 2px; background: var(--wp--preset--color--border); }
.entry-content > ol.wp-block-list > li strong:first-child { color: var(--wp--preset--color--primary-dark); }

/* Bilder im Artikel */
.entry-content > figure.wp-block-image img { border-radius: var(--wp--custom--radius--medium, 18px); }
.entry-content > figure.wp-block-image + p { font-size: .9rem; color: var(--wp--preset--color--muted); text-align: center; margin-top: .6rem; }

/* WPRM (alle Templates, inkl. „Meadow“) an das Design anpassen */
.wprm-recipe-container { margin: 2.5rem 0; }
.wprm-recipe-container .wprm-recipe { padding: 1.5rem !important; }
.wprm-recipe h2.wprm-recipe-name, .wprm-recipe .wprm-recipe-name { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 600 !important; color: var(--wp--preset--color--contrast) !important; }
.wprm-recipe h3, .wprm-recipe .wprm-recipe-header { font-family: var(--wp--preset--font-family--heading) !important; color: var(--wp--preset--color--contrast) !important; }
.wprm-recipe .wprm-recipe-image img { border-radius: var(--wp--custom--radius--medium, 18px) !important; }
.wprm-recipe a.wprm-recipe-print, .wprm-recipe a.wprm-recipe-pin, .wprm-recipe .wprm-recipe-link { border-radius: 999px !important; }
.wprm-recipe a.wprm-recipe-pin { background: #e60023 !important; border-color: #e60023 !important; color: #fff !important; }
.wprm-recipe .wprm-recipe-servings-container, .wprm-recipe .wprm-toggle-active { background: var(--wp--preset--color--primary) !important; border-color: var(--wp--preset--color--primary) !important; }
.wprm-recipe .wprm-recipe-ingredient, .wprm-recipe .wprm-recipe-instruction { border-color: var(--wp--preset--color--border) !important; }
.wprm-recipe .wprm-recipe-instruction-text, .wprm-recipe .wprm-recipe-ingredient { font-family: var(--wp--preset--font-family--body) !important; }
.wprm-recipe-snippet { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.wprm-recipe-snippet a { background: var(--wp--preset--color--primary) !important; color: #fff !important; border-radius: 999px !important; padding: .45rem 1rem !important; text-decoration: none !important; font-size: .9rem !important; border: 0 !important; }
.wprm-recipe-snippet a + a { background: var(--wp--preset--color--sage) !important; color: var(--wp--preset--color--primary-dark) !important; }
