:root {
	--purple: #3b214f;
	--purple-dark: #241331;
	--purple-soft: #eee8f2;
	--silver: #c8c8cf;
	--silver-dark: #74747d;
	--white: #fff;
	--ink: #19171d;
	--muted: #5d5864;
	--line: #cfcdd4;
	--green: #246b4e;
	--amber: #6f4c00;
	--red: #8f1d1d;
	--focus: #d99100;
	--shadow: 0 12px 22px rgba(36, 19, 49, .10);
	font-family: Inter, Roboto, "Segoe UI", Arial, sans-serif
}

* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	background: linear-gradient(180deg, var(--white), #f4f2f6 34rem);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.55
}

a {
	color: var(--purple);
	text-decoration-thickness: 2px;
	text-underline-offset: .15em
}

a:hover {
	color: var(--purple-dark)
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -5rem;
	background: var(--purple-dark);
	color: white;
	padding: .7rem 1rem;
	z-index: 10
}

.skip-link:focus {
	top: 1rem
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 9;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1rem clamp(1rem, 4vw, 3rem);
	background: rgba(255, 255, 255, .95);
	border-bottom: 1px solid var(--line)
}

.brand {
	display: flex;
	align-items: center;
	gap: .65rem;
	color: var(--purple-dark);
	font-weight: 850;
	text-decoration: none
}

.brand-mark {
	width: 28px;
	height: 28px;
	background: var(--purple);
	display: inline-block
}

.topnav {
	display: flex;
	gap: .25rem;
	flex-wrap: wrap
}

.topnav a {
	color: var(--purple-dark);
	text-decoration: none;
	font-weight: 750;
	padding: .55rem .7rem;
	border: 1px solid transparent
}

.topnav a.active,
.topnav a:hover {
	border-color: var(--purple);
	background: var(--purple-soft)
}

main {
	padding: clamp(1rem, 4vw, 3.2rem)
}

.page {
	display: none;
	max-width: 1180px;
	margin: 0 auto
}

.page.active {
	display: block
}

button,
a,
input,
textarea {
	font: inherit
}

button:focus,
a:focus,
input:focus,
textarea:focus,
.step-list li[role="button"]:focus {
	outline: 3px solid var(--focus);
	outline-offset: 2px
}

.hero {
	position: relative;
	min-height: 58vh
}

.hero-overlay {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4rem);
	background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .72) 38%, rgba(255, 255, 255, .92)), url("hero-illustratie.png") center/cover no-repeat;
	border: 1px solid var(--line);
	box-shadow: var(--shadow)
}

.hero-copy {
	max-width: 860px;
	text-align: center;
	margin-top: clamp(.5rem, 4vw, 2rem)
}

.hero-copy h1 {
	font-size: clamp(2rem, 5vw, 4rem)
}

.hero-copy .lead {
	margin-left: auto;
	margin-right: auto
}

.hero-button {
	font-size: 1.05rem;
	padding: 1rem 1.2rem
}

.kicker {
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--silver-dark);
	font-size: .78rem;
	font-weight: 900;
	margin: 0 0 .7rem
}

h1 {
	font-size: clamp(2.2rem, 6vw, 4.8rem);
	line-height: 1.02;
	letter-spacing: -.05em;
	margin: .1rem 0 1rem;
	color: var(--purple-dark)
}

h2 {
	line-height: 1.2;
	margin: .1rem 0 .55rem
}

.lead {
	font-size: clamp(1.04rem, 2vw, 1.25rem);
	color: var(--muted);
	max-width: 780px
}

.narrow {
	max-width: 800px
}

.start-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.2rem
}

.actions,
.wizard-actions {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	margin-top: 1.35rem;
	justify-content: center
}

.wizard-actions {
	justify-content: flex-start
}

.button {
	border: 1px solid var(--purple);
	padding: .82rem 1rem;
	font-weight: 850;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	background: white;
	color: var(--purple-dark)
}

.primary {
	background: var(--purple);
	color: white
}

.primary:hover {
	background: var(--purple-dark)
}

.secondary,
.ghost {
	background: white;
	color: var(--purple-dark)
}

.reset {
	width: 100%;
	margin-top: 1rem;
	justify-content: center;
	background: white;
	color: var(--red);
	border-color: var(--red)
}

.wizard-card,
.progress-card,
.help-grid article,
.status-card,
.topic-card,
.result-panel,
details {
	background: white;
	border: 1px solid var(--line);
	box-shadow: var(--shadow)
}

.rule {
	border-left: 6px solid var(--purple);
	background: var(--purple-soft);
	padding: .9rem
}

.wizard-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 1.1rem
}

.progress-card {
	padding: 1rem;
	align-self: start;
	position: sticky;
	top: 5.8rem
}

.progress-meta {
	display: flex;
	justify-content: space-between;
	font-weight: 850;
	font-size: .92rem
}

.progress-bar {
	height: 9px;
	background: #eceaf0;
	margin: .75rem 0 1rem
}

.progress-bar span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--purple)
}

.step-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: .25rem
}

.step-list li {
	padding: .45rem .5rem;
	color: var(--muted);
	border-left: 4px solid transparent;
	font-size: .92rem
}

.step-list li.current {
	background: var(--purple-soft);
	border-color: var(--purple);
	color: var(--purple-dark);
	font-weight: 850
}

.step-list li.done {
	color: var(--green);
	cursor: pointer
}

.wizard-card {
	padding: clamp(1rem, 3vw, 1.45rem)
}

.step-title {
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	letter-spacing: -.035em
}

.option-list {
	display: grid;
	gap: .65rem;
	margin: 1rem 0
}

.option-card {
	border: 1px solid var(--line);
	background: white
}

.option-card label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .7rem;
	padding: .95rem;
	cursor: pointer
}

.option-card:has(input:checked) {
	border-color: var(--purple);
	box-shadow: inset 0 0 0 2px var(--purple-soft)
}

.option-card input {
	margin-top: .22rem
}

.option-text {
	font-weight: 760
}

.feedback {
	display: none;
	margin: 0 .95rem .95rem;
	padding: .8rem;
	background: #f7f6f8;
	border-left: 5px solid var(--purple);
	color: var(--purple-dark)
}

.option-card:has(input:checked) .feedback {
	display: block
}

.note-box {
	margin-top: 1rem
}

.note-box label {
	font-weight: 850;
	display: block;
	margin-bottom: .35rem
}

.note-box textarea {
	width: 100%;
	border: 1px solid var(--line);
	padding: .8rem;
	resize: vertical;
	background: white
}

.help-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem
}

.help-grid article,
.topic-card {
	padding: 1.1rem
}

.status-card {
	padding: 1.2rem;
	border-top: 8px solid var(--silver-dark)
}

.status-card.green {
	border-top-color: var(--green)
}

.status-card.orange {
	border-top-color: var(--amber)
}

.status-card.red {
	border-top-color: var(--red)
}

.status-label {
	display: inline-flex;
	padding: .3rem .6rem;
	font-weight: 850;
	color: white;
	background: var(--silver-dark)
}

.green .status-label {
	background: var(--green)
}

.orange .status-label {
	background: var(--amber)
}

.red .status-label {
	background: var(--red)
}

.top-questions {
	counter-reset: q;
	display: grid;
	gap: .8rem;
	margin: 1rem 0 1.2rem
}

.top-question {
	counter-increment: q;
	border-left: 6px solid var(--purple);
	background: var(--white);
	padding: 1rem;
	border: 1px solid var(--line)
}

.top-question::before {
	content: counter(q);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	margin-right: .55rem;
	background: var(--purple);
	color: white;
	font-weight: 850
}

.result-panel {
	padding: 1rem;
	margin-top: 1rem
}

.grouped-feedback {
	display: grid;
	gap: 1rem
}

.clean-list {
	padding-left: 1.1rem
}

.clean-list li {
	margin: .4rem 0
}

.strength-list {
	border-left: 6px solid var(--green)
}

.empty {
	color: var(--muted)
}

.deep-link,
.help-grid a {
	color: var(--purple)
}

.topic-list {
	display: grid;
	gap: 1rem;
	margin-top: 1.2rem
}

.topic-card h2 {
	margin-top: 0
}

.example-pair {
	border-left: 6px solid var(--purple);
	padding-left: 1rem;
	background: #f7f6f8;
	padding-top: .25rem;
	padding-bottom: .25rem
}

.uitleg-current {
	border-left: 8px solid var(--purple)
}

details {
	padding: 1rem;
	margin-top: 1rem
}

summary {
	cursor: pointer;
	font-weight: 850;
	color: var(--purple-dark)
}

@media(max-width:900px) {
	.site-header {
		align-items: flex-start;
		flex-direction: column
	}

	.wizard-layout,
	.help-grid,
	.start-grid {
		grid-template-columns: 1fr
	}

	.progress-card {
		position: static
	}

	.topnav {
		justify-content: flex-start
	}

	h1 {
		letter-spacing: -.04em
	}
}

@media(prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto
	}

	* {
		transition: none !important
	}
}

.site-footer {
	margin-top: 4rem;
	border-top: 1px solid var(--line);
	background: white;
}

.footer-content {
	max-width: 1180px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.footer-content a {
	color: var(--purple);
	text-decoration: none;
}

.footer-content a:hover {
	text-decoration: underline;
}

.footer-separator {
	color: var(--silver-dark);
}

.cc-license {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.cc-license img {
	width: 22px;
	height: 22px;
	display: block;
}
.source-list {
  padding-left: 1.1rem;
}
.source-list li {
  margin: .35rem 0;
}
.uitleg-current h2 + p {
  max-width: 900px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: cover;
  display: inline-block;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 2px 6px rgba(36,19,49,.12);
}


/* 0.9.1: toegankelijkheid, logo en mobiele navigatie */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: inline-block;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 2px 8px rgba(36,19,49,.14);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--purple);
  background: white;
  color: var(--purple-dark);
  font-weight: 850;
  padding: .55rem .75rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topnav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: .75rem;
  }

  .topnav.open {
    display: flex;
  }

  .topnav a {
    display: block;
    padding: .75rem;
  }

  .wizard-layout {
    display: flex;
    flex-direction: column;
  }

  .wizard-card {
    order: 1;
  }

  .progress-card {
    order: 2;
  }
}
