/**
 * Stichting NCL — Gestaltung der ANBI-Seite.
 * Ruhig, seriös, gut lesbar. Nur Systemschriften, keine externen Quellen.
 */

:root {
	--ncl-bg: #f7f5f0;
	--ncl-surface: #ffffff;
	--ncl-ink: #1e252d;
	--ncl-muted: #56606b;
	--ncl-line: #dcd8cf;
	--ncl-brand: #1f3a56;
	--ncl-brand-dark: #152a3f;
	--ncl-brand-soft: #e8edf2;
	--ncl-on-brand: #ffffff;
	--ncl-notice-bg: #fff4c2;
	--ncl-notice-line: #e6c840;
	--ncl-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
	--ncl-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ncl-wrap: 52rem;
	--ncl-gutter: clamp(1rem, 4vw, 2rem);
	--ncl-radius: 6px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 1.5rem;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ncl-bg);
	color: var(--ncl-ink);
	font-family: var(--ncl-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ncl-brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--ncl-brand-dark);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 2px solid var(--ncl-brand);
	outline-offset: 3px;
}

h1,
h2,
h3 {
	font-family: var(--ncl-serif);
	font-weight: 600;
	line-height: 1.25;
	color: var(--ncl-ink);
	margin: 0 0 0.75rem;
}

h1 {
	font-size: clamp(1.9rem, 4.5vw, 2.6rem);
}

h2 {
	font-size: clamp(1.45rem, 3vw, 1.85rem);
}

h3 {
	font-size: 1.2rem;
	margin-top: 1.75rem;
}

p,
ul,
ol {
	margin: 0 0 1rem;
}

.wrap {
	width: 100%;
	max-width: var(--ncl-wrap);
	margin-inline: auto;
	padding-inline: var(--ncl-gutter);
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	background: var(--ncl-surface);
	color: var(--ncl-brand);
	padding: 0.5rem 1rem;
	border-radius: var(--ncl-radius);
}

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

.site-main:focus {
	outline: none;
}

/* -------------------------------------------------------------------------
 * Kopf
 * ---------------------------------------------------------------------- */

.site-header {
	background: var(--ncl-brand);
	color: var(--ncl-on-brand);
}

.site-header__inner {
	padding-top: clamp(2rem, 6vw, 3.5rem);
	padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.site-header__brand {
	display: inline-flex;
	flex-direction: column;
	gap: 0.35rem;
	color: inherit;
	text-decoration: none;
}

.site-header__brand:hover,
.site-header__brand:focus-visible {
	color: inherit;
}

.site-header__title {
	font-family: var(--ncl-serif);
	font-size: clamp(2rem, 6vw, 3rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.01em;
}

.site-header__subtitle {
	font-size: clamp(1rem, 2.4vw, 1.15rem);
	opacity: 0.85;
}

.site-header :focus-visible {
	outline-color: #fff;
}

.site-nav {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	background: var(--ncl-brand-dark);
}

.site-nav__list {
	list-style: none;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5rem;
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
}

.site-nav__list a {
	display: inline-block;
	padding: 0.25rem 0;
	color: var(--ncl-on-brand);
	font-size: 0.95rem;
	text-decoration: none;
	opacity: 0.88;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

/* -------------------------------------------------------------------------
 * Inhalt
 * ---------------------------------------------------------------------- */

.site-main {
	padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.intro {
	padding-top: clamp(2rem, 6vw, 3.25rem);
	padding-bottom: 0.5rem;
}

.intro__title {
	margin-bottom: 0.4rem;
}

.intro__lead {
	color: var(--ncl-muted);
	font-size: 1.125rem;
	margin: 0;
}

.notice {
	margin-top: 1.75rem;
	padding: 1rem 1.25rem;
	background: var(--ncl-notice-bg);
	border: 1px solid var(--ncl-notice-line);
	border-left-width: 5px;
	border-radius: var(--ncl-radius);
}

.notice > :last-child {
	margin-bottom: 0;
}

.section {
	padding-top: clamp(2rem, 5vw, 2.75rem);
	margin-top: clamp(2rem, 5vw, 2.75rem);
	border-top: 1px solid var(--ncl-line);
}

.intro + .section,
.notice + .section {
	border-top: 0;
	margin-top: 0.5rem;
}

.text > :last-child {
	margin-bottom: 0;
}

.text ul,
.text ol {
	padding-left: 1.25rem;
}

.text li + li {
	margin-top: 0.35rem;
}

.text strong {
	font-weight: 650;
}

/* Gegevens / Kontakt als Liste */
.facts {
	margin: 0;
	background: var(--ncl-surface);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
}

.facts__row {
	display: grid;
	grid-template-columns: minmax(9rem, 13rem) 1fr;
	gap: 0.25rem 1.5rem;
	padding: 0.85rem 1.25rem;
}

.facts__row + .facts__row {
	border-top: 1px solid var(--ncl-line);
}

.facts dt {
	font-weight: 600;
	color: var(--ncl-muted);
}

.facts dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.facts__note {
	display: block;
	color: var(--ncl-muted);
	font-size: 0.95rem;
}

.contact__note {
	margin: 1rem 0 0;
	color: var(--ncl-muted);
}

/* Bestuur */
.board {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1rem;
}

.board__item {
	background: var(--ncl-surface);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.board__name {
	font-family: var(--ncl-serif);
	font-size: 1.15rem;
	font-weight: 600;
}

.board__role {
	color: var(--ncl-muted);
}

/* Jaarverslagen */
.reports {
	display: grid;
	gap: 1.25rem;
}

.report {
	background: var(--ncl-surface);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	overflow: hidden;
}

.report__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	padding: 1.1rem 1.25rem;
}

.report__year {
	margin: 0;
	font-size: 1.35rem;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	background: var(--ncl-brand);
	color: var(--ncl-on-brand);
	border-radius: var(--ncl-radius);
	font-size: 0.975rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.button:hover,
.button:focus-visible {
	background: var(--ncl-brand-dark);
	color: var(--ncl-on-brand);
	text-decoration: none;
}

.button svg {
	flex: 0 0 auto;
}

.button__meta {
	font-weight: 400;
	opacity: 0.8;
	font-size: 0.875rem;
}

.report__details {
	border-top: 1px solid var(--ncl-line);
}

.report__details summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1.25rem;
	font-weight: 600;
	color: var(--ncl-brand);
	background: var(--ncl-brand-soft);
}

.report__details summary::-webkit-details-marker {
	display: none;
}

.report__details summary::after {
	content: "";
	flex: 0 0 auto;
	width: 0.6rem;
	height: 0.6rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-0.15rem);
	transition: transform 0.2s ease;
}

.report__details[open] summary::after {
	transform: rotate(-135deg) translateY(-0.1rem);
}

.report__details summary:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.report__text {
	padding: 1.25rem 1.25rem 1.4rem;
}

/* Einfache Seiten */
.entry {
	padding-top: clamp(2rem, 6vw, 3.25rem);
	max-width: 46rem;
}

.entry__title {
	margin-bottom: 1.25rem;
}

.entry__content h2 {
	font-size: 1.35rem;
	margin-top: 2rem;
}

.entry__back {
	margin-top: 2.5rem;
}

/* -------------------------------------------------------------------------
 * Fuß
 * ---------------------------------------------------------------------- */

.site-footer {
	background: var(--ncl-brand-dark);
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.95rem;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1.25rem 2rem;
	padding-top: 2.25rem;
	padding-bottom: 2.25rem;
}

.site-footer p {
	margin: 0 0 0.3rem;
}

.site-footer__name {
	font-family: var(--ncl-serif);
	font-size: 1.1rem;
	font-weight: 600;
	color: #fff;
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: #fff;
}

.site-footer :focus-visible {
	outline-color: #fff;
}

/* -------------------------------------------------------------------------
 * Schmal
 * ---------------------------------------------------------------------- */

@media (min-width: 761px) {
	.site-footer__inner {
		grid-template-columns: 1.6fr 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.board {
		gap: 0.6rem;
	}

	.board__item {
		padding: 0.75rem 1rem;
	}

	body {
		font-size: 1rem;
	}

	.facts__row {
		grid-template-columns: 1fr;
		padding: 0.8rem 1rem;
	}

	.site-nav__list {
		gap: 0 1.1rem;
	}

	.report__head,
	.report__details summary,
	.report__text {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.button {
		width: 100%;
		justify-content: flex-start;
	}

	.button__meta {
		margin-left: auto;
	}
}

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

	* {
		transition: none !important;
	}
}

@media print {
	.site-nav,
	.kph-credit,
	.skip-link {
		display: none;
	}

	.site-header,
	.site-footer {
		background: none;
		color: #000;
	}

	.site-header__title,
	.site-header__subtitle,
	.site-footer a,
	.site-footer__name {
		color: #000;
	}

	.report__details > .report__text {
		display: block;
	}
}
