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

html {
	scroll-behavior: smooth;
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-primary);
	/* TODO: Design-Wert prüfen – Schriftgrösse / Zeilenhöhe */
	font-size: 15px;
	/* font-size: 1.125rem; */
	line-height: 1.5;
	color: var(--color-black);
	background-color: var(--color-porcelain);
}

img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-black);
	text-underline-offset: 0.15em;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: var(--focus-outline);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: var(--space-2);
	top: -100%;
	z-index: 1000;
	padding: var(--space-1) var(--space-2);
	background: var(--color-secondary);
	color: var(--color-black);
	font-weight: 700;
}

.skip-link:focus {
	top: var(--space-2);
}

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

h1,
h2,
h3,
h4 {
	line-height: 1.2;
	/* margin-block-end: 0.3em; */
	/* TODO: Design-Wert prüfen – Typografie-Skala */
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-block-start: 2em;
	font-weight: 700;
}



footer p {
	margin-block-start: 0
}
.site-footer__with-icon {
	margin-block-end: 0;
}
.social li {
	line-height: 0;
}

.lead {
	max-width: 40rem;
}

.btn {
	display: inline-block;
	padding: var(--space-1) var(--space-3);
	border: 1px solid var(--color-black);
	background: var(--color-white);
	border-radius: var(--space-1);
	color: var(--color-black);
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
	text-decoration: none;
}

.btn--donate {
	background: var(--color-secondary);
	border-color: var(--color-secondary);
	color: var(--color-black);
	border-radius: var(--space-1);
}

.btn--donate:hover {
	background: var(--color-secondary-hover);
	border-color: var(--color-secondary-hover);
}

.btn--contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px 6px 8px;
	border-width: 1px;
	border-radius: 8px;
	font-size: inherit;
}

.btn--contact:hover,
.btn--contact:focus-visible {
	background: var(--color-white);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
	text-decoration: none;
}

.btn--contact:hover .btn--contact__label,
.btn--contact:focus-visible .btn--contact__label {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.btn--contact .btn__icon {
	display: flex;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--color-black);
}

.btn--contact .btn__icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.prose :first-child {
	margin-block-start: 0;
}

.prose ul {
	list-style: none;
	padding-inline-start: 1.4em;
}

.prose ul li {
	position: relative;
}

.prose ul li::before {
	content: '';
	position: absolute;
	inset-inline-start: -1.1em;
	bottom: 0.35em; /* Baseline-Ausrichtung: text-bottom ≈ li-bottom − 2px bei 15px/1.5 */
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: var(--color-primary-hover);
}

.prose h2[id] {
	scroll-margin-top: 6rem;
}
