/* ==========================================================================
   Hope4Kids e.V. — shared stylesheet
   Self-hosted fonts, no external CDN. GDPR-friendly.
   ========================================================================== */

/* ----- Self-hosted webfonts ---------------------------------------------- */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-semibold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Lora";
	src: url("../fonts/lora-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Lora";
	src: url("../fonts/lora-semibold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* ----- Tokens ------------------------------------------------------------ */
:root {
	--bg:            #FBF7F2;
	--surface-alt:   #F4ECE2;
	--text:          #1F1A17;
	--text-muted:    #5A4F47;
	--brand:         #D81E1E;
	--brand-deep:    #A81515;
	--brand-soft:    #FBE3E3;
	--border:        #E5DCCF;
	--white:         #FFFFFF;

	--container:     1140px;
	--gutter:        24px;

	--radius-sm:     6px;
	--radius-md:     12px;
	--radius-lg:     20px;

	--shadow-sm:     0 1px 2px rgba(31, 26, 23, 0.06);
	--shadow-md:     0 6px 24px rgba(31, 26, 23, 0.08);

	--font-sans:     "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif:    "Lora", Georgia, "Times New Roman", serif;
}

/* ----- Reset & base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	background-color: var(--bg);
	background-image:
		radial-gradient(820px 620px at 100% 0%, rgba(216, 30, 30, 0.06), transparent 65%),
		radial-gradient(720px 540px at 0% 38%, rgba(168, 21, 21, 0.035), transparent 65%),
		radial-gradient(880px 620px at 50% 100%, rgba(216, 30, 30, 0.025), transparent 65%);
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body {
	margin: 0;
	background: transparent;
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--brand-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	color: var(--text);
	margin: 0 0 0.5em 0;
	line-height: 1.2;
	font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.5vw + 0.5rem, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em 0; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.25em; margin: 0 0 1em 0; }
li + li { margin-top: 0.35em; }

hr {
	border: 0;
	border-top: 1px solid var(--border);
	margin: 2.5rem 0;
}

::selection { background: var(--brand-soft); color: var(--text); }

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

/* ----- Layout ------------------------------------------------------------ */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

main { display: block; }

.section {
	padding: 96px 0;
}
.section--tight { padding: 64px 0; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-sans);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand-deep);
	margin-bottom: 0.75rem;
}

.lead {
	font-size: 1.15rem;
	color: var(--text-muted);
	max-width: 60ch;
}

.section-head {
	max-width: 720px;
	margin: 0 auto 48px auto;
	text-align: center;
}
.section-head .lead { margin: 0 auto; }

/* ----- Header & nav ------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 247, 242, 0.92);
	backdrop-filter: saturate(180%) blur(8px);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.15rem;
}
.brand__mark {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 6px;
	align-items: center;
}
.site-nav li { margin: 0; }

.site-nav a {
	display: inline-block;
	padding: 8px 12px;
	color: var(--text);
	font-weight: 500;
	font-size: 0.96rem;
	text-decoration: none;
	border-radius: var(--radius-sm);
}
.site-nav a:hover { color: var(--brand-deep); background: var(--surface-alt); }
.site-nav a[aria-current="page"] {
	color: var(--brand-deep);
	background: var(--brand-soft);
}

/* ----- Buttons ----------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: var(--radius-sm);
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
	background: var(--brand);
	color: var(--white);
}
.btn--primary:hover { background: var(--brand-deep); color: var(--white); }

.btn--secondary {
	background: transparent;
	color: var(--text);
	border-color: var(--text);
}
.btn--secondary:hover { background: var(--text); color: var(--bg); }

.btn--on-brand {
	background: var(--white);
	color: var(--brand-deep);
}
.btn--on-brand:hover { background: var(--bg); color: var(--brand-deep); }

.btn--ghost-on-brand {
	background: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost-on-brand:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

/* ----- Hero -------------------------------------------------------------- */
.hero {
	padding: 96px 0 80px 0;
	background:
		radial-gradient(900px 500px at 90% -10%, rgba(216, 30, 30, 0.08), transparent 60%),
		linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
}

.hero__inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 64px;
	align-items: center;
}

.hero__title {
	margin-top: 0.25rem;
	margin-bottom: 16px;
	font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
	letter-spacing: -0.015em;
}

.hero__sub {
	font-size: 1.2rem;
	color: var(--text-muted);
	max-width: 56ch;
	margin-bottom: 28px;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero__media {
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero__logo {
	width: min(360px, 100%);
	background: var(--white);
	padding: 28px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

/* ----- Cards ------------------------------------------------------------- */
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.card__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }

.card__title {
	margin: 0 0 8px 0;
	font-family: var(--font-serif);
	font-size: 1.25rem;
}
.card__body { color: var(--text-muted); font-size: 0.98rem; }

.card__link {
	display: inline-block;
	margin-top: 16px;
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--brand-deep);
	text-decoration: none;
}
.card__link::after { content: " \2192"; }
.card__link:hover { color: var(--brand); text-decoration: underline; }

/* ----- Goals strip ------------------------------------------------------- */
.goals { background: var(--surface-alt); }
.goals__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.goal {
	border-left: 3px solid var(--brand);
	padding: 4px 0 4px 18px;
}
.goal__kicker {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brand-deep);
	margin-bottom: 6px;
}
.goal__text {
	font-family: var(--font-serif);
	font-size: 1.1rem;
	line-height: 1.45;
	color: var(--text);
}

/* ----- Donation callout band -------------------------------------------- */
.callout {
	background: var(--brand);
	color: var(--white);
}
.callout__inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 32px;
	align-items: center;
	padding: 64px 0;
}
.callout h2 { color: var(--white); margin-bottom: 8px; }
.callout p { color: rgba(255, 255, 255, 0.92); margin: 0; max-width: 56ch; font-size: 1.1rem; }
.callout__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

/* ----- About / Vorstand ------------------------------------------------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

.vorstand {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 16px;
}
.person {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 28px;
	text-align: center;
}
.avatar {
	width: 84px;
	height: 84px;
	margin: 0 auto 16px auto;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand-deep);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-serif);
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.person__name {
	font-family: var(--font-serif);
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0 0 4px 0;
}
.person__role { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ----- Project sections (projekte.html) --------------------------------- */
.project {
	scroll-margin-top: 90px;
	padding: 56px 0;
	border-top: 1px solid var(--border);
}
.project:first-of-type { border-top: 0; padding-top: 16px; }

.project__head {
	display: flex;
	gap: 18px;
	align-items: center;
	margin-bottom: 16px;
}
.project__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.project__icon svg { width: 28px; height: 28px; }

.project__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-top: 16px;
}
.project__block h4 {
	font-family: var(--font-sans);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	color: var(--brand-deep);
	margin-bottom: 8px;
}

/* ----- Donation page ---------------------------------------------------- */
.donate-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: start;
}

.section--alt { background: var(--surface-alt); }

.donation-embed {
	max-width: 880px;
	margin: 0 auto;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	padding: 20px;
}
.donation-embed__notice {
	font-size: 0.92rem;
	color: var(--text-muted);
	background: var(--surface-alt);
	border-left: 3px solid var(--brand);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	margin-bottom: 18px;
}
.donation-embed__notice strong { color: var(--brand-deep); }
.donation-embed__notice a { color: var(--brand-deep); }
.donation-embed__frame {
	display: block;
	width: 100%;
	height: 1100px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--bg);
}
.donation-embed__fallback {
	margin: 14px 0 0 0;
	font-size: 0.88rem;
	color: var(--text-muted);
	text-align: center;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	align-items: start;
}
.info-grid h2 {
	font-size: 1.25rem;
	margin-bottom: 10px;
}

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

.bank-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 32px;
	box-shadow: var(--shadow-sm);
}
.bank-card h3 {
	font-family: var(--font-serif);
	font-size: 1.3rem;
	margin-bottom: 16px;
}
.bank-row {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--border);
	align-items: baseline;
}
.bank-row:first-of-type { border-top: 0; padding-top: 0; }
.bank-row dt {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.bank-row dd {
	margin: 0;
	font-family: "Inter", monospace;
	font-feature-settings: "tnum";
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}
.placeholder {
	display: inline-block;
	background: var(--surface-alt);
	color: var(--text-muted);
	padding: 2px 8px;
	border-radius: 4px;
	font-style: italic;
	font-weight: 400;
}
.note {
	margin-top: 16px;
	padding: 12px 14px;
	background: var(--surface-alt);
	border-left: 3px solid var(--brand);
	border-radius: var(--radius-sm);
	font-size: 0.92rem;
	color: var(--text-muted);
}

/* ----- Contact form ----------------------------------------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 56px;
	align-items: start;
}

.contact-info dt {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 4px;
}
.contact-info dd {
	margin: 0 0 18px 0;
	font-size: 1.05rem;
	font-weight: 500;
}

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text);
}
.field input,
.field textarea {
	font: inherit;
	color: var(--text);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	width: 100%;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { min-height: 160px; resize: vertical; }
.form__hint {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* ----- Document/legal pages -------------------------------------------- */
.doc {
	max-width: 760px;
}
.doc h2 {
	font-size: 1.4rem;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
}
.doc h2:first-of-type { margin-top: 0; }
.doc address {
	font-style: normal;
	font-size: 1.02rem;
	line-height: 1.6;
}

.disclaimer {
	margin-bottom: 32px;
	padding: 16px 18px;
	background: var(--surface-alt);
	border-left: 4px solid var(--brand);
	border-radius: var(--radius-sm);
	color: var(--text);
}
.disclaimer strong { color: var(--brand-deep); }

/* ----- Footer ----------------------------------------------------------- */
.site-footer {
	background: #1A1613;
	color: #D6CFC6;
	padding: 56px 0 28px 0;
	margin-top: 80px;
}
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { color: var(--brand-soft); text-decoration: underline; }

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px;
	margin-bottom: 32px;
}
.footer-col h4 {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 8px 0; }

.footer-col address {
	font-style: normal;
	line-height: 1.6;
	color: #D6CFC6;
}

.footer-bottom {
	border-top: 1px solid #3A322D;
	padding-top: 20px;
	font-size: 0.88rem;
	color: #9A9088;
	text-align: center;
}

/* ----- Skip link -------------------------------------------------------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--text);
	color: var(--white);
	padding: 10px 14px;
	border-radius: 0 0 var(--radius-sm) 0;
	z-index: 100;
	text-decoration: none;
	font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ----- Responsive (single breakpoint) ---------------------------------- */
@media (max-width: 768px) {
	.section { padding: 64px 0; }
	.hero { padding: 56px 0; }
	.hero__inner { grid-template-columns: 1fr; gap: 32px; text-align: left; }
	.hero__media { order: -1; }
	.hero__logo { width: min(220px, 70%); padding: 18px; }

	.site-header__inner { flex-wrap: wrap; gap: 8px; padding: 12px 0; }
	.site-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.site-nav ul { flex-wrap: nowrap; gap: 2px; }
	.site-nav a { padding: 8px 10px; font-size: 0.92rem; white-space: nowrap; }

	.cards,
	.goals__grid,
	.vorstand,
	.project__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.split,
	.donate-grid,
	.contact-grid,
	.callout__inner,
	.info-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	/* Footer stays as 3 columns on mobile (per design choice) */
	.footer-grid { gap: 16px; font-size: 0.85rem; }
	.footer-col h4 { font-size: 0.7rem; margin-bottom: 10px; }
	.footer-col address, .footer-col ul { font-size: 0.85rem; }
	.footer-col address a, .footer-col ul a { word-break: break-word; }

	.donation-embed { padding: 12px; }
	.donation-embed__frame { height: 1500px; }

	/* Tap targets bumped to ~44px height for thumbs */
	.site-nav a {
		padding: 11px 12px;
		font-size: 0.95rem;
	}
	.site-nav a[href="spenden.html"] {
		padding: 9px 14px;
		margin-left: 4px;
	}

	/* CTAs full-width below 768px so they're easy to tap */
	.btn { padding: 14px 20px; min-height: 44px; }
	.hero__cta { flex-direction: column; align-items: stretch; }
	.hero__cta .btn { width: 100%; }
	.callout__actions { flex-direction: column; align-items: stretch; }
	.callout__actions .btn { width: 100%; text-align: center; }

	/* Smaller hero decorative blobs on mobile (less corner intrusion) */
	.hero::before { width: 280px; height: 280px; top: -80px; right: -80px; }
	.hero::after { display: none; }

	/* Brand mark slightly smaller, wordmark stays */
	.brand__mark { width: 36px; height: 36px; }
	.brand { font-size: 1.05rem; gap: 10px; }

	/* Section vertical rhythm a touch tighter */
	.section { padding: 56px 0; }
	.section--tight { padding: 40px 0; }

	/* Goals indent tighter */
	.goal { padding-left: 14px; }

	/* Vorstand cards single-column with breathing room */
	.person { padding: 24px 20px; }

	.callout__inner { padding: 48px 0; }
	.callout__actions { justify-content: flex-start; }

	.hero__title { font-size: clamp(1.9rem, 7vw, 2.5rem); }
	h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
	h2 { font-size: clamp(1.4rem, 4.5vw, 1.8rem); }

	body { font-size: 16px; }

	.bank-row { grid-template-columns: 1fr; gap: 2px; }
}

/* Hide brand wordmark on very narrow screens (logo only) */
@media (max-width: 380px) {
	.brand span { display: none; }
	.brand { gap: 0; }
}

/* ==========================================================================
   Polish layer — added in second pass
   Subtle visual refinements: CTA pill in nav, hero motion, tinted shadows,
   animated link underlines, footer accent, print stylesheet.
   ========================================================================== */

/* Sticky-header "Spenden" link becomes a brand pill (CSS-only, no HTML changes) */
.site-nav a[href="spenden.html"] {
	background: var(--brand);
	color: var(--white);
	padding: 8px 18px;
	margin-left: 6px;
	border-radius: 999px;
	font-weight: 600;
	box-shadow: 0 4px 14px -4px rgba(216, 30, 30, 0.45);
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.08s ease, box-shadow 0.18s ease;
}
.site-nav a[href="spenden.html"]:hover {
	background: var(--brand-deep);
	color: var(--white);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px -6px rgba(168, 21, 21, 0.55);
}
.site-nav a[href="spenden.html"][aria-current="page"] {
	background: var(--brand-deep);
	color: var(--white);
}

/* Tinted shadow on the primary CTA — inviting rather than flat */
.btn--primary {
	box-shadow: 0 8px 20px -8px rgba(216, 30, 30, 0.5);
}
.btn--primary:hover {
	box-shadow: 0 12px 28px -10px rgba(168, 21, 21, 0.6);
}

/* Hero decorative blob + smooth first-paint entry */
.hero { position: relative; overflow: hidden; }
.hero::before {
	content: "";
	position: absolute;
	top: -160px;
	right: -160px;
	width: 540px;
	height: 540px;
	background: radial-gradient(circle, rgba(216, 30, 30, 0.10), transparent 70%);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}
.hero::after {
	content: "";
	position: absolute;
	bottom: -120px;
	left: -120px;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, rgba(168, 21, 21, 0.06), transparent 70%);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

/* Brand mark gentle hover scale */
.brand__mark { transition: transform 0.2s ease; }
.brand:hover .brand__mark { transform: scale(1.06); }

/* Project cards: tinted hover shadow + animated bottom accent */
.card { position: relative; overflow: hidden; }
.card::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover::after { transform: scaleX(1); }
.card:hover {
	box-shadow: 0 14px 36px -14px rgba(168, 21, 21, 0.22);
}

/* Animated underline for prose links (not nav, not buttons, not footer) */
.doc a:not(.btn),
.section p a:not(.btn),
.lead a:not(.btn),
.donation-embed__notice a,
.donation-embed__fallback a,
.note a,
.disclaimer a {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 100% 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.25s ease, color 0.18s ease;
}
.doc a:not(.btn):hover,
.section p a:not(.btn):hover,
.lead a:not(.btn):hover,
.donation-embed__notice a:hover,
.donation-embed__fallback a:hover,
.note a:hover,
.disclaimer a:hover {
	background-size: 100% 2px;
}

/* Footer: thin brand accent strip + softer top edge */
.site-footer {
	border-top: 3px solid var(--brand);
}

/* Donation embed: brand-accent top edge */
.donation-embed {
	border-top: 3px solid var(--brand);
}

/* Vorstand person cards: gentle lift on hover */
.person {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.person:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px -14px rgba(168, 21, 21, 0.18);
}

/* Goals: brand-soft tint on hover */
.goal { transition: background-color 0.18s ease; padding-right: 12px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.goal:hover { background: rgba(216, 30, 30, 0.04); }

/* Hero gentle entrance (motion-safe) */
@media (prefers-reduced-motion: no-preference) {
	.hero__title, .hero__sub, .hero__cta {
		animation: heroFadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}
	.hero__sub  { animation-delay: 0.08s; }
	.hero__cta  { animation-delay: 0.16s; }
	.hero__media {
		animation: heroFadeIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
		animation-delay: 0.10s;
	}
	@keyframes heroFadeUp {
		from { opacity: 0; transform: translateY(14px); }
		to   { opacity: 1; transform: translateY(0); }
	}
	@keyframes heroFadeIn {
		from { opacity: 0; transform: scale(0.98); }
		to   { opacity: 1; transform: scale(1); }
	}
}

/* Print stylesheet: legal pages stay readable on paper */
@media print {
	.site-header, .site-footer, .skip-link, .callout, .donation-embed { display: none !important; }
	body { background: #ffffff; color: #000000; font-size: 11pt; }
	main { padding: 0 !important; }
	.section, .section--tight { padding: 16px 0 !important; }
	a { color: #000000; text-decoration: underline; background-image: none; }
	.disclaimer, .note { border: 1px solid #000000; background: transparent !important; }
	h1, h2, h3, h4 { color: #000000; page-break-after: avoid; }
	p, li { page-break-inside: avoid; }
}

/* ==========================================================================
   Detail layer — third pass
   Section-head ornaments, branded bullets, external-link arrows, numbered
   goals, footer dot pattern, doc drop-cap, refined header shadow, richer
   card/avatar hover states, hero gradient mesh.
   ========================================================================== */

/* Section-head: ornamental rule under the eyebrow + brand underline below H1 */
.section-head .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var(--brand);
	opacity: 0.5;
}
.section-head h1::after,
.section-head h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin: 18px auto 0 auto;
	background: var(--brand);
	border-radius: 2px;
}

/* Branded bullets for prose lists (doc + body sections) */
.doc ul:not(.no-bullets),
.section p + ul {
	list-style: none;
	padding-left: 0;
}
.doc ul:not(.no-bullets) > li,
.section p + ul > li {
	position: relative;
	padding-left: 22px;
}
.doc ul:not(.no-bullets) > li::before,
.section p + ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 8px;
	height: 8px;
	background: var(--brand);
	border-radius: 2px;
	transform: rotate(45deg);
}

/* External-link indicator (tiny arrow), excluding decorated areas */
a[target="_blank"]:not(.btn):not(.brand):not(.skip-link):not(.card__link)::after {
	content: " \2197";
	font-size: 0.85em;
	color: var(--brand-deep);
	margin-left: 2px;
	display: inline-block;
	transition: transform 0.18s ease;
}
a[target="_blank"]:not(.btn):not(.brand):not(.skip-link):not(.card__link):hover::after {
	transform: translate(2px, -2px);
}

/* Numbered goal kickers — large faded numerals as ornament */
.goals__grid { counter-reset: goalcount; }
.goal {
	counter-increment: goalcount;
	position: relative;
}
.goal::before {
	content: counter(goalcount, decimal-leading-zero);
	position: absolute;
	top: -8px;
	right: 6px;
	font-family: var(--font-serif);
	font-size: 3.4rem;
	font-weight: 600;
	color: var(--brand);
	opacity: 0.10;
	line-height: 1;
	pointer-events: none;
}

/* Goal kicker style refinement */
.goal__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.goal__kicker::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 1px;
	background: var(--brand);
}

/* Hero gradient mesh — richer than two flat blobs */
.hero {
	background:
		radial-gradient(900px 500px at 92% -8%, rgba(216, 30, 30, 0.10), transparent 60%),
		radial-gradient(700px 420px at 8% 110%, rgba(168, 21, 21, 0.06), transparent 60%),
		radial-gradient(1100px 700px at 50% 50%, rgba(216, 30, 30, 0.025), transparent 70%),
		linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
}

/* Header: sharper shadow once scrolled (using CSS scroll-driven via container; falls back to static) */
.site-header {
	box-shadow: 0 1px 0 var(--border);
	transition: box-shadow 0.2s ease;
}
@supports (animation-timeline: scroll(root)) {
	.site-header {
		animation: header-shadow linear both;
		animation-timeline: scroll(root);
		animation-range: 0 120px;
	}
	@keyframes header-shadow {
		from { box-shadow: 0 1px 0 var(--border); }
		to   { box-shadow: 0 6px 18px -10px rgba(31, 26, 23, 0.18); }
	}
}

/* Card icon: soft gradient bg + ring on hover */
.card__icon {
	background: radial-gradient(circle at 30% 30%, #FFE6E6, var(--brand-soft));
	box-shadow: 0 0 0 0 rgba(216, 30, 30, 0);
	transition: box-shadow 0.3s ease;
}
.card:hover .card__icon {
	box-shadow: 0 0 0 6px rgba(216, 30, 30, 0.10);
}

/* Project icon (deep page) — same treatment */
.project__icon {
	background: radial-gradient(circle at 30% 30%, #FFE6E6, var(--brand-soft));
	box-shadow: 0 0 0 0 rgba(216, 30, 30, 0);
	transition: box-shadow 0.3s ease;
}
.project:hover .project__icon {
	box-shadow: 0 0 0 6px rgba(216, 30, 30, 0.10);
}

/* Vorstand avatar: animated ring on card hover */
.avatar {
	position: relative;
	box-shadow: 0 0 0 0 rgba(216, 30, 30, 0);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.person:hover .avatar {
	transform: scale(1.04);
	box-shadow: 0 0 0 8px rgba(216, 30, 30, 0.10);
}

/* Footer: subtle dot pattern texture */
.site-footer {
	position: relative;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0),
		linear-gradient(180deg, #1A1613 0%, #15110F 100%);
	background-size: 18px 18px, auto;
}

/* Footer headings get a tiny brand accent line */
.footer-col h4 {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.footer-col h4::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 2px;
	background: var(--brand);
}

/* Doc pages: drop-cap on first paragraph after H1 (legal pages, projects) */
.doc > h1 + p::first-letter,
.doc > h1 + .disclaimer + p::first-letter {
	float: left;
	font-family: var(--font-serif);
	font-size: 3.2rem;
	line-height: 0.9;
	font-weight: 600;
	color: var(--brand);
	padding: 6px 10px 0 0;
	margin-top: 4px;
}

/* Eyebrow on legal pages (doc) gets a subtle ornament */
.doc .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.doc .eyebrow::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 1px;
	background: var(--brand);
	opacity: 0.5;
}

/* Refined focus ring with brand-soft glow */
:focus-visible {
	box-shadow: 0 0 0 4px var(--brand-soft);
}

/* Form fields: slightly more refined focus state */
.field input:focus,
.field textarea:focus {
	box-shadow: 0 0 0 3px var(--brand-soft), 0 1px 2px rgba(31, 26, 23, 0.04) inset;
}

/* Bank card placeholder: shimmer hint that real value is coming */
@media (prefers-reduced-motion: no-preference) {
	.placeholder {
		background: linear-gradient(90deg, var(--surface-alt) 0%, #FFF1E5 50%, var(--surface-alt) 100%);
		background-size: 200% 100%;
		animation: placeShimmer 2.4s ease-in-out infinite;
	}
	@keyframes placeShimmer {
		0%, 100% { background-position: 0% 0; }
		50%      { background-position: -100% 0; }
	}
}

/* Iframe placeholder — soft gradient glow while helpmundo loads */
.donation-embed__frame {
	background:
		radial-gradient(circle at 50% 30%, rgba(216, 30, 30, 0.06), transparent 60%),
		var(--bg);
}

/* Selection color refinement (reads warm) */
::selection { background: var(--brand); color: var(--white); }

/* Subtle horizontal rule for doc pages */
.doc hr {
	border: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border), transparent);
	margin: 2.5rem 0;
}

/* Hover scale on the vorstand person card monogram letters */
.avatar { background: radial-gradient(circle at 30% 30%, #FFE6E6, var(--brand-soft)); }

/* Callout band: subtle pattern overlay for depth */
.callout {
	position: relative;
	overflow: hidden;
}
.callout::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px 300px at 90% 50%, rgba(255, 255, 255, 0.10), transparent 60%),
		radial-gradient(400px 200px at 10% 50%, rgba(0, 0, 0, 0.05), transparent 60%);
	pointer-events: none;
}
.callout__inner { position: relative; z-index: 1; }

/* Better link hover for nav (subtle) */
.site-nav a:not([href="spenden.html"]) {
	position: relative;
}
.site-nav a:not([href="spenden.html"])::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 4px;
	height: 2px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-nav a:not([href="spenden.html"]):hover::after,
.site-nav a:not([href="spenden.html"])[aria-current="page"]::after {
	transform: scaleX(1);
}
.site-nav a[aria-current="page"]:not([href="spenden.html"]) {
	background: transparent;
}

/* Smoother iframe loading transition */
.donation-embed__frame {
	transition: opacity 0.3s ease;
}

/* Print: ensure decorative additions don't print */
@media print {
	.section-head h1::after, .section-head h2::after,
	.section-head .eyebrow::before, .section-head .eyebrow::after,
	.goal::before, .goal__kicker::before,
	.footer-col h4::before, .doc .eyebrow::before,
	.callout::before { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
