/* S-Werbekundenbutton 2.1 – ausfahrendes Mini-Werbeplakat / ohne Abhängigkeit vom Theme */
.s-wb-wrap, .s-wb-wrap * { box-sizing: border-box; }
.s-wb-wrap {
  position: fixed;
  z-index: 9989;
  top: var(--s-wb-desktop-top, 105px);
  right: max(14px, env(safe-area-inset-right, 0px));
  font-family: inherit;
  isolation: isolate;
  line-height: 1.2;
}
.s-wb-float {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 345px;
  height: 104px;
  max-width: calc(100vw - 28px);
  overflow: hidden;
  border-radius: 17px 7px 7px 17px;
  box-shadow: 0 15px 40px rgba(18,23,34,.23), 0 3px 8px rgba(18,23,34,.10);
  background: #fff;
  color: #1d2027 !important;
  text-decoration: none !important;
  outline-offset: 4px;
  transition: width .52s cubic-bezier(.2,.84,.24,1), box-shadow .3s ease, transform .3s ease;
  -webkit-tap-highlight-color: transparent;
  animation: s-wb-arrival 900ms cubic-bezier(.18,.86,.28,1.1) both;
}
.s-wb-float:hover { box-shadow: 0 17px 44px rgba(18,23,34,.27), 0 4px 12px rgba(18,23,34,.12); }
.s-wb-float:focus-visible { outline: 3px solid #e22638; }
.s-wb-panel {
  display: flex;
  align-items: stretch;
  flex: 0 0 288px;
  width: 288px;
  min-width: 288px;
  padding: 8px 4px 8px 8px;
  overflow: hidden;
  background: #fff;
  opacity: 1;
  transition: opacity .20s ease;
}
.s-wb-billboard {
  display: flex;
  position: relative;
  overflow: hidden;
  flex: 0 0 84px;
  width: 84px;
  height: 88px;
  flex-direction: column;
  padding: 6px 7px 5px;
  background: linear-gradient(150deg, #25272f, #101116);
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transform: rotate(-3deg);
  color: #fff;
}
.s-wb-billboard::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -40px;
  left: -45px;
  width: 32px;
  height: 165px;
  transform: rotate(34deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.17), transparent);
  animation: s-wb-light 12s ease-in-out 2.4s infinite;
  pointer-events: none;
}
.s-wb-board-stickers { display: flex; align-items: center; justify-content: space-between; gap: 1px; font-family: Arial,sans-serif; font-size: 6px; font-weight: 800; letter-spacing: .35px; color: #ededed; }
.s-wb-board-stickers > span:first-child { display: grid; place-items: center; width: 15px; height: 15px; background: #e52337; color: white; font-size: 12px; font-weight: 900; border-radius: 2px; }
.s-wb-board-title { display: block; margin: 5px auto auto 1px; font-family: Arial,Helvetica,sans-serif; font-size: 17px; font-weight: 900; line-height: .91; letter-spacing: -.3px; color: #fff; }
.s-wb-board-title b { color: #ff4c60; font-weight: 900; }
.s-wb-board-footer { display: block; margin-top: 3px; padding-top: 3px; border-top: 1px solid rgba(255,255,255,.27); font-family: Arial,sans-serif; font-weight: 800; font-size: 5.7px; color: #ececec; letter-spacing: 1px; }
.s-wb-copy { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; justify-content: center; gap: 5px; padding: 1px 3px 1px 13px; text-align: left; }
.s-wb-eyebrow { color: #bb1527; font-size: 8.6px; font-weight: 900; letter-spacing: 1px; line-height: 1.2; }
.s-wb-headline { color: #191b21; font-size: 17px; font-weight: 850; letter-spacing: -.5px; line-height: 1.13; text-wrap: balance; }
.s-wb-cta { display: inline-flex; width: fit-content; align-items: center; gap: 5px; color: #c4162c; font-size: 10.5px; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.s-wb-cta-arrow { font-family: Arial, sans-serif; font-size: 18px; line-height: .8; transition: transform .25s ease; }
.s-wb-float:hover .s-wb-cta-arrow { transform: translate(3px,-3px); }
.s-wb-handle { position: absolute; inset: 0 0 0 auto; width: 57px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: linear-gradient(152deg, #f5324b, #bf102b); color: white; border-left: 1px solid rgba(0,0,0,.08); }
.s-wb-handle::before { position: absolute; content: ''; inset: 0; background: radial-gradient(circle at 70% 10%,rgba(255,255,255,.2), transparent 65%); pointer-events:none; }
.s-wb-s { display: grid; place-items: center; width: 35px; height: 35px; border: 2px solid rgba(255,255,255,.94); border-radius: 6px; color: white; font-family: Arial,Helvetica,sans-serif; font-weight: 900; font-size: 26px; line-height: 1; transform: rotate(-3deg); }
.s-wb-handle-word { color: white; font-family: Arial,Helvetica,sans-serif; font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.s-wb-handle-arrow { color: white; font-size: 18px; height: 14px; line-height: .7; transition: transform .2s ease; }
.s-wb-is-compact { width: 57px; border-radius: 12px 5px 5px 12px; }
.s-wb-is-compact .s-wb-panel { opacity: 0; }
.s-wb-is-compact .s-wb-handle-arrow { animation: s-wb-peek 9s ease-in-out infinite; }
body.admin-bar .s-wb-wrap { top: calc(var(--s-wb-desktop-top, 105px) + 32px); }
@keyframes s-wb-arrival { from { opacity: 0; transform: translateX(34px) rotate(2deg); } to { opacity: 1; transform: translateX(0) rotate(0); } }
@keyframes s-wb-light { 0%, 13%, 100% { left:-45px; } 19%, 25% { left: 155px; } }
@keyframes s-wb-peek { 0%, 80%, 100% { transform: translateX(0); } 83%, 89% { transform: translateX(-4px); } 86%, 92% { transform: translateX(0); } }
@media (max-width: 680px), (hover:none) {
  .s-wb-wrap { top: var(--s-wb-mobile-top, 90px); right: max(8px, env(safe-area-inset-right, 0px)); }
  .s-wb-float, .s-wb-is-compact { width: 51px !important; height: 63px; border-radius: 11px 4px 4px 11px; }
  .s-wb-panel { opacity: 0 !important; }
  .s-wb-handle { width: 51px; gap: 3px; }
  .s-wb-s { height: 29px; width: 29px; font-size: 21px; }
  .s-wb-handle-word { font-size: 7px; letter-spacing: .8px; }
  .s-wb-handle-arrow { display: none; }
  body.admin-bar .s-wb-wrap { top: calc(var(--s-wb-mobile-top, 90px) + 46px); }
}
@media (prefers-reduced-motion: reduce) {
  .s-wb-float, .s-wb-panel, .s-wb-cta-arrow, .s-wb-handle-arrow, .s-wb-billboard::before { animation: none !important; transition: none !important; }
}
