/* traint.me — Over ons.
   Pagina-template: page-templates/page-over-ons.php
   Specs: ~/claude-projecten/wordpress/design-regels.md
   Hergebruikt: tm-page-hero, tm-hinge, tm-section, tm-section-head — uit tm-components.css */

.tm-over-ons {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	font-family: "Plus Jakarta Sans", "Montserrat", system-ui, sans-serif;
	color: var(--tm-ink, #1E1B4B);
}
.tm-over-ons .tm-section {
	padding: 32px 0;
}

/* ===========================================================================
 * 3 · METHODE — copy + leercirkel-SVG (zelfde DNA als hero-c5)
 * =========================================================================== */
.tm-method {
	display: grid;
	grid-template-columns: 1fr 520px;
	gap: 56px;
	align-items: center;
}

.tm-method__copy h2 {
	margin-top: 0;
}
.tm-method__copy p {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.65;
	color: var(--tm-ink-soft);
	margin: 0 0 14px;
}
.tm-method__copy p strong {
	color: var(--tm-ink);
	font-weight: 700;
}
.tm-method__accent {
	color: var(--tm-orange);
}

/* Stage: vierkant, met dashed ringen op de achtergrond, 4 fases en centerstuk. */
.tm-method__stage {
	position: relative;
	width: 100%;
	max-width: 520px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}
.tm-method__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: tm-method-spin 90s linear infinite;
	transform-origin: 50% 50%;
}
@keyframes tm-method-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.tm-method__ring { animation: none; }
}

/* Per-fase pill — zelfde recept als .hero-c5__step op de homepage:
   icoon-bubble in fase-kleur + label/sub in een afgeronde pill. */
.tm-method__phase {
	position: absolute;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	padding: 10px 18px 10px 10px;
	border-radius: 999px;
	border: 1px solid var(--tm-line);
	box-shadow: 0 6px 18px rgba(30, 27, 75, 0.10);
	z-index: 3;
	white-space: nowrap;
}
.tm-method__phase-bubble {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.tm-method__phase-bubble svg {
	width: 24px;
	height: 24px;
}
.tm-method__phase-text {
	display: flex;
	flex-direction: column;
}
.tm-method__phase-label {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
}
.tm-method__phase-sub {
	margin-top: 4px;
	font-size: 11px;
	font-weight: 600;
	color: var(--tm-ink-soft);
	line-height: 1.2;
}

/* Per-fase kleuren (bubble + label) — gelijk aan homepage. */
.tm-method__phase--vraag   .tm-method__phase-bubble { background: var(--tm-purple); box-shadow: 0 8px 22px rgba(91, 79, 229, 0.33); }
.tm-method__phase--vraag   .tm-method__phase-label  { color: var(--tm-purple); }
.tm-method__phase--train   .tm-method__phase-bubble { background: var(--tm-orange); box-shadow: 0 8px 22px rgba(255, 138, 31, 0.33); }
.tm-method__phase--train   .tm-method__phase-label  { color: var(--tm-orange); }
.tm-method__phase--leer    .tm-method__phase-bubble { background: var(--tm-mint);   box-shadow: 0 8px 22px rgba(52, 200, 162, 0.33); }
.tm-method__phase--leer    .tm-method__phase-label  { color: var(--tm-mint); }
.tm-method__phase--herhaal .tm-method__phase-bubble { background: var(--tm-coral);  box-shadow: 0 8px 22px rgba(255, 111, 97, 0.33); }
.tm-method__phase--herhaal .tm-method__phase-label  { color: var(--tm-coral); }

/* Posities — 12 / 3 / 6 / 9 uur. Iets verder naar buiten dan hero-c5 (13/87)
   omdat de over-ons-pillen 2 regels sub-tekst hebben en daardoor breder
   uitvallen, waardoor ze anders te dicht op het center-medaillon kwamen. */
.tm-method__phase--top    { left: 50%; top: 9%; }
.tm-method__phase--right  { left: 91%; top: 50%; }
.tm-method__phase--bottom { left: 50%; top: 91%; }
.tm-method__phase--left   { left: 9%;  top: 50%; }

/* Centermedaillon — wit, met logo en "traint.me / Methode" wordmark. */
.tm-method__center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 38%;
	aspect-ratio: 1 / 1;
	z-index: 2;
}
.tm-method__center-inner {
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 8px solid var(--tm-bg-soft);
	box-shadow:
		0 12px 32px rgba(30, 27, 75, 0.12),
		inset 0 0 0 2px var(--tm-line);
}
.tm-method__center-logo {
	width: 48px;
	height: 48px;
	margin-bottom: 6px;
}
.tm-method__center-brand,
.tm-method__center-brand .t,
.tm-method__center-brand .m {
	font-family: "Plus Jakarta Sans", "Montserrat", system-ui, sans-serif;
	font-weight: 800;
	font-style: normal;
	letter-spacing: -0.025em;
	line-height: 1;
}
.tm-method__center-brand {
	font-size: 22px;
}
.tm-method__center-brand .t { color: var(--tm-ink); }
.tm-method__center-brand .m { color: var(--tm-orange); }
.tm-method__center-tag {
	margin-top: 6px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tm-ink-soft);
	opacity: 0.7;
}

/* ===========================================================================
 * 5 · VORM — hoe een dag bij ons aanvoelt (text-only, single column)
 * =========================================================================== */
/* De vorm-section heeft het white-card-uiterlijk uit .tm-vorm (tm-components).
   Daardoor zit de section-padding-top (32px) BINNEN de witte kaart en valt
   de bovenrand van de kaart direct onder de hinge. Met dezelfde 32px aan
   margin-top zit de kaart op gelijke afstand van de hinge als het donkere
   trainer-blok (waar de section-padding wél buiten de kaart valt). */
.tm-over-ons .tm-section.tm-vorm {
	margin-top: 32px;
	margin-bottom: 32px;
}
.tm-vorm__copy {
	max-width: 760px;
	margin: 0 auto;
}
.tm-vorm__copy .tm-section-title {
	margin: 0 0 24px;
}
.tm-vorm__copy p {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.65;
	color: var(--tm-ink-soft);
	margin: 0 0 16px;
}
.tm-vorm__copy p:last-child {
	margin-bottom: 0;
}
.tm-vorm__copy strong {
	color: var(--tm-ink);
	font-weight: 700;
}
.tm-vorm__accent {
	color: var(--tm-orange);
}

/* ===========================================================================
 * 7 · TIJDLIJN — 6 jaar-cirkels op een dashed lijn
 * =========================================================================== */
.tm-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
}
/* Dashed verbindingslijn door de jaartjes heen. */
.tm-timeline::before {
	content: "";
	position: absolute;
	top: 38px;
	left: 6%;
	right: 6%;
	height: 1px;
	border-top: 1px dashed rgba(91, 79, 229, 0.30);
	z-index: 0;
}
.tm-milestone {
	position: relative;
	z-index: 1;
	text-align: center;
}
.tm-milestone__year {
	width: 76px;
	height: 76px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--tm-line);
	display: grid;
	place-items: center;
	font-size: 16px;
	font-weight: 800;
	color: var(--tm-ink);
	letter-spacing: -0.01em;
	position: relative;
}
.tm-milestone--big .tm-milestone__year {
	background: var(--tm-orange);
	border-color: var(--tm-orange);
	color: var(--tm-ink);
	box-shadow: 0 8px 22px rgba(255, 138, 31, 0.28);
}
.tm-milestone--big .tm-milestone__year::after {
	content: "";
	position: absolute;
	inset: -6px;
	border: 1px dashed rgba(255, 138, 31, 0.50);
	border-radius: 50%;
}
.tm-milestone__title {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.005em;
	color: var(--tm-ink);
	text-wrap: balance;
}
.tm-milestone__text {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--tm-ink-soft);
	text-wrap: pretty;
}

/* ===========================================================================
 * 7 · TRAINER-HERO — donker blok (per design-regels §7)
 * =========================================================================== */
.tm-trainer-hero {
	position: relative;
	overflow: hidden;
	background: var(--tm-ink);
	color: #fff;
	border-radius: 18px;
	padding: 56px;
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 48px;
	align-items: center;
	box-shadow: 0 18px 40px rgba(30, 27, 75, 0.14);
}
/* Twee dashed cirkels in de hoeken (cirkel-DNA per design-regels §4). */
.tm-trainer-hero::before {
	content: "";
	position: absolute;
	width: 380px;
	height: 380px;
	border: 1px dashed rgba(255, 138, 31, 0.30);
	border-radius: 50%;
	right: -120px;
	bottom: -180px;
	pointer-events: none;
}
.tm-trainer-hero::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	border: 1px dashed rgba(91, 79, 229, 0.45);
	border-radius: 50%;
	right: 80px;
	top: -80px;
	pointer-events: none;
}

.tm-trainer-hero__portrait {
	position: relative;
	z-index: 1;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, #6B4FE5, var(--tm-orange));
}
.tm-trainer-hero__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tm-trainer-hero__portrait::after {
	content: "";
	position: absolute;
	inset: -16px;
	border: 1px dashed rgba(255, 255, 255, 0.35);
	border-radius: 50%;
}

.tm-trainer-hero__copy {
	position: relative;
	z-index: 1;
}
.tm-trainer-hero__role {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tm-orange);
}
.tm-trainer-hero__name {
	margin: 0 0 20px;
	font-size: clamp(2.5rem, 4.5vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
	color: #fff;
}
.tm-trainer-hero__bio {
	margin: 0 0 28px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
	max-width: 580px;
}
.tm-trainer-hero__bio strong {
	color: #fff;
	font-weight: 700;
}

.tm-trainer-hero__stats {
	display: flex;
	gap: 40px;
	margin: 0;
	padding: 0;
}
.tm-trainer-hero__stat {
	border-left: 1px solid rgba(255, 255, 255, 0.18);
	padding-left: 20px;
}
.tm-trainer-hero__stat:first-child {
	border-left: 0;
	padding-left: 0;
}
.tm-trainer-hero__stat dt {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	order: 2;
}
.tm-trainer-hero__stat dd {
	margin: 0 0 4px;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1;
	color: #fff;
	order: 1;
	display: flex;
	align-items: flex-end;
	min-height: 56px;
}
.tm-trainer-hero__stat {
	display: flex;
	flex-direction: column;
}
.tm-trainer-hero__stat-suffix {
	font-size: 0.55em;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.60);
	margin-left: 2px;
}
.tm-trainer-hero__stat dd .tm-trainer-hero__stat-glyph {
	width: auto;
	height: 56px;
	max-height: 56px;
	display: block;
	flex-shrink: 0;
}

/* ===========================================================================
 * 9 · MANIFESTO — 3 statement-cards (witte cards per design-regels §7)
 * =========================================================================== */
.tm-manifesto {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.tm-statement {
	padding: 32px;
	background: #fff;
	border: 1px solid var(--tm-line);
	border-radius: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tm-statement:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(30, 27, 75, 0.10);
}
.tm-statement__num {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tm-orange);
}
.tm-statement__title {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
	color: var(--tm-ink);
	text-wrap: balance;
}
.tm-statement__body {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--tm-ink-soft);
}

/* ===========================================================================
 * 11 · CTA-KNOPPEN — 2 knoppen gecentreerd
 * =========================================================================== */
.tm-over-ons-cta {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	padding-top: 16px !important;
	padding-bottom: 64px !important;
}
.tm-over-ons-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.tm-over-ons-cta__btn--primary {
	background: var(--tm-purple);
	color: #fff;
	box-shadow: 0 8px 22px rgba(91, 79, 229, 0.30);
}
.tm-over-ons-cta__btn--primary:hover {
	background: var(--tm-purple-deep);
	color: #fff;
	transform: translateY(-1px);
}
.tm-over-ons-cta__btn--primary svg {
	width: 16px;
	height: 16px;
}
.tm-over-ons-cta__btn--secondary {
	background: transparent;
	color: var(--tm-ink);
	padding: 14px 12px;
}
.tm-over-ons-cta__btn--secondary:hover {
	color: var(--tm-purple);
}

/* ===========================================================================
 * RESPONSIVE
 * =========================================================================== */
@media (max-width: 1099px) {
	.tm-method {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.tm-method__stage {
		max-width: 460px;
	}
	.tm-manifesto {
		grid-template-columns: repeat(2, 1fr);
	}
	.tm-trainer-hero {
		grid-template-columns: 220px 1fr;
		gap: 32px;
		padding: 40px;
	}
	.tm-trainer-hero__portrait {
		width: 220px;
		height: 220px;
		font-size: 100px;
	}
	.tm-timeline {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px 24px;
	}
	.tm-timeline::before { display: none; }
}

@media (max-width: 767px) {
	.tm-method__phase {
		padding: 8px 14px 8px 8px;
		gap: 10px;
	}
	.tm-method__phase-bubble {
		width: 38px;
		height: 38px;
	}
	.tm-method__phase-bubble svg {
		width: 20px;
		height: 20px;
	}
	.tm-method__phase-label {
		font-size: 12px;
	}
	.tm-method__phase-sub {
		font-size: 10px;
	}
	.tm-method__center {
		width: 36%;
	}
	.tm-method__center-brand {
		font-size: 18px;
	}
	.tm-method__center-logo {
		width: 40px;
		height: 40px;
	}
	.tm-trainer-hero {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 32px 24px;
	}
	.tm-trainer-hero__portrait {
		margin: 0 auto;
	}
	.tm-trainer-hero__bio {
		margin-left: auto;
		margin-right: auto;
	}
	.tm-trainer-hero__stats {
		justify-content: center;
		flex-wrap: wrap;
		gap: 24px;
	}
	.tm-manifesto {
		grid-template-columns: 1fr;
	}
	.tm-timeline {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 479px) {
	.tm-method__phase {
		padding: 8px;
	}
	.tm-method__phase-text {
		display: none;
	}
	.tm-trainer-hero__stat {
		border-left: 0 !important;
		padding-left: 0 !important;
	}
	.tm-timeline {
		grid-template-columns: 1fr;
	}
}
