/* Container (wenn mehrere CTAs vorhanden sind) */
.wp-sticky-cta-stack{
  position: fixed;
  right: 0;
  bottom: 15%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none; /* Buttons re-enable */
  z-index: 100002;
}

/* Single CTA */
.wp-sticky-cta{
  position: relative;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
  pointer-events: none;
}

.wp-sticky-cta.is-visible{
  transform: translateX(0);
  opacity: 1;
}

/* CTA Button */
.wp-sticky-cta-button{
  pointer-events: auto;
  display: inline-block;
  background: #009ddc;
  color: #fff;
  padding: 15px 20px;
  border-radius: 30px 0 0 30px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align:center;
  line-height:1.15;
  transition:0.5s padding-right ease;
  position:relative;
}

@media screen and (min-width:700px){
	.wp-sticky-cta-button{
  		font-size:24px;
	}
}

.wp-sticky-cta-button:hover{
	color:#fff;
	text-decoration: none;
	padding-right:25px;
}

/* Label/X toggling */
.wp-sticky-cta-btn-x{
  display: none;
  font-size: 20px;
  line-height: 1;
}

.wp-sticky-cta.is-open .wp-sticky-cta-btn-label{
  display: none;
}
.wp-sticky-cta.is-open .wp-sticky-cta-btn-x{
  display: inline;
}

/* Overlay (screen dim) */
.wp-sticky-cta-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.1);
  z-index: 100000;
}

.wp-sticky-cta-overlay[hidden]{
  display: none;
}

/* Offcanvas */
.wp-sticky-cta-offcanvas{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 92vw);
  background: #fff;
  color: inherit;
  z-index: 100001;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
}
.wp-sticky-cta-offcanvas[hidden]{ display:none; }
.wp-sticky-cta-offcanvas.is-open{ transform: translateX(0); }

.wp-sticky-cta-offcanvas__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px 10px;
}

.wp-sticky-cta-offcanvas__content{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:14px;
  padding-bottom:20vh;
  overflow:auto;
}

.wp-sticky-cta-offcanvas__title{ font-weight:600; }
.wp-sticky-cta-offcanvas__close{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:50px;
  line-height:1;
  padding:6px 10px;
}