/*
 * Rechtsbeistand-Widget — Hero, Einleitung mit Hinweisbox, Video, Unterstützung mit
 * Leistungs-Karten und Angebots-Karten. Die Buttons kommen aus ac-buttons.css, der
 * Abschluss-CTA ist ein eigenes Widget (ac-cta-card.css).
 *
 * Der redaktionelle HTML-Entwurf brachte eigene Tokens mit (Inter/Georgia, ein
 * abweichendes Grün, Papier-Beige, 34px-Radien). Übernommen wurde daraus die
 * Struktur; die Gestaltung folgt hier konsequent den Plugin-Konventionen:
 * Montserrat-Überschriften (800), Amiko-Fließtext, Akzentgrün über --ac-accent,
 * 10/20/28px-Radien, die etablierten Karten- und Schattenwerte.
 */

.ac-la {
	font-family: 'Amiko', sans-serif;
	color: #333;
}

.ac-la section + section {
	margin-top: 70px;
}

/* Gemeinsame Bausteine */

.ac-la-kicker {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var( --ac-accent, #2e6741 );
	margin: 0 0 14px;
}

.ac-la-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp( 1.6rem, 3.4vw, 2.4rem );
	font-weight: 800;
	line-height: 1.15;
	color: #111;
	margin: 0 0 20px;
}

.ac-la-copy {
	font-size: 1rem;
	line-height: 1.8;
	color: #555;
}

.ac-la-copy p {
	margin: 0 0 18px;
}

.ac-la-copy p:last-child {
	margin-bottom: 0;
}

.ac-la-copy strong {
	color: #111;
	font-weight: 700;
}

/* Hero */

.ac-la-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 620px;
	padding: 90px 40px 60px;
	border-radius: 28px;
	overflow: hidden;
	box-sizing: border-box;
	color: #fff;
	/* Verlauf + Bild in einer Eigenschaft: Das Bild kommt als Custom Property aus dem
	   PHP, damit es im Editor austauschbar bleibt, ohne eine zweite Regel zu brauchen. */
	background-image:
		linear-gradient( 90deg, rgba( 12, 30, 24, 0.92 ) 0%, rgba( 12, 30, 24, 0.72 ) 48%, rgba( 12, 30, 24, 0.28 ) 100% ),
		var( --ac-la-hero-image, linear-gradient( 135deg, #1c4430, #2e6741 ) );
	background-size: cover, cover;
	background-position: center, center 36%;
	background-repeat: no-repeat, no-repeat;
}

.ac-la-hero-inner {
	position: relative;
	max-width: 720px;
}

.ac-la-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 20px;
	padding: 9px 16px;
	border: 1px solid rgba( 255, 255, 255, 0.4 );
	border-radius: 50px;
	background-color: rgba( 255, 255, 255, 0.12 );
	font-family: 'Montserrat', sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.ac-la-hero-eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #76d5a8;
	box-shadow: 0 0 0 4px rgba( 118, 213, 168, 0.22 );
}

.ac-la-hero-title {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp( 2.2rem, 5.5vw, 3.6rem );
	font-weight: 800;
	line-height: 1.08;
	color: #fff;
	margin: 0 0 20px;
}

.ac-la-hero-lead {
	font-size: clamp( 1rem, 1.6vw, 1.15rem );
	line-height: 1.65;
	color: rgba( 255, 255, 255, 0.9 );
	margin: 0;
	max-width: 620px;
}

/* Einleitung + Hinweisbox */

.ac-la-intro-grid {
	display: grid;
	grid-template-columns: minmax( 0, 0.85fr ) minmax( 0, 1.15fr );
	gap: clamp( 30px, 5vw, 70px );
	align-items: start;
}

.ac-la-notice {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 28px;
	padding: 22px 24px;
	background-color: #f7f9fc;
	border: 1px solid #e4eae2;
	border-radius: 10px;
}

.ac-la-notice-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background-color: #e8f0ec;
	color: var( --ac-accent, #2e6741 );
}

.ac-la-notice-icon i,
.ac-la-notice-icon svg {
	font-size: 20px;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.ac-la-notice-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #111;
	margin: 2px 0 6px;
}

.ac-la-notice-text {
	font-size: 0.9rem;
	line-height: 1.65;
	color: #555;
	margin: 0;
}

/* Video */

.ac-la-video-card {
	padding: clamp( 18px, 2.5vw, 28px );
	border-radius: 28px;
	background-color: #10251f;
	box-shadow: 0 20px 50px rgba( 0, 0, 0, 0.16 );
}

.ac-la-video-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 28px;
	padding: 8px 6px 24px;
}

.ac-la-video-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp( 1.4rem, 3vw, 2.1rem );
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	margin: 0;
	max-width: 620px;
}

.ac-la-video-text {
	max-width: 340px;
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: rgba( 255, 255, 255, 0.72 );
}

.ac-la-video-frame {
	overflow: hidden;
	border-radius: 20px;
	background-color: #050908;
	aspect-ratio: 16 / 9;
}

.ac-la-video-frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Unterstützung */

.ac-la-support-grid {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 320px, 0.8fr );
	gap: clamp( 34px, 6vw, 80px );
	align-items: center;
}

.ac-la-benefits {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.ac-la-benefit {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 22px;
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 20px;
	box-shadow: 0 4px 15px rgba( 0, 0, 0, 0.05 );
}

.ac-la-benefit-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	border-radius: 16px;
	background-color: #e8f0ec;
	color: var( --ac-accent, #2e6741 );
}

.ac-la-benefit-icon i,
.ac-la-benefit-icon svg {
	font-size: 21px;
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.ac-la-benefit-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #111;
	margin: 3px 0 5px;
}

.ac-la-benefit-text {
	font-size: 0.88rem;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

/* Angebote */

.ac-la-resources-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 28px;
	margin-bottom: 34px;
}

.ac-la-resources-head .ac-la-heading {
	margin-bottom: 0;
	max-width: 620px;
}

.ac-la-resources-text {
	max-width: 370px;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #555;
}

.ac-la-resource-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 20px;
}

.ac-la-resource {
	display: flex;
	flex-direction: column;
	min-height: 280px;
	padding: 28px;
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 20px;
	box-shadow: 0 4px 15px rgba( 0, 0, 0, 0.05 );
	text-decoration: none !important;
	transition: transform 0.3s, box-shadow 0.3s;
}

.ac-la-resource:hover,
.ac-la-resource:focus {
	transform: translateY( -5px );
	box-shadow: 0 14px 34px rgba( 0, 0, 0, 0.1 );
}

.ac-la-resource-number {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 1.5px;
	color: var( --ac-accent, #2e6741 );
	margin-bottom: auto;
}

.ac-la-resource-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	color: #111;
	margin: 34px 0 10px;
}

.ac-la-resource-text {
	font-size: 0.92rem;
	line-height: 1.6;
	color: #555;
	margin: 0 0 20px;
}

.ac-la-resource-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	color: var( --ac-accent, #2e6741 );
}

.ac-la-resource-link i {
	font-size: 15px;
	line-height: 1;
	transition: transform 0.3s;
}

.ac-la-resource:hover .ac-la-resource-link i {
	transform: translateX( 4px );
}

@media ( max-width: 960px ) {
	.ac-la-intro-grid,
	.ac-la-support-grid {
		grid-template-columns: 1fr;
	}

	.ac-la-video-head,
	.ac-la-resources-head {
		display: block;
	}

	.ac-la-video-text,
	.ac-la-resources-text {
		margin-top: 16px;
		max-width: none;
	}

	.ac-la-resources-head .ac-la-heading {
		margin-bottom: 0;
	}

	.ac-la-resource-grid {
		grid-template-columns: 1fr;
	}

	.ac-la-resource {
		min-height: 0;
	}

	.ac-la-resource-title {
		margin-top: 22px;
	}

}

@media ( max-width: 600px ) {
	.ac-la section + section {
		margin-top: 50px;
	}

	.ac-la-hero {
		min-height: 540px;
		padding: 70px 24px 44px;
		border-radius: 20px;
		background-position: center, 58% center;
	}


	.ac-la-video-card {
		border-radius: 20px;
	}

	.ac-la-video-frame {
		border-radius: 14px;
	}

	.ac-la-benefit {
		padding: 18px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.ac-la-resource,
	.ac-la-resource-link i {
		transition: none !important;
	}

	.ac-la-resource:hover {
		transform: none !important;
	}
}
