/* Evaluatie — De Gangmakers. Huisstijl overgenomen van degangmakers.com (thema 1.3.4). */

:root {
	--gm-bg: #faf7f4;
	--gm-ink: #0c1116;
	--gm-ink-2: #141b22;
	--gm-blue: #1060a8;
	--gm-wine: #981030;
	--gm-orange: #e85010;
	--gm-orange-light: #ff8a4c;
	--gm-text: #2a3239;
	--gm-muted: #4a545c;
	--gm-on-dark: #c9cfd5;
	--gm-on-dark-strong: #e4e8eb;
	--gm-on-dark-body: #d2d8dd;
	--gm-on-dark-soft: #9aa4ac;
	--gm-grad: linear-gradient(115deg, #1060a8, #981030 52%, #e85010);
	--gm-grad-line: linear-gradient(90deg, #1060a8, #981030 55%, #e85010);
	--gm-grad-sheen: linear-gradient(115deg, #1060a8, #981030 30%, #e85010 50%, #981030 70%, #1060a8 100%);
	--gm-grad-sheen-light: linear-gradient(115deg, #7cbdf0, #ff8a4c 30%, #ffd0a8 50%, #ff8a4c 70%, #7cbdf0 100%);
	--gm-line-light: rgba(12, 17, 22, 0.12);
	--gm-line-dark: rgba(255, 255, 255, 0.16);
	--gm-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
	--gm-gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; overflow-x: clip; }

body {
	font-family: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
	background: var(--gm-ink);
	color: #fff;
	font-size: 17px;
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: var(--gm-orange-light); text-decoration: none; }
a:hover, a:focus-visible { color: #fff; }
::selection { background: var(--gm-orange); color: #fff; }
:focus-visible { outline: 3px solid var(--gm-orange); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@keyframes gmSheen { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes gmGlow {
	0%, 100% { transform: translate(-10%, -6%) scale(1); opacity: 0.55; }
	50% { transform: translate(6%, 8%) scale(1.15); opacity: 0.8; }
}
@keyframes gmDraw { from { width: 0; } to { width: 100%; } }
@keyframes gmFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ Achtergrond */

.gm-glow {
	position: fixed;
	top: -12%;
	right: -10%;
	width: min(680px, 90vw);
	height: min(680px, 90vw);
	border-radius: 50%;
	filter: blur(90px);
	pointer-events: none;
	background: radial-gradient(circle at 40% 40%, rgba(232, 80, 16, 0.28), rgba(152, 16, 48, 0.22) 45%, rgba(16, 96, 168, 0.18) 70%, transparent 75%);
	animation: gmGlow 16s ease-in-out infinite;
	z-index: 0;
}

.gm-pattern {
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-size: 72px 72px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M0 72 A72 72 0 0 1 72 0' fill='none' stroke='%23FFFFFF' stroke-opacity='.07' stroke-width='1.4'/%3E%3C/svg%3E");
	-webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000 20%, transparent 75%);
	mask-image: radial-gradient(120% 90% at 80% 10%, #000 20%, transparent 75%);
	z-index: 0;
}

/* --------------------------------------------------------------- Bouwstenen */

.gm-shell, .gm-dash, .gm-foot { position: relative; z-index: 1; }

.gm-shell {
	width: 100%;
	max-width: 660px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 56px) var(--gm-gutter) 40px;
	flex: 1;
	animation: gmFade 0.5s ease both;
}

.gm-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: clamp(26px, 4vw, 44px);
}

.gm-logo { height: 38px; width: auto; display: block; }

.gm-who { font-size: 14px; color: var(--gm-on-dark-soft); }

.gm-eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gm-orange-light);
}

.gm-h1 {
	margin: 0;
	font-size: clamp(36px, 6vw, 58px);
	line-height: 1.04;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.gm-h2 {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 42px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.gm-sheen {
	background: var(--gm-grad-sheen-light);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: gmSheen 9s linear infinite;
}

.gm-rule {
	height: 5px;
	max-width: 140px;
	margin: 22px 0;
	border-radius: 3px;
	background: var(--gm-grad-line);
	animation: gmDraw 1.1s 0.3s var(--gm-ease) both;
}

.gm-lead {
	margin: 0 0 26px;
	font-size: clamp(17px, 1.6vw, 19px);
	line-height: 1.6;
	color: var(--gm-on-dark-strong);
	max-width: 52ch;
}

/* De witte kaart met de asymmetrische hoeken. */
.gm-card {
	background: #fff;
	color: var(--gm-ink);
	border-radius: 4px 34px 4px 34px;
	padding: clamp(20px, 3.4vw, 34px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.gm-card__title {
	margin: 0;
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.gm-card__intro { margin: 6px 0 8px; font-size: 15px; color: var(--gm-muted); }

.gm-grid2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 479px) {
	.gm-grid2 { grid-template-columns: 1fr; }
}

.gm-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
}

.gm-field input, .gm-q textarea {
	width: 100%;
	min-width: 0;
	font: inherit;
	font-weight: 400;
	font-size: 16px;
	padding: 14px 16px;
	border: 1px solid rgba(12, 17, 22, 0.22);
	border-radius: 2px;
	background: var(--gm-bg);
	color: var(--gm-ink);
}

.gm-q textarea { resize: vertical; min-height: 92px; line-height: 1.5; }

.gm-field input:focus, .gm-q textarea:focus { outline: none; border-color: var(--gm-orange); box-shadow: 0 0 0 3px rgba(232, 80, 16, 0.15); }

.gm-field.has-error input { border-color: var(--gm-wine); }

.gm-error { display: block; margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--gm-wine); }
.gm-error--top {
	margin: 14px 0 0;
	padding: 12px 16px;
	border-radius: 2px 16px 2px 16px;
	background: rgba(152, 16, 48, 0.08);
	border: 1px solid rgba(152, 16, 48, 0.3);
}

.gm-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--gm-muted); }

.gm-flash {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-radius: 2px 16px 2px 16px;
	background: rgba(124, 189, 240, 0.12);
	border: 1px solid rgba(124, 189, 240, 0.35);
	color: var(--gm-on-dark-strong);
	font-size: 15px;
}

/* -------------------------------------------------------------- Knoppen */

.gm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	padding: 16px 28px;
	border: 0;
	border-radius: 2px 18px 2px 18px;
	cursor: pointer;
	color: #fff;
	background-image: var(--gm-grad-sheen);
	background-size: 200% 100%;
	animation: gmSheen 22s linear infinite;
	transition: transform 0.3s var(--gm-ease);
}

.gm-btn:hover, .gm-btn:focus-visible { color: #fff; transform: translateY(-2px); }

.gm-btn--block { width: 100%; margin-top: 20px; }

.gm-btn--ghost {
	background: transparent;
	animation: none;
	color: var(--gm-ink);
	border: 1.5px solid rgba(12, 17, 22, 0.2);
	padding: 14.5px 22px;
}

.gm-btn--ghost:hover, .gm-btn--ghost:focus-visible { color: var(--gm-ink); border-color: var(--gm-orange); }

.gm-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
}

/* ----------------------------------------------------------- Voortgang */

.gm-count {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gm-on-dark-soft);
}

.gm-track {
	height: 5px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.12);
	overflow: hidden;
	margin-bottom: 22px;
}

.gm-track b {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: var(--gm-grad-line);
	transition: width 0.4s var(--gm-ease);
}

.gm-meta {
	display: flex;
	gap: 26px;
	margin-top: 24px;
	font-size: 13px;
	color: var(--gm-on-dark-soft);
}

.gm-meta b { display: block; font-size: 22px; color: #fff; line-height: 1.2; }

/* --------------------------------------------------------------- Vragen */

.gm-q {
	border: 0;
	margin: 0;
	padding: 20px 0;
	min-width: 0;
	border-top: 1px solid var(--gm-line-light);
}

.gm-card__intro + .gm-q, .gm-error--top + .gm-q { border-top: 0; padding-top: 14px; }

.gm-q__label {
	display: block;
	float: left;   /* haalt de legend uit de rand van de fieldset */
	width: 100%;
	padding: 0;
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.gm-q.has-error .gm-q__label { color: var(--gm-wine); }
.gm-q__label + * { clear: both; }

/* Schaal 1–5 */
.gm-scale {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.gm-scale__opt { position: relative; cursor: pointer; }

.gm-scale__opt input, .gm-choice input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.gm-scale__opt span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	font-size: 17px;
	font-weight: 800;
	border: 1px solid rgba(12, 17, 22, 0.16);
	border-radius: 2px 14px 2px 14px;
	background: var(--gm-bg);
	transition: border-color 0.2s ease, transform 0.2s var(--gm-ease), background-color 0.2s ease;
}

.gm-scale__opt:hover span { border-color: rgba(16, 96, 168, 0.5); transform: translateY(-1px); }

.gm-scale__opt input:checked + span {
	color: #fff;
	border-color: transparent;
	background-image: var(--gm-grad);
	box-shadow: 0 10px 22px rgba(152, 16, 48, 0.25);
}

.gm-scale__opt input:focus-visible + span, .gm-choice input:focus-visible + span {
	outline: 3px solid var(--gm-orange);
	outline-offset: 2px;
}

.gm-scale__ends {
	display: flex;
	justify-content: space-between;
	margin-top: 7px;
	font-size: 12.5px;
	color: var(--gm-muted);
}

.gm-q.has-error .gm-scale__opt span, .gm-q.has-error .gm-choice span { border-color: rgba(152, 16, 48, 0.45); }

/* Meerkeuze */
.gm-choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.gm-choices--stack { grid-template-columns: 1fr; }

.gm-choice { position: relative; cursor: pointer; }

.gm-choice span {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 50px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	border: 1px solid rgba(12, 17, 22, 0.16);
	border-radius: 2px 16px 2px 16px;
	background: var(--gm-bg);
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--gm-ease);
}

.gm-choice span::before {
	content: '';
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid rgba(12, 17, 22, 0.3);
	background: #fff;
	transition: border 0.15s ease;
}

.gm-choice:hover span { border-color: rgba(16, 96, 168, 0.5); transform: translateY(-1px); }

.gm-choice input:checked + span {
	border-color: var(--gm-orange);
	background: rgba(232, 80, 16, 0.07);
}

.gm-choice input:checked + span::before { border: 6px solid var(--gm-orange); }

.gm-card--done .gm-q__label { margin-bottom: 4px; }

/* -------------------------------------------------------------- Voettekst */

.gm-foot {
	padding: 22px var(--gm-gutter);
	text-align: center;
	font-size: 13px;
	color: var(--gm-on-dark-soft);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================================================================ Dashboard */

.gm-dash {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 48px) var(--gm-gutter) 48px;
	flex: 1;
	animation: gmFade 0.5s ease both;
}

.gm-dash__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 26px;
}

.gm-dash__head .gm-logo { margin-bottom: 26px; }

.gm-dash__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.gm-pill {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--gm-line-dark);
	color: #fff;
}

.gm-pill--link:hover, .gm-pill--link:focus-visible { color: #fff; border-color: var(--gm-orange-light); }

.gm-kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--gm-line-dark);
	border: 1px solid var(--gm-line-dark);
	margin-bottom: 18px;
}

.gm-kpi { background: var(--gm-ink-2); padding: 20px 18px; }
.gm-kpi b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.gm-kpi span { display: block; margin-top: 8px; font-size: 13px; color: var(--gm-on-dark-soft); }

.gm-dgrid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.gm-stack-col { display: flex; flex-direction: column; gap: 18px; }

.gm-panel {
	background: var(--gm-ink-2);
	border: 1px solid var(--gm-line-dark);
	border-radius: 2px 22px 2px 22px;
	padding: 20px;
}

.gm-panel__title {
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gm-orange-light);
}

.gm-empty { margin-bottom: 18px; color: var(--gm-on-dark); }

.gm-hint { margin: 14px 0 0; font-size: 12.5px; color: var(--gm-on-dark-soft); }

/* Balken */
.gm-bars { display: flex; flex-direction: column; gap: 4px; }

.gm-bar summary {
	display: grid;
	grid-template-columns: minmax(120px, 170px) 1fr 40px;
	gap: 12px;
	align-items: center;
	padding: 8px 6px;
	margin: 0 -6px;
	font-size: 14.5px;
	cursor: pointer;
	list-style: none;
	border-radius: 2px 10px 2px 10px;
}

.gm-bar summary::-webkit-details-marker { display: none; }
.gm-bar summary:hover, .gm-bar[open] summary { background: rgba(255, 255, 255, 0.05); }

.gm-bar__track { height: 12px; border-radius: 2px 7px 2px 7px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.gm-bar__track b { display: block; height: 100%; border-radius: inherit; background: var(--gm-grad-line); }
.gm-bar__value { font-weight: 800; text-align: right; }
.gm-bar__value.is-low { color: var(--gm-orange-light); }

.gm-dist { padding: 6px 0 12px; }
.gm-dist__q { margin: 0 0 8px; font-size: 13px; color: var(--gm-on-dark-soft); }
.gm-dist__row { display: grid; grid-template-columns: 18px 1fr 24px; gap: 10px; align-items: center; font-size: 13px; padding: 2px 0; }
.gm-dist__row span:last-child { text-align: right; font-weight: 700; }
.gm-dist__t { height: 8px; background: rgba(255, 255, 255, 0.06); border-radius: 4px; overflow: hidden; }
.gm-dist__t b { display: block; height: 100%; background: var(--gm-on-dark-soft); border-radius: 4px; }

/* Gestapelde balk */
.gm-stack { display: flex; height: 14px; border-radius: 2px 8px 2px 8px; overflow: hidden; gap: 2px; margin-bottom: 12px; }
.gm-stack i { display: block; min-width: 6px; }
.gm-stack--empty { background: rgba(255, 255, 255, 0.08); }

.gm-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--gm-on-dark); }
.gm-legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; background: var(--c); }
.gm-legend b { color: #fff; }

/* Namen */
.gm-who-list { display: flex; flex-wrap: wrap; gap: 6px; }
.gm-who-list span { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--gm-line-dark); }
.gm-who-list .is-done { background: rgba(124, 189, 240, 0.14); border-color: rgba(124, 189, 240, 0.4); }
.gm-who-list .is-busy { color: var(--gm-on-dark-soft); border-style: dashed; }

/* Open antwoorden */
.gm-open { margin-top: 18px; }
.gm-open__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.gm-open__q { margin: 0 0 10px; font-size: 16px; font-weight: 800; }
.gm-open__q small { font-size: 12px; font-weight: 700; color: var(--gm-on-dark-soft); margin-left: 6px; }

.gm-quotes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gm-quotes li {
	font-size: 14.5px;
	line-height: 1.55;
	padding: 11px 14px;
	background: rgba(255, 255, 255, 0.05);
	border-left: 3px solid var(--gm-orange);
	border-radius: 0 12px 0 0;
	color: var(--gm-on-dark-strong);
	overflow-wrap: anywhere;
}

.gm-stamp { text-align: right; }

@media (max-width: 899px) {
	.gm-dgrid { grid-template-columns: 1fr; }
	.gm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 479px) {
	:root { --gm-gutter: 16px; }
	.gm-bar summary { grid-template-columns: 110px 1fr 34px; gap: 8px; font-size: 13.5px; }
	.gm-scale { gap: 6px; }
	.gm-choices { grid-template-columns: 1fr; }
	.gm-nav .gm-btn { flex: 1; }
	.gm-logo { height: 32px; }
	.gm-stamp { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.gm-logo--text { height: auto; font-weight: 800; letter-spacing: 0.08em; font-size: 16px; color: #fff; }
