/* Bodega – Blocksy, bewusst ohne Enfold-Selektoren. */
body.bodega-blocksy {
  --theme-normal-container-max-width: 1310px;
  --theme-container-width: calc(100% - 40px);
  --theme-container-edge-spacing: calc(100vw - 40px);
  --theme-text-color: #382a23;
  --theme-headings-color: #781830;
  --theme-link-initial-color: #781830;
  --theme-link-hover-color: #511023;
  --bodega-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='papier'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.10' filter='url(%23papier)'/%3E%3C/svg%3E");
  background: #781830;
}
.bodega-blocksy #main-container,
.bodega-blocksy #main { background: #781830; }
.bodega-blocksy #main > :is(.ct-container, .ct-container-full, .ct-container-narrow) {
  width: var(--theme-container-width);
  max-width: var(--theme-normal-container-max-width);
  margin: 0 auto;
  background-color: #f3e8d2;
  background-image: var(--bodega-grain);
  color: #382a23;
}
.bodega-blocksy #main > .ct-container:not(.bodega-page-shell),
.bodega-blocksy #main > .ct-container-full,
.bodega-blocksy #main > .ct-container-narrow { padding-inline: clamp(20px, 4vw, 56px); }
.bodega-blocksy.bodega-custom-page .bodega-page-shell { padding: 0; }
.bodega-blocksy.bodega-custom-page .entry-content { margin: 0; }
.bodega-blocksy #header [data-row] { background: linear-gradient(120deg, #85213e, #68132b); border-color: #b9925455; }
.bodega-blocksy #header {
  --theme-text-color: #fff5e9;
  --theme-link-initial-color: #fff5e9;
  --theme-link-hover-color: #ebc58e;
  --theme-icon-color: #ebc58e;
  --theme-icon-hover-color: #fff5e9;
  border-bottom: 1px solid #b9925480;
}
.bodega-blocksy #header .site-logo-container { background: #fffaf3; padding: 7px; border: 1px solid #d2af7d; border-radius: 5px; }
.bodega-blocksy #header [class*="menu"] { --theme-link-initial-color: #fff5e9; --theme-link-hover-color: #ebc58e; --theme-link-active-color: #511023; }
.bodega-blocksy #header .menu > li > .ct-menu-link { border-radius: 5px; margin-inline: 3px; font-size: 14px; font-weight: 600; }
.bodega-blocksy #header .menu > li > .ct-menu-link:hover { background: #ebc58e1c; }
.bodega-blocksy #header .menu > .current-menu-item > .ct-menu-link { background: #ebc58e; color: #511023; }
.bodega-blocksy #header .sub-menu { --dropdown-background-color: #511023; --theme-link-initial-color: #fff5e9; --theme-link-hover-color: #ebc58e; }
.bodega-blocksy #offcanvas { --theme-text-color: #fff5e9; --theme-link-initial-color: #fff5e9; --theme-link-hover-color: #ebc58e; --theme-link-active-color: #ebc58e; --theme-icon-color: #ebc58e; }
.bodega-blocksy #offcanvas .ct-panel-inner { background: #511023; }
.bodega-blocksy .bb-phone-strip { display: flex; justify-content: flex-end; padding: 10px 0; }
.bodega-blocksy .bb-phone-link { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 14px; padding: 7px 16px; border: 1px solid #ebc58e; border-radius: 5px; color: #ebc58e; background: #511023; text-decoration: none; font: 600 12px/1.4 Arial,sans-serif; }
.bodega-blocksy .bb-phone-link strong { color: #fff5e9; font: 700 23px/1.2 Arial,sans-serif; white-space: nowrap; }
.bodega-blocksy #footer { --theme-text-color: #fff5e9; --theme-link-initial-color: #ebc58e; --theme-link-hover-color: #fff5e9; --theme-headings-color: #fff5e9; background: #511023; }
.bodega-blocksy #footer [data-row] { background: #511023; }
.bodega-blocksy #main .bodega-page-shell :is(#bdc-home, #bodega-page2) { width: 100%; max-width: none; margin: 0; }
.bodega-blocksy :is(#bdc-home, #bodega-page2) button { letter-spacing: normal; text-transform: none; box-shadow: none; }
@media(max-width:767px) {
  body.bodega-blocksy { --theme-container-width: calc(100% - 24px); --theme-container-edge-spacing: calc(100vw - 24px); }
  .bodega-blocksy .bb-phone-strip { justify-content: center; }
  .bodega-blocksy .bb-phone-link { width: 100%; }
}
/* Logo und Menü bleiben kompakt statt über die ganze Kopfzeilenhöhe. */
.bodega-blocksy #header .site-branding:has(.site-logo-container) .site-title-container { display: none; }
.bodega-blocksy #header .site-logo-container { display: inline-flex; align-items: center; width: auto; }
.bodega-blocksy #header .site-logo-container img { height: 80px; max-height: 80px; width: auto; max-width: 190px; object-fit: contain; }
.bodega-blocksy #header .menu > li { display: flex; align-items: center; }
.bodega-blocksy #header .menu > li > .ct-menu-link { height: 44px; min-height: 44px; align-self: center; padding: 0 15px; flex: 0 1 auto; text-transform: none; }
@media(max-width:999px) {
  .bodega-blocksy #header .site-logo-container img { height: 64px; max-height: 64px; max-width: 140px; }
}
