/*
 * AC Call to Action — full-bleed image band for "Mitglied werden" / "Spenden". Designed
 * to sit edge-to-edge inside an Elementor full-width Section/Container; this file only
 * ever constrains the *content*, never the outer .ac-cta itself.
 */

.ac-cta {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 100px 24px;
	text-align: center;
	isolation: isolate;
}

.ac-cta--no-image {
	background: linear-gradient( 135deg, var( --ac-accent, #2e6741 ), #1c3d29 );
}

.ac-cta-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.ac-cta-overlay {
	position: absolute;
	inset: 0;
	background-color: #1c2421;
	opacity: 0.55;
	z-index: 1;
	pointer-events: none;
}

.ac-cta-content {
	position: relative;
	z-index: 2;
	max-width: 680px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
}

.ac-cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	margin-bottom: 20px;
	filter: drop-shadow( 0 2px 6px rgba( 0, 0, 0, 0.25 ) );
}

.ac-cta-icon svg,
.ac-cta-icon i {
	display: block;
	width: 56px;
	height: 56px;
	font-size: 56px;
	fill: currentColor;
}

.ac-cta-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: clamp( 1.75rem, 4vw, 2.75rem );
	line-height: 1.2;
	color: #fff;
	margin: 0 0 16px;
	text-wrap: balance;
}

.ac-cta-description {
	font-family: 'Amiko', sans-serif;
	font-size: 1.1rem;
	line-height: 1.65;
	color: #fff;
	opacity: 0.92;
	margin: 0 0 32px;
}

/* Basis + alle Link-States gepinnt — Kit-Regeln für a/a:hover/:visited (inkl.
   des pinken Theme-Defaults) dürfen den Button nie umfärben. */
.ac-cta-button,
.ac-cta-button:link,
.ac-cta-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 40px;
	background-color: #2e6741 !important;
	color: #fff !important;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	border-radius: 100px;
	box-shadow: 0 10px 30px rgba( 0, 0, 0, 0.25 );
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ac-cta-button:hover,
.ac-cta-button:focus,
.ac-cta-button:active {
	background-color: #fff !important;
	color: #2e6741 !important;
	transform: translateY( -3px );
	box-shadow: 0 14px 36px rgba( 0, 0, 0, 0.3 );
}

@media ( max-width: 768px ) {
	.ac-cta {
		padding: 64px 20px;
	}

	.ac-cta-icon svg,
	.ac-cta-icon i {
		width: 44px;
		height: 44px;
		font-size: 44px;
	}

	.ac-cta-description {
		font-size: 1rem;
	}

	.ac-cta-button {
		width: 100%;
		padding: 15px 24px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.ac-cta-button {
		transition: none;
	}
}
