/* BS24 Theme Online-Bestellung – Banner + Kategorie-Leiste */
.bs24to-hero{position:relative;flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:var(--bs24to-h,340px);background-color:var(--bs24to-bg,#000);background-size:cover;background-position:center;color:#fff;text-align:center;overflow:hidden}
.bs24to-ov{position:absolute;inset:0;background:#000}
.bs24to-in{position:relative;width:100%;max-width:var(--bs24t-max,1250px);margin:0 auto;padding:48px 20px calc(48px + var(--bs24to-space,70px))}
.bs24to-title{margin:0 0 .3em;font-size:clamp(1.9em,5vw,3em);line-height:1.12;font-weight:900;letter-spacing:-.01em;text-shadow:0 2px 14px rgba(0,0,0,.25)}
.bs24to-text{margin:0 auto 1.3em;max-width:640px;font-size:1.15em;opacity:.95}
.bs24to-btn{display:inline-block;padding:.85em 2.1em;border-radius:999px;background:var(--bs24t-accent,#d92323);color:#fff!important;font-weight:800;text-decoration:none;font-size:1.05em;box-shadow:0 6px 18px rgba(0,0,0,.25);transition:transform .12s,filter .12s}
.bs24to-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}
/* Leiste direkt unter dem Banner, gleiche Farbe wie der Banner – bleibt beim Scrollen oben */
.bs24to-barwrap{flex:0 0 auto;width:100%;background:var(--bs24to-bar,#111);padding:10px 0;z-index:90;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.bs24to-barwrap.is-sticky{position:sticky;top:var(--wp-admin--admin-bar--height,0px)}
.bs24to-bar-in{max-width:var(--bs24t-max,1250px);margin:0 auto;padding:0 14px}
.bs24to-barwrap .bk-catbar{display:flex;gap:8px;overflow-x:auto;padding:4px 2px}
.bs24to-barwrap .bk-chip{border-color:transparent}
.bs24to-barwrap .bk-chip:hover,.bs24to-barwrap .bk-chip.is-active{background:var(--bk-chip-active,var(--bs24t-accent,#d92323));color:#fff}
.bs24to-barwrap .bk-cat-all{background:var(--bk-chip-active,var(--bs24t-accent,#d92323));color:#fff;border:0;border-radius:999px;min-height:38px;padding:0 16px;font-weight:800;cursor:pointer;white-space:nowrap}
/* Leiste aus dem Seitenbaukasten nicht doppelt zeigen */
.bs24to-hide-bkbar .bs24bk-page:not(.bs24bk-theme-area) .bk-catbar-bar,.bs24to-hide-bkbar .bs24bk-page:not(.bs24bk-theme-area) .bk-catbar-wrap{display:none!important}
/* Beim Springen zur Kategorie nicht unter der festen Leiste verschwinden */
.bs24to-has-banner .bs24-cat,.bs24to-has-banner #bs24-speisekarte{scroll-margin-top:calc(var(--wp-admin--admin-bar--height,0px) + 76px)}
.bs24to-barwrap{--bk-chip-h:40px;--bk-chip-size:15px}
.bs24to-barwrap.size-big{--bk-chip-h:48px;--bk-chip-size:17px}
.bs24to-barwrap.size-xl{--bk-chip-h:56px;--bk-chip-size:19px}
.bs24to-barwrap .bk-cat-all{min-height:var(--bk-chip-h);font-size:var(--bk-chip-size)}
.bs24to-barwrap .bk-chip-ico,.bs24to-barwrap .bk-chip-ico img{width:calc(var(--bk-chip-size) + 7px);height:calc(var(--bk-chip-size) + 7px)}
/* Ausrichtung: mittig / rechts – bei zu vielen Knöpfen bleibt seitliches Scrollen möglich */
.bs24to-barwrap.is-center .bk-catbar-wrap,.bs24to-barwrap.is-right .bk-catbar-wrap{justify-content:center}
.bs24to-barwrap.is-right .bk-catbar-wrap{justify-content:flex-end}
.bs24to-barwrap.is-center .bk-catbar-wrap>.bk-catbar,.bs24to-barwrap.is-right .bk-catbar-wrap>.bk-catbar{flex:0 1 auto}
@media (max-width:700px){.bs24to-in{padding:36px 16px calc(30px + var(--bs24to-space,70px) / 2)}.bs24to-barwrap.is-center .bk-catbar-wrap,.bs24to-barwrap.is-right .bk-catbar-wrap{justify-content:flex-start}.bs24to-text{font-size:1em}.bs24to-barwrap{padding:8px 0}}
