/**
 * Sticky Kostenrechner-Button — "In 3 Schritten Kosten berechnen"
 *
 * Fixed full-width bar at the bottom (bottom:0), styled in the form of the
 * homepage CTA button (yellow, square corners, diagonal arrow ↗ on the right).
 * Shown on all viewports on Einblasdämmung pages, links to the Kostenrechner
 * anchor (#kostenrechner).
 *
 * @package einblasdaemmung-rechner
 * @since   2.2.0
 */

/* ── Container (fixed bottom, full width) ──────────────── */
.edr-sticky-btn-wrap {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	display: block;
	pointer-events: none;
}

/* ── Button (homepage form: gelb, eckig, Pfeil rechts) ── */
.edr-sticky-btn-wrap .edr-sticky-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 18px 56px;
	background: #fecf43;
	border: none;
	border-radius: 0;
	color: #141414;
	font-family: 'PT Sans', system-ui, sans-serif;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 -4px 16px rgba(20, 23, 28, 0.18);
	transition: background 0.15s ease;
}

.edr-sticky-btn-wrap .edr-sticky-btn:hover,
.edr-sticky-btn-wrap .edr-sticky-btn:focus {
	background: #f3c01f;
}

/* Diagonaler Pfeil ↗ am rechten Rand (wie Startseiten-Button) */
.edr-sticky-btn-wrap .edr-sticky-btn .edr-sticky-arrow {
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.edr-sticky-btn-wrap .edr-sticky-btn:hover .edr-sticky-arrow {
	transform: translateY(-50%) translate(3px, -3px);
}

/* Platzhalter, damit der fixe Button den unteren Content nicht überdeckt */
.edr-sticky-btn-spacer {
	display: block;
	height: 64px;
}
