/* Muster-Bar: gemeinsamer Rücklink-Balken aller Caratu-Demos */
:root { --mb-o: 0px; }
.muster-bar {
  position: relative; z-index: 1; box-sizing: border-box; width: 100%;
  background: #14161a; color: #c9ccd2; border-bottom: 1px solid rgba(255,255,255,.08);
  font: 400 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .01em;
}
.muster-bar__in {
  display: flex; align-items: center; justify-content: center; gap: 4px 14px;
  min-height: 36px; padding: 0 8px 0 16px;
}
.muster-bar__txt { margin: 0; text-align: center; }
.muster-bar__txt strong { color: #fff; font-weight: 600; }
.muster-bar__link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px;
  color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.muster-bar__link:hover { text-decoration-color: #fff; }
.muster-bar__close {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-left: auto; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: #c9ccd2; font: 400 20px/1 system-ui, sans-serif; cursor: pointer;
}
.muster-bar__close:hover { color: #fff; background: rgba(255,255,255,.1); }
.muster-bar__link:focus-visible, .muster-bar__close:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
/* Fixed-Elemente (Navigation, Drawer) um die sichtbare Balkenhöhe nach unten schieben */
.mb-shift { top: calc(var(--mb-t, 0px) + var(--mb-o, 0px)) !important; }
@media (max-width: 700px) {
  .muster-bar__in { min-height: 44px; padding: 0 0 0 12px; font-size: 12.5px; gap: 0 10px; }
  .muster-bar__in { display: grid; grid-template-columns: 1fr 44px; }
  .muster-bar__txt { grid-column: 1; text-align: left; }
  .muster-bar__link { grid-column: 1; min-height: 44px; padding: 0; margin-top: -6px; justify-self: start; }
  .muster-bar__close { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; }
}
@media print { .muster-bar { display: none; } }
