/* WH-STICKY-CTA START · ungewollteschwangerschaft.at · 24.11.2026 · Floating-CTA (ersetzt #goto-form2017/#goto-tel/#goto-sms)
   Quelle: whtypo3dce/import/100_abtreibung_sticky/ungewollte/ – eigene Datei /css/wh-sticky.css, von allen Seiten eingebunden */
#goto-form2017, #goto-tel, #goto-sms { display:none !important; }

.wh-sticky {
	position:fixed;
	left:0;
	right:0;
	bottom:calc(16px + env(safe-area-inset-bottom, 0px) + var(--wh-sticky-lift, 0px));
	padding:0 16px;
	z-index:900;                       /* unter Header/Menü (1000), WhatsApp (1200), Popups und Cookie-Banner */
	text-align:center;
	pointer-events:none;
	transform:translateY(calc(100% + 40px));
	opacity:0;
	transition:transform .5s cubic-bezier(.2,.8,.2,1), opacity .3s ease, bottom .3s ease;
	font-family:"HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif;
	-webkit-font-smoothing:antialiased;
}
.wh-sticky.is-visible { transform:none; opacity:1; }

.wh-sticky__inner {
	display:inline-flex;
	flex-direction:column;
	align-items:center;
	gap:8px;
	max-width:100%;
	pointer-events:auto;
}
.wh-sticky__row {
	display:flex;
	align-items:stretch;
	justify-content:center;
	gap:10px;
	width:100%;
}
.wh-sticky a {
	position:relative;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:10px;
	min-height:58px;
	padding:0 30px;
	box-sizing:border-box;
	border-radius:999px;
	font-size:17px;
	line-height:1.1;
	font-weight:700;
	letter-spacing:.2px;
	text-decoration:none;
	white-space:nowrap;
	box-shadow:0 10px 28px rgba(35,40,85,.28);
	transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wh-sticky a:hover, .wh-sticky a:focus-visible { transform:translateY(-2px); box-shadow:0 14px 32px rgba(35,40,85,.34); }
.wh-sticky a:focus-visible { outline:3px solid #222224; outline-offset:3px; }
.wh-sticky svg { width:20px; height:20px; flex-shrink:0; }

/* Selektoren mit a…:link, damit alte Seiten-Styles (style.css: a:link {color:#996D42}) nicht gewinnen */
.wh-sticky a.wh-sticky__book, .wh-sticky a.wh-sticky__book:link, .wh-sticky a.wh-sticky__book:visited { background:#5f69ad; color:#fff; }
.wh-sticky a.wh-sticky__book:hover, .wh-sticky a.wh-sticky__book:focus-visible { background:#4d5799; color:#fff; }
.wh-sticky__book::after {           /* sanfter Puls-Ring, alle 6 s */
	content:"";
	position:absolute;
	inset:-4px;
	border-radius:inherit;
	border:2px solid #868fc5;
	opacity:0;
	pointer-events:none;
	animation:whStickyPuls 6s ease-out 2s infinite;
}
@keyframes whStickyPuls {
	0%   { opacity:.7; transform:scale(1); }
	18%  { opacity:0;  transform:scale(1.12); }
	100% { opacity:0;  transform:scale(1.12); }
}

.wh-sticky a.wh-sticky__phone, .wh-sticky a.wh-sticky__phone:link, .wh-sticky a.wh-sticky__phone:visited { background:#fff; color:#222224; border:1px solid rgba(134,143,197,.5); }
.wh-sticky__phone svg { color:#5f69ad; }
.wh-sticky a.wh-sticky__phone:hover { color:#222224; }
.wh-sticky a:link, .wh-sticky a:visited, .wh-sticky a:hover, .wh-sticky a:active { text-decoration:none; }
.wh-sticky__lang, .wh-sticky__lang-k { display:none; }

.wh-sticky__copy strong {
	display:inline-block;
	font-size:13px;
	line-height:1.3;
	font-weight:600;
	color:#222224;
	background:rgba(255,255,255,.92);
	padding:4px 14px;
	border-radius:999px;
	box-shadow:0 2px 10px rgba(0,0,0,.1);
	-webkit-backdrop-filter:blur(6px);
	backdrop-filter:blur(6px);
}

body.has-wh-sticky { padding-bottom:120px; }

@media (max-width:1099px) {
	body.has-wh-sticky .oh-whatsapp { bottom:calc(118px + var(--wh-sticky-lift, 0px)); }
}

/* Mobil: schmaler Anruf-Knopf, breiter Buchungs-Knopf, Hinweis klein darunter */
@media (max-width:599px) {
	.wh-sticky { padding:0 10px; bottom:calc(10px + env(safe-area-inset-bottom, 0px) + var(--wh-sticky-lift, 0px)); }
	.wh-sticky__inner { width:100%; gap:6px; }
	.wh-sticky__row { gap:8px; }
	.wh-sticky a { min-height:54px; padding:0 16px; font-size:15px; gap:8px; }
	.wh-sticky__phone { flex:0 0 auto; }
	.wh-sticky__book { flex:1 1 auto; min-width:0; }
	.wh-sticky__book span { overflow:hidden; text-overflow:ellipsis; }
	.wh-sticky__nr { display:none; }
	.wh-sticky__lang { display:inline; }
	.wh-sticky__copy strong { font-size:11.5px; padding:3px 10px; }
	body.has-wh-sticky { padding-bottom:104px; }
	body.has-wh-sticky .oh-whatsapp { bottom:calc(104px + var(--wh-sticky-lift, 0px)); }
}

/* Sehr schmal: kurze Buchungs-Beschriftung („Termin buchen“) */
@media (max-width:419px) {
	.wh-sticky__lang-l { display:none; }
	.wh-sticky__lang-k { display:inline; }
}

@media (prefers-reduced-motion:reduce) {
	.wh-sticky { transition:none; }
	.wh-sticky__book::after { animation:none; }
}

@media print {
	.wh-sticky { display:none; }
}
/* WH-STICKY-CTA END */
