@font-face{
  font-family: "Replica Pro";
  src: url("./fonts/ReplicaPro-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Replica Pro";
  src: url("./fonts/ReplicaPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Replica Pro";
  src: url("./fonts/ReplicaPro-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: "Replica Pro";
  src: url("./fonts/ReplicaPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Replica Pro";
  src: url("./fonts/ReplicaPro-Heavy.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Replica Mono";
  src: url("./fonts/ReplicaMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg: #d9d9d9;
  --fg: #5c5c5c;
  --muted: #5c5c5c;
  --border: #d0502b;
  --accent: #d0502b;
  --max: 100%;
  --pad: clamp(12px, 2.2vw, 22px);
  --pad-2: clamp(14px, 2.2vw, 28px);
  --pad-3: clamp(20px, 2.2vw, 32px);
  --pad-4: clamp(28px, 2.2vw, 32px);
  --font: "Replica Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Replica Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Fluid typography tokens */
  --fs-body: clamp(22px, 2.2vw, 38px);
  --lh-body: 1.2;
  --fs-h1: clamp(42px, 5.2vw, 92px);
  --fs-h2: clamp(28px, 3.4vw, 56px);
  --fs-h3: clamp(22px, 2.2vw, 38px);
  --fs-h4: clamp(18px, 2.2vw, 32px);
  --fs-h5: clamp(16px, 2.2vw, 28px);
  --fs-h6: clamp(13.5px, 2.2vw, 18px);
  --fs-nav: clamp(22px, 3.1vw, 47.5px);

  /* Buttons: match h3 height (line-height * font-size) */
  --btn-h: calc(var(--fs-h2) * 1);
  --btn-px: clamp(12px, 1.2vw, 18px);
  --btn-radius: 10px;
  --btn-radius-2: 20px;
  --btn-shadow: inset 0 2px 0 rgba(255,255,255,.95), inset 0 -3px 0 rgba(0,0,0,.14), inset 0 0 0 1px rgba(0,0,0,.04), 0 12px 30px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.07);
  --btn-shadow-hover: inset 0 2px 0 rgba(255,255,255,1), inset 0 -3px 0 rgba(0,0,0,.16), inset 0 0 0 1px rgba(0,0,0,.05), 0 16px 40px rgba(0,0,0,.16), 0 3px 14px rgba(0,0,0,.09);
  --btn-shadow-pressed: inset 0 4px 10px rgba(0,0,0,.22), inset 0 -2px 0 rgba(255,255,255,.60), inset 0 0 0 1px rgba(0,0,0,.06), 0 8px 22px rgba(0,0,0,.10);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ background: var(--bg); }
body.bvb-brutal{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: geometricPrecision;
  position: relative;
}

/* Huge background logo (behind all content) */
body.bvb-brutal::before{
  content: "";
  position: fixed;
  inset: -80vh -80vw;
  background: url("./figma/bhvb_bg.svg") center / 200vmax auto no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  transform:
    translate3d(var(--bvb-bg-rand-x, 0px), calc(var(--bvb-bg-rand-y, 0px) + var(--bvb-bg-parallax, 0px)), 0)
    rotate(-9deg);
  will-change: transform;
  stroke-width: 1.414px;
}
.bvb-wrap{
  position: relative;
  z-index: 1;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; text-decoration-thickness: 2px; }

/* Typography system */
:where(h1,h2,h3,h4,h5,h6){
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.02em;
}
h1{ font-size: var(--fs-h1); line-height: 1.03; }
h2{ font-size: var(--fs-h2); line-height: 1.06; }
h3{ font-size: var(--fs-h3); line-height: 1.12; }
h4{ font-size: 20px; line-height: 1.2; }
h5{ font-size: 16px; line-height: 1.25; }
h6{ font-size: 14px; line-height: 1.25; }

/* Capsize trims (Replica Pro Regular metrics). */
h1::before{ content: ""; margin-bottom: -0.155em; display: table; }
h1::after{ content: ""; margin-top: -0.175em; display: table; }
h2::before{ content: ""; margin-bottom: -0.17em; display: table; }
h2::after{ content: ""; margin-top: -0.19em; display: table; }
h3::before{ content: ""; margin-bottom: -0.2em; display: table; }
h3::after{ content: ""; margin-top: -0.22em; display: table; }

:where(p){
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: -0.01em;
  max-width: 50ch;
  text-wrap: balance;
  -webkit-hyphens: auto;
  -webkit-hyphenate-limit-before: 3;
  -webkit-hyphenate-limit-after: 3;
  -webkit-hyphenate-limit-chars: 8 4 4;
  -webkit-hyphenate-limit-lines: 2;
  -webkit-hyphenate-limit-last: always;
  -webkit-hyphenate-limit-zone: 8%;
  -moz-hyphens: auto;
  -moz-hyphenate-limit-chars: 8 4 4;
  -moz-hyphenate-limit-lines: 2;
  -moz-hyphenate-limit-last: always;
  -moz-hyphenate-limit-zone: 8%;
  -ms-hyphens: auto;
  -ms-hyphenate-limit-chars: 8 4 4;
  -ms-hyphenate-limit-lines: 2;
  -ms-hyphenate-limit-last: always;
  -ms-hyphenate-limit-zone: 8%;
  hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
  hyphenate-limit-lines: 2;
  hyphenate-limit-last: always;
  hyphenate-limit-zone: 8%;
}


:where(strong){ font-weight: 700; }
:where(em){ font-style: italic; }

:where(hr){
  border: 0;
  border-top: 0px solid var(--border);
  margin: 28px 0;
}

.bvb-prose{
  max-width: 78ch;
}
.bvb-prose > * + *{ margin-top: 18px; }
.bvb-prose :where(h2){ margin-top: 34px; }
.bvb-prose :where(h3){ margin-top: 26px; }
.bvb-prose :where(a){
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.bvb-prose :where(ul,ol){
  margin: 0;
  padding-left: 1.1em;
}
.bvb-prose :where(li){
  margin: 0.35em 0;
}
.bvb-prose :where(blockquote){
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--border);
  color: var(--muted);
}
.bvb-prose :where(img){
  max-width: 100%;
  height: auto;
}

.bvb-wrap{
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
}

.bvb-header{
  --bvb-logo-slot: 1;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(217, 217, 217, 0.92) 0%,
    rgba(217, 217, 217, 0.68) 42%,
    rgba(217, 217, 217, 0) 100%
  );
  isolation: isolate;
}

.bvb-header__inner{
  max-width: none;
  margin: 0;
  padding: 19px var(--pad) 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
}
@media (min-width: 901px){
  .bvb-header__inner{
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 22px;
    row-gap: 14px;
  }
  .bvb-header__left{
    grid-column: 1;
    grid-row: 1;
    min-width: max-content;
    width: max-content;
  }
  .bvb-nav{
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    min-width: 0;
    z-index: 1;
  }
  .bvb-header__right{
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}
.bvb-header__left{
  display: flex;
  align-items: start;
  gap: 18px;
  min-width: 0;
}
.bvb-header__left > .bvb-brand:has(.bvb-logo--full){
  flex-shrink: 0;
  max-width: none;
}
.bvb-header__right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.bvb-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
}
.bvb-brand__text{
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
  transition: font-size 0.28s ease;
}
.bvb-logo{
  display: inline-flex;
  align-items: center;
  transition: max-width 0.28s ease;
}
.bvb-logo--full{
  --bvb-logo-track: min(62vw, 280px);
  display: block;
  width: fit-content;
  flex-shrink: 0;
  overflow: visible;
}
.bvb-logo--full .bvb-logo__frame{
  --bvb-logo-pad: 12px;
  position: relative;
  isolation: isolate;
  display: block;
  box-sizing: content-box;
  width: calc(var(--bvb-logo-slot, 1) * var(--bvb-logo-track));
  overflow: visible;
  padding: var(--bvb-logo-pad);
  background: transparent;
  box-shadow: none;
  transition: width 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}
.bvb-logo--full .bvb-logo__frame::before{
  content: "";
  position: absolute;
  inset: calc(-0.1 * var(--bvb-logo-pad));
  border-radius: var(--btn-radius);
  background: var(--bg);
  box-shadow: var(--btn-shadow);
  filter: url(#bvb-wobble);
  z-index: 0;
  pointer-events: none;
}
.bvb-logo__crop{
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  width: 100%;
}
.bvb-logo .custom-logo-link{
  display: inline-flex;
  align-items: center;
  max-width: 154px;
  transition: max-width 0.28s ease;
}
.bvb-logo .custom-logo,
.bvb-logo__img{
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 154px !important;
  max-height: 100px !important;
  object-fit: contain;
  transition: max-height 0.28s ease, max-width 0.28s ease;
  
  border-radius: var(--btn-radius);
  background: var(--bg);
  padding: 10px;
  box-shadow: var(--btn-shadow);
  filter: url(#bvb-wobble);
}
.bvb-logo--full .bvb-logo__img{
  width: var(--bvb-logo-track) !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}
.bvb-header[data-header-compact="true"] .bvb-logo:not(.bvb-logo--full){
  max-width: 92px;
}
.bvb-header[data-header-compact="true"] .bvb-logo:not(.bvb-logo--full) .custom-logo-link{
  max-width: 92px;
}
.bvb-header[data-header-compact="true"] .bvb-logo--full{
  --bvb-logo-track: min(42vw, 160px);
}
.bvb-header[data-header-compact="true"] .bvb-logo .custom-logo,
.bvb-header[data-header-compact="true"] .bvb-logo:not(.bvb-logo--full) .bvb-logo__img{
  max-height: 60px !important;
  max-width: 92px !important;
}
.bvb-header[data-header-compact="true"] .bvb-logo--full .bvb-logo__img{
  max-width: none !important;
  max-height: 60px !important;
  width: var(--bvb-logo-track) !important;
}
.bvb-header[data-header-compact="true"] .bvb-brand__text{
  font-size: 13px;
}
@media (prefers-reduced-motion: reduce){
  .bvb-logo,
  .bvb-logo .custom-logo-link,
  .bvb-logo .custom-logo,
  .bvb-logo__img,
  .bvb-logo--full .bvb-logo__frame,
  .bvb-logo--full .bvb-logo__frame::before,
  .bvb-brand__text{
    transition: none;
  }
  .bvb-logo--full .bvb-logo__frame::before{
    filter: none;
  }
}
.bvb-tagline{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.2;
  max-width: 40ch;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bvb-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 12.3px;
  align-items: center;
  min-width: 0;
}
.bvb-navOverlayHeader{
  display: none;
}
.bvb-nav__items{
  display: contents;
}
.bvb-navToggle{
  display: none;
}
.bvb-navToggle__label{
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.bvb-nav :is(ul,ol){ margin: 0; padding: 0; display: contents; }
.bvb-nav li{ list-style: none; }
.bvb-nav a{
  padding: 4px 0;
  border: 0;
  background: transparent;
  text-transform: none;
  font-weight: 400;
  font-size: var(--fs-nav);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.bvb-nav .current-menu-item > a,
.bvb-nav .current_page_item > a{
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  text-decoration: none;
}
.bvb-nav a:hover{
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  text-decoration: none;
}

@media (max-width: 900px){
  .bvb-header__inner{ flex-wrap: wrap; align-items: flex-start; }
  .bvb-header__left{
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
  }
  .bvb-tagline{ white-space: normal; text-align: left; max-width: none; }
  .bvb-navToggle{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: auto;
    padding: 10px 14px;
  }
  .bvb-navToggle::before{
    border-radius: 999px;
  }
  .bvb-nav{
    display: none;
    width: 100%;
    gap: 0;
    padding: 0;
  }
  .bvb-header {
    background: linear-gradient(
    to bottom,
    rgba(217, 217, 217, 1) 10%,
    rgba(217, 217, 217, 0.68) 42%,
    rgba(217, 217, 217, 0) 70%
  );
  }
  .bvb-header[data-nav-open="true"] .bvb-nav{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--bg);
    opacity: 0;
    animation: bvbOverlayFadeIn 340ms ease-out forwards;
  }
  .bvb-navOverlayHeader{
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 19px var(--pad) 10px;
  }
  .bvb-navOverlayBrand{
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .bvb-navClose{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 10px 14px;
  }
  .bvb-navClose::before{
    border-radius: 999px;
  }
  .bvb-navClose__label{
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--accent);
  }

  .bvb-nav__items{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 0 var(--pad) var(--pad);
    flex: 1;
    width: 100%;
  }
  /* WP Menüs rendern üblicherweise <li><a/>…</a></li>; Safari ist bei `display: contents`
     + child-selectors teils buggy. Deshalb animieren wir über das <li>. */
  .bvb-nav__items > li{
    opacity: 0;
    transform: translateY(6px);
    animation: bvbMenuItemIn 160ms ease-out forwards;
  }
  .bvb-nav__items > li:nth-child(1){ animation-delay: 30ms; }
  .bvb-nav__items > li:nth-child(2){ animation-delay: 55ms; }
  .bvb-nav__items > li:nth-child(3){ animation-delay: 80ms; }
  .bvb-nav__items > li:nth-child(4){ animation-delay: 105ms; }
  .bvb-nav__items > li:nth-child(5){ animation-delay: 130ms; }
  .bvb-nav__items > li:nth-child(6){ animation-delay: 155ms; }
  .bvb-nav__items > li:nth-child(7){ animation-delay: 180ms; }
  .bvb-nav__items > li:nth-child(8){ animation-delay: 205ms; }
  .bvb-nav a{ font-size: var(--fs-h1); }
}

@keyframes bvbOverlayFadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}
@keyframes bvbMenuItemIn{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce){
  .bvb-header[data-nav-open="true"] .bvb-nav{ animation: none; opacity: 1; }
  .bvb-nav__items > li{ animation: none; opacity: 1; transform: none; }
}

.bvb-main{
  max-width: none;
  margin: 0;
  width: 100%;
  min-width: 0;
  padding: 34px var(--pad) 64px;
}

.bvb-hero{
  border: 0;
  background: transparent;
  padding: 0;
}
.bvb-hero h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 4.6vw, 64px);
  letter-spacing: -0.02em;
  text-transform: none;
}
.bvb-hero p{ margin: 0; max-width: 70ch; color: var(--muted); }

.bvb-card{
  border: 0;
  background: transparent;
  padding: 0;
}

.bvb-footer{
  border-top: 0px solid var(--border);
  background: transparent;
  border-radius: var(--btn-radius);
  background: var(--bg);
  margin: 10px;
  box-shadow: var(--btn-shadow);;
}
.bvb-footer__inner{
  max-width: none;
  margin: 0;
  padding: clamp(26px, 3.5vw, 42px) var(--pad) 18px;
  display: grid;
  gap: clamp(18px, 2.5vw, 32px);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.bvb-footer__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
}
.bvb-footer__title{
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.02em;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--fg);
}
.bvb-footer__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  text-transform: none;
  font-size: 14px;
}
.bvb-footer__list a{
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.bvb-footer__contact{
  margin: 0;
  display: grid;
  gap: 10px;
  text-transform: none;
  font-size: 14px;
}
.bvb-footer__contact-row{
  display: grid;
  grid-template-columns: minmax(0, 12ch) 1fr;
  gap: 10px 16px;
  align-items: baseline;
}
.bvb-footer__contact dt{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bvb-footer__contact dd{
  margin: 0;
}
.bvb-footer__link{
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.bvb-footer__meta{
  padding-top: 18px;
  border-top: 0px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
}
.bvb-footer__meta-links{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 720px){
  .bvb-footer__grid{
    grid-template-columns: 1fr;
  }
  .bvb-footer__meta{
    justify-content: flex-start;
  }
}

/* WP content defaults */
.entry-title{
  font-size: var(--fs-h1);
  letter-spacing: -0.02em;
  text-transform: none;
  margin: var(--pad-4) 0 var(--pad);
  max-width: 80%;
}
.entry-content{ max-width: none; }
.entry-content :is(p, ul, ol, blockquote, h2, h3, h4, h5, h6){ max-width: 50ch; }
.entry-content > * + *{ margin-top: var(--pad-4); }
.entry-content :is(h2){ margin-top: 34px; }
.entry-content :is(h3){ margin-top: 26px; }
.entry-content a{ text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.entry-content img{
  max-width: 50ch;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--btn-radius);
}
.entry-content :is(figure, .wp-block-image){
  max-width: 50ch;
}

/* Single post: featured image hero */
.bvb-single-hero{
  width: 100%;
  margin: -136px 0 var(--pad);
  position: relative;
}
.bvb-single-hero__img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--btn-radius-2);
}
.bvb-photo-credit--hero{
  z-index: 2;
}

/* Apply same typography to member bio blocks */
.bvb-members__bio{ max-width: 50ch; }
.bvb-members__bio > * + *{ margin-top: var(--pad-4); }
.bvb-members__bio :is(h2){ margin-top: var(--pad-4); }
.bvb-members__bio :is(h3){ margin-top: var(--pad-4); }
.bvb-members__bio a{ text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }

.bvb-members__list {
  scrollbar-width: none;
}
.bvb-members__list::-webkit-scrollbar {
  display: none;
}

.bvb-members__detail {
  scrollbar-width: none;
  max-width: 700px;
}
.bvb-members__detail::-webkit-scrollbar {
  display: none;
}
/* Data typography (mono only here) */
.bvb-data{
  font-size: var(--fs-h6);
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* Buttons (frontend) */
:where(.bvb-btn, button, [type="button"], [type="submit"], [type="reset"], .wp-block-button__link){
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fg);
  border-radius: var(--btn-radius);
  height: var(--btn-h);
  padding: 0 var(--btn-px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font: inherit;
  font-size: var(--fs-h5);
  line-height: 1.12;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-decoration: none;
  transform: translateY(0);
  transition: box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease, color 160ms ease;
  position: relative;
  isolation: isolate;
}
:where(.bvb-btn, button, [type="button"], [type="submit"], [type="reset"], .wp-block-button__link)::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--btn-radius);
  background: var(--bg);
  box-shadow: var(--btn-shadow);
  /* Wobbly edge effect (SVG filter) */
  filter: url(#bvb-wobble);
  z-index: -1;
}
:where(.bvb-btn, button, [type="button"], [type="submit"], [type="reset"], .wp-block-button__link):hover{
  /* shadow handled on ::before */
  transform: translateY(-1px);
  text-decoration: none;
}
:where(.bvb-btn, button, [type="button"], [type="submit"], [type="reset"], .wp-block-button__link):hover::before{
  box-shadow: var(--btn-shadow-hover);
}
:where(.bvb-btn, button, [type="button"], [type="submit"], [type="reset"], .wp-block-button__link):active{
  transform: translateY(0);
  filter: brightness(.985);
}
:where(.bvb-btn, button, [type="button"], [type="submit"], [type="reset"], .wp-block-button__link):active::before{
  box-shadow: var(--btn-shadow-pressed);
}
:where(.bvb-btn, button, [type="button"], [type="submit"], [type="reset"], .wp-block-button__link):focus-visible{
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
:where(.bvb-btn[disabled], button[disabled], [type="button"][disabled], [type="submit"][disabled], [type="reset"][disabled], .wp-block-button__link[aria-disabled="true"]){
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
:where(.bvb-btn[disabled], button[disabled], [type="button"][disabled], [type="submit"][disabled], [type="reset"][disabled], .wp-block-button__link[aria-disabled="true"])::before{
  box-shadow: none;
  filter: none;
}

/* —— Vollbild-Slideshow (Startseite): echte Viewport-Kante oben + seitlich, unter Header —— */
:root{
  --bvb-header-h: 120px;
}
.bvb-main:has(> .bvb-slideshow:first-child){
  padding-top: 0;
}
.bvb-main > .bvb-slideshow:first-child{
  margin-top: calc(-1 * var(--bvb-header-h, 120px));
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: auto;
  right: auto;
  z-index: 0;
}
/* Schmale Viewports: kein 100vw (Scrollbar-Gutter) — Slideshow volle Breite ohne seitlichen Overflow */
@media (max-width: 900px){
  .bvb-main:has(> .bvb-slideshow:first-child){
    padding-left: 0;
    padding-right: 0;
  }
  .bvb-main > .bvb-slideshow:first-child{
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }
  .bvb-main:has(> .bvb-slideshow:first-child) .bvb-home-intro,
  .bvb-main:has(> .bvb-slideshow:first-child) .bvb-home-blog{
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .bvb-home-termine {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  /* Fallback gegen Rest-Overflow (lange Wörter etc.) nur auf der Startseite */
  body.bvb-brutal.home,
  body.bvb-brutal.front-page{
    overflow-x: hidden;
  }
}
.bvb-slideshow{
  min-height: 100vh;
  min-height: 107.3dvh;
  background: #e8e8e8;
  overflow: hidden;
}
.bvb-slideshow--empty{
  min-height: min(100dvh);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bvb-slideshow__placeholder{
  padding: var(--pad);
  max-width: 52ch;
  text-align: center;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 26px);
}
.bvb-slideshow__placeholder-text{
  margin: 0;
}
.bvb-slideshow__track{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.bvb-slideshow__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.bvb-slideshow__slide.is-active{
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.bvb-slideshow__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bvb-photo-credit{
  position: absolute;
  right: var(--pad);
  bottom: var(--pad);
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  background: var(--bg);
  color: var(--fg);
  font-size: 12px;
  letter-spacing: 0.02em;
  max-width: min(70ch, calc(100% - (2 * var(--pad))));
}
.bvb-photo-credit--slideshow{
  z-index: 2;
}
@media (prefers-reduced-motion: reduce){
  .bvb-slideshow__slide{
    transition: none;
  }
  .bvb-slideshow__slide.is-active{
    opacity: 1;
  }
  .bvb-slideshow__slide:not(.is-active){
    opacity: 0;
  }
}

/* —— Startseite: Logo + Einleitung —— */
.bvb-home-intro{
  padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 56px);
}
.bvb-home-intro__inner{
  max-width: min(92ch, 100%);
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.bvb-home-intro__logo .custom-logo-link,
.bvb-home-intro__logo{
  display: inline-block;
  max-width: 50vw;
}
.bvb-home-intro__logo .custom-logo-link img,
.bvb-home-intro__logo-img{
  width: auto !important;
  height: auto !important;
  max-width: 50vw !important;
  max-height: 140px !important;
  object-fit: contain;
}
@media (max-width: 900px){
  .bvb-home-intro__logo .custom-logo-link,
  .bvb-home-intro__logo{
    max-width: 100%;
    width: 100%;
  }
  .bvb-home-intro__logo .custom-logo-link img,
  .bvb-home-intro__logo-img{
    max-width: 100% !important;
    width: 100% !important;
    max-height: none !important;
    padding-right: var(--pad);
  }
}
.bvb-home-intro__title{
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.bvb-home-intro__text{
  max-width: 78ch;
}
.bvb-home-intro__text > * + *{
  margin-top: 18px;
}

/* —— Blog-Liste (Startseite + Archiv) —— */
.bvb-archive-title{
  font-size: var(--fs-h2);
  margin: 0 0 clamp(18px, 2vw, 28px);
  letter-spacing: -0.02em;
}
.bvb-home-blog{
  margin-top: var(--pad);
  padding-top: var(--pad);
}
.bvb-home-termine{
  margin-top: var(--pad);
  padding-top: var(--pad);
}
.bvb-home-termine__more{
  margin: var(--pad) 0 0;
  text-align: right;
}
.bvb-home-blog__heading{
  font-size: var(--fs-h2);
  margin: 0 0 var(--pad);
  letter-spacing: -0.02em;
}
.bvb-home-blog__empty{
  margin: 0;
  color: var(--muted);
}
.bvb-blog-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
.bvb-blog-card{
  display: grid;
  grid-template-columns: minmax(0, min(36vw, 480px)) 1fr;
  gap: var(--pad);
  align-items: start;
  border: 1.5px solid var(--border);
  border-radius: var(--btn-radius-2);
  padding: var(--pad);
  background-color: var(--bg);
}
.bvb-blog-card__media{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--btn-radius);
  background: #e8e8e8;
}
.bvb-blog-card__media-link{
  display: block;
  width: 100%;
  height: 100%;
}
.bvb-blog-card__media--placeholder{
  min-height: 160px;
  background: linear-gradient(135deg, #ececec 0%, #dedede 100%);
}
.bvb-blog-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bvb-chip-list{
  list-style: none;
  margin: var(--pad) 0 var(--pad);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bvb-chip{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.bvb-blog-card__title{
  font-size: clamp(26px, 2.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 400;
}
.bvb-blog-card__title a{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.bvb-blog-card__meta{
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
  font-size: clamp(16px, 1.35vw, 22px);
  color: var(--muted);
}
.bvb-blog-card__meta-row{
  display: grid;
  grid-template-columns: minmax(0, 12ch) 1fr;

  align-items: baseline;
}
.bvb-blog-card__meta dt{
  font-size: var(--fs-h6);
  letter-spacing: 0.01em;
}
.bvb-blog-card__meta dd{
  font-size: var(--fs-h6);
  letter-spacing: 0.01em;
  margin: 0;
}
.bvb-blog-card__excerpt{
  margin: var(--pad) 0 var(--pad);
  max-width: 78ch;
}
.bvb-blog-card__more{
  margin: 0;
}
.bvb-blog-card__link{
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-size: clamp(18px, 1.5vw, 26px);
}
@media (max-width: 720px){
  .bvb-blog-card{
    grid-template-columns: 1fr;
  }
  .bvb-blog-card__title {
    padding-top: var(--pad);
  }
  .bvb-blog-card__more {
    padding-bottom: var(--pad-2); 
  }
  .bvb-chip-list{ 
    margin: var(--pad-3) 0 var(--pad-2);
  }
}
/* —— Einzelner Beitrag: Meta —— */
.bvb-single-meta{
  margin: var(--pad) 0 var(--pad);
  padding: var(--pad) 0 var(--pad);
  display: grid;
  gap: calc(var(--pad) / 2);
  max-width: 78ch;
}
.bvb-single-meta__row{
  display: grid;
  grid-template-columns: minmax(0, 14ch) 1fr;
  gap: 0px;
  align-items: baseline;
}
.bvb-single-meta dt{
  margin: 0;
  font-size: var(--fs-h6);
  letter-spacing: 0.01em;
  color: var(--muted);
}
.bvb-single-meta dd{
  margin: 0;
  font-size: var(--fs-h6);
  letter-spacing: 0.01em;
}

/* —— Kontakt —— */
.bvb-contact__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(22px, 3vw, 40px);
  max-width: 78ch;
  margin-bottom: clamp(18px, 2vw, 28px);
}
.bvb-contact__label{
  font-size: clamp(18px, 1.4vw, 24px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.bvb-contact__value{
  margin: 0;
  font-style: normal;
}
.bvb-contact__link{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  color: var(--accent);
}
.bvb-contact__hint{
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 22px);
}
.bvb-contact__extra{
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: clamp(18px, 2vw, 28px);
}

/* —— Seitennummerierung —— */
.navigation.pagination,
.posts-navigation{
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--border);
  max-width: 78ch;
}
.navigation.pagination .nav-links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
}
.navigation.pagination a,
.posts-navigation a{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  color: var(--accent);
}

/* —— Termine (Plugin + page-termine.php) —— */
.bvb-termine__intro{
  margin-bottom: clamp(18px, 2vw, 28px);
}
.bvb-termine__inactive,
.bvb-termine__empty{
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}
.bvb-termine__section{
  margin-top: clamp(40px, 5vw, 72px);
}
.bvb-termine__section:first-of-type{
  margin-top: clamp(22px, 3vw, 40px);
}
.bvb-termine__section--past .bvb-termine__section-title{
  color: var(--muted);
}
.bvb-termine__section-title{
  font-size: var(--fs-h2);
  margin: 0 0 var(--pad);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.bvb-termine__list{
  list-style: none;
  margin: 0;
  padding: 0;
  padding-bottom: var(--pad);
  display: grid;
  gap: var(--pad);
}
.bvb-termine-card{
  --bvb-termine-expand-duration: 0.45s;
  --bvb-termine-expand-ease: cubic-bezier(0.33, 1, 0.68, 1);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, min(36vw, 480px)) 1fr;
  gap: var(--pad);
  align-items: start;
  border: 1.5px solid var(--border);
  border-radius: var(--btn-radius-2);
  padding: var(--pad);
  background-color: var(--bg);
  /*

  
  border-bottom: 1px solid var(--border);

  
  background: var(--bg);
  box-shadow: var(--btn-shadow);
  */
}
.bvb-termine-card__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.bvb-termine-card__media,
.bvb-termine-card__body{
  position: relative;
  z-index: 2;
}
.bvb-termine-card__details{
  position: relative;
  z-index: 3;
}
.bvb-termine-card__summary{
  position: relative;
  z-index: 4;
}
.bvb-termine-card:has(.bvb-termine-card__overlay){
  cursor: pointer;
}
.bvb-termine-card:has(.bvb-termine-card__overlay):hover{
  box-shadow: var(--btn-shadow-hover);
}

.bvb-termine-card__media{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
  border-radius: var(--btn-radius);
  transition: height var(--bvb-termine-expand-duration) var(--bvb-termine-expand-ease);
}
@media (min-width: 721px){
  .bvb-termine-card.is-expanded,
  .bvb-termine-card.is-collapsing{
    align-items: stretch;
  }
  .bvb-termine-card.is-expanded .bvb-termine-card__media,
  .bvb-termine-card.is-collapsing .bvb-termine-card__media{
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
    align-self: stretch;
  }
}
.bvb-termine-card__media--placeholder{
  min-height: 160px;
  background: linear-gradient(135deg, #ececec 0%, #dedede 100%);
}
.bvb-termine-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bvb-termine-card__title{
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 400;
}
.bvb-termine-card__meta{
  margin: 0 0 14px;
  display: grid;
  gap: 4px;
  font-size: var(--fs-h6);
  color: var(--muted);
}
.bvb-termine-card__meta-row{
  display: grid;
  grid-template-columns: minmax(0, 12ch) 1fr;
  gap: var(--pad);
  align-items: baseline;
}
.bvb-termine-card__meta dt{
  
  font-size: var(--fs-h6);
  
}
.bvb-termine-card__meta dd{
  
  margin: 0;
}
.bvb-termine-card__excerpt{
  max-width: 78ch;
  font-size: var(--fs-h5);
}
.bvb-termine-card__excerpt > * + *{
  margin-top: 12px;
}
/* Button removed: card is clickable via overlay link. */
.bvb-termine-card__details{
  display: grid;
  grid-template-rows: auto 0fr;
  margin-top: var(--pad-2);
  transition: grid-template-rows var(--bvb-termine-expand-duration) var(--bvb-termine-expand-ease);
}
.bvb-termine-card__details[open]{
  grid-template-rows: auto 1fr;
}
.bvb-termine-card__summary{
  cursor: pointer;
  font-size: clamp(18px, 1.45vw, 26px);
  letter-spacing: -0.02em;
  color: var(--accent);
  list-style: none;
}
.bvb-termine-card__summary::-webkit-details-marker{
  display: none;
}
.bvb-termine-card__summary::after{
  content: "";
  display: inline-block;
  margin-left: 0.5em;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.3em);
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.bvb-termine-card__details[open] .bvb-termine-card__summary::after{
  transform: rotate(225deg) translateY(-0.05em);
}
.bvb-termine-card__long{
  overflow: hidden;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: var(--pad-2);
  font-size: var(--fs-h6);
  max-width: 60ch !important;
  transition:
    padding var(--bvb-termine-expand-duration) var(--bvb-termine-expand-ease),
    opacity var(--bvb-termine-expand-duration) var(--bvb-termine-expand-ease);
  opacity: 0.72;
}
.bvb-termine-card__details[open] .bvb-termine-card__long{
  padding-top: var(--pad);
  
  opacity: 1;
}
.bvb-termine-card__long > * + *{
  margin-top: var(--pad);
}
@media (prefers-reduced-motion: reduce){
  .bvb-termine-card__summary::after,
  .bvb-termine-card__details,
  .bvb-termine-card__long,
  .bvb-termine-card__media{
    transition: none;
  }
  .bvb-termine-card__long{
    opacity: 1;
  }
}
@media (max-width: 720px){
  .bvb-termine-card{
    grid-template-columns: 1fr;
    padding: var(--pad-2);
    gap: var(--pad-2);
  }
  .bvb-termine-card__media{
    aspect-ratio: 3 / 4;
  }
}

/* Capsize trims for body text (Replica Pro Regular metrics). */
body.bvb-brutal :where(p)::before{ content: ""; margin-bottom: -0.24em; display: table; }
body.bvb-brutal :where(p)::after{ content: ""; margin-top: -0.26em; display: table; }

