/* Bierbel – Theme-Styles auf Basis von Bootstrap 5.3
   Farben aus dem Classical-Designsystem (Akzent-Rampe), Schriften: Archivo (Überschriften), DM Sans (Text), Caveat (Handschrift) */

:root {
  --bb-bg: #f3f2f2;
  --bb-text: #2d2b2b;
  --bb-accent: #b68235;
  --bb-a100: #fff3e4; --bb-a200: #ffe3bf; --bb-a300: #facb8d; --bb-a400: #e1ad66;
  --bb-a600: #a06f24; --bb-a700: #7d5411; --bb-a800: #5a3b0a; --bb-a900: #3a270d;
  --bb-n200: #eae7e7; --bb-n300: #d7d3d3; --bb-n500: #9b9797; --bb-n700: #605d5d; --bb-n800: #444141;
  --bb-divider: rgba(32, 31, 29, .16);
  --bb-paper: #f8f2ed;
  --bb-paper-ink: #f2ebe2;
  --bb-dark: #30200b;
  --bb-mat: #fbe8d1;
  --bb-hatch: repeating-linear-gradient(45deg, var(--bb-a100) 0 10px, var(--bb-paper) 10px 20px);
  --bb-font: 'DM Sans', system-ui, sans-serif;
  --bb-font-head: 'Archivo', system-ui, sans-serif;
  --bb-font-hand: 'Caveat', cursive;
  --bb-radius: 24px;
  --bb-shadow: 0 18px 40px rgba(10, 5, 0, .35);
  --bs-body-font-family: var(--bb-font);
  --bs-body-color: var(--bb-text);
  --bs-link-color-rgb: 125, 84, 17;
  --bs-link-hover-color-rgb: 58, 39, 13;
}

body { font-family: var(--bb-font); color: var(--bb-text); background: var(--bb-dark); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--bb-a700); text-decoration: none; }
a:hover { color: var(--bb-a900); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--bb-accent); outline-offset: 2px; }
.min-w-0 { min-width: 0; }
.justify-self-end { justify-self: end; }

/* Hintergrund: Holztisch, fest, deckt immer den ganzen Bildschirm */
.bb-bg { position: fixed; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(25, 13, 3, .35), rgba(25, 13, 3, .2) 40%, rgba(25, 13, 3, .45)), url('../sites/bierbel/wood-background.jpg') center / cover no-repeat; }
.bb-main { flex: 1; overflow-x: clip; }

/* Typografie */
.bb-head { font-family: var(--bb-font-head); font-weight: 800; font-stretch: 87.5%; letter-spacing: -.015em; line-height: 1; }
.bb-h1 { font-size: clamp(44px, 5vw, 64px); letter-spacing: -.02em; }
.bb-h2 { font-size: clamp(30px, 3.4vw, 44px); }
.bb-h3 { font-size: 22px; margin-bottom: 8px; }
.bb-ink { color: var(--bb-a900); }
.bb-on-wood { color: var(--bb-bg); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.bb-lead-on-wood { margin: 8px 0 0; max-width: 620px; font-size: 16px; line-height: 1.6; color: var(--bb-paper-ink); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.bb-kicker { display: inline-block; font-family: var(--bb-font-hand); font-weight: 700; font-size: 26px; line-height: 1; color: var(--bb-a300); transform: rotate(-2deg); transform-origin: left; margin-bottom: 4px; }
.bb-kicker--dark { color: var(--bb-a700); }
.bb-hand-note { font-family: var(--bb-font-hand); font-weight: 700; font-size: 22px; color: var(--bb-a700); }
.bb-muted { font-size: 13px; color: var(--bb-n700); }
.bb-small-link { font-size: 14px; font-weight: 700; color: var(--bb-a700); }
.text-light-paper { color: var(--bb-bg); }

/* Abstände */
.bb-section { padding-top: 64px; }
.bb-section--tight { padding-top: 28px; }
.bb-section--last { padding-bottom: 64px; }
.bb-container-narrow { max-width: 1100px; }
@media (max-width: 767.98px) {
  .bb-section, .bb-section--first { padding-top: 32px; }
  .bb-section--tight { padding-top: 20px; }
  .bb-section--last { padding-bottom: 48px; }
}

/* Flächen */
.bb-panel { background: var(--bb-paper); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); }
.bb-panel--dark { background: var(--bb-dark); color: var(--bb-paper-ink); box-shadow: 0 24px 50px rgba(10, 5, 0, .45); }
.bb-panel__pad { padding: 44px 48px; }
.bb-panel__pad--sm { padding: 28px 32px; }
@media (max-width: 767.98px) { .bb-panel__pad, .bb-panel__pad--sm { padding: 24px 18px; } }

/* Header */
.bb-header { position: sticky; top: 0; z-index: 1030; background: var(--bb-paper); box-shadow: 0 8px 28px rgba(20, 10, 0, .35); }
.bb-header__inner { height: 78px; display: flex; align-items: center; gap: 26px; }
.bb-stamp { position: relative; flex: none; width: 108px; height: 100%; }
.bb-stamp img { position: absolute; left: 0; top: 8px; width: 108px; height: 108px; object-fit: contain; transform: rotate(-9deg); filter: url(#bb-stamp) sepia(1) saturate(1.6) hue-rotate(-8deg) drop-shadow(0 2px 3px rgba(20, 10, 0, .25)); }
.bb-brand { display: flex; flex-direction: column; min-width: 0; color: inherit; }
.bb-brand:hover { color: inherit; }
.bb-brand__name { font-family: var(--bb-font-head); font-weight: 800; font-stretch: 87.5%; font-size: 32px; line-height: 1; color: var(--bb-a900); }
.bb-brand__tag { font-family: var(--bb-font-hand); font-size: 19px; line-height: 1.1; color: var(--bb-a700); }
.bb-nav { gap: 30px; }
.bb-nav a { font-weight: 700; font-size: 16.5px; color: var(--bb-text); padding: 6px 0; border-bottom: 2px solid transparent; }
.bb-nav a:hover, .bb-nav a.is-active, .bb-nav a.active { color: var(--bb-a800); border-bottom-color: var(--bb-accent); }
.bb-icon-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(58, 39, 13, .25); background: transparent; color: var(--bb-a900); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.bb-icon-btn:hover { background: var(--bb-a100); color: var(--bb-a900); }
.bb-icon-btn--dark { background: var(--bb-a900); border-color: var(--bb-a900); color: var(--bb-bg); }
.bb-icon-btn--dark:hover { background: var(--bb-a800); color: var(--bb-bg); }
.bb-mpanel { padding: 0 16px 16px; }
.bb-mnav a { display: block; font-family: var(--bb-font-head); font-weight: 800; font-stretch: 87.5%; font-size: 26px; color: var(--bb-text); padding: 14px 4px; border-top: 1px solid var(--bb-divider); }
@media (max-width: 991.98px) { .bb-header__inner { gap: 10px; } }
@media (max-width: 767.98px) {
  .bb-header__inner { height: 64px; gap: 8px; }
  .bb-stamp { width: 74px; }
  .bb-stamp img { width: 74px; height: 74px; top: 6px; }
  .bb-brand__name { font-size: 26px; }
}

/* Suche mit Vorschlägen */
.bb-search { position: relative; flex: none; margin: 0; }
.bb-search__field { display: flex; align-items: center; gap: 8px; width: 200px; height: 44px; margin: 0; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(58, 39, 13, .18); background: var(--bb-bg); transition: width .25s ease, border-color .2s; cursor: text; }
.bb-search:focus-within .bb-search__field, .bb-search.has-value .bb-search__field { width: 360px; border-color: var(--bb-accent); }
.bb-search__field i { color: var(--bb-a800); }
.bb-search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--bb-text); }
.bb-mpanel .bb-search__field, .bb-mpanel .bb-search:focus-within .bb-search__field { width: 100%; height: 48px; border-color: var(--bb-accent); }
.bb-suggest { position: absolute; right: 0; top: 54px; width: 420px; max-width: calc(100vw - 32px); background: var(--bb-bg); border-radius: 16px; box-shadow: 0 18px 48px rgba(20, 10, 0, .35); padding: 10px 0; z-index: 10; }
.bb-mpanel .bb-suggest { position: static; width: auto; max-width: none; box-shadow: none; background: transparent; padding: 6px 0 0; }
.bb-suggest__title { display: block; padding: 10px 18px 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-a700); }
.bb-suggest__item { display: flex; justify-content: space-between; gap: 12px; padding: 9px 18px; font-size: 15px; color: var(--bb-text); }
.bb-suggest__item:hover, .bb-suggest__item.is-active { background: var(--bb-a100); color: var(--bb-text); }
.bb-suggest__meta { color: var(--bb-n700); font-size: 13px; }
.bb-suggest__all { display: block; margin-top: 4px; border-top: 1px solid var(--bb-divider); padding: 12px 18px 6px; font-size: 14px; font-weight: 700; }
.bb-suggest__empty { display: block; padding: 12px 18px; font-size: 14px; color: var(--bb-n700); }
.bb-mpanel .bb-suggest__title, .bb-mpanel .bb-suggest__item, .bb-mpanel .bb-suggest__all { padding-left: 4px; padding-right: 4px; }

/* Buttons, Chips */
.bb-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--bb-accent); color: var(--bb-a900); font-weight: 700; font-size: 15.5px; }
.bb-btn:hover { background: var(--bb-a400); color: var(--bb-a900); }
.bb-btn--lg { min-height: 50px; padding: 0 26px; font-size: 16px; }
.bb-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.bb-link-light { font-weight: 700; font-size: 15px; color: var(--bb-a200); border-bottom: 1px solid rgba(255, 227, 191, .4); padding-bottom: 2px; }
.bb-link-light:hover { color: var(--bb-bg); }
.bb-round-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--bb-paper); color: var(--bb-a900); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.bb-round-btn--gold { background: var(--bb-accent); }
.bb-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(250, 203, 141, .55); color: var(--bb-a200); }
.bb-chip--gold { background: var(--bb-accent); border-color: var(--bb-accent); color: var(--bb-a900); }
.bb-chip--gold:hover { background: var(--bb-a400); color: var(--bb-a900); }
.bb-pill { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 227, 191, .6); color: var(--bb-a900); }
.bb-tag-sample { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--bb-n300); color: var(--bb-n800); }
.bb-count { font-size: 12px; color: var(--bb-n700); padding: 1px 8px; border-radius: 999px; background: rgba(255, 227, 191, .5); font-variant-numeric: tabular-nums; }

/* Bierdeckel mit Note */
.bb-mat { --size: 78px; --tilt: -8deg; position: relative; flex: none; width: var(--size); height: var(--size); border-radius: 50%; background: var(--bb-mat); box-shadow: 0 6px 14px rgba(10, 5, 0, .3); transform: rotate(var(--tilt)); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
.bb-mat::before { content: ""; position: absolute; inset: calc(var(--size) * .075); border-radius: 50%; border: 1px dashed var(--bb-a600); }
.bb-mat__label { font-size: max(7px, calc(var(--size) * .1)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bb-a800); line-height: 1.2; white-space: nowrap; }
.bb-mat__grade { font-family: var(--bb-font-hand); font-weight: 700; font-size: calc(var(--size) * .47); line-height: .85; color: var(--bb-a900); }
.bb-mat--xs { --size: 56px; }
.bb-mat--sm { --size: 64px; }
.bb-mat--lg { --size: 136px; box-shadow: 0 14px 28px rgba(10, 5, 0, .45); }
.bb-mat--lg::before { border-width: 1.5px; }
.bb-mat--lg .bb-mat__label { font-size: 9px; }
@media (max-width: 767.98px) { .bb-mat--lg { --size: 104px; } .bb-mat--md { --size: 58px; } }

/* Hero */
.bb-hero { position: relative; display: grid; grid-template-columns: 42% minmax(0, 1fr); border-radius: var(--bb-radius); background: var(--bb-dark); box-shadow: 0 30px 70px rgba(10, 5, 0, .5); }
.bb-hero__photo { position: relative; min-height: 600px; border-radius: var(--bb-radius) 0 0 var(--bb-radius); overflow: hidden; background: repeating-linear-gradient(45deg, var(--bb-a800) 0 12px, var(--bb-a900) 12px 24px); }
.bb-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 45%, var(--bb-dark) 100%); }
.bb-hero__body { padding: 56px 64px 56px 72px; display: flex; flex-direction: column; justify-content: center; gap: 18px; color: var(--bb-paper-ink); }
.bb-hero__kicker { font-size: 32px; align-self: flex-start; }
.bb-hero__title { margin: 0; color: var(--bb-bg); font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.bb-hero__note { margin: 0; max-width: 600px; font-family: var(--bb-font-hand); font-size: 28px; line-height: 1.2; color: var(--bb-paper-ink); text-wrap: pretty; }
.bb-hero__place { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.bb-hero__mat { position: absolute; left: calc(42% - 76px); bottom: 56px; z-index: 2; }
.bb-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 540px; margin-top: 6px; }
.bb-hero__stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(250, 203, 141, .35); }
.bb-hero__stat b { font-family: var(--bb-font-head); font-weight: 800; font-stretch: 87.5%; font-size: 32px; line-height: 1; color: var(--bb-bg); font-variant-numeric: tabular-nums; }
.bb-hero__stat span { font-size: 12.5px; color: var(--bb-a200); }
.bb-hero--compact .bb-hero__photo { min-height: 420px; }
.bb-hero--compact .bb-hero__photo::after { background: linear-gradient(to right, transparent 40%, var(--bb-dark) 100%); }
@media (max-width: 991.98px) {
  .bb-hero { grid-template-columns: 1fr; }
  .bb-hero__photo, .bb-hero--compact .bb-hero__photo { min-height: 420px; border-radius: var(--bb-radius) var(--bb-radius) 0 0; }
  .bb-hero__photo::after, .bb-hero--compact .bb-hero__photo::after { background: linear-gradient(to bottom, transparent 50%, var(--bb-dark) 100%); }
  .bb-hero--compact .bb-hero__photo { min-height: 300px; }
  .bb-hero__body { padding: 12px 40px 44px; }
  .bb-hero__mat { left: auto; right: 18px; bottom: auto; top: 290px; }
}
@media (max-width: 767.98px) {
  .bb-hero__photo { min-height: 340px; }
  .bb-hero--compact .bb-hero__photo { min-height: 220px; }
  .bb-hero__body { padding: 8px 22px 32px; }
  .bb-hero__kicker { font-size: 26px; }
  .bb-hero__note { font-size: 23px; }
  .bb-hero__mat { top: 210px; }
  .bb-hero__stat { padding: 12px; }
  .bb-hero__stat b { font-size: 24px; }
}

/* Statistik */
.bb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.bb-stats > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 28px 30px; border-left: 1px solid var(--bb-divider); margin-left: -1px; border-top: 1px solid var(--bb-divider); margin-top: -1px; }
.bb-stats b { font-family: var(--bb-font-head); font-weight: 800; font-stretch: 87.5%; font-size: 48px; line-height: 1.05; letter-spacing: -.02em; color: var(--bb-a900); font-variant-numeric: tabular-nums; }
.bb-stats span { font-size: 14px; font-weight: 500; color: var(--bb-n800); }
@media (max-width: 767.98px) { .bb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bb-stats > div { padding: 20px 18px; } .bb-stats b { font-size: 34px; } }

/* Abschnittstitel + Karussell */
.bb-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.bb-counter { font-size: 14px; font-weight: 700; color: var(--bb-bg); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.bb-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px 2px 20px; }
.bb-carousel::-webkit-scrollbar { display: none; }
@media (max-width: 991.98px) { .bb-carousel { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 767.98px) { .bb-carousel { grid-auto-columns: 78%; } }
.bb-card { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 18px; border-radius: 18px; background: var(--bb-paper); box-shadow: 0 14px 30px rgba(10, 5, 0, .35); color: var(--bb-text); transition: transform .2s; }
.bb-card:hover { transform: translateY(-4px); color: var(--bb-text); }
.bb-card__img { display: block; height: 340px; margin: -12px -12px 6px; border-radius: 18px 18px 0 0; overflow: hidden; background: var(--bb-hatch); }
.bb-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-card .bb-mat { position: absolute; top: -12px; right: 10px; }
.bb-card__kicker { padding: 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-a700); }
.bb-card__name { padding: 0 6px; font-family: var(--bb-font-head); font-weight: 700; font-stretch: 87.5%; font-size: 21px; line-height: 1.1; }
.bb-card__note { padding: 0 6px; font-family: var(--bb-font-hand); font-size: 21px; line-height: 1.15; color: var(--bb-a900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-card__meta { padding: 0 6px; margin-top: auto; font-size: 12.5px; color: var(--bb-n700); font-variant-numeric: tabular-nums; }

/* Berichte + Seitenspalte */
.bb-split { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.bb-split__aside { border-left: 1px solid var(--bb-divider); }
@media (max-width: 991.98px) { .bb-split { grid-template-columns: 1fr; } .bb-split__aside { border-left: 0; border-top: 1px solid var(--bb-divider); } }
.bb-report { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--bb-divider); color: var(--bb-text); }
.bb-report:hover { color: var(--bb-text); }
.bb-report:hover .bb-report__title { color: var(--bb-a700); }
.bb-report__img { display: block; height: 140px; border-radius: 14px; overflow: hidden; }
.bb-report__img img { width: 100%; height: 100%; object-fit: cover; }
.bb-report__year { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--bb-a700); }
.bb-report__title { font-family: var(--bb-font-head); font-weight: 700; font-stretch: 87.5%; font-size: 24px; line-height: 1.12; }
.bb-report__text { font-size: 14.5px; line-height: 1.6; color: var(--bb-n800); }
@media (max-width: 767.98px) { .bb-report { grid-template-columns: 1fr; } .bb-report__img { height: 180px; } }
.bb-ledger a { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; color: var(--bb-text); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bb-ledger a:hover { color: var(--bb-a700); }
.bb-ledger__dots { flex: 1; border-bottom: 1px dotted var(--bb-n500); transform: translateY(-4px); }
.bb-ledger__count { font-family: var(--bb-font-hand); font-weight: 700; font-size: 23px; color: var(--bb-a800); }
.bb-newest { display: flex; flex-direction: column; gap: 4px; color: var(--bb-text); }
.bb-newest:hover { color: var(--bb-text); }
.bb-newest__img { position: relative; display: block; height: 150px; border-radius: 14px; overflow: hidden; margin-bottom: 6px; }
.bb-newest__img img { width: 100%; height: 100%; object-fit: cover; }
.bb-newest__title { font-family: var(--bb-font-head); font-weight: 700; font-stretch: 87.5%; font-size: 20px; }
.bb-newest__sub { font-size: 13.5px; color: var(--bb-n700); }
.bb-badge { position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--bb-bg); color: var(--bb-a800); }

/* Sommelier-Teaser */
.bb-teaser { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.bb-teaser__img { position: relative; min-height: 380px; }
.bb-teaser__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-teaser__text { margin: 0; max-width: 480px; font-size: 16px; line-height: 1.65; color: var(--bb-paper-ink); }
@media (max-width: 991.98px) { .bb-teaser { grid-template-columns: 1fr; } .bb-teaser__img { min-height: 220px; } }

/* Weltkarte */
.bb-worldmap { position: relative; height: 500px; }
.bb-worldmap svg { display: block; }
.bb-maptip { position: absolute; pointer-events: none; background: var(--bb-bg); border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); padding: 6px 10px; font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity .12s; font-variant-numeric: tabular-nums; }
.bb-legend { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--bb-n800); font-variant-numeric: tabular-nums; }
.bb-legend__ramp { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--bb-a200), var(--bb-a700)); }
@media (max-width: 991.98px) { .bb-worldmap { height: 360px; } }
@media (max-width: 767.98px) { .bb-worldmap { height: 220px; } }

/* Suchfelder */
.bb-searchbar { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; max-width: 520px; height: 52px; margin: 0; padding: 0 18px; border-radius: 999px; background: var(--bb-bg); box-shadow: 0 10px 24px rgba(10, 5, 0, .35); cursor: text; }
.bb-searchbar i { color: var(--bb-a800); font-size: 18px; }
.bb-searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--bb-text); }
.bb-searchbar--lg { flex: none; max-width: none; height: 72px; padding: 0 24px; box-shadow: 0 14px 30px rgba(10, 5, 0, .4); }
.bb-searchbar--lg input { font-family: var(--bb-font-head); font-weight: 700; font-stretch: 87.5%; font-size: 30px; }
.bb-searchbar--sm { flex: 1 1 220px; max-width: 320px; height: 42px; box-shadow: none; border: 1.5px solid rgba(58, 39, 13, .15); }
.bb-searchbar--sm input { font-size: 14.5px; }
@media (max-width: 767.98px) { .bb-searchbar--lg { height: 58px; } .bb-searchbar--lg input { font-size: 22px; } }

/* Facettensuche */
.bb-filter { padding: 20px 20px 22px; }
.bb-sticky { position: sticky; top: 100px; }
@media (max-width: 991.98px) { .bb-sticky { position: static; margin-top: 12px; } }
.bb-filter-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 50px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--bb-paper); color: var(--bb-a900); font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px rgba(10, 5, 0, .3); }
.bb-facet { border-top: 1px solid var(--bb-divider); padding-top: 14px; margin-top: 14px; }
.bb-facet__title { float: none; width: auto; display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-a700); }
.bb-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; margin: 0; font-size: 14.5px; cursor: pointer; }
.bb-check:hover { color: var(--bb-a700); }
.bb-check input { appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 5px; border: 1.5px solid var(--bb-n500); display: grid; place-content: center; cursor: pointer; }
.bb-check input:checked { background: var(--bb-a800); border-color: var(--bb-a800); }
.bb-check input:checked::after { content: ""; width: 9px; height: 5px; border: 2.5px solid var(--bb-bg); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.bb-check > span:nth-of-type(1) { flex: 1; }
.bb-check input:checked + span { font-weight: 700; }
.bb-result-count { font-weight: 700; font-size: 16px; color: var(--bb-bg); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.bb-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bb-paper); }
.bb-seg a { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--bb-a900); }
.bb-seg a.is-active { background: var(--bb-a900); color: var(--bb-bg); }
/* Filter "Alle anzeigen" (Tests sidebar): toggle button and scrollable full list */
.bb-facet__more { display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none; font-size: 13.5px; font-weight: 700; color: var(--bb-a700); cursor: pointer; }
.bb-facet__more:hover { text-decoration: underline; }
[data-bb-facet-all] { max-height: 320px; overflow-y: auto; margin-right: -6px; padding-right: 6px; }
/* Full-width, compact segment group (grade filter in the Tests sidebar) */
.bb-seg--block { display: flex; width: 100%; margin-top: 8px; }
.bb-seg--block label { flex: 1 1 0; text-align: center; }
.bb-seg--block label span { display: block; padding: 6px 4px; font-size: 13.5px; }
.bb-seg--block input:disabled + span { opacity: .4; cursor: default; }
.bb-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 82px; gap: 20px; align-items: center; padding: 12px 22px 12px 12px; border-radius: 18px; background: var(--bb-paper); box-shadow: 0 12px 28px rgba(10, 5, 0, .3); color: var(--bb-text); transition: transform .15s; }
.bb-row:hover { transform: translateY(-2px); color: var(--bb-text); }
.bb-row__img { display: block; height: 140px; border-radius: 12px; overflow: hidden; background: var(--bb-hatch); }
.bb-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bb-row__kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-a700); }
.bb-row__name { font-family: var(--bb-font-head); font-weight: 700; font-stretch: 87.5%; font-size: 22px; line-height: 1.1; }
.bb-row__brewery { font-size: 13.5px; color: var(--bb-n800); }
.bb-row__note { font-family: var(--bb-font-hand); font-size: 21px; line-height: 1.15; color: var(--bb-a900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-row__meta { font-size: 12.5px; color: var(--bb-n700); font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) {
  .bb-row { grid-template-columns: 84px minmax(0, 1fr) 58px; gap: 12px; padding-right: 12px; }
  .bb-row__img { height: 110px; }
  .bb-row__name { font-size: 18px; }
  .bb-row > .bb-mat { align-self: start; }
}
.bb-empty { padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 15px; color: var(--bb-n800); }
.bb-empty__title { font-family: var(--bb-font-hand); font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--bb-a800); }

/* Suchergebnisse */
.bb-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bb-paper); align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.bb-tabs a { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--bb-a900); }
.bb-tabs a.is-active { background: var(--bb-a900); color: var(--bb-bg); }
.bb-tabs a.is-active .bb-count { background: rgba(243, 242, 242, .2); color: inherit; }
.bb-hit { display: grid; grid-template-columns: 64px minmax(0, 1fr) 120px 56px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--bb-divider); color: var(--bb-text); }
.bb-hit:hover { color: var(--bb-text); background: rgba(255, 227, 191, .25); }
.bb-hit__name { font-family: var(--bb-font-head); font-weight: 700; font-stretch: 87.5%; font-size: 19px; line-height: 1.15; }
.bb-hit__sub { font-size: 13.5px; color: var(--bb-n800); }
.bb-hit__tests { font-size: 13.5px; color: var(--bb-n800); text-align: right; font-variant-numeric: tabular-nums; }
.bb-hit__note { font-family: var(--bb-font-hand); font-size: 20px; line-height: 1.15; color: var(--bb-a900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-hit__date { font-family: var(--bb-font-hand); font-weight: 700; font-size: 22px; line-height: 1.1; color: var(--bb-a800); font-variant-numeric: tabular-nums; }
.bb-hit__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--bb-a900); color: var(--bb-a200); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.bb-hit--brewery { grid-template-columns: 48px minmax(0, 1fr) auto; }
.bb-hit--test { grid-template-columns: 110px minmax(0, 1fr) 48px; align-items: start; }
.bb-ink-grade { display: flex; align-items: center; justify-content: center; width: 48px; height: 46px; border: 1.5px solid var(--bb-a800); border-radius: 48% 52% 46% 54%; transform: rotate(-7deg); font-family: var(--bb-font-hand); font-weight: 700; font-size: 28px; line-height: 1; color: var(--bb-a900); }
@media (max-width: 767.98px) {
  .bb-hit { grid-template-columns: 64px minmax(0, 1fr) 56px; }
  .bb-hit--brewery { grid-template-columns: 48px minmax(0, 1fr); }
  .bb-hit--brewery .bb-hit__tests { grid-column: 2; text-align: left; }
  .bb-hit--test { grid-template-columns: 76px minmax(0, 1fr) 48px; }
}
.bb-thumb { display: block; width: 72px; height: 86px; border-radius: 10px; overflow: hidden; background: var(--bb-hatch); }
.bb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-thumb--sm { width: 64px; height: 76px; }
.bb-thumb--xs { flex: none; width: 44px; height: 52px; border-radius: 8px; }

/* Orte-Karte */
.bb-orte { overflow: hidden; }
.bb-orte__bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--bb-divider); }
.bb-kinds { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; max-width: 100%; }
.bb-kind { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1.5px solid var(--kind); background: var(--bb-bg); color: var(--bb-text); }
.bb-kind.is-off { opacity: .55; border-color: var(--bb-divider); background: transparent; }
.bb-kind__count { font-size: 12px; font-weight: 500; color: var(--bb-n700); font-variant-numeric: tabular-nums; }
.bb-kind__dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--kind); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bb-kind__dot--lg { width: 30px; height: 30px; font-size: 12px; }
.bb-orte__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; }
.bb-orte__map { position: relative; z-index: 0; height: 660px; }
.bb-orte__list { position: relative; height: 660px; overflow-y: auto; border-left: 1px solid var(--bb-divider); }
@media (max-width: 991.98px) { .bb-orte__grid { grid-template-columns: 1fr; } .bb-orte__map { height: 460px; } .bb-orte__list { height: auto; border-left: 0; border-top: 1px solid var(--bb-divider); } }
@media (max-width: 767.98px) { .bb-orte__map { height: 380px; } .bb-orte__bar { padding: 14px; } }
.bb-map-btn { position: absolute; right: 12px; top: 12px; z-index: 500; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--bb-bg); color: var(--bb-a900); font-size: 13px; font-weight: 700; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.bb-poi { padding: 14px 20px; border-bottom: 1px solid var(--bb-divider); cursor: pointer; }
.bb-poi:hover { background: rgba(255, 227, 191, .35); }
.bb-poi.is-open { background: rgba(255, 227, 191, .45); }
.bb-poi__head { display: flex; gap: 12px; align-items: center; }
.bb-poi__name { font-family: var(--bb-font-head); font-weight: 700; font-stretch: 87.5%; font-size: 18px; line-height: 1.15; }
.bb-poi__meta { font-size: 13px; color: var(--bb-n700); }
.bb-poi__detail { display: none; flex-direction: column; gap: 10px; padding-left: 42px; margin-top: 10px; }
.bb-poi.is-open .bb-poi__detail { display: flex; }
.bb-poi__img { display: block; height: 150px; border-radius: 12px; overflow: hidden; }
.bb-poi__img img { width: 100%; height: 100%; object-fit: cover; }
.bb-poi__text { font-size: 14px; line-height: 1.6; }
.bb-poi__hours { font-family: var(--bb-font-hand); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--bb-a800); }
.bb-pin { width: var(--s); height: var(--s); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.bb-pin span { transform: rotate(45deg); color: #fff; font: 700 12px var(--bb-font); }
/* Pin clusters on the Orte map (Leaflet.markercluster, karte.js) */
.bb-cluster { width: var(--s); height: var(--s); border-radius: 50%; background: var(--bb-a900); color: var(--bb-bg); border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 3px 8px rgba(0, 0, 0, .35); display: flex; align-items: center; justify-content: center; box-sizing: border-box; font: 700 13px var(--bb-font); }
.leaflet-container { font-family: var(--bb-font); background: var(--bb-a100); }
.leaflet-popup-content-wrapper { border-radius: 14px; }

/* Brauerei */
.bb-beer-table__head, .bb-beer-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 150px 80px 120px 70px; gap: 16px; align-items: center; }
.bb-beer-table__head { padding: 10px 0; border-bottom: 1.5px solid var(--bb-a900); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bb-beer-table__head a { color: var(--bb-a800); }
.bb-beer-table__head a.is-active { color: var(--bb-a900); }
.bb-beer-row { padding: 14px 0; border-bottom: 1px solid var(--bb-divider); color: var(--bb-text); }
.bb-beer-row:hover { color: var(--bb-text); background: rgba(255, 227, 191, .25); }
.bb-beer-row__count { text-align: center; font-family: var(--bb-font-head); font-weight: 800; font-stretch: 87.5%; font-size: 22px; font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) {
  .bb-beer-table__head { display: none; }
  .bb-beer-row { grid-template-columns: 72px minmax(0, 1fr) 64px; }
  .bb-beer-row .bb-col-wide { display: none; }
}
.bb-minimap { position: relative; z-index: 0; height: 240px; }
.bb-info { display: flex; flex-direction: column; font-size: 15px; }
.bb-info span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-a700); }

/* Bier */
.bb-tasting { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 30px 22px; border-radius: 20px; background-color: var(--bb-paper); background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(125, 84, 17, .09) 33px 34px); box-shadow: var(--bb-shadow); }
.bb-tasting__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-right: 96px; }
.bb-tasting__date { font-family: var(--bb-font-hand); font-weight: 700; font-size: 30px; line-height: 1; color: var(--bb-a800); font-variant-numeric: tabular-nums; }
.bb-tasting__note { margin: 0; padding-right: 96px; font-family: var(--bb-font-hand); font-size: 27px; line-height: 1.25; color: var(--bb-a900); text-wrap: pretty; }
.bb-tasting > .bb-mat { position: absolute; top: -14px; right: 22px; }
/* Rich text (Textblock M02, Bericht M29): images never wider than the text column,
   floated images (img-float-left/right) stay inside the container */
.bb-richtext { display: flow-root; }
.bb-richtext img { max-width: 100%; height: auto; }
/* Image module (M30): image covers the whole tile, click opens the lightbox (gallery.js) */
.bb-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--bb-radius); background: var(--bb-hatch); box-shadow: var(--bb-shadow); cursor: zoom-in; }
.bb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.bb-media:hover img, .bb-media:focus-visible img { transform: scale(1.02); }
.bb-media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bb-media-caption { display: block; margin: 10px 4px 0; font-size: 14px; color: var(--bb-a200); }
.bb-media-caption:empty { display: none; }
@media (max-width: 767.98px) { .bb-media-pair { grid-template-columns: 1fr; gap: 20px; } }
/* Embedded video (Bericht detail M29) – 16:9 via Bootstrap .ratio, styled like the other tiles */
.bb-video { overflow: hidden; border-radius: var(--bb-radius); background: var(--bb-dark); box-shadow: var(--bb-shadow); }
.bb-video iframe { border: 0; }
/* Brewery logo as its own square tile (brewery page, above the mini map), image cropped to fill it */
.bb-logo-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; padding: 0; }
.bb-logo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Tasting with photo: image on the left, text on the right */
.bb-tasting__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
/* The image fills the whole left edge of the card (top to bottom, no padding) and grows with the text */
.bb-tasting--img { flex-direction: row; align-items: stretch; gap: 26px; padding-left: 0; }
.bb-tasting__img { flex: none; position: relative; display: block; width: 140px; min-height: 170px; margin: -26px 0 -22px; border-radius: 20px 0 0 20px; overflow: hidden; background: var(--bb-hatch); }
.bb-tasting__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }@media (max-width: 767.98px) {
  .bb-tasting { padding: 20px 18px 18px; }
  .bb-tasting__head, .bb-tasting__note { padding-right: 70px; }
  .bb-tasting__note { font-size: 23px; }
  .bb-tasting > .bb-mat { top: -10px; right: 12px; }
  .bb-tasting--img { gap: 16px; padding-left: 0; }
  .bb-tasting__img { width: 92px; min-height: 130px; margin: -20px 0 -18px; }
}
.bb-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--bb-divider); font-size: 14.5px; }
.bb-facts dt { font-weight: 400; color: var(--bb-n700); }
.bb-facts dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bb-sib { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bb-divider); color: var(--bb-text); font-weight: 700; font-size: 15px; line-height: 1.25; }
.bb-sib:hover { color: var(--bb-a700); }
.bb-sib__grade { font-family: var(--bb-font-hand); font-size: 24px; color: var(--bb-a900); }
.bb-sib-more { display: block; padding-top: 12px; border-top: 1px solid var(--bb-divider); }

/* Brotkrumen */
.bb-crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--bb-paper-ink); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.bb-crumbs a { color: var(--bb-a300); }

/* Footer */
.bb-footer { background: var(--bb-dark); color: var(--bb-paper-ink); }
.bb-footer__logo { width: 96px; height: 96px; object-fit: contain; filter: invert(1) sepia(1) saturate(.6) brightness(1.05); opacity: .85; transform: rotate(-6deg); }
.bb-footer__text { margin: 10px 0 4px; max-width: 300px; font-size: 14px; line-height: 1.6; }
.bb-footer__hand { font-family: var(--bb-font-hand); font-weight: 700; font-size: 26px; color: var(--bb-a300); }
.bb-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.bb-footer__col a { color: inherit; }
.bb-footer__col a:hover { color: var(--bb-bg); }
.bb-footer__title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bb-a300); }
.bb-footer__bottom { padding: 16px 0 28px; font-size: 12.5px; border-top: 1px solid rgba(243, 242, 242, .15); }
