/* BC27 Merken: Knopf, Zähler-Link und Toast (Referenz-/Location-Seiten). Alles unter .bcm-*, keine globalen Regeln. Radius 0, Knöpfe 48 px. */
.bcm-host { position: relative; }
.bcm-tog, .bcm-pill, .bcm-undo, .bcm-toast { box-sizing: border-box; border-radius: 0; font-family: 'SanchezSlab-SemiBold', 'SanchezSlab', 'BC Slab', Georgia, serif; font-weight: 600; font-size: 15px; letter-spacing: .5px; text-transform: none; }
/* Merken = Lesezeichen-Icon (pkg-merken-icon): quadratischer 40-px-Knopf, schwarz, weisses Icon (inline SVG .bcm-ico); gemerkt = Icon gefuellt;
   Hover/Fokus = Marken-Gruen mit WEISSEM Icon (nie schwarz auf Gruen). Kein Radius, kein Schatten. Die Groessen stehen mit !important, damit Kontext-CSS
   (bc27-bridge.css, Catering-Einschub) den Knopf nicht wieder zur Textpille macht; Hover/Fokus ebenso, weil das Site-CSS `button:hover` mit !important schwarze Schrift auf Gruen setzt. */
.bcm-tog { position: absolute; z-index: 5; top: 16px; right: 16px; display: inline-flex; align-items: center; justify-content: center; width: 40px !important; min-width: 40px; height: 40px !important; padding: 0 !important; margin: 0; border: 0; background: #000; color: #fff; font-size: 13px !important; line-height: 0 !important; cursor: pointer; transition: background-color .15s, color .15s; }
.referenceSinglePart1 > .bcm-tog { top: 96px; right: 24px; }
.bcm-tog[hidden] { display: none; }
/* Karten, Porträts, Startseiten-Kacheln (pkg-merken-all): Knopf oben rechts IM Bild, 12 px Abstand. z-index 5 liegt über den Overlays der Seite
   (.referenceImg:before 2, .referenceBtn 3, .block109Img::before 2, .block109Btn 3); Schlagwort (.referenceTag unten rechts) und die Knöpfe
   "Mehr erfahren" (Mitte) / "Jetzt anfragen" (unten Mitte) liegen woanders, der Knopf überlappt sie nie. */
.referenceImg > .bcm-tog, .block109Img > .bcm-tog, .bc27-tile-media > .bcm-tog, .bc27-card > .bcm-tog, .bc27-loc > .bcm-tog, .bcm-tog.bcm-ss { top: 12px; right: 12px; }
.bcm-tog.bcm-ov { right: auto; }   /* freistehende Galeriebilder: left/top setzt das Skript aus der Bildgröße */
.bcm-ico { display: block; width: 22px; height: 22px; flex: none; pointer-events: none; }
.bcm-ico path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square; }
.bcm-tog[aria-pressed="true"] .bcm-ico path { fill: currentColor; }
.bcm-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Tooltip links neben dem Knopf (nur Hover mit Maus / Tastaturfokus): weiss auf schwarz, Hoehe wie der Knopf, ragt nie nach rechts/unten in Schlagwort oder "Mehr erfahren". */
.bcm-tip { display: none; position: absolute; z-index: 1; top: 0; right: 100%; margin-right: 8px; height: 40px; padding: 0 12px; background: #000; color: #fff; font-size: 13px; line-height: 40px; white-space: nowrap; pointer-events: none; }
.bcm-tog:focus-visible { background: #00be00 !important; color: #fff !important; outline: 2px solid #fff; outline-offset: 3px; }
.bcm-tog:focus-visible .bcm-tip { display: block; }
@media (hover: hover) {
  .bcm-tog:hover { background: #00be00 !important; color: #fff !important; }
  .bcm-tog:hover .bcm-tip { display: block; }
}
/* Touch: kein klebender Hover nach dem Tipp (das Site-CSS setzt `button:hover` mit !important) */
@media (hover: none) { .bcm-tog:hover:not(:focus-visible) { background: #000 !important; color: #fff !important; } }
.bcm-pill:focus-visible, .bcm-undo:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* unten links: unten rechts sitzt das Chat-Widget der Seite. Weiss = Info-Aktion (oeffnet den Moodboard-Drawer), Gruen bleibt der Anfrage vorbehalten. */
.bcm-pill { position: fixed; z-index: 2147483000; left: 16px; bottom: 16px; display: inline-flex; align-items: center; height: 48px; padding: 0 24px; background: #fff; color: #000; line-height: 48px; text-decoration: none; cursor: pointer; }
.bcm-pill:hover { background: #000; color: #fff; outline: 1px solid #fff; outline-offset: -1px; }
.bcm-pill[hidden], .bcm-toast[hidden], .bcm-undo[hidden] { display: none; }
.bcm-toast { position: fixed; z-index: 2147483000; left: 16px; bottom: 80px; display: flex; align-items: center; gap: 4px; min-height: 48px; max-width: calc(100vw - 32px); padding: 0 8px 0 20px; background: #000; color: #fff; border: 1px solid #3c3c3c; }
.bcm-undo { height: 48px; padding: 0 12px; border: 0; background: none; color: #fff; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bcm-undo:hover { color: #00be00; }
@media (max-width: 640px) {
  .bcm-tog { top: 12px; right: 12px; }
  .bcm-tip, .bcm-tog:hover .bcm-tip, .bcm-tog:focus-visible .bcm-tip { display: none !important; }   /* schmale Bilder: dort liegt "Mehr erfahren" oben in der Mitte, der Tooltip würde es schneiden; Handy hat keinen Hover, der Name steht im aria-label */
  .referenceSinglePart1 > .bcm-tog { top: 76px; right: 12px; }
  .bcm-pill { left: 12px; bottom: 12px; }
  .bcm-toast { left: 12px; bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .bcm-tog { transition: none; } }
