/**
 * tm-page-referenties.css — styling voor /referenties/.
 *
 * Layout: hero → hinge → lede → score-strip → sectie 1 (masonry)
 *         → sectie 2 (learn-grid) → CTA → methodologie.
 */

/* ============================================================
   Container — homepage-gutter-pattern (max 1264px, clamp 16-32)
   ============================================================ */
.tm-referenties .score-strip,
.tm-referenties .reviews-section,
.tm-referenties .cta-strip,
.tm-referenties .method-strip {
	max-width: 1264px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 2vw, 32px);
	padding-right: clamp(16px, 2vw, 32px);
}

.tm-referenties .tm-page-lede {
	max-width: 640px;
	margin: 0 auto 48px;
	padding: 0 24px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--tm-ink-soft);
	text-align: center;
}

/* ============================================================
   Sterren met half-step support
   ============================================================ */
.tm-referenties .stars {
	display: inline-flex;
	gap: 2px;
	font-size: 16px;
	letter-spacing: 1px;
	line-height: 1;
}
.tm-referenties .star {
	color: rgba(255, 138, 31, 0.25);
	position: relative;
	display: inline-block;
}
.tm-referenties .star--full {
	color: var(--tm-orange);
}
.tm-referenties .star--empty {
	color: rgba(255, 138, 31, 0.25);
}
.tm-referenties .star--half {
	color: rgba(255, 138, 31, 0.25);
}
.tm-referenties .star--half::before {
	content: "★";
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: var(--tm-orange);
}

/* ============================================================
   Score-strip
   ============================================================ */
.tm-referenties .score-strip {
	margin-bottom: 56px;
}
.tm-referenties .score-strip__inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1.2fr 1.2fr;
	gap: 0;
	border: 1px solid var(--tm-line);
	border-radius: 16px;
	background: white;
	overflow: hidden;
}
.tm-referenties .score-cell {
	padding: 22px 26px;
	border-right: 1px solid var(--tm-line);
}
.tm-referenties .score-cell:last-child {
	border-right: 0;
}
.tm-referenties .score-cell__label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tm-ink-mute);
	margin-bottom: 6px;
}
.tm-referenties .score-cell__value {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--tm-ink);
	line-height: 1.05;
	font-variant-numeric: tabular-nums;
}
.tm-referenties .score-cell__sub {
	font-size: 12px;
	color: var(--tm-ink-soft);
	margin-top: 4px;
}
.tm-referenties .score-cell--lead .stars {
	font-size: 22px;
}
@media (max-width: 720px) {
	.tm-referenties .score-strip__inner {
		grid-template-columns: 1fr 1fr;
	}
	.tm-referenties .score-cell {
		border-right: 1px solid var(--tm-line);
		border-bottom: 1px solid var(--tm-line);
	}
	.tm-referenties .score-cell:nth-child(2n) {
		border-right: 0;
	}
	.tm-referenties .score-cell:nth-last-child(-n+2) {
		border-bottom: 0;
	}
}

/* ============================================================
   Sectie-headers (gedeeld door sectie 1 en 2)
   ============================================================ */
.tm-referenties .reviews-section {
	margin-bottom: 64px;
}
.tm-referenties .reviews-section__head {
	margin-bottom: 24px;
}
.tm-referenties .reviews-section__title {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--tm-ink);
	margin: 0 0 6px;
}
.tm-referenties .reviews-section__sub {
	font-size: 14px;
	color: var(--tm-ink-soft);
	margin: 0;
}

/* ============================================================
   Sectie 1 — Masonry
   ============================================================ */
.tm-referenties .reviews {
	column-count: 3;
	column-gap: 22px;
}
@media (max-width: 1023px) {
	.tm-referenties .reviews {
		column-count: 2;
	}
}
@media (max-width: 640px) {
	.tm-referenties .reviews {
		column-count: 1;
	}
}

.tm-referenties .review {
	break-inside: avoid;
	background: white;
	border: 1px solid var(--tm-line);
	border-radius: 16px;
	padding: 22px;
	margin-bottom: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tm-referenties .review:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(30, 27, 75, 0.06);
	border-color: #d8d4e8;
}

.tm-referenties .review--featured {
	background: var(--tm-ink);
	border-color: var(--tm-ink);
	color: white;
}
.tm-referenties .review--featured .review__training {
	color: white;
}
.tm-referenties .review--featured .review__location {
	color: rgba(255, 255, 255, 0.55);
}
.tm-referenties .review--featured .review__quote {
	color: white;
}
.tm-referenties .review--featured .review__sep {
	background: rgba(255, 255, 255, 0.15);
}
.tm-referenties .review--featured .review__foot {
	color: rgba(255, 255, 255, 0.5);
}

.tm-referenties .review--orange {
	background: var(--tm-orange-soft);
	border-color: #fcd9a8;
}

.tm-referenties .review__head {
	font-size: 14px;
	line-height: 1.4;
}
.tm-referenties .review__training {
	font-weight: 800;
	color: var(--tm-ink);
	letter-spacing: -0.005em;
}
.tm-referenties .review__dot {
	display: inline-block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--tm-ink-mute);
	opacity: 0.6;
	vertical-align: middle;
	margin: 0 8px;
	position: relative;
	top: -2px;
}
.tm-referenties .review__location {
	color: var(--tm-ink-mute);
	font-weight: 600;
	white-space: nowrap;
}
.tm-referenties .review__quote {
	font-size: 15px;
	line-height: 1.55;
	color: var(--tm-ink);
	margin: 0;
	text-wrap: pretty;
}
.tm-referenties .review__quote::before { content: "\201C"; }
.tm-referenties .review__quote::after  { content: "\201D"; }
.tm-referenties .review__sep {
	height: 1px;
	background: var(--tm-line);
	margin: 4px -22px 0;
}
.tm-referenties .review__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tm-ink-mute);
}

.tm-referenties .review--xl .review__quote {
	font-size: 22px;
	line-height: 1.35;
	font-weight: 600;
	letter-spacing: -0.005em;
}
.tm-referenties .review--xl .review__head .review__training {
	font-size: 16px;
}

/* ============================================================
   Sectie 2 — Learn-grid
   ============================================================ */
.tm-referenties .learn-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	margin-top: 8px;
}
@media (max-width: 720px) {
	.tm-referenties .learn-grid {
		grid-template-columns: 1fr;
	}
}
.tm-referenties .learn-card {
	background: white;
	border: 1px solid var(--tm-line);
	border-radius: 16px;
	padding: 22px;
}
.tm-referenties .learn-card__head {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tm-ink-mute);
	margin-bottom: 10px;
}
.tm-referenties .learn-card__quote {
	font-size: 15px;
	font-style: italic;
	color: var(--tm-ink-soft);
	line-height: 1.55;
	margin: 0 0 12px;
	border-left: 2px solid var(--tm-line);
	padding-left: 12px;
}
.tm-referenties .learn-card__answer {
	font-size: 15px;
	line-height: 1.55;
	color: var(--tm-ink);
	margin: 0;
}
.tm-referenties .learn-card__arrow {
	color: var(--tm-orange);
	font-weight: 800;
	margin-right: 6px;
}

/* ============================================================
   CTA-strip
   ============================================================ */
.tm-referenties .cta-strip {
	margin-bottom: 80px;
	padding: 36px 44px;
	border-radius: 20px;
	background: var(--tm-ink);
	color: white;
	display: grid;
	grid-template-columns: 1.4fr auto;
	gap: 32px;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.tm-referenties .cta-strip::before {
	content: "";
	position: absolute;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, 0.15);
	right: 36%;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}
.tm-referenties .cta-strip__title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 8px;
	letter-spacing: -0.015em;
	color: white;
}
.tm-referenties .cta-strip__accent {
	color: var(--tm-orange);
}
.tm-referenties .cta-strip__lede {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	max-width: 520px;
	line-height: 1.55;
}
.tm-referenties .cta-strip__buttons {
	display: flex;
	gap: 12px;
	flex-direction: column;
	align-items: stretch;
}
.tm-referenties .cta-strip .btn-orange {
	text-align: center;
	background: var(--tm-orange);
	color: var(--tm-ink);
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}
.tm-referenties .cta-strip .btn-ghost {
	text-align: center;
	background: transparent;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}
.tm-referenties .cta-strip .btn-ghost:hover {
	border-color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 720px) {
	.tm-referenties .cta-strip {
		grid-template-columns: 1fr;
	}
	.tm-referenties .cta-strip::before { display: none; }
}

/* ============================================================
   Methodologie-strip
   ============================================================ */
.tm-referenties .method-strip {
	padding-top: 56px;
	padding-bottom: 72px;
	border-top: 1px solid var(--tm-line);
	margin-top: 0;
}
.tm-referenties .method-strip__inner {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 56px;
	align-items: start;
}
@media (max-width: 900px) {
	.tm-referenties .method-strip__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
.tm-referenties .method-strip__head h2 {
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
	color: var(--tm-ink);
}
.tm-referenties .method-strip__head p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--tm-ink-soft);
	margin: 0;
}
.tm-referenties .method-strip__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 720px) {
	.tm-referenties .method-strip__steps {
		grid-template-columns: 1fr;
	}
}
.tm-referenties .method-step {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tm-referenties .method-step__num {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tm-orange);
}
.tm-referenties .method-step__title {
	font-size: 15px;
	font-weight: 800;
	margin: 0;
	color: var(--tm-ink);
}
.tm-referenties .method-step__body {
	font-size: 13px;
	line-height: 1.6;
	color: var(--tm-ink-soft);
	margin: 0;
}
