/* Duyuru (Panel > Duyurular): Dialog über der Seite. Farben wie die Website: Gelb #f7df03 als Akzent. */
.sb-ann {
  position: fixed;
  inset: 0;
  /* über dem Gridbox-Popup (99999999), unter dem Cookie-Banner (2147483647) */
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sb-ann[hidden] { display: none; }
.sb-ann-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.72);
}
.sb-ann-box {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  overflow: auto;
  background: #fff;
  color: #1d2026;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  outline: none;
}
.sb-ann-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.sb-ann-close:hover { background: rgba(0, 0, 0, 0.8); }
.sb-ann-close:focus-visible,
.sb-ann-btn:focus-visible {
  outline: 3px solid #f7df03;
  outline-offset: 2px;
}
.sb-ann-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sb-ann-body { padding: 20px 24px 24px; }
.sb-ann-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
}
.sb-ann-text {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.55;
  color: #333;
}
.sb-ann-btn {
  display: inline-block;
  padding: 12px 22px;
  background: #f7df03;
  color: #111;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
}
.sb-ann-btn:hover { background: #ffe91a; color: #111; }
html.sb-ann-open { overflow: hidden; }

/* Leiste ganz oben (Panel: Darstellung = Leiste) */
.sb-ann-strip {
  background: #f7df03;
  color: #111;
}
.sb-ann-strip[hidden] { display: none; }
.sb-ann-strip-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 52px 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  text-align: center;
}
.sb-ann-strip-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}
.sb-ann-strip-text span { margin-left: 6px; }
.sb-ann-strip-btn {
  background: #111;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.sb-ann-strip-btn:hover { color: #fff; background: #2a2a2a; }
.sb-ann-strip-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.sb-ann-strip-close:focus-visible,
.sb-ann-strip-btn:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .sb-ann-strip-inner { padding: 10px 44px 10px 14px; }
  .sb-ann-strip-text { font-size: 14px; }
}
@media (max-width: 480px) {
  /* Auf dem Handy oben ausrichten: die Cookie-Leiste liegt unten und würde sonst den Text verdecken */
  .sb-ann { align-items: flex-start; padding: 12px 12px 0; }
  .sb-ann-box { max-height: 48vh; max-height: 48svh; }
  .sb-ann-body { padding: 16px 16px 20px; }
  .sb-ann-title { font-size: 1.25rem; }
}
