/*
Theme Name: Metzgerei Klassik
Author: Björn Dreyer / Docento-IT
Description: Theme für die Metzgerei mit Wochenangeboten und Tagesgerichten, die im WordPress-Menü oder aus WooCommerce-Produkten gepflegt werden.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: metzgerei
*/

:root {
	--green: #006837;
	--green-dark: #004a27;
	--ink: #1f2420;
	--muted: #5b655d;
	--soft: #eff3ef;
	--line: #d6ddd7;
	--font-head: Rockwell, "Roboto Slab", "Rockwell Nova", Cambria, Georgia, serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; font: 1rem/1.65 var(--font-body); color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font-head); line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; padding: .75rem 1rem; background: #fff; }
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Kopf ---------- */
.topbar { background: var(--ink); color: #fff; font-size: .875rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 4px solid var(--green); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { position: relative; flex: none; align-self: stretch; width: clamp(5.75rem, 13vw, 9.5rem); transition: width .25s ease; }
.brand .custom-logo-link { position: absolute; top: 0; left: 0; z-index: 60; display: block; width: 100%; padding: .55rem .6rem .75rem; background: #fff; border-bottom: 5px solid var(--green); border-radius: 0 0 10px 10px; box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .5); transition: padding .25s ease; }
.brand .custom-logo { display: block; width: 100%; height: auto; max-height: none; }
.is-scrolled .brand { width: 4.25rem; }
.is-scrolled .brand .custom-logo-link { padding: .3rem .4rem .45rem; }
.site-nav .menu { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-block; padding: .35rem 0; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--green); border-bottom-color: var(--green); }
.nav-toggle { display: none; padding: .5rem 1rem; font: 600 1rem var(--font-body); color: #fff; background: var(--green); border: 0; border-radius: 4px; cursor: pointer; }

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .5rem 1.25rem 1rem; background: #fff; border-bottom: 4px solid var(--green); }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-dark); color: #fff; }
.slides { position: relative; height: clamp(340px, 58vh, 600px); }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; background: linear-gradient(135deg, var(--green-dark), #00301a); }
.slide.slide-2 { background: linear-gradient(135deg, #3a2f2b, var(--ink)); }
.slide.slide-3 { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.slide.slide-4 { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 18, 11, .78) 0%, rgba(6, 18, 11, .15) 65%); }
.slide-copy { position: relative; z-index: 1; padding-bottom: 6.5rem; }
.slide-title { margin: 0 0 .25em; font-size: clamp(2rem, 5.5vw, 4rem); text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.slide-copy p { max-width: 36ch; margin: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

.slider-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 3.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.slider-prev, .slider-next { width: 2.75rem; height: 2.75rem; font-size: 1.6rem; line-height: 1; color: #fff; background: rgba(0, 0, 0, .45); border: 2px solid #fff; border-radius: 50%; cursor: pointer; }
.slider-prev:hover, .slider-next:hover { background: var(--green); }
.slider-dots { display: flex; gap: .6rem; }
.slider-dot { width: .9rem; height: .9rem; padding: 0; background: transparent; border: 2px solid #fff; border-radius: 50%; cursor: pointer; }
.slider-dot[aria-current="true"] { background: #fff; }

/* ---------- Sortiment-Kacheln ---------- */
.tiles-section { position: relative; z-index: 2; margin-top: -2.25rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; list-style: none; }
.tiles a, .tiles span { display: grid; place-items: center; min-height: 4.5rem; padding: .75rem 1rem; font: 700 1.25rem var(--font-head); color: #fff; text-align: center; text-decoration: none; background: var(--ink); border-bottom: 4px solid var(--green); border-radius: 6px 6px 0 0; }
.tiles a:hover { background: var(--green); border-bottom-color: var(--ink); color: #fff; }

/* ---------- Willkommen ---------- */
.welcome { padding: 4.5rem 0 3.5rem; }
.welcome-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.welcome-grid.no-image { grid-template-columns: minmax(0, 52rem); justify-content: center; }
.welcome-text h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.welcome-text p { max-width: 62ch; font-size: 1.1rem; }
.welcome-text p:first-of-type { font: 600 1.35rem/1.4 var(--font-head); color: var(--green); }
.welcome-img img { width: 100%; border-radius: 6px; border-bottom: 6px solid var(--green); }
@media (max-width: 820px) { .welcome-grid { grid-template-columns: 1fr; gap: 1.5rem; } .welcome { padding: 3.25rem 0 2.5rem; } }

/* ---------- Abschnittsköpfe ---------- */
.section-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.section-head h1, .section-head h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.75rem); }
.section-head p { margin: .15rem 0 0; color: var(--muted); font-size: 1.1rem; }
.stamp { flex: none; display: grid; place-items: center; width: 4.75rem; height: 4.75rem; font: 700 2.3rem/1 var(--font-head); color: var(--green); background: #f6efdc; border-radius: 50%; box-shadow: 0 0 0 4px var(--green), 0 0 0 6px #f6efdc; transform: rotate(-12deg); }

/* ---------- Wochenangebote ---------- */
.offers-section, .menu-section { padding: 3.5rem 0 4rem; }
.menu-section { padding-top: 0; }
.offers-section { padding-top: 0; background: var(--soft); }
.offers-banner { margin-bottom: 2.75rem; padding: 3.25rem 0; color: #fff; background: var(--green) center right / cover no-repeat; border-bottom: 5px solid var(--green-dark); }
.offers-banner .section-head { margin-bottom: 0; }
.offers-banner .section-head p { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.offers-banner h1, .offers-banner h2 { text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.offers-wrap { padding-bottom: 4rem; }
@media (max-width: 820px) {
	.offers-banner { position: relative; padding: 2.5rem 0; background-position: 70% center; }
	.offers-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 48, 26, .88) 25%, rgba(0, 48, 26, .35)); }
	.offers-banner .wrap { position: relative; }
	.stamp { width: 3.75rem; height: 3.75rem; font-size: 1.9rem; }
}
.offers-range { margin: 0 0 1.5rem; font-weight: 600; }
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.offer { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 2px solid var(--ink); border-radius: 14px 14px 6px 6px; }
.offer::before { content: ""; position: absolute; top: .6rem; left: 50%; width: .9rem; height: .9rem; margin-left: -.45rem; background: var(--soft); border: 2px solid var(--ink); border-radius: 50%; }
.offer-body { flex: 1; padding: 2.3rem 1.1rem 1rem; }
.offer-body h3 { margin: 0 0 .2rem; font-size: 1.3rem; }
.offer-body h3 a { color: inherit; text-decoration: none; }
.offer-body h3 a:hover { color: var(--green); text-decoration: underline; }
.offer-note, .offer-valid { margin: 0; font-size: .95rem; color: var(--muted); }
.offer-valid { margin-top: .35rem; font-weight: 600; color: var(--green); }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; margin: 0; padding: .8rem 1.1rem; color: #fff; background: var(--green); border-top: 2px dashed var(--ink); }
.offer-price strong { font: 700 1.9rem/1.1 var(--font-head); }
.offer-price .unit { font-size: .95rem; }
.offer-price .was { flex-basis: 100%; font-size: .95rem; text-decoration: line-through; opacity: .85; }
.offer-order { margin: 0; padding: .7rem 1.1rem; border-top: 2px solid var(--ink); }
.offer-btn { display: block; padding: .5rem 1rem; font-weight: 700; color: #fff; text-align: center; text-decoration: none; background: var(--ink); border-radius: 4px; }
.offer-btn:hover { color: #fff; background: var(--green-dark); }

/* ---------- Tagesgerichte ---------- */
.menu-week { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(185px, 1fr); gap: 1rem; align-items: stretch; padding: .5rem .35rem 1rem; margin: -.5rem -.35rem 0; overflow-x: auto; scroll-snap-type: x proximity; }
.menu-week > .menu-day { scroll-snap-align: start; }
.menu-wrap { max-width: 1320px; }
@media (max-width: 700px) { .menu-week { grid-auto-columns: 78%; } }
.menu-day { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: 6px; overflow: hidden; }
.menu-day-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .6rem; padding: .7rem 1rem; color: #fff; background: var(--ink); }
.menu-day-head h3 { margin: 0; font-size: 1.25rem; }
.menu-day-head time { font-size: .95rem; opacity: .85; }
.today-tag { margin-left: auto; padding: .1rem .6rem; font-size: .85rem; font-weight: 700; color: #fff; background: var(--green); border-radius: 99px; }
.menu-day.is-today { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 104, 55, .22); }
.menu-day.is-today .menu-day-head { background: var(--green); }
.menu-day.is-today .today-tag { color: var(--green); background: #fff; }
.menu-day.is-past { opacity: .62; }
.menu-empty { margin: 0; padding: 1.25rem 1rem; color: var(--muted); }
.dish { display: flex; flex-direction: column; flex: 1 1 auto; }
.dish + .dish { border-top: 2px dashed var(--line); }
.dish-img { position: relative; }
.dish-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish-body { flex: 1 1 auto; padding: .9rem 1rem .25rem; }
.dish-body h4 { margin: 0 0 .3rem; font-size: 1.15rem; }
.dish-body h4 a { color: inherit; text-decoration: none; }
.dish-body h4 a:hover { color: var(--green); text-decoration: underline; }
.dish-desc { margin: 0 0 .4rem; font-size: .95rem; }
.dish-allergens { margin: 0 0 .4rem; font-size: .85rem; color: var(--muted); }
.dish-price { margin: 0; padding: .25rem 1rem 1rem; font: 700 1.4rem var(--font-head); color: var(--green); }
.dish-price del { font-size: .8em; color: var(--muted); }
.dish-price ins { text-decoration: none; }
.dish.is-soldout .dish-body h4, .dish.is-soldout .dish-price { text-decoration: line-through; color: var(--muted); }
.dish-order { margin: 0; padding: 0 1rem 1rem; }
.dish-btn { display: block; padding: .6rem 1rem; font-weight: 700; color: #fff; text-align: center; text-decoration: none; background: var(--green); border-radius: 4px; }
.dish-btn:hover { color: #fff; background: var(--green-dark); }
.soldout-tag { position: absolute; left: 0; bottom: 0; padding: .3rem .8rem; font-weight: 700; color: #fff; background: var(--ink); }
.soldout-inline { margin: 0 0 .3rem; font-weight: 700; }
.menu-note { margin: 1.5rem 0 0; font-size: .9rem; color: var(--muted); }
.empty-note { padding: 1.25rem 1.5rem; background: #fff; border-left: 5px solid var(--green); }

/* ---------- Inhaltsseiten ---------- */
.content-narrow { max-width: 52rem; padding-top: 3rem; padding-bottom: 4rem; }
.page-title { font-size: clamp(2rem, 4vw, 2.75rem); }
.meta { color: var(--muted); font-size: .9rem; }
.entry-content { font-size: 1.075rem; }
.entry-content img { border-radius: 4px; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.post-card { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 2px solid var(--line); }
.post-card h2 { margin-bottom: .2rem; font-size: 1.5rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--green); }
.post-card:not(:has(.post-thumb)) { grid-template-columns: 1fr; }
.pagination { margin-top: 2rem; }
.pagination .nav-links { display: flex; gap: 1rem; }
.shop-wrap { padding-top: 3rem; padding-bottom: 4rem; }
@media (max-width: 600px) { .post-card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { color: #e4ebe5; background: var(--ink); border-top: 6px solid var(--green); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.site-footer h2 { font-size: 1.25rem; color: #fff; }
.site-footer address { font-style: normal; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin-bottom: .35rem; }
.footer-bottom { padding-top: 1rem; padding-bottom: 1.5rem; font-size: .875rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.footer-bottom p { margin: 1rem 0 0; }

/* ---------- Parallax-Hintergrund Tagesgerichte ---------- */
.menu-section.menu-parallax { position: relative; isolation: isolate; overflow: hidden; padding: 3.5rem 0 4rem; color: #fff; background: #3b2a1c; }
.parallax-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.parallax-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 14, .72) 0%, rgba(10, 20, 14, .5) 50%, rgba(10, 20, 14, .38) 100%); }
.parallax-img { position: absolute; left: 0; top: -20%; width: 100%; height: 140%; max-width: none; object-fit: cover; object-position: right center; will-change: transform; }
.menu-parallax h2 { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.menu-parallax .section-head p { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.menu-parallax .menu-note { color: rgba(255, 255, 255, .88); }
.menu-parallax .menu-day { border-color: transparent; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); }
.menu-parallax .menu-day.is-today { border-color: var(--green); box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 10px 24px -10px rgba(0, 0, 0, .55); }
.menu-parallax .menu-day.is-past { opacity: .75; }
.menu-parallax .menu-day, .menu-parallax .menu-day * { color: inherit; }
.menu-parallax .menu-day { color: var(--ink); }
.menu-parallax .menu-day-head, .menu-parallax .menu-day-head h3, .menu-parallax .menu-day-head time, .menu-parallax .today-tag, .menu-parallax .dish-btn { color: #fff; }
.menu-parallax .menu-day.is-today .today-tag { color: var(--green); }
.menu-parallax .dish-price { color: var(--green); }
.menu-parallax .dish-allergens, .menu-parallax .menu-empty { color: var(--muted); }
.menu-parallax .dish.is-soldout .dish-body h4, .menu-parallax .dish.is-soldout .dish-price { color: var(--muted); }
.menu-parallax .dish-body h4 a { color: var(--ink); }
.menu-parallax .soldout-tag { color: #fff; }
@media (prefers-reduced-motion: reduce) { .parallax-img { top: -20%; transform: none !important; } }

/* ---------- Kontaktformular ---------- */
.contact-section { padding: 4rem 0; background: #fff; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.contact-intro h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.contact-intro p { max-width: 36ch; }
.contact-direct { margin-top: 1.75rem; font-weight: 600; }
.contact-direct a { font: 700 1.5rem var(--font-head); text-decoration: none; }
.contact-hours { color: var(--muted); font-size: .95rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; padding: 1.75rem; background: var(--soft); border-top: 5px solid var(--green); border-radius: 0 0 8px 8px; }
.contact-form .field-wide { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: .3rem; font-weight: 600; }
.contact-form .req, .contact-form .opt { font-weight: 400; font-size: .875rem; color: var(--muted); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="date"], .contact-form select, .contact-form textarea { width: 100%; padding: .7rem .85rem; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 4px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); outline: 3px solid rgba(0, 104, 55, .25); outline-offset: 0; }
.contact-form textarea { resize: vertical; }
.contact-form .consent label { display: flex; gap: .65rem; align-items: flex-start; margin: 0; font-weight: 400; }
.contact-form .consent input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--green); }
.field-hint { margin: 0; font-size: .875rem; color: var(--muted); }
.contact-btn { padding: .85rem 2rem; font: 700 1.05rem var(--font-body); color: #fff; background: var(--green); border: 0; border-radius: 4px; cursor: pointer; }
.contact-btn:hover { background: var(--green-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { margin-bottom: 1rem; padding: 1rem 1.25rem; background: #fdf1f0; border-left: 5px solid #b3261e; }
.form-errors p { margin: 0 0 .3rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-success { padding: 2rem; background: var(--soft); border-left: 5px solid var(--green); }
.form-success h3 { margin-bottom: .4rem; }
.form-success p { margin: 0; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 1.75rem; } .contact-section { padding: 3rem 0; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; padding: 1.25rem; } }

/* ---------- Inhaltsseiten: Bausteine ---------- */
.todo { padding: 0 .25em; color: #222; background: #fff3a3; }
.entry-content a.contact-btn { display: inline-block; color: #fff; text-decoration: none; }
.entry-content a.contact-btn:hover { color: #fff; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content blockquote { margin: 1.5rem 0; padding: .75rem 1.25rem; background: var(--soft); border-left: 5px solid var(--green); }
.entry-content blockquote p { margin: 0 0 .4rem; }
.entry-content details { margin-bottom: .75rem; background: var(--soft); border-left: 5px solid var(--green); }
.entry-content summary { padding: .85rem 1.1rem; font-weight: 700; cursor: pointer; }
.entry-content details p { margin: 0; padding: 0 1.1rem 1rem; }
.entry-content .contact-form { margin-top: 1rem; }

.menu-day[hidden] { display: none; }

.menu-day[hidden] { display: none; }

/* ---------- Feiertag / Ruhetag ---------- */
.menu-day .menu-closed { padding: 1.1rem 1rem 1.4rem; }
.menu-day .menu-closed-title { margin: 0 0 .3rem; font: 700 1.2rem/1.2 var(--font-head); color: var(--ink); }
.menu-day .menu-closed-reason { margin: 0; font-weight: 600; color: var(--green); }
.menu-day .menu-closed-note { margin: .6rem 0 0; font-size: .95rem; color: var(--muted); }
.menu-day.is-closed:not(.is-today) .menu-day-head { background: var(--muted); }

/* ---------- Stellenangebote (Plakat-Stil) ---------- */
.jobs-section { padding: 3rem 0; background: #fff; }
.jobs-poster { --job-font: 'Oswald','Bebas Neue','Barlow Condensed','Arial Narrow',Impact,sans-serif; position: relative; overflow: hidden; max-width: 1100px; margin: 0 auto; padding: 1.5rem; color: #fff; border-radius: 14px;
	background: linear-gradient(90deg, rgba(20,20,20,.97) 0%, rgba(20,20,20,.9) 45%, rgba(20,20,20,.35) 100%), var(--job-bg, none) right center / cover, #1b1b1b; }
.jp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.jp-logo { display: block; width: min(250px, 48%); padding: .8rem; background: #fff; outline: 2px solid var(--green); outline-offset: -6px; }
.jp-logo img { display: block; width: 100%; height: auto; }
.jp-stamp { display: grid; place-items: center; width: 9.5rem; aspect-ratio: 1; padding: 1rem; text-align: center; transform: rotate(-10deg); font: 700 1.25rem/1.1 var(--job-font); text-transform: uppercase; color: #fff; background: var(--green); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.jp-head { margin: 1.5rem 0 .5rem; font: 700 clamp(3rem, 10vw, 6.5rem)/.95 var(--job-font); letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.jp-head span { display: block; }
.jp-head .g { color: #5d8a3a; }
.jp-sub { margin: 0 0 1.5rem; padding-top: .7rem; font: 600 1.35rem var(--job-font); letter-spacing: .03em; text-transform: uppercase; border-top: 2px solid rgba(255,255,255,.7); display: inline-block; }
.job { margin-top: 1.5rem; }
.job-brush { max-width: 560px; padding: 1.1rem 2rem 1.3rem 1.5rem; background: #5d8a3a; clip-path: polygon(0 4%, 3% 0, 97% 3%, 100% 0, 98% 50%, 100% 97%, 96% 100%, 4% 98%, 0 100%, 2% 50%); }
.job-brush h3 { margin: 0; font: 700 clamp(2rem, 6vw, 3rem)/1 var(--job-font); text-transform: uppercase; color: #fff; }
.job-brush h3 small { font-size: .55em; font-weight: 600; }
.job-for { margin: .2rem 0 .6rem; font-size: 1.25rem; }
.job-checks { margin: 0; padding: 0; list-style: none; font: 600 1.1rem var(--job-font); text-transform: uppercase; letter-spacing: .02em; }
.job-checks li::before { content: "\2713"; margin-right: .5rem; }
.job-cols { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }
.job-col { padding: 0 1.2rem; text-align: left; }
.job-col + .job-col { border-left: 1px solid rgba(255,255,255,.35); }
.job-ico { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin: 0 auto .5rem; background: #5d8a3a; border-radius: 50%; }
.job-ico svg { width: 1.8rem; height: 1.8rem; }
.job-col h4 { margin: 0 0 .8rem; text-align: center; font: 700 1.3rem var(--job-font); text-transform: uppercase; color: #7aa84f; }
.job-col ul { margin: 0; padding: 0; list-style: none; }
.job-col li { position: relative; margin-bottom: .55rem; padding-left: 1.5rem; }
.job-col li::before { content: "\2713"; position: absolute; left: 0; color: #7aa84f; font-weight: 700; }
.job-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); }
.job-meta { opacity: .85; }
.jobs-poster .contact-btn, .entry-content .jobs-poster .contact-btn { display: inline-block; color: #fff; text-decoration: none; }
.entry-content .jobs-poster { margin: 1.5rem 0 2rem; }
@media (max-width: 760px) {
	.jobs-poster { padding: 1rem; background: linear-gradient(rgba(20,20,20,.93), rgba(20,20,20,.93)), var(--job-bg, none) center / cover, #1b1b1b; }
	.jp-stamp { width: 7rem; font-size: 1rem; }
	.job-cols { grid-template-columns: 1fr; gap: 1.5rem; }
	.job-col { padding: 0; }
	.job-col + .job-col { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding-top: 1.5rem; }
}

/* ---------- Hinweisleiste & Aktionen ---------- */
.notice-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; padding: .6rem 3rem .6rem 1rem; position: relative; color: #fff; background: var(--green); text-align: center; }
.notice-bar p { margin: 0; }
.notice-bar .contact-btn { padding: .25rem .9rem; color: var(--green); background: #fff; text-decoration: none; border-radius: 4px; font-weight: 700; }
.notice-close { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; font-size: 1.6rem; line-height: 1; color: #fff; background: transparent; border: 0; cursor: pointer; }
.actions-section { padding: 3rem 0; background: var(--soft); }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.action { position: relative; display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid #d9e6dd; border-top: 5px solid var(--green); border-radius: 12px; box-shadow: 0 4px 14px rgba(0,104,55,.08); }
.action-img { aspect-ratio: 16 / 9; background: center / cover no-repeat #e8f1ea; }
.action-body { flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.action:not(.has-img) .action-body { padding-top: 2.2rem; padding-right: 7.5rem; }
.action-body h3 { margin: 0 0 .5rem; font-size: 1.5rem; line-height: 1.2; color: var(--green); }
.action-body p { margin: 0 0 1rem; }
.action-stamp { position: absolute; top: .9rem; right: .9rem; z-index: 1; display: grid; place-items: center; width: 5.8rem; aspect-ratio: 1; padding: .5rem; text-align: center; transform: rotate(8deg); font-weight: 700; font-size: .9rem; line-height: 1.15; color: #fff; background: var(--green); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.actions .contact-btn { display: inline-block; color: #fff; text-decoration: none; }

/* Stellen-Hinweis auf der Startseite (dezent) */
.jobs-teaser { padding: .9rem 0; background: var(--soft); border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); font-size: .95rem; }
.jt-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; }
.jt-text { margin: 0; }
.jt-text strong { color: var(--green); }
.jt-link { font-weight: 700; color: var(--green); text-decoration: none; white-space: nowrap; }
.jt-link:hover { text-decoration: underline; }

/* Stellen-Hinweis: auffälliger */
.jobs-teaser { padding: 1.2rem 0; color: #fff; font-size: 1.1rem; background: var(--green); border: 0; }
.jt-text strong { color: #fff; font-size: 1.25rem; }
.jt-text span { opacity: .95; }
.jt-link { padding: .55rem 1.3rem; color: var(--green); background: #fff; border-radius: 999px; transition: transform .15s; }
.jt-link:hover { text-decoration: none; transform: translateY(-2px); }

/* ---------- Blog auf der Startseite ---------- */
.blog-section { padding: 3.5rem 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #d9e6dd; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,104,55,.06); }
.blog-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.3rem 1.3rem; }
.blog-body time { font-size: .85rem; color: var(--muted); }
.blog-body h3 { margin: .25rem 0 .5rem; font-size: 1.3rem; line-height: 1.25; }
.blog-body h3 a { color: var(--green); text-decoration: none; }
.blog-body p { margin: 0 0 1rem; }
.blog-more { margin-top: auto; font-weight: 700; color: var(--green); text-decoration: none; }
.blog-all { margin: 1.5rem 0 0; text-align: right; }
.blog-all a { font-weight: 700; color: var(--green); text-decoration: none; }

/* ---------- Preisschilder im Banner ---------- */
.offers-banner.is-plain { background: radial-gradient(circle at 78% 120%, rgba(255,255,255,.14) 0 34%, transparent 34.3%), radial-gradient(circle at 12% -30%, rgba(255,255,255,.08) 0 30%, transparent 30.3%), linear-gradient(135deg, var(--green) 0%, #0a7a44 100%); }
.offers-banner.has-tags { overflow: hidden; }
.offers-banner.has-tags > .wrap { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.price-tags { display: flex; gap: 1.25rem; margin: 0; padding: 0 .25rem; list-style: none; }
.price-tag { position: relative; flex: 0 0 auto; width: 9.25rem; display: flex; flex-direction: column; text-align: center; color: #1b1b1b; background: #f6efdc; border: 2px solid #1b1b1b; border-radius: 4px; box-shadow: 0 6px 14px rgba(0,0,0,.25); transform-origin: 50% 0; }
.price-tag::before { content: ""; position: absolute; left: 50%; top: -.55rem; width: 1rem; height: 1rem; margin-left: -.5rem; background: var(--green); border: 2px solid #1b1b1b; border-radius: 50%; z-index: 1; }
.price-tag::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 6rem; margin-left: -1px; background: rgba(27,27,27,.55); }
.price-tag.tilt-0 { transform: rotate(-3deg); }
.price-tag.tilt-1 { transform: rotate(2deg); }
.price-tag.tilt-2 { transform: rotate(-1deg); }
.pt-name { padding: 1.3rem .6rem .5rem; font-weight: 700; font-size: 1.05rem; line-height: 1.2; min-height: 4.2rem; }
.pt-unit { display: block; padding: 0 .5rem .8rem; font-weight: 700; }
.pt-price { margin-top: auto; padding: .5rem .4rem .7rem; font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: #fff; background: var(--green-dark); }
/* Schilder hängen rechts vom oberen Bannerrand */
@media (min-width: 761px) {
	.offers-banner.has-tags { padding-top: 0; padding-bottom: 2rem; }
	.offers-banner.has-tags .section-head { padding-top: 3.25rem; }
	.price-tags { align-self: flex-start; margin-left: auto; }
	.price-tag { margin-top: 1.5rem; }
}
@media (max-width: 760px) {
	.price-tags { width: 100%; justify-content: center; gap: .75rem; padding-top: 1rem; }
	.price-tag { width: 30%; min-width: 6.5rem; }
	.price-tag::after { display: none; }
	.pt-price { font-size: 1.4rem; }
}

/* Banner mit Schildern: Überschrift darf schrumpfen, Schilder bleiben rechts daneben */
.offers-banner.has-tags .section-head { flex: 1 1 auto; min-width: 0; }
.offers-banner.has-tags .section-head h1, .offers-banner.has-tags .section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); white-space: nowrap; }
.offers-banner.has-tags .price-tags { flex: 0 0 auto; }
@media (max-width: 1199px) {
	.offers-banner.has-tags > .wrap { flex-wrap: wrap; }
	.price-tags { width: 100%; justify-content: center; margin-left: 0; align-self: auto; gap: .75rem; padding-top: 1rem; }
	.price-tag { width: 30%; min-width: 6.5rem; margin-top: 0; }
	.price-tag::after { display: none; }
	.offers-banner.has-tags { padding-top: 2.5rem; }
	.offers-banner.has-tags .section-head { padding-top: 0; }
}
.pt-name { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 1199px) { .pt-name { font-size: .9rem; padding: 1.2rem .4rem .4rem; min-height: 3.6rem; } }

/* Überschrift der Preisschilder („Immer günstig“) als hängendes Schild */
.price-sign { position: relative; flex: 0 0 auto; width: 7.5rem; display: grid; place-items: center; padding: 1rem .6rem; margin-top: 1.5rem; text-align: center; color: #fff; background: var(--green-dark); border: 2px solid #f6efdc; border-radius: 4px; box-shadow: 0 6px 14px rgba(0,0,0,.25); transform: rotate(1.5deg); transform-origin: 50% 0; }
.price-sign strong { font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.price-sign::before { content: ""; position: absolute; left: 50%; top: -.55rem; width: 1rem; height: 1rem; margin-left: -.5rem; background: #f6efdc; border: 2px solid #1b1b1b; border-radius: 50%; }
.price-sign::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 6rem; margin-left: -1px; background: rgba(27,27,27,.55); }
@media (max-width: 1199px) {
	.price-sign { flex: 0 0 100%; width: 100%; margin: 0; padding: 0 0 .25rem; background: none; border: 0; box-shadow: none; transform: none; }
	.price-sign::before, .price-sign::after { display: none; }
	.price-tags { flex-wrap: wrap; }
}

@media (max-width: 480px) { .offers-banner.has-tags .section-head h1, .offers-banner.has-tags .section-head h2 { white-space: normal; } }
.price-sign strong { font-size: 1.25rem; }
@media (max-width: 1199px) { .price-tag { max-width: 11rem; } .price-sign strong { font-size: 1.7rem; } }

/* Gültigkeit der Angebotswoche im grünen Banner */
.offers-banner .section-head p.offers-range { display: inline-block; margin: .75rem 0 0; padding: .25rem 1rem; font-size: 1rem; font-weight: 700; color: var(--green-dark); background: #f6efdc; border-radius: 999px; text-shadow: none; white-space: nowrap; }

/* ---------- Partyservice ---------- */
.party-section { padding: 3.5rem 0; background: #fff; }
.party-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.party-card { position: relative; padding: 1.5rem 1.25rem 1.25rem; background: var(--soft); border: 1px solid #d9e6dd; border-top: 5px solid var(--green); border-radius: 10px; }
.party-num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: .6rem; font-weight: 700; color: #fff; background: var(--green); border-radius: 50%; }
.party-card h3 { margin: 0 0 .35rem; font-size: 1.2rem; color: var(--green); }
.party-card p { margin: 0; }
.party-steps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; counter-reset: step; font-weight: 600; }
.party-steps li { counter-increment: step; }
.party-steps li::before { content: counter(step) "."; margin-right: .4rem; color: var(--green); font-weight: 700; }
.party-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 1.5rem 0 0; }
.party-cta .contact-btn { display: inline-block; color: #fff; text-decoration: none; }
.party-more { font-weight: 700; color: var(--green); text-decoration: none; }
.party-note { margin: .75rem 0 0; color: var(--muted); }

.jt-ico { display: inline-flex; flex: 0 0 auto; margin-right: 1rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.jobs-teaser .jt-inner { gap: .75rem 1rem; }
.jt-inner { flex-wrap: nowrap; }
.jt-text { flex: 1 1 auto; }
@media (max-width: 640px) { .jt-inner { flex-wrap: wrap; } .jt-ico svg { width: 44px; height: 44px; } .jt-ico { margin-right: 0; } .jt-text { flex: 1 1 0; min-width: 0; } .jt-link { flex: 1 0 100%; text-align: center; } }

/* ---------- App-Installationshinweis ---------- */
.pwa-install { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 60; display: flex; align-items: center; gap: .75rem; max-width: 34rem; margin: 0 auto; padding: .75rem 2.5rem .75rem 1rem; color: #fff; background: var(--green-dark); border: 2px solid #f6efdc; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.35); font-size: .95rem; }
.pwa-install p { flex: 1; margin: 0; }
.pwa-btn { flex: 0 0 auto; padding: .45rem 1rem; font-weight: 700; color: var(--green); background: #fff; border: 0; border-radius: 999px; cursor: pointer; }
.pwa-close { position: absolute; top: .25rem; right: .4rem; width: 1.9rem; height: 1.9rem; font-size: 1.4rem; line-height: 1; color: #fff; background: transparent; border: 0; cursor: pointer; }
@media (display-mode: standalone) { .pwa-install { display: none; } }

/* ---------- Wochenangebote: lockerer platziert ---------- */
.offers { gap: 2.5rem 2rem; padding-top: .5rem; }
.offer { transition: transform .2s ease, box-shadow .2s ease; }
.offers .offer:nth-child(3n+1) { transform: rotate(-1.1deg); }
.offers .offer:nth-child(3n+2) { transform: rotate(.9deg) translateY(.8rem); }
.offers .offer:nth-child(3n) { transform: rotate(-.5deg) translateY(.3rem); }
.offers .offer:hover { transform: rotate(0) translateY(-.2rem); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); }
@media (max-width: 640px) {
	.offers { gap: 1.75rem; }
	.offers .offer:nth-child(n) { transform: none; }
}

/* ---------- Warenkorb: schwebendes Symbol unten rechts (über dem Slider) ---------- */
.cart-fab { position: fixed; z-index: 70; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; color: #fff; background: var(--green); border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); text-decoration: none; transition: transform .15s ease, background .15s ease; }
.cart-fab:hover { color: #fff; background: var(--green-dark); transform: translateY(-2px); }
.cart-fab svg { width: 1.6rem; height: 1.6rem; }
.cart-fab-count { position: absolute; top: -.3rem; right: -.3rem; display: grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .3rem; font-size: .75rem; font-weight: 700; color: var(--green-dark); background: #fff; border: 2px solid var(--green); border-radius: 999px; }
@media (max-width: 640px) { .cart-fab { right: 1rem; bottom: 1rem; width: 3.1rem; height: 3.1rem; } .cart-fab svg { width: 1.45rem; height: 1.45rem; } }
@media (display-mode: standalone) { .cart-fab { bottom: calc(1.25rem + env(safe-area-inset-bottom)); } }
