/**
 * AC Cannabis Wissen — Helena Kampagnen-Popup Stylesheet.
 * 100% ARGE CANNA CI/CD-konform (Montserrat für Überschriften, Amiko für Fließtext,
 * CI-Grün #2E6741, 8px Button-Border-Radius, statisches freigestelltes Bild ohne Animation).
 */

.ac-helena-popup-wrapper {
	display: inline-block;
}

/* Auslöser-Button auf der Seite (CI-Grün, 8px Radius) */
.ac-helena-trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: var( --ac-accent, #2e6741 );
	color: #ffffff;
	border: none;
	padding: 12px 24px;
	border-radius: 50px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 0.92rem;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba( 46, 103, 65, 0.25 );
	transition: all 0.2s ease;
}

.ac-helena-trigger-btn:hover {
	background-color: #235233;
	transform: translateY( -2px );
	box-shadow: 0 6px 18px rgba( 46, 103, 65, 0.35 );
}

.ac-helena-trigger-btn i {
	font-size: 1.1rem;
}

/* Modal Backdrop */
.ac-helena-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba( 15, 23, 42, 0.7 );
	backdrop-filter: blur( 6px );
	-webkit-backdrop-filter: blur( 6px );
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ac-helena-backdrop.ac-helena-open {
	opacity: 1;
	visibility: visible;
}

/* Modal Card (16px Radius, CI-konform) */
.ac-helena-card {
	position: relative;
	width: 100%;
	max-width: 480px;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 20px 50px rgba( 0, 0, 0, 0.25 );
	padding: 0 30px 32px;
	margin-top: 65px; /* Platz für herausragendes Bild */
	box-sizing: border-box;
	transform: scale( 0.92 ) translateY( 20px );
	transition: transform 0.3s ease;
}

.ac-helena-backdrop.ac-helena-open .ac-helena-card {
	transform: scale( 1 ) translateY( 0 );
}

/* Close Button */
.ac-helena-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f1f5f9;
	border: none;
	color: #64748b;
	font-size: 1.5rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.2s ease;
}

.ac-helena-close:hover {
	background: var( --ac-accent, #2e6741 );
	color: #ffffff;
}

/* Freigestelltes Bild (Keine Animation!) */
.ac-helena-image-wrapper {
	position: relative;
	width: 100%;
	height: 180px;
	margin-top: -90px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	pointer-events: none;
}

.ac-helena-image-glow {
	position: absolute;
	width: 160px;
	height: 160px;
	background: radial-gradient( circle, rgba( 46, 103, 65, 0.2 ) 0%, rgba( 46, 103, 65, 0 ) 70% );
	border-radius: 50%;
	bottom: 0;
	z-index: 1;
}

.ac-helena-img {
	position: relative;
	z-index: 2;
	max-height: 220px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow( 0 10px 20px rgba( 0, 0, 0, 0.2 ) );
	animation: none !important; /* Statisches Bild, KEINE Animation */
}

/* Card Body */
.ac-helena-card-body {
	text-align: center;
	margin-top: 14px;
}

/* Eyebrow: Montserrat, uppercase, CI-Grün */
.ac-helena-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: var( --ac-accent, #2e6741 );
	font-family: 'Montserrat', sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 12px;
}

/* Title: Montserrat 700 */
.ac-helena-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.55rem;
	font-weight: 700;
	color: #303030;
	margin: 0 0 6px 0;
	line-height: 1.25;
}

/* Subtitle: Montserrat 600 */
.ac-helena-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.02rem;
	font-weight: 600;
	color: var( --ac-accent, #2e6741 );
	margin: 0 0 12px 0;
	line-height: 1.35;
}

/* Description Text: AMIKO (CI-konform!) */
.ac-helena-description {
	font-family: 'Amiko', sans-serif;
	font-size: 0.94rem;
	color: #444444;
	line-height: 1.6;
	margin: 0 0 22px 0;
}

/* Buttons Stack (8px Border Radius, CI-Grün) */
.ac-helena-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ac-helena-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 50px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

/* Primary CTA Button: ARGE CANNA Grün (#2E6741) */
.ac-helena-btn-primary {
	background-color: var( --ac-accent, #2e6741 );
	color: #ffffff !important;
	border: 1px solid var( --ac-accent, #2e6741 );
	box-shadow: 0 4px 12px rgba( 46, 103, 65, 0.25 );
}

.ac-helena-btn-primary:hover {
	background-color: #235233;
	border-color: #235233;
	color: #ffffff !important;
	transform: translateY( -1px );
}

/* Secondary Button: Kontur mit CI-Grün */
.ac-helena-btn-secondary {
	background-color: #f7f9fc;
	color: var( --ac-accent, #2e6741 ) !important;
	border: 1.5px solid var( --ac-accent, #2e6741 );
}

.ac-helena-btn-secondary:hover {
	background-color: var( --ac-accent, #2e6741 );
	color: #ffffff !important;
}

/* Mobile Responsive */
@media ( max-width: 520px ) {
	.ac-helena-card {
		padding: 0 20px 24px;
		margin-top: 55px;
	}

	.ac-helena-image-wrapper {
		height: 150px;
		margin-top: -75px;
	}

	.ac-helena-img {
		max-height: 185px;
	}

	.ac-helena-title {
		font-size: 1.35rem;
	}

	.ac-helena-subtitle {
		font-size: 0.94rem;
	}

	.ac-helena-description {
		font-size: 0.88rem;
		margin-bottom: 16px;
	}

	.ac-helena-btn {
		padding: 12px 18px;
		font-size: 0.88rem;
		border-radius: 50px;
	}
}
