/* ==========================================================================
   "Wat ik doe" — drie pijlers
   Visueel anders dan "Voor wie": donkere achtergrond, sterke contrasten,
   lijstjes in plaats van prozakaarten.
   ========================================================================== */

.watikdoe {
	background-color: var(--ms-blue);
	color: var(--ms-sand);
	border-radius: var(--ms-radius-lg);
	margin-top: 32px;
	position: relative;
	overflow: hidden;
}

/* Subtiele hoogtekaart als textuur */
.watikdoe__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: var(--ms-radius-lg);
	pointer-events: none;
}
.watikdoe__bg img {
	width: 110%;
	height: 110%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	mix-blend-mode: screen;
	opacity: 0.05;
	transform: scale(1.1);
	will-change: transform;
	transition: transform 0.1s ease-out;
}

.watikdoe > .layout-container { position: relative; z-index: 1; }

.watikdoe .eyebrow { color: rgba(252, 249, 240, 0.7); }
.watikdoe .eyebrow::before { color: var(--ms-orange); }

.watikdoe .section-title { color: var(--ms-sand); }
.watikdoe .section-intro {
	color: rgba(252, 249, 240, 0.85);
}

.watikdoe__pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
	margin-top: 30px;
}

.pillar {
	position: relative;
}

.pillar__title {
	font-family: var(--ms-font-display);
	font-size: 36px;
	line-height: 1.1;
	color: var(--ms-sand);
	margin: 0 0 25px;
	padding-bottom: 25px;
	border-bottom: 1px solid rgba(252, 249, 240, 0.2);
}

.pillar__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pillar__list li {
	font-size: 17px;
	line-height: 1.5;
	color: rgba(252, 249, 240, 0.85);
	padding: 14px 0 14px 28px;
	border-bottom: 1px dashed rgba(252, 249, 240, 0.15);
	position: relative;
}

.pillar__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	width: 14px;
	height: 1px;
	background-color: var(--ms-orange);
}

.pillar__list li:last-child {
	border-bottom: 0;
}

.pillar__caption {
	margin-top: 25px;
	font-style: italic;
	font-size: 15px;
	color: rgba(252, 249, 240, 0.6);
	line-height: 1.5;
}

/* ==========================================================================
   Accordion (basis) — alleen actief op mobiel
   Op desktop gedraagt de toggle-knop zich als een gewone container.
   ========================================================================== */

.pillar__toggle {
	display: block;
	width: 100%;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	text-align: left;
	color: inherit;
	font-family: inherit;
	cursor: default;
}
.pillar__toggle:focus {
	outline: none;
}
.pillar__toggle__icon {
	display: none; /* Verborgen op desktop */
}
.pillar__content {
	/* Op desktop: geen accordion-collapse */
	overflow: visible;
}
.pillar__content__inner {
	display: contents;
}

/* ==========================================================================
   Mobiel — accordion
   ========================================================================== */

@media (max-width: 900px) {
	.watikdoe__pillars {
		grid-template-columns: 1fr;
		gap: 0;
		padding-top: 30px;
	}

	.pillar {
		border-bottom: 1px solid rgba(252, 249, 240, 0.18);
	}
	.pillar:first-child {
		border-top: 1px solid rgba(252, 249, 240, 0.18);
	}

	/* Hele header wordt knop */
	.pillar__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		background: none;
		border: 0;
		padding: 22px 0;
		cursor: pointer;
		font-family: inherit;
		color: var(--ms-sand);
		text-align: left;
	}

	.pillar__title {
		font-size: 24px;
		margin: 0;
		padding: 0;
		border-bottom: 0;
		color: var(--ms-sand);
		flex: 1;
	}

	/* Chevron icoon */
	.pillar__toggle__icon {
		display: block;
		width: 18px;
		height: 18px;
		flex-shrink: 0;
		margin-left: 15px;
		transition: transform 0.3s ease;
		color: var(--ms-sand);
	}
	.pillar__toggle__icon svg {
		width: 100%;
		height: 100%;
		display: block;
	}
	.pillar__toggle__icon svg path {
		stroke: currentColor;
		fill: none;
	}

	/* Inhoud (lijst + caption) verbergen tot open */
	.pillar__content {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease;
	}
	.pillar__content__inner {
		display: block;
		padding-bottom: 22px;
	}

	/* Open staat */
	.pillar.is-open .pillar__toggle__icon {
		transform: rotate(180deg);
	}
	.pillar.is-open .pillar__content {
		max-height: 600px;
	}

	/* Compactere lijst op mobiel */
	.pillar__list li {
		font-size: 15px;
		padding: 5px 0 5px 20px;
		border-bottom: 0;
		line-height: 1.4;
	}
	.pillar__list li::before {
		top: 14px;
		width: 10px;
	}

	.pillar__caption {
		margin-top: 15px;
		font-size: 14px;
	}
}
