/*
Theme Name: BS24 Theme Online-Bestellung
Theme URI: https://gastro-bestellsystem24.de/
Author: Bestellsystem24 – Print und Internet
Description: BS24 Theme für Restaurants mit Online-Bestellung: fester Banner mit Überschrift, Text und „Jetzt bestellen“-Knopf, darunter die Kategorie-Leiste (öffnet die Speisekarte). Alles einstellbar unter Design → Customizer → „Banner & Kategorie-Leiste“. Kopf und Fuß kommen aus dem BS24 Seitenbaukasten (gemeinsamer Kopf-/Fußbereich) und erscheinen auf allen Seiten – auch Warenkorb und Kasse.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: bs24-theme-bestellung
*/

:root{--bs24t-max:1250px;--bs24t-side:30%;--bs24t-bg:#f5f5f4;--bs24t-text:#1f2937;--bs24t-accent:#d92323;--bs24t-box:#ffffff}
*,*:before,*:after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bs24t-bg);color:var(--bs24t-text);font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--bs24t-accent)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.skip-link:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:100000;background:#fff;padding:10px 14px;border-radius:8px}

/* Ersatz-Kopf/-Fuß, solange im Baukasten noch keiner gebaut ist */
.bs24t-header{background:#fff;border-bottom:1px solid #e5e7eb}
.bs24t-header-in,.bs24t-footer-in{max-width:var(--bs24t-max);margin:0 auto;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bs24t-brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.3em;color:inherit;text-decoration:none}
.bs24t-brand img{max-height:56px;width:auto}
.bs24t-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:22px;flex-wrap:wrap}
.bs24t-nav a{color:inherit;text-decoration:none;font-weight:600}
.bs24t-nav a:hover,.bs24t-nav .current-menu-item>a{color:var(--bs24t-accent)}
.bs24t-footer{background:#111827;color:#e5e7eb;font-size:.92em}
.bs24t-footer a{color:#e5e7eb}
.bs24t-footer-hint{opacity:.6;font-size:.85em}

/* Inhalt: 1 oder 2 Spalten */
.bs24t-main{flex:1 0 auto;width:100%;max-width:var(--bs24t-max);margin:0 auto;padding:32px 16px 48px}
.bs24t-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.bs24t-has-side .bs24t-layout{grid-template-columns:minmax(0,1fr) minmax(0,var(--bs24t-side))}
.bs24t-side-left .bs24t-layout{grid-template-columns:minmax(0,var(--bs24t-side)) minmax(0,1fr)}
.bs24t-side-left .bs24t-content{order:2}
.bs24t-boxed .bs24t-content,.bs24t-boxed .bs24t-sidebar{background:var(--bs24t-box);border-radius:16px;padding:26px;box-shadow:0 6px 24px rgba(15,23,42,.06)}
.bs24t-title{font-size:2em;line-height:1.2;margin:0 0 .6em}
.bs24t-sidebar .widget{margin-bottom:26px}
.bs24t-sidebar .widget-title{font-size:1.1em;margin:0 0 .6em}
.bs24t-entry+.bs24t-entry{margin-top:40px;padding-top:30px;border-top:1px solid #e5e7eb}
@media (max-width: 900px){
  .bs24t-has-side .bs24t-layout,.bs24t-side-left .bs24t-layout{grid-template-columns:minmax(0,1fr)}
  .bs24t-side-left .bs24t-content{order:0}
  .bs24t-main{padding:20px 14px 36px}
}

/* WooCommerce: Warenkorb & Kasse sauber im Theme */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--bs24t-accent)!important;color:#fff!important;border-radius:999px!important;font-weight:800!important;padding:.8em 1.6em!important}
.woocommerce .button:hover{filter:brightness(1.07)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid #d1d5db;border-radius:10px;padding:.7em .9em}
.woocommerce table.shop_table{border-radius:12px;overflow:hidden;background:#fff}

/* Kopf/Fuß aus dem Baukasten volle Breite */
.bs24bk-theme-area{width:100%;flex:0 0 auto}
