/* Halberstädter Traditionsbäckerei – Komponenten. Werte nur über --hbs-* aus tokens.css. */

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hbs-kopf-hoehe) + 1rem); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--hbs-gold-hell); color: var(--hbs-braun); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--hbs-fokus);
	outline-offset: 3px;
	border-radius: 2px;
}
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 0.5rem; left: 0.5rem; padding: 0.75rem 1rem; background: var(--hbs-weiss); color: var(--hbs-rot);
}
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
img { height: auto; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Dachzeile mit Linien (Motiv aus der Wortmarke: „— Traditionsbäckerei —“) ---------- */
.is-style-dachzeile {
	display: flex; align-items: center; gap: 0.85rem;
	font-family: var(--hbs-schrift-text) !important; font-weight: 600 !important;
	font-size: 0.875rem !important; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--hbs-rot); line-height: 1.3 !important; margin-block-end: 0.75rem;
}
.is-style-dachzeile::before, .is-style-dachzeile::after {
	content: ""; flex: 0 0 2.25rem; height: 2px; background: var(--hbs-gold); border-radius: 1px;
}
.has-text-align-left.is-style-dachzeile::before, .is-style-dachzeile.ist-links::before { display: none; }
.has-text-align-center.is-style-dachzeile { justify-content: center; }
.has-mehlweiss-color.is-style-dachzeile, .has-weiss-color.is-style-dachzeile { color: var(--hbs-gold-hell); }

/* ---------- Kopfbereich ---------- */
.hbs-kopf {
	position: sticky; top: 0; z-index: 50;
	background: var(--hbs-weiss);
	border-bottom: 1px solid transparent;
	transition: border-color var(--hbs-dauer), box-shadow var(--hbs-dauer);
}
.admin-bar .hbs-kopf { top: var(--wp-admin--admin-bar--height, 32px); }
.hbs-kopf.ist-gescrollt { border-bottom-color: var(--hbs-linie); box-shadow: 0 6px 18px -14px rgba(43, 37, 34, 0.45); }
.hbs-kopf__innen { min-height: var(--hbs-kopf-hoehe); }
.hbs-kopf__logo img { display: block; height: 52px; width: auto; }
.hbs-kopf .wp-block-navigation a { text-decoration: none; color: var(--hbs-braun); }
.hbs-kopf .wp-block-navigation a:hover, .hbs-kopf .wp-block-navigation .current-menu-item > a { color: var(--hbs-rot); }
.hbs-kopf .wp-block-navigation .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--hbs-gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.hbs-kopf .wp-block-navigation__responsive-container.is-menu-open { background: var(--hbs-mehlweiss); padding: 1.5rem; }
.hbs-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { font-size: 1.375rem; font-family: var(--hbs-schrift-titel); font-weight: 400; gap: 1rem; }
.hbs-kopf .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container) { align-items: flex-start !important; justify-content: flex-start !important; }
.hbs-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--hbs-linie); padding-block: 0.35rem; }
/* Burger-Menü schon unter 1080 px (WordPress schaltet erst bei 600 px um; dazwischen bräche die Navigation um) */
@media (max-width: 1080px) {
	.hbs-kopf .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.hbs-kopf .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 781px) {
	:root { --hbs-kopf-hoehe: 68px; }
	.hbs-fuss .wp-block-column + .wp-block-column { margin-top: 1.25rem; }
	.hbs-kopf__logo img { height: 40px; }
	.hbs-kopf__cta { display: none !important; }
}

/* ---------- Hero (Cover mit Klasse hbs-hero) ---------- */
.hbs-hero.wp-block-cover { min-height: min(78vh, 680px); align-items: flex-end; }
.hbs-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(43, 37, 34, 0.15) 0%, rgba(43, 37, 34, 0.55) 50%, rgba(43, 37, 34, 0.86) 100%) !important; opacity: 1 !important; }
.hbs-hero h1, .hbs-hero h2 { color: var(--hbs-mehlweiss); }
.hbs-hero p:not(.is-style-dachzeile) { color: var(--hbs-mehlweiss); max-width: 38rem; font-size: 1.1875rem; }
.hbs-hero--klein.wp-block-cover { min-height: min(46vh, 420px); }
.hbs-hero.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container { width: 100%; }
.hbs-hero .is-style-dachzeile, .hbs-band-braun .is-style-dachzeile { color: var(--hbs-gold) !important; }

/* ---------- Abschnitte ---------- */
.hbs-abschnitt { padding-block: var(--wp--preset--spacing--60); }
.hbs-abschnitt--eng { padding-block: var(--wp--preset--spacing--50); }
.hbs-band-braun { background: var(--hbs-braun); color: var(--hbs-mehlweiss); }
.hbs-band-braun :is(h1, h2, h3, h4) { color: var(--hbs-mehlweiss); }
.hbs-band-braun a:not(.wp-element-button) { color: var(--hbs-gold-hell); }
.hbs-band-gold { background: var(--hbs-gold-hell); }
.hbs-einleitung { font-size: 1.25rem; line-height: 1.6; color: var(--hbs-braun); }
.hbs-nebentext, .has-braun-mittel-color { color: var(--hbs-braun-mittel); }

/* ---------- Karten ---------- */
.is-style-karte, .hbs-karte-box {
	background: var(--hbs-weiss); border: 1px solid var(--hbs-linie); border-radius: var(--hbs-radius);
	padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--hbs-schatten); height: 100%;
}
.is-style-karte > :first-child { margin-top: 0; }
.is-style-karte h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); }
.is-style-karte > :last-child { margin-bottom: 0; }
.hbs-teaser .wp-block-image { margin-bottom: 1rem; }
.hbs-teaser .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hbs-teaser h3 a { text-decoration: none; color: inherit; }
.hbs-teaser h3 a:hover { color: var(--hbs-rot); }

/* ---------- Bilder ---------- */
.wp-block-image img { border-radius: var(--hbs-radius); }
.is-style-gerahmt img { box-shadow: 14px 14px 0 0 var(--hbs-gold-hell); }
.hbs-bild-hoch img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hbs-bild-quer img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link { transition: background-color var(--hbs-dauer), color var(--hbs-dauer); text-decoration: none; }
.is-style-kontur .wp-block-button__link, .wp-block-button.is-style-kontur > .wp-element-button {
	background: transparent !important; color: var(--hbs-rot) !important; box-shadow: inset 0 0 0 2px currentColor;
}
.is-style-kontur .wp-block-button__link:hover { background: var(--hbs-rot) !important; color: var(--hbs-weiss) !important; }
.hbs-hero .is-style-kontur .wp-block-button__link, .hbs-band-braun .is-style-kontur .wp-block-button__link { color: var(--hbs-mehlweiss) !important; }
.hbs-hero .is-style-kontur .wp-block-button__link:hover, .hbs-band-braun .is-style-kontur .wp-block-button__link:hover { background: var(--hbs-mehlweiss) !important; color: var(--hbs-braun) !important; }

/* ---------- Zitat ---------- */
.wp-block-quote cite { display: block; margin-top: 0.75rem; font-family: var(--hbs-schrift-text); font-size: 1rem; font-style: normal; font-weight: 600; color: var(--hbs-braun-mittel); }

/* ---------- Abzeichen / Chips ---------- */
.hbs-abzeichen {
	display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px;
	background: var(--hbs-gold-hell); color: var(--hbs-braun); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.hbs-chip {
	font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer;
	padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid var(--hbs-linie);
	background: var(--hbs-weiss); color: var(--hbs-braun); transition: background-color var(--hbs-dauer), border-color var(--hbs-dauer);
}
.hbs-chip:hover { border-color: var(--hbs-rot); }
.hbs-chip[aria-pressed="true"] { background: var(--hbs-rot); border-color: var(--hbs-rot); color: var(--hbs-weiss); }

/* ---------- Filialen ---------- */
.hbs-filialen__filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1.5rem 0.5rem; }
.hbs-filialen__status { min-height: 1.5em; margin: 0 0 0.5rem; color: var(--hbs-braun-mittel); font-size: 0.9375rem; }
.hbs-filialen__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.hbs-filiale {
	background: var(--hbs-weiss); border: 1px solid var(--hbs-linie); border-radius: var(--hbs-radius);
	padding: 1.35rem 1.4rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem;
	border-top: 4px solid var(--hbs-gold);
}
.hbs-filiale[hidden] { display: none; }
.hbs-filiale__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.hbs-filiale__name { font-size: 1.3125rem; margin: 0; }
.hbs-filiale p { margin: 0; }
.hbs-filiale__adresse { line-height: 1.45; }
.hbs-filiale__hinweis { font-size: 0.9375rem; color: var(--hbs-braun-mittel); }
.hbs-filiale__zeiten { list-style: none; margin: 0; padding: 0.6rem 0 0; border-top: 1px dashed var(--hbs-linie); font-variant-numeric: tabular-nums; font-size: 0.9875rem; }
.hbs-filiale__zeiten--leer { color: var(--hbs-braun-mittel); font-style: italic; }
.hbs-filiale__aktionen { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; padding-top: 0.4rem; font-weight: 600; }
.hbs-karte { border-radius: var(--hbs-radius); overflow: hidden; border: 1px solid var(--hbs-linie); background: var(--hbs-gold-hell); }
.hbs-karte__einwilligung { padding: clamp(1.5rem, 4vw, 2.5rem); text-align: center; max-width: 44rem; margin-inline: auto; }
.hbs-karte__titel { font-family: var(--hbs-schrift-titel); font-size: 1.5rem; margin: 0 0 0.5rem; }
.hbs-karte__flaeche { height: clamp(320px, 55vh, 520px); background: var(--hbs-linie); }
.hbs-karte .leaflet-popup-content { font-family: var(--hbs-schrift-text); font-size: 0.9375rem; line-height: 1.45; }
.hbs-karte .leaflet-popup-content a { display: inline-block; margin-top: 0.35rem; color: var(--hbs-rot); font-weight: 600; }

/* ---------- Formular ---------- */
.hbs-formular form { display: grid; gap: 1.1rem; }
.hbs-formular__zeile { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hbs-feld { display: grid; gap: 0.35rem; min-width: 0; }
.hbs-feld :is(input, textarea) { box-sizing: border-box; max-width: 100%; }
.hbs-feld label { font-weight: 600; }
.hbs-feld input[type="text"], .hbs-feld input[type="email"], .hbs-feld input[type="tel"], .hbs-feld textarea {
	font: inherit; color: var(--hbs-braun); background: var(--hbs-weiss);
	border: 1.5px solid var(--hbs-braun-mittel); border-radius: var(--hbs-radius-klein); padding: 0.7rem 0.85rem; width: 100%;
}
.hbs-feld :is(input, textarea):hover { border-color: var(--hbs-braun); }
.hbs-feld [aria-invalid="true"] { border-color: var(--hbs-rot); box-shadow: 0 0 0 1px var(--hbs-rot); }
.hbs-feld__fehler { margin: 0; color: var(--hbs-rot); font-weight: 600; font-size: 0.9375rem; }
.hbs-feld--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.75rem; }
.hbs-feld--check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--hbs-rot); }
.hbs-feld--check label { font-weight: 400; }
.hbs-feld--check .hbs-feld__fehler { grid-column: 1 / -1; }
.hbs-formular__hinweis { margin: 0; font-size: 0.9375rem; color: var(--hbs-braun-mittel); }
.hbs-formular__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hbs-formular button[type="submit"] { border: 0; cursor: pointer; }
.hbs-meldung { border-radius: var(--hbs-radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem; border-left: 5px solid; }
.hbs-meldung p { margin: 0; }
.hbs-meldung--erfolg { background: #eaf1ec; border-color: var(--hbs-gruen); }
.hbs-meldung--fehler { background: #f7e6ea; border-color: var(--hbs-rot); }

/* ---------- Kontaktdaten ---------- */
.hbs-kontaktdaten { font-style: normal; display: grid; gap: 0.6rem; line-height: 1.5; }
.hbs-kontaktdaten__firma { font-family: var(--hbs-schrift-titel); font-weight: 400; font-size: 1.25rem; }

/* ---------- Fußbereich ---------- */
.hbs-fuss { background: var(--hbs-braun); color: var(--hbs-mehlweiss); border-top: 6px solid var(--hbs-gold); }
.hbs-fuss a { color: var(--hbs-mehlweiss); text-decoration-color: rgba(251, 248, 243, 0.35); text-underline-offset: 3px; }
.hbs-fuss a:hover { color: var(--hbs-gold); text-decoration-color: currentColor; }
.hbs-fuss :is(h2, h3, h4) { color: var(--hbs-gold); font-size: 1.125rem; font-family: var(--hbs-schrift-text); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hbs-fuss__logo img { width: 240px; max-width: 100%; height: auto; }
.hbs-fuss__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.hbs-fuss__unten { border-top: 1px solid rgba(251, 248, 243, 0.16); font-size: 0.9375rem; color: #d9d1c7; }
.hbs-fuss :focus-visible { outline-color: var(--hbs-gold); }

/* ---------- Sortiment: Produktkacheln und Sprungnavigation ---------- */
.hbs-abschnitt--sortiment { padding-block: var(--wp--preset--spacing--50); scroll-margin-top: var(--hbs-kopf-hoehe); }
.hbs-produkte { gap: clamp(1rem, 2.5vw, 1.75rem) !important; margin-top: var(--wp--preset--spacing--30); }
.hbs-produkt { text-align: center; }
.hbs-produkt .wp-block-image { margin: 0 0 0.75rem; }
.hbs-produkt .wp-block-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: var(--hbs-radius); border: 1px solid var(--hbs-linie); }
.hbs-produkt--rund .wp-block-image img { border-radius: 50%; border: 6px solid var(--hbs-weiss); box-shadow: 0 0 0 1px var(--hbs-linie); }
.hbs-produkt h3 { font-size: 1.25rem; margin: 0; }
.hbs-sprungnavi { gap: 0.5rem; margin-top: 1.25rem; }
.hbs-sprungnavi .wp-block-button__link { padding: 0.5em 1.1em !important; font-size: 1rem; border-radius: 999px; }

/* ---------- Zeitstrahl (Liste mit Klasse hbs-zeitstrahl) ---------- */
.hbs-zeitstrahl { list-style: none; padding: 0; margin: 1.5rem 0 0; border-left: 3px solid var(--hbs-gold); }
.hbs-zeitstrahl li { position: relative; padding: 0 0 1.25rem 1.75rem; }
.hbs-zeitstrahl li::before { content: ""; position: absolute; left: -9px; top: 0.45em; width: 15px; height: 15px; border-radius: 50%; background: var(--hbs-mehlweiss); border: 3px solid var(--hbs-rot); }
.hbs-zeitstrahl strong { font-family: var(--hbs-schrift-titel); font-weight: 400; color: var(--hbs-rot); font-size: 1.25rem; margin-right: 0.25rem; }

/* ---------- Rechtstexte ---------- */
.hbs-rechtstext h2 { font-size: var(--wp--preset--font-size--large); margin-top: 2.25rem; }
.hbs-rechtstext h3 { font-size: 1.125rem; font-family: var(--hbs-schrift-text); font-weight: 700; }
.hbs-hinweis-entwurf { background: var(--hbs-gold-hell); border-left: 5px solid var(--hbs-gold); padding: 1rem 1.25rem; border-radius: var(--hbs-radius-klein); }

/* =====================================================================
   Ausbaustufe 26.11.2026: Interaktion und Inszenierung
   ===================================================================== */

/* ---------- Hero: langsamer Zoom, Siegel „Frisch aus dem Ofen“ ---------- */
.hbs-hero .wp-block-cover__image-background { animation: hbs-zoom 22s ease-out both; transform-origin: 60% 40%; }
@keyframes hbs-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hbs-siegel { position: absolute; right: clamp(1rem, 6vw, 6rem); top: clamp(1.5rem, 8vh, 5rem); width: clamp(116px, 13vw, 168px); aspect-ratio: 1; z-index: 2; pointer-events: none; }
.hbs-siegel svg { width: 100%; height: 100%; overflow: visible; }
.hbs-siegel__ring { animation: hbs-drehen 28s linear infinite; transform-origin: 50% 50%; }
.hbs-siegel text { font-family: var(--hbs-schrift-text); font-weight: 700; font-size: 11.5px; letter-spacing: 3.2px; fill: var(--hbs-braun); text-transform: uppercase; }
@keyframes hbs-drehen { to { transform: rotate(360deg); } }
@media (max-width: 781px) { .hbs-siegel { top: 1rem; right: 1rem; width: 96px; } }

/* ---------- Einblenden beim Scrollen (nur mit JS, nie bei reduzierter Bewegung) ---------- */
.hbs-einblenden { opacity: 0; transform: translateY(22px); transition: opacity 650ms cubic-bezier(.2,.7,.2,1) var(--hbs-verzoegerung, 0ms), transform 650ms cubic-bezier(.2,.7,.2,1) var(--hbs-verzoegerung, 0ms); }
.hbs-einblenden.ist-sichtbar { opacity: 1; transform: none; }

/* ---------- Kopf: kompakter beim Scrollen ---------- */
.hbs-kopf__innen { transition: min-height var(--hbs-dauer); }
.hbs-kopf.ist-gescrollt .hbs-kopf__innen { min-height: 66px; }

/* ---------- Live-Status „gerade geöffnet“ (Startseite) ---------- */
.hbs-offen-teaser { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1.25rem; background: var(--hbs-weiss); border: 1px solid var(--hbs-linie); border-radius: 999px; padding: 0.85rem 1.5rem; box-shadow: var(--hbs-schatten); width: fit-content; max-width: 100%; margin-inline: auto; }
.hbs-offen-teaser__punkt { width: 12px; height: 12px; border-radius: 50%; background: var(--hbs-braun-mittel); flex: none; }
.hbs-offen-teaser.ist-offen .hbs-offen-teaser__punkt { background: var(--hbs-gruen); box-shadow: 0 0 0 0 rgba(73,107,90,.55); animation: hbs-puls 2.2s infinite; }
@keyframes hbs-puls { 70% { box-shadow: 0 0 0 10px rgba(73,107,90,0); } 100% { box-shadow: 0 0 0 0 rgba(73,107,90,0); } }
.hbs-offen-teaser__satz { margin: 0; font-size: 1.0625rem; color: var(--hbs-braun); }
.hbs-offen-teaser__zahl { font-family: var(--hbs-schrift-titel); font-weight: 400; font-size: 1.375rem; color: var(--hbs-rot); }
.hbs-offen-teaser__link { font-weight: 700; white-space: nowrap; }
.hbs-hero .hbs-offen-teaser { margin-inline: 0; margin-top: 1.75rem; background: rgba(251,248,243,.97); }
.hbs-hero .hbs-offen-teaser p { color: var(--hbs-braun) !important; font-size: 1.0625rem !important; }
.hbs-hero .hbs-offen-teaser a { color: var(--hbs-rot); }

/* ---------- Filialen: Status, Werkzeuge, heutiger Tag, Entfernung ---------- */
.hbs-filialen__werkzeuge { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.hbs-filialen__werkzeuge + .hbs-filialen__filter { margin-top: 0.75rem; }
.hbs-chip--offen, .hbs-chip--naehe { border-color: var(--hbs-braun-mittel); }
.hbs-chip--offen::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--hbs-gruen); margin-right: 0.45rem; vertical-align: 1px; }
.hbs-chip--naehe::before { content: "\25CE"; margin-right: 0.4rem; color: var(--hbs-rot); }
.hbs-chip--offen[aria-pressed="true"], .hbs-chip--naehe[aria-pressed="true"] { background: var(--hbs-braun); border-color: var(--hbs-braun); color: var(--hbs-weiss); }
.hbs-chip[hidden] { display: none; }
.hbs-oeffnung { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0 !important; font-weight: 700; font-size: 0.9375rem; }
.hbs-oeffnung::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.hbs-oeffnung.ist-offen { color: var(--hbs-gruen); }
.hbs-oeffnung.ist-bald { color: #8a5a00; }
.hbs-oeffnung.ist-zu { color: var(--hbs-braun-mittel); }
.hbs-filiale__zeiten li.ist-heute { font-weight: 700; color: var(--hbs-braun); }
.hbs-filiale__zeiten li.ist-heute::after { content: " \00B7  heute"; font-weight: 600; color: var(--hbs-rot); }
.hbs-filiale__km { margin-left: auto; font-weight: 700; font-size: 0.875rem; color: var(--hbs-rot); white-space: nowrap; }
.hbs-filiale { transition: transform var(--hbs-dauer), box-shadow var(--hbs-dauer); }
.hbs-filiale:hover { transform: translateY(-3px); box-shadow: var(--hbs-schatten); }
.hbs-karte .leaflet-popup-content .hbs-oeffnung { display: flex; margin: 0.3rem 0 0 !important; font-size: 0.875rem; }

/* ---------- Zahlenband ---------- */
.hbs-zahlen { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: clamp(1rem, 3vw, 2.5rem) !important; text-align: center; }
.hbs-zahlen > p { margin: 0 !important; display: grid; gap: 0.35rem; font-size: 1rem; line-height: 1.35; color: var(--hbs-mehlweiss); }
.hbs-zahlen strong { display: block; font-family: var(--hbs-schrift-titel); font-weight: 400; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1; color: var(--hbs-gold); font-variant-numeric: tabular-nums; }
.hbs-abschnitt:not(.hbs-band-braun) .hbs-zahlen > p { color: var(--hbs-braun); }
.hbs-abschnitt:not(.hbs-band-braun) .hbs-zahlen strong { color: var(--hbs-rot); }

/* ---------- Teaser & Bilder: sanfter Zoom ---------- */
.hbs-teaser .wp-block-image, .hbs-galerie .wp-block-image { overflow: hidden; border-radius: var(--hbs-radius); }
.hbs-teaser .wp-block-image img, .hbs-galerie .wp-block-image img { transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.hbs-teaser .is-style-karte:hover .wp-block-image img, .hbs-galerie .wp-block-column:hover .wp-block-image img { transform: scale(1.05); }
.hbs-teaser .is-style-karte { position: relative; transition: transform var(--hbs-dauer), box-shadow var(--hbs-dauer); }
.hbs-teaser .is-style-karte:hover { transform: translateY(-4px); }
.hbs-teaser .is-style-karte h3 a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Reiter (Sortiment) ---------- */
.hbs-reiter.ist-aktiv .hbs-reiter__nav { position: sticky; top: calc(var(--hbs-kopf-hoehe) - 12px); z-index: 5; background: var(--hbs-mehlweiss); padding-block: 0.75rem; margin-top: 0; }
.admin-bar .hbs-reiter.ist-aktiv .hbs-reiter__nav { top: calc(var(--hbs-kopf-hoehe) + 20px); }
.hbs-reiter__nav .ist-aktiv .wp-block-button__link { background: var(--hbs-rot) !important; color: var(--hbs-weiss) !important; box-shadow: none; }
.hbs-reiter.ist-aktiv .hbs-reiter__panel { animation: hbs-panel 380ms ease-out; padding-top: var(--wp--preset--spacing--30); }
.hbs-reiter__panel:focus-visible { outline: var(--hbs-fokus); outline-offset: 6px; }
@keyframes hbs-panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hbs-produkt .wp-block-image { overflow: hidden; }
.hbs-produkt .wp-block-image img { transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.hbs-produkt:hover .wp-block-image img { transform: scale(1.06) rotate(-1deg); }
.hbs-produkt p { margin: 0.35rem 0 0; font-size: 0.9375rem; color: var(--hbs-braun-mittel); }

/* ---------- Domstollen: Countdown, Zutaten, Allergene ---------- */
.hbs-countdown { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--hbs-gold); color: var(--hbs-braun) !important; font-weight: 700; padding: 0.4rem 0.95rem; border-radius: 999px; font-size: 0.9375rem !important; margin: 0 0 1rem !important; width: fit-content; }
.hbs-countdown::before { content: "\2726"; }
.hbs-countdown[hidden] { display: none; }
.hbs-chips-liste { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hbs-chips-liste li { background: var(--hbs-weiss); border: 1px solid var(--hbs-linie); border-radius: 999px; padding: 0.35rem 0.9rem; font-weight: 600; font-size: 0.9375rem; }
.hbs-chips-liste--allergene li { background: #f7e6ea; border-color: #e7c3cd; color: var(--hbs-rot-dunkel); }

@media (prefers-reduced-motion: reduce) {
	.hbs-hero .wp-block-cover__image-background, .hbs-siegel__ring, .hbs-offen-teaser.ist-offen .hbs-offen-teaser__punkt, .hbs-reiter.ist-aktiv .hbs-reiter__panel { animation: none !important; }
	.hbs-teaser .is-style-karte:hover, .hbs-filiale:hover { transform: none; }
	.hbs-teaser .is-style-karte:hover .wp-block-image img, .hbs-produkt:hover .wp-block-image img, .hbs-galerie .wp-block-column:hover .wp-block-image img { transform: none; }
}

/* Siegel: Position im Hero-Inhalt, Farben aus Tokens */
.hbs-hero__inhalt { position: relative; }
.hbs-hero__inhalt > .hbs-siegel { position: absolute; right: 0; top: -1rem; }
.hbs-siegel__grund { fill: var(--hbs-mehlweiss); stroke: var(--hbs-gold); stroke-width: 3; }
@media (max-width: 781px) {
	.hbs-hero__inhalt > .hbs-siegel { position: static; width: 92px; margin-bottom: 0.75rem; }
}

/* Zitatquelle auf dunklem Band: Kontrast */
.hbs-band-braun .wp-block-quote cite { color: var(--hbs-gold-hell); }
.hbs-band-braun .wp-block-quote { border-left-color: var(--hbs-gold); }
@media (max-width: 600px) { .hbs-offen-teaser { border-radius: 14px; padding: 0.85rem 1.1rem; gap: 0.5rem 0.9rem; } }

/* =====================================================================
   Highlights 26.11.2026: Begrüßung nach Tageszeit, Dampf, Café-Siegel
   ===================================================================== */

/* ---------- Begrüßung nach Tageszeit ---------- */
.hbs-gruss { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 0.75rem; font-family: var(--hbs-schrift-titel); font-size: clamp(1.3125rem, 2.3vw, 1.75rem); line-height: 1.25; color: var(--hbs-rot); }
.hbs-gruss::before { content: ""; flex: 0 0 2.25rem; height: 2px; background: var(--hbs-gold); border-radius: 1px; }
.hbs-hero p.hbs-gruss { color: var(--hbs-gold); font-size: clamp(1.3125rem, 2.3vw, 1.75rem); max-width: none; text-shadow: 0 1px 14px rgba(43, 37, 34, 0.6); }
.hbs-gruss__text { animation: hbs-gruss 800ms cubic-bezier(.2,.7,.2,1) 200ms both; }
@keyframes hbs-gruss { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Dampf über dem Brot (wird per JS in Cover mit .hbs-dampf gesetzt) ---------- */
.hbs-dampf--brot { --dampf-bild-x: 0.66; --dampf-bild-y: 0.42; }
.hbs-dampf__wolke { position: absolute; width: 0; height: 0; z-index: 1; pointer-events: none; }
.hbs-dampf__wolke span {
	position: absolute; left: 0; bottom: 0; width: 96px; height: 200px; margin-left: -48px; border-radius: 50%;
	background: radial-gradient(ellipse at 50% 85%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 38%, rgba(255, 255, 255, 0) 70%);
	filter: blur(16px); opacity: 0; transform-origin: 50% 100%; mix-blend-mode: screen; will-change: transform, opacity;
	animation: hbs-dampf 7.5s ease-out infinite;
}
.hbs-dampf__wolke span:nth-child(2) { margin-left: -104px; animation-duration: 9s; animation-delay: 2.4s; }
.hbs-dampf__wolke span:nth-child(3) { margin-left: 6px; animation-duration: 8.2s; animation-delay: 4.9s; }
@keyframes hbs-dampf {
	0% { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.55, 0.5); }
	18% { opacity: 0.62; }
	55% { opacity: 0.38; transform: translate3d(14px, -130px, 0) scale(1, 1.05); }
	100% { opacity: 0; transform: translate3d(-18px, -270px, 0) scale(1.5, 1.45); }
}
@media (max-width: 781px) { .hbs-dampf__wolke span { width: 72px; height: 150px; margin-left: -36px; filter: blur(13px); } }

/* ---------- Café-Siegel: Tasse mit aufsteigendem Dampf ---------- */
.hbs-siegel--cafe text { letter-spacing: 2.3px; }
.hbs-siegel__tasse path { fill: none; stroke: var(--hbs-rot); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hbs-siegel__dampf path { fill: none; stroke: var(--hbs-braun-mittel); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: hbs-tassendampf 3.2s ease-in-out infinite; }
.hbs-siegel__dampf path:nth-child(2) { animation-delay: 0.9s; }
.hbs-siegel__dampf path:nth-child(3) { animation-delay: 1.8s; }
@keyframes hbs-tassendampf { 0% { opacity: 0; transform: translateY(5px); } 35% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-8px); } }

/* ---------- Demo-Uhrzeit (nur bei ?uhr=…) ---------- */
.hbs-demo-chip { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 9998; background: var(--hbs-braun); color: var(--hbs-mehlweiss) !important; font-weight: 600; font-size: 0.875rem; padding: 0.5rem 1rem; border-radius: 999px; border: 2px solid var(--hbs-gold); text-decoration: none; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.hbs-demo-chip:hover { background: var(--hbs-rot); }

@media (prefers-reduced-motion: reduce) {
	.hbs-gruss__text { animation: none; }
	.hbs-dampf__wolke { display: none; }
	.hbs-siegel__dampf path { animation: none; opacity: 0.7; }
}

/* =====================================================================
   26.11.2026 nach dem Kundentermin: Schalter „Bewegung anhalten“, Agenturhinweis
   ===================================================================== */

/* ---------- Schalter „Bewegung anhalten“ (im Startbild; WCAG 2.2.2) ---------- */
.hbs-bewegung {
	position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 1.5rem); z-index: 3;
	display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 0.95rem;
	background: rgba(43, 37, 34, 0.82); color: var(--hbs-mehlweiss); border: 1px solid rgba(251, 248, 243, 0.7); border-radius: 999px;
	font-family: var(--hbs-schrift-text); font-size: 0.875rem; font-weight: 600; line-height: 1.2; cursor: pointer;
}
.hbs-bewegung:hover { background: var(--hbs-braun); border-color: var(--hbs-mehlweiss); }
.hbs-bewegung:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hbs-bewegung__icon { width: 12px; height: 14px; flex: none; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.hbs-bewegung.ist-aus .hbs-bewegung__icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
@media (max-width: 781px) {
	.hbs-bewegung { bottom: auto; right: 1rem; top: 1rem; width: 44px; padding: 0; justify-content: center; }
	.hbs-bewegung__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Angehalten: alles, was von selbst läuft, steht. */
.hbs-ruhig .hbs-hero .wp-block-cover__image-background, .hbs-ruhig .hbs-siegel__ring, .hbs-ruhig .hbs-offen-teaser.ist-offen .hbs-offen-teaser__punkt, .hbs-ruhig .hbs-gruss__text, .hbs-ruhig .hbs-reiter.ist-aktiv .hbs-reiter__panel { animation: none !important; }
.hbs-ruhig .hbs-dampf__wolke { display: none; }
.hbs-ruhig .hbs-siegel__dampf path { animation: none; opacity: 0.7; }
.hbs-ruhig .hbs-einblenden { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Agenturhinweis im Fuß ---------- */
.hbs-fuss__agentur { margin: 1.25rem 0 0; font-size: 0.8125rem; color: #d9d1c7; text-align: center; }
.hbs-fuss__agentur a { color: inherit; }

/* =====================================================================
   WCAG-Prüfung 26.11.2026: Fokus auf dunklen Flächen, Kontrast in den Startbildern, Karte
   ===================================================================== */

/* Fokusring: Braun ist auf dunklen Flächen unsichtbar (2.4.7 / 1.4.11). */
.hbs-hero :focus-visible { outline-color: #fff; }
.hbs-band-braun :focus-visible { outline-color: var(--hbs-gold); }
/* Die Karte schneidet einen äußeren Ring ab, deshalb liegt er innen. */
.hbs-karte__flaeche:focus-visible { outline-offset: -3px; }

/* Startbilder: dunkler Verlauf hinter der Textspalte. Er hängt an der Textgruppe, liegt also bei jeder
   Bildschirmbreite genau unter der Schrift, und sichert den Kontrast unabhängig vom Foto (1.4.3):
   Mehlweiß mindestens 6:1, die goldene Begrüßung (ab 24 px) mindestens 3:1. Rechts bleibt das Foto frei. */
.hbs-hero .wp-block-cover__inner-container > .wp-block-group { position: relative; }
.hbs-hero .wp-block-cover__inner-container > .wp-block-group::before {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	left: -50vw; top: -4.5rem; bottom: -60vh; width: calc(50vw + min(100%, 720px) + 9rem);
	background: linear-gradient(90deg, rgba(43, 37, 34, 0.72) 0, rgba(43, 37, 34, 0.72) calc(100% - 7rem), rgba(43, 37, 34, 0) 100%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 4.5rem); mask-image: linear-gradient(180deg, transparent 0, #000 4.5rem);
}
/* Kleine goldene Schrift erreicht über Fotos keine 4,5:1. Die Dachzeile ist im Startbild deshalb mehlweiß,
   die Linien daneben bleiben golden; die Begrüßung ist mindestens 24 px groß. */
.hbs-hero .is-style-dachzeile { color: var(--hbs-mehlweiss) !important; }
.hbs-hero p.hbs-gruss { font-size: clamp(1.5rem, 2.3vw, 1.75rem); }

/* Kartentitel ist jetzt eine Überschrift (h2) und behält sein Aussehen. */
h2.hbs-karte__titel { font-family: var(--hbs-schrift-titel); font-size: 1.375rem; line-height: 1.25; margin: 0 0 0.5rem; }
