/*--------------------------------------------------------------
# Noodgevallen (Emergency) Section — Page-Specific Styles
#
# Conditionally loaded on page-noodgevallen.php (hub) and
# page-dienst-noodgeval.php (sub-service) templates.
--------------------------------------------------------------*/

/* ==========================================================================
   Emergency Hero
   ========================================================================== */

.noodgevallen-hero {
	background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
	color: var(--color-text-inverse);
	padding: var(--space-10) 0 var(--space-8);
	position: relative;
	overflow: hidden;
}

.noodgevallen-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(255, 90, 9, 0.15) 0%, transparent 70%);
	border-radius: var(--radius-full);
	pointer-events: none;
}

.noodgevallen-hero .hero-city__breadcrumb {
	margin-bottom: var(--space-5);
}

.noodgevallen-hero .hero-city__breadcrumb a,
.noodgevallen-hero .hero-city__breadcrumb .separator {
	color: rgba(255, 255, 255, 0.7);
}

.noodgevallen-hero .hero-city__breadcrumb a:hover {
	color: var(--color-accent);
}

.noodgevallen-hero .hero-city__breadcrumb .current {
	color: var(--color-text-inverse);
}

.noodgevallen-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	background-color: var(--color-emergency);
	color: var(--color-text-inverse);
	padding: var(--space-2) var(--space-5);
	border-radius: var(--radius-full);
	font-family: var(--font-heading);
	font-weight: var(--weight-bold);
	font-size: var(--text-sm);
	letter-spacing: var(--tracking-caps);
	margin-bottom: var(--space-5);
}

.noodgevallen-hero__title {
	font-family: var(--font-heading);
	font-weight: var(--weight-bold);
	font-size: var(--text-4xl);
	line-height: var(--leading-tight);
	margin-bottom: var(--space-3);
	color: var(--color-text-inverse);
}

.noodgevallen-hero__subtitle {
	font-size: var(--text-xl);
	opacity: 0.9;
	margin-bottom: var(--space-6);
	max-width: 700px;
	line-height: var(--leading-relaxed);
	color: var(--color-text-inverse);
}

.noodgevallen-hero__ctas {
	display: flex;
	gap: var(--space-4);
	flex-wrap: wrap;
	margin-bottom: var(--space-5);
}

.noodgevallen-hero__insurance {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	opacity: 0.8;
}

.noodgevallen-hero__insurance i {
	color: var(--color-accent);
}

/* Emergency phone button variant */
.btn-phone--emergency {
	background-color: var(--color-emergency);
	color: var(--color-text-inverse);
	border: none;
}

.btn-phone--emergency:hover {
	background-color: var(--color-emergency-dark);
	color: var(--color-text-inverse);
	transform: scale(1.03);
}

/* Dienst variant — slightly smaller hero */
.noodgevallen-hero--dienst {
	padding: var(--space-8) 0 var(--space-6);
}

.noodgevallen-hero--dienst .noodgevallen-hero__title {
	font-size: var(--text-3xl);
}

/* ==========================================================================
   Emergency Service Cards (Hub Page)
   ========================================================================== */

.noodgeval-card {
	display: flex;
	flex-direction: column;
	background-color: var(--color-bg);
	border: var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-6);
	height: 100%;
	text-decoration: none;
	color: inherit;
	transition: all var(--transition-base);
	position: relative;
	overflow: hidden;
}

.noodgeval-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--color-emergency), var(--color-accent));
	transform: scaleX(0);
	transition: transform var(--transition-base);
}

.noodgeval-card:hover {
	border-color: transparent;
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
	color: inherit;
	text-decoration: none;
}

.noodgeval-card:hover::after {
	transform: scaleX(1);
}

.noodgeval-card__icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-primary);
	color: var(--color-emergency);
	border-radius: var(--radius-lg);
	font-size: var(--text-2xl);
	margin-bottom: var(--space-4);
	transition: all var(--transition-fast);
}

.noodgeval-card:hover .noodgeval-card__icon {
	background-color: var(--color-emergency);
	color: var(--color-text-inverse);
	border-radius: var(--radius-full);
}

.noodgeval-card__title {
	font-family: var(--font-heading);
	font-weight: var(--weight-bold);
	font-size: var(--text-xl);
	color: var(--color-primary);
	margin-bottom: var(--space-3);
}

.noodgeval-card__desc {
	font-size: var(--text-base);
	color: var(--color-text-light);
	line-height: var(--leading-relaxed);
	margin-bottom: var(--space-4);
	flex-grow: 1;
}

.noodgeval-card__link {
	display: inline-flex;
	align-items: center;
	color: var(--color-emergency);
	font-weight: var(--weight-bold);
	font-size: var(--text-sm);
	margin-top: auto;
	transition: color var(--transition-fast);
}

.noodgeval-card:hover .noodgeval-card__link {
	color: var(--color-emergency-dark);
}

/* ==========================================================================
   3-Step Process (reuses spoed.css pattern)
   ========================================================================== */

.noodgevallen-process {
	background-color: var(--color-bg-alt);
}

.noodgevallen-process .process-step__number {
	background-color: var(--color-primary);
	color: var(--color-emergency);
}

/* Compact process steps (for sub-service pages) */
.process-step--compact {
	padding: var(--space-4);
	background-color: var(--color-bg-alt);
	border-radius: var(--radius-lg);
	height: 100%;
}

.process-step--compact .process-step__number {
	width: 48px;
	height: 48px;
	font-size: var(--text-xl);
	margin: 0 auto var(--space-3);
}

.process-step--compact .process-step__title {
	font-size: var(--text-lg);
	margin-bottom: var(--space-1);
}

.process-step--compact .process-step__desc {
	font-size: var(--text-sm);
}

/* ==========================================================================
   Sub-Service Page — Content Area
   ========================================================================== */

/* Intro */
.noodgeval-intro p {
	font-size: var(--text-md);
	line-height: var(--leading-relaxed);
	color: var(--color-text);
}

/* Wat Doen Wij list */
.noodgeval-wat-doen h2 {
	font-family: var(--font-heading);
	font-weight: var(--weight-bold);
	font-size: var(--text-xl);
	color: var(--color-primary);
	margin-bottom: var(--space-4);
}

.noodgeval-wat-doen__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.noodgeval-wat-doen__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	padding: var(--space-3) 0;
	border-bottom: 1px solid var(--color-border-light);
	font-size: var(--text-base);
	line-height: var(--leading-relaxed);
	color: var(--color-text);
}

.noodgeval-wat-doen__list li:last-child {
	border-bottom: none;
}

.noodgeval-wat-doen__list li i {
	color: var(--color-success);
	font-size: var(--text-lg);
	margin-top: 2px;
	flex-shrink: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767.98px) {
	.noodgevallen-hero {
		padding: var(--space-8) 0 var(--space-6);
	}

	.noodgevallen-hero__title {
		font-size: var(--text-2xl);
	}

	.noodgevallen-hero__subtitle {
		font-size: var(--text-lg);
	}

	.noodgevallen-hero--dienst .noodgevallen-hero__title {
		font-size: var(--text-2xl);
	}

	.noodgevallen-hero__ctas {
		flex-direction: column;
	}

	.noodgeval-card {
		padding: var(--space-5);
	}

	.noodgeval-card__icon {
		width: 52px;
		height: 52px;
		font-size: var(--text-xl);
	}

	.noodgeval-card__title {
		font-size: var(--text-lg);
	}
}
