/* ==========================================================================
   Guardian Road Bears e.V. – Stylesheet
   --------------------------------------------------------------------------
   Alle Schriften liegen lokal (keine Verbindung zu Google-Servern):
   Oswald & Source Sans 3 (SIL Open Font License), Special Elite (Apache 2.0)

   Aufbau:
    1. Schriften & Variablen      7. Statement-Band      13. Spenden
    2. Grundlagen                 8. Eltern & Kids       14. Kontakt
    3. Bausteine (Buttons …)      9. Termine             15. Partner
    4. Kopfzeile & Navigation    10. Galerie             16. Fußzeile
    5. Hero                      11. Mitmachen           17. Cookie-Hinweis
    6. Über uns                  12. Rechtliche Seiten   18. Animationen
   ========================================================================== */

/* 1. Schriften & Variablen ================================================ */

@font-face {
	font-family: 'Oswald';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/oswald-latin-500.woff2') format('woff2');
}

@font-face {
	font-family: 'Oswald';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/oswald-latin-600.woff2') format('woff2');
}

@font-face {
	font-family: 'Oswald';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/oswald-latin-700.woff2') format('woff2');
}

@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Source Sans 3';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/source-sans-3-latin-400-italic.woff2') format('woff2');
}

@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/source-sans-3-latin-700-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Special Elite';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/special-elite-latin.woff2') format('woff2');
}

:root {
	/* Farben – Vereinsblau (#0304CF) als Akzent, dazu neutrale Töne
	   und ein warmes Braun aus dem Fell des Logo-Bären für Symbole */
	--c-blue: #0304cf;         /* Vereinsblau: Kopfzeile, Buttons, Links */
	--c-blue-dark: #0203a3;    /* Hover auf hellem Grund */
	--c-blue-light: #a9aaff;   /* blauer Akzent auf dunklem Grund */
	--c-blue-pale: #d3d4ff;    /* Akzenttext auf Vereinsblau */
	--c-blue-soft: #e8e9ff;    /* zarte blaue Flächen */
	--c-warm: #a96d28;         /* Bärenbraun: Symbole auf hellem Grund */
	--c-warm-light: #e2ac62;   /* Bärenbraun auf dunklem Grund */
	--c-warm-soft: #f5ebdd;    /* Symbol-Hintergründe */
	--c-ink: #10121f;          /* fast Schwarz (Überschriften, dunkle Flächen) */
	--c-ink-2: #171927;        /* dunkle Abschnitte */
	--c-ink-3: #21243a;        /* Karten auf dunklem Grund */
	--c-cream: #f4f5f7;        /* heller Abschnitts-Hintergrund */
	--c-paper: #ffffff;        /* Karten */
	--c-line: #e1e3ea;
	--c-text: #1d1f2c;
	--c-muted: #5d6070;
	--c-on-dark: #eef0f6;
	--c-on-dark-muted: #b9bccb;

	--font-head: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
	--font-hand: 'Special Elite', 'Courier New', monospace;
	--font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 2px 6px rgba(16, 18, 31, 0.06), 0 8px 20px -12px rgba(16, 18, 31, 0.25);
	--shadow-md: 0 4px 12px rgba(16, 18, 31, 0.06), 0 24px 48px -24px rgba(16, 18, 31, 0.35);
	--shadow-lg: 0 10px 30px rgba(16, 18, 31, 0.08), 0 40px 80px -30px rgba(16, 18, 31, 0.45);

	--container: 1180px;
	--container-header: 1280px; /* Kopfzeile etwas breiter, damit alle Menüpunkte passen */
	--header-h: 76px;
}

/* 2. Grundlagen =========================================================== */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--c-cream);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--c-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s;
}

a:hover {
	color: var(--c-blue-dark);
}

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	color: var(--c-ink);
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.005em;
}

p {
	margin: 0 0 1em;
}

strong,
b {
	font-weight: 700;
}

ul,
ol {
	margin: 0 0 1em;
}

hr {
	height: 0;
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--c-line);
}

button,
input,
select,
textarea {
	font: inherit;
}

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

.site-header :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible,
.statement :focus-visible,
.donate :focus-visible,
.join-cta :focus-visible,
.callout :focus-visible,
.mission-card :focus-visible,
.aside-card--dark :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible {
	outline-color: #fff;
}

::selection {
	background: var(--c-blue);
	color: #fff;
}

/* Anker-Sprünge landen unter der fixierten Kopfzeile */
[id] {
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 2000;
	padding: 10px 18px;
	border-radius: 8px;
	background: var(--c-blue);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}

/* 3. Bausteine ============================================================ */

.section {
	padding: clamp(72px, 9vw, 120px) 0;
}

.section--paper {
	background: var(--c-paper);
}

.section--dark {
	background: var(--c-ink-2);
	color: var(--c-on-dark);
}

.section--dark h2,
.section--dark h3 {
	color: #fff;
}

.section-head {
	max-width: 760px;
	margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head--center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.section-head--center .eyebrow {
	justify-content: center;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.7em;
	margin: 0 0 0.9em;
	color: var(--c-blue);
	font-family: var(--font-head);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: '';
	flex: 0 0 auto;
	width: 30px;
	height: 2px;
	background: currentColor;
}

.section--dark .eyebrow,
.hero .eyebrow,
.donate .eyebrow,
.page-hero .eyebrow {
	color: var(--c-blue-light);
}

.hero .eyebrow {
	color: rgba(255, 255, 255, 0.85);
}

.section-title {
	font-size: clamp(2.1rem, 4.4vw, 3.2rem);
	font-weight: 700;
	text-transform: uppercase;
}

.section-lead {
	margin: 0;
	color: var(--c-muted);
	font-size: clamp(1.08rem, 1.4vw, 1.2rem);
}

.section--dark .section-lead {
	color: var(--c-on-dark-muted);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 50px;
	padding: 0.7em 1.6em;
	border: 2px solid transparent;
	border-radius: 999px;
	background: transparent;
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--primary {
	background: var(--c-blue);
	color: #fff;
}

.btn--primary:hover {
	background: var(--c-blue-dark);
	box-shadow: 0 12px 26px -12px rgba(3, 4, 207, 0.8);
	color: #fff;
}

/* Weißer Button für blaue und dunkle Flächen */
.btn--light {
	background: #fff;
	color: var(--c-blue);
}

.btn--light:hover {
	background: var(--c-blue-soft);
	box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
	color: var(--c-blue-dark);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.btn--dark {
	background: var(--c-ink);
	color: #fff;
}

.btn--dark:hover {
	background: var(--c-blue-dark);
	color: #fff;
}

.btn--outline {
	border-color: var(--c-ink);
	color: var(--c-ink);
}

.btn--outline:hover {
	background: var(--c-ink);
	color: #fff;
}

.btn--sm {
	min-height: 42px;
	padding: 0.5em 1.2em;
	font-size: 0.9rem;
}

.btn--block {
	width: 100%;
}

.tag {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--c-blue-soft);
	color: var(--c-blue);
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	vertical-align: 0.2em;
	white-space: nowrap;
}

.icon-badge {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--c-warm-soft);
	color: var(--c-warm);
	font-size: 1.3rem;
}

.icon-badge--dark {
	background: var(--c-ink);
	color: var(--c-warm-light);
}

.mission-card .icon-badge--dark {
	background: rgba(255, 255, 255, 0.08);
}

/* 4. Kopfzeile & Navigation =============================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(3, 4, 207, 0.97);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
	box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.7);
}

.header-inner {
	max-width: var(--container-header);
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--header-h);
}

.brand {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: auto;
	color: #fff;
	text-decoration: none;
}

.brand:hover {
	color: #fff;
}

.brand img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	transition: transform 0.3s;
}

.brand:hover img {
	transform: rotate(-6deg) scale(1.05);
}

.brand-name {
	display: block;
	font-family: var(--font-head);
	font-size: 1.22rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand-tag {
	display: block;
	color: var(--c-blue-pale);
	font-family: var(--font-hand);
	font-size: 0.85rem;
	line-height: 1.3;
}

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

.nav-list a {
	position: relative;
	display: block;
	padding: 8px 8px;
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.is-active {
	color: #fff;
}

.nav-list a::after {
	content: '';
	position: absolute;
	right: 8px;
	bottom: 2px;
	left: 8px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transform: scaleX(0);
	transition: transform 0.25s;
}

.nav-list a.is-active::after,
.nav-list a:hover::after {
	transform: scaleX(1);
}

.nav-item-cta {
	display: none;
}

.header-cta {
	flex-shrink: 0;
	white-space: nowrap;
}

.nav-toggle {
	display: none;
	position: relative;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.nav-toggle-bar {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.3s, opacity 0.2s;
}

.nav-toggle-bar:nth-child(1) { top: 15px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 27px; }

.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Unterhalb dieser Breite passt das Menü nicht mehr in eine Zeile
   (Wert = --container-header) */
@media screen and (max-width: 1280px) {

	.nav-toggle {
		display: inline-block;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		max-height: calc(100vh - var(--header-h));
		max-height: calc(100dvh - var(--header-h));
		padding: 8px 24px 28px;
		overflow-y: auto;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		background: #0203b4;
		box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.7);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
	}

	.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.25s, transform 0.25s;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-width: var(--container);
		margin: 0 auto;
	}

	.nav-list a {
		padding: 15px 4px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		font-size: 1.1rem;
	}

	.nav-list a::after {
		display: none;
	}

	.nav-list a.is-active {
		color: #fff;
		box-shadow: inset 3px 0 0 #fff;
		padding-left: 14px;
	}

	.nav-item-cta {
		display: block;
		padding-top: 20px;
	}

	.nav-list .nav-item-cta a {
		display: flex;
		padding: 0.7em 1.6em;
		border-bottom: 0;
		color: var(--c-blue);
	}

}

@media screen and (max-width: 640px) {

	:root {
		--header-h: 66px;
	}

	.container {
		padding: 0 16px;
	}

	.header-cta {
		display: none;
	}

	.brand img {
		width: 42px;
		height: 42px;
	}

	.brand-name {
		font-size: 1.05rem;
	}

	.brand-tag {
		font-size: 0.78rem;
	}

	.site-nav {
		padding-right: 16px;
		padding-left: 16px;
	}

}

/* 5. Hero ================================================================= */

.hero {
	position: relative;
	z-index: 0;
	overflow: hidden;
	background: var(--c-ink) url('../../images/hero-bikes.jpg') 65% 70% / cover no-repeat;
	color: #fff;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(100deg, rgba(12, 13, 22, 0.9) 0%, rgba(12, 13, 22, 0.7) 45%, rgba(12, 13, 22, 0.25) 100%),
		linear-gradient(0deg, rgba(12, 13, 22, 0.75) 0%, rgba(12, 13, 22, 0) 40%);
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
	align-items: center;
	gap: 56px;
	min-height: min(88vh, 780px);
	padding-top: 88px;
	padding-bottom: 150px;
}

.hero-title {
	margin-bottom: 0.4em;
	color: #fff;
	font-size: clamp(2.7rem, 6.6vw, 5.4rem);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.hero-title .accent {
	color: #fff;
	/* Textmarker-Effekt in Vereinsblau */
	background: linear-gradient(transparent 62%, rgba(3, 4, 207, 0.9) 62%, rgba(3, 4, 207, 0.9) 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding: 0 0.08em;
}

.hero-lead {
	max-width: 34em;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(1.12rem, 1.6vw, 1.32rem);
	line-height: 1.6;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

.hero-emblem {
	justify-self: center;
	width: 100%;
	max-width: 400px;
	margin: 0;
	text-align: center;
}

.hero-emblem img {
	width: 100%;
	margin: 0 auto;
	opacity: 0.94;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
}

.hero-emblem figcaption {
	margin-top: 18px;
	color: var(--c-blue-pale);
	font-family: var(--font-hand);
	font-size: 1.5rem;
}

.scroll-cue {
	position: absolute;
	bottom: 92px;
	left: 50%;
	display: grid;
	place-items: center;
	width: 34px;
	height: 54px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 20px;
	transform: translateX(-50%);
}

.scroll-cue::after {
	content: '';
	width: 4px;
	height: 10px;
	border-radius: 2px;
	background: #fff;
	animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
	0%   { opacity: 0; transform: translateY(-8px); }
	40%  { opacity: 1; }
	100% { opacity: 0; transform: translateY(10px); }
}

@media screen and (max-width: 900px) {

	.hero-inner {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-top: 64px;
		padding-bottom: 130px;
	}

	.hero-emblem,
	.scroll-cue {
		display: none;
	}

}

@media screen and (max-width: 480px) {

	.hero-actions .btn {
		width: 100%;
	}

}

/* Kennzahlen-Leiste unter dem Hero */
.facts {
	position: relative;
	z-index: 2;
	margin-top: -84px;
}

.facts-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border-radius: var(--radius);
	background: var(--c-line);
	box-shadow: var(--shadow-lg);
	list-style: none;
}

.fact {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 28px 24px;
	background: var(--c-paper);
}

.fact-title {
	margin: 0 0 4px;
	color: var(--c-ink);
	font-family: var(--font-head);
	font-size: 1.22rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
}

.fact-text {
	margin: 0;
	color: var(--c-muted);
	font-size: 0.97rem;
	line-height: 1.45;
}

@media screen and (max-width: 1040px) {

	.facts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media screen and (max-width: 560px) {

	.facts-grid {
		grid-template-columns: 1fr;
	}

	.fact {
		padding: 20px;
	}

}

/* 6. Über uns ============================================================= */

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(36px, 5vw, 80px);
}

.prose {
	font-size: 1.1rem;
}

.prose p:last-child {
	margin-bottom: 0;
}

.prose strong {
	color: var(--c-ink);
}

.prose .lead {
	color: var(--c-ink);
	font-size: clamp(1.2rem, 1.8vw, 1.4rem);
	line-height: 1.5;
}

.mission-card {
	position: sticky;
	top: calc(var(--header-h) + 28px);
	z-index: 0;
	overflow: hidden;
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--radius);
	background: var(--c-ink-2);
	box-shadow: var(--shadow-md);
	color: var(--c-on-dark);
}

.mission-card::after {
	content: '';
	position: absolute;
	right: -70px;
	bottom: -70px;
	z-index: -1;
	width: 280px;
	height: 280px;
	background: url('../../images/emblem-white.png') center / contain no-repeat;
	opacity: 0.07;
}

.mission-card h3 {
	color: #fff;
	font-size: 1.6rem;
	text-transform: uppercase;
}

.mission-card .icon-badge {
	margin-bottom: 20px;
}

.mission-card p {
	font-size: 1.05rem;
}

.mission-card strong {
	color: #fff;
	font-weight: 600;
}

.mission-note {
	margin: 24px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--c-on-dark-muted);
}

.mission-note p:last-child {
	margin-bottom: 0;
}

.services-head {
	margin: clamp(64px, 8vw, 96px) 0 28px;
}

.services-head h3 {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	text-transform: uppercase;
}

.services {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service {
	padding: 28px 24px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-paper);
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service:hover {
	border-color: transparent;
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.service .icon-badge {
	margin-bottom: 18px;
}

.service h4 {
	margin-bottom: 8px;
	font-size: 1.3rem;
	text-transform: uppercase;
}

.service p {
	margin: 0;
	color: var(--c-muted);
	font-size: 1rem;
}

@media screen and (max-width: 1040px) {

	.services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media screen and (max-width: 900px) {

	.about-grid {
		grid-template-columns: 1fr;
	}

	.mission-card {
		position: relative;
		top: 0;
	}

}

@media screen and (max-width: 560px) {

	.services {
		grid-template-columns: 1fr;
	}

}

/* 7. Statement-Band ======================================================= */

.statement {
	position: relative;
	z-index: 0;
	overflow: hidden;
	padding: clamp(80px, 11vw, 140px) 0;
	background: var(--c-ink) url('../../images/banner.jpg') center / cover no-repeat;
	color: #fff;
	text-align: center;
}

.statement::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(16, 18, 31, 0.76);
}

.statement::after {
	/* Vereinsemblem als Wasserzeichen */
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: 520px;
	height: 520px;
	background: url('../../images/emblem-white.png') center / contain no-repeat;
	opacity: 0.1;
	transform: translate(-50%, -50%);
}

.statement-quote {
	max-width: 15em;
	margin: 0 auto;
	color: #fff;
	font-family: var(--font-head);
	font-size: clamp(2.3rem, 6vw, 4.6rem);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
}

.statement-quote span {
	color: #fff;
	/* Textmarker-Effekt in Vereinsblau */
	background: linear-gradient(transparent 62%, rgba(3, 4, 207, 0.9) 62%, rgba(3, 4, 207, 0.9) 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding: 0 0.08em;
}

.statement-sub {
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--font-hand);
	font-size: 1.2rem;
}

/* 8. Eltern & Kids ======================================================== */

.help-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	align-items: stretch;
	gap: 28px;
}

.help-card {
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-paper);
	box-shadow: var(--shadow-sm);
}

.help-card--kids {
	border-color: #eadcc6;
	background: linear-gradient(160deg, #fdf9f3 0%, #f5eadb 100%);
}

.help-card-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 26px;
}

.help-card-head h3 {
	margin: 0;
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
	text-transform: uppercase;
}

.help-card p {
	font-size: 1.05rem;
}

.check-list {
	display: grid;
	gap: 16px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 38px;
	font-size: 1.05rem;
}

.check-list li::before {
	content: '\f00c';
	position: absolute;
	top: 3px;
	left: 0;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--c-ink);
	color: var(--c-warm-light);
	font-family: 'Font Awesome 5 Free';
	font-size: 0.7rem;
	font-weight: 900;
}

/* Bär füllt den freien Platz zwischen Liste und Hinweis in der Kids-Karte */
.help-card-art {
	width: 170px;
	margin: auto;
	padding: 8px 0 32px;
	filter: drop-shadow(0 14px 22px rgba(16, 18, 31, 0.25));
}

.help-card-art + .callout {
	margin-top: 0;
}

.callout {
	margin-top: auto;
	padding: 22px 24px;
	border-left: 4px solid var(--c-blue);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--c-ink);
	color: #fff;
}

.callout p {
	margin: 0 0 16px;
	font-family: var(--font-head);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
}

.certificate {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: auto;
	padding: 18px 20px;
	border: 1px dashed #d3d6e0;
	border-radius: var(--radius-sm);
	background: var(--c-cream);
}

.certificate img {
	flex: 0 0 auto;
	width: 74px;
}

.certificate p {
	margin: 0;
	color: var(--c-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.certificate strong {
	display: block;
	color: var(--c-ink);
}

@media screen and (max-width: 900px) {

	.help-grid {
		grid-template-columns: 1fr;
	}

	.help-card-art {
		display: none;
	}

}

/* 9. Termine ============================================================== */

.events-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	align-items: start;
	gap: 40px;
}

.events-group-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 16px;
	color: var(--c-muted);
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.events-group-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--c-line);
}

.event-list {
	display: grid;
	gap: 14px;
	margin: 0 0 44px;
	padding: 0;
	list-style: none;
}

.event {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 18px 22px 18px 18px;
	border: 1px solid var(--c-line);
	border-radius: 14px;
	background: var(--c-paper);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.event:hover {
	border-color: #cdd0dc;
	box-shadow: var(--shadow-sm);
}

.event--next {
	border-color: var(--c-blue);
	box-shadow: 0 0 0 1px var(--c-blue), var(--shadow-sm);
}

.event-date {
	display: flex;
	flex: 0 0 72px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 76px;
	border-radius: 12px;
	background: var(--c-ink);
	color: #fff;
	font-family: var(--font-head);
	line-height: 1;
	text-align: center;
}

.event-day {
	font-size: 2rem;
	font-weight: 700;
}

.event-month {
	margin-top: 5px;
	color: var(--c-warm-light);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.event-date--month .event-day {
	font-size: 1.45rem;
	text-transform: uppercase;
}

.event-date--open {
	background: var(--c-warm-soft);
	color: var(--c-warm);
}

.event-date--open i {
	font-size: 1.4rem;
}

.event-date--open .event-month {
	color: var(--c-warm);
}

.event-body {
	flex: 1;
	min-width: 0;
	padding-top: 2px;
}

.event-title {
	margin: 0 0 6px;
	font-size: 1.25rem;
	font-weight: 600;
}

.event-title .tag {
	margin-left: 6px;
}

.event-meta {
	display: grid;
	grid-template-columns: minmax(0, 17em) minmax(0, 1fr);
	gap: 4px 24px;
	margin: 0;
	padding: 0;
	color: var(--c-muted);
	font-size: 0.98rem;
	line-height: 1.5;
	list-style: none;
}

.event-meta li {
	display: flex;
	gap: 8px;
}

.event-meta i {
	flex: 0 0 1em;
	margin-top: 0.3em;
	color: var(--c-warm);
	font-size: 0.9em;
	text-align: center;
}

.events-past {
	border: 1px solid var(--c-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.6);
}

.events-past summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	color: var(--c-muted);
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

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

.events-past summary::after {
	content: '\f078';
	margin-left: auto;
	font-family: 'Font Awesome 5 Free';
	font-size: 0.8rem;
	font-weight: 900;
	transition: transform 0.25s;
}

.events-past[open] summary::after {
	transform: rotate(180deg);
}

.events-past .event-list {
	gap: 0;
	margin: 0;
	padding: 0 20px 12px;
}

.event--past {
	align-items: center;
	padding: 12px 0;
	border: 0;
	border-top: 1px solid var(--c-line);
	border-radius: 0;
	background: transparent;
	opacity: 0.75;
}

.event--past:hover {
	box-shadow: none;
}

.event--past .event-date {
	flex-basis: 56px;
	height: 56px;
	background: #e4e5ea;
	color: var(--c-ink);
}

.event--past .event-day {
	font-size: 1.4rem;
}

.event--past .event-date--month .event-day {
	font-size: 1.05rem;
}

.event--past .event-month {
	color: var(--c-muted);
	font-size: 0.7rem;
}

.event--past .event-title {
	font-size: 1.08rem;
}

.events-aside {
	position: sticky;
	top: calc(var(--header-h) + 28px);
	display: grid;
	gap: 20px;
}

.aside-card {
	padding: 28px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-paper);
}

.aside-card h3 {
	margin: 16px 0 10px;
	font-size: 1.4rem;
	text-transform: uppercase;
}

.aside-card p {
	margin-bottom: 0.6em;
	color: var(--c-muted);
}

.aside-card p:last-child {
	margin-bottom: 0;
}

.aside-card--dark {
	border-color: transparent;
	background: var(--c-ink-2);
	color: var(--c-on-dark);
}

.aside-card--dark h3 {
	color: #fff;
}

.aside-card--dark p {
	color: var(--c-on-dark-muted);
}

.aside-card--dark strong {
	color: #fff;
}

.social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.social-btn {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: #fff;
	color: var(--c-ink);
	font-size: 1.1rem;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-btn:hover {
	border-color: var(--c-blue);
	background: var(--c-blue);
	color: #fff;
	transform: translateY(-2px);
}

@media screen and (max-width: 1000px) {

	.events-layout {
		grid-template-columns: 1fr;
	}

	.events-aside {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media screen and (max-width: 640px) {

	.events-aside {
		grid-template-columns: 1fr;
	}

	.event {
		gap: 14px;
		padding: 14px;
	}

	.event-date {
		flex-basis: 60px;
		height: 66px;
	}

	.event-day {
		font-size: 1.7rem;
	}

	.event-meta {
		grid-template-columns: 1fr;
	}

}

/* 10. Galerie ============================================================= */

.albums {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.album {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--radius);
	background: var(--c-ink-3);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.album:hover {
	border-color: rgba(169, 170, 255, 0.55);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
	transform: translateY(-4px);
}

.album-cover {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: #0c0d16;
	cursor: pointer;
}

.album-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.9;
	transition: transform 0.6s ease, opacity 0.3s;
}

.album:hover .album-cover img {
	opacity: 1;
	transform: scale(1.06);
}

.album-cover::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(16, 18, 31, 0.75) 0%, rgba(16, 18, 31, 0) 55%);
	pointer-events: none;
}

.album-count {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
	padding: 3px 11px;
	border-radius: 999px;
	background: rgba(16, 18, 31, 0.78);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 600;
}

.album-open {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--c-blue);
	font-family: var(--font-head);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s, transform 0.25s;
}

.album:hover .album-open,
.album-cover:focus-visible .album-open {
	opacity: 1;
	transform: none;
}

@media (hover: none) {

	.album-open {
		opacity: 1;
		transform: none;
	}

}

.album-body {
	flex: 1;
	padding: 18px 20px 22px;
}

.album-title {
	margin: 0;
	color: #fff;
	font-size: 1.35rem;
	text-transform: uppercase;
}

.album-category {
	margin: 0 0 4px;
	color: var(--c-blue-light);
	font-family: var(--font-head);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.album--skeleton .album-cover,
.album--skeleton .album-title {
	background: linear-gradient(90deg, #21243a 0%, #2d3049 50%, #21243a 100%);
	background-size: 200% 100%;
	animation: skeleton 1.4s linear infinite;
}

.album--skeleton .album-title {
	width: 60%;
	height: 1.4rem;
	border-radius: 6px;
}

@keyframes skeleton {
	from { background-position: 200% 0; }
	to   { background-position: -200% 0; }
}

.gallery-note {
	margin: 0;
	padding: 24px;
	border: 1px dashed rgba(255, 255, 255, 0.2);
	border-radius: var(--radius);
	color: var(--c-on-dark-muted);
	text-align: center;
}

/* Lightbox (PhotoSwipe) */
.pswp {
	--pswp-bg: #0b0c14;
	--pswp-placeholder-bg: #1a1c2a;
	font-family: var(--font-body);
}

/* Bilder/Videos nicht ziehbar, nicht markierbar, kein Langdruck-Menü (iOS) */
#gallery-tree img,
.pswp img,
.pswp video {
	-webkit-user-drag: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.grb-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 28px 20px 18px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
	color: #fff;
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
	pointer-events: none;
}

.grb-caption[hidden] {
	display: none;
}

.pswp-video {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 64px 16px 72px;
}

.pswp-video video {
	max-width: 100%;
	max-height: 100%;
	border-radius: 8px;
	background: #000;
}

/* 11. Mitmachen =========================================================== */

.join-photo {
	position: relative;
	overflow: hidden;
	margin: 0 0 clamp(40px, 6vw, 64px);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

.join-photo img {
	width: 100%;
	min-height: 200px;
	object-fit: cover;
}

.join-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.join-item {
	padding-top: 22px;
	border-top: 3px solid var(--c-ink);
}

.join-num {
	display: block;
	margin-bottom: 6px;
	color: var(--c-blue);
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.join-item h3 {
	font-size: 1.55rem;
	text-transform: uppercase;
}

.join-item p {
	font-size: 1.04rem;
}

.join-cta {
	position: relative;
	z-index: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	overflow: hidden;
	margin-top: clamp(40px, 6vw, 64px);
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--radius);
	background: var(--c-ink-2);
	color: #fff;
}

.join-cta::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -40px;
	z-index: -1;
	width: 260px;
	height: 260px;
	background: url('../../images/emblem-white.png') center / contain no-repeat;
	opacity: 0.12;
	transform: translateY(-50%);
}

.join-cta h3 {
	margin: 0 0 4px;
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	text-transform: uppercase;
}

.join-cta p {
	margin: 0;
	color: var(--c-warm-light);
	font-family: var(--font-hand);
	font-size: 1.15rem;
}

.join-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media screen and (max-width: 900px) {

	.join-grid {
		grid-template-columns: 1fr;
	}

}

@media screen and (max-width: 480px) {

	.join-cta-actions,
	.join-cta-actions .btn {
		width: 100%;
	}

}

/* Abteilung Nordilinga i.p.r. --------------------------------------------- */

.chapter-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	grid-template-areas:
		'text  photo'
		'cta   photo';
	grid-template-rows: auto 1fr;
	column-gap: clamp(36px, 5vw, 80px);
	row-gap: 32px;
}

.chapter-text {
	grid-area: text;
}

.chapter-photo {
	grid-area: photo;
	align-self: start;
	margin: 0;
}

.chapter-photo img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

.chapter-photo figcaption {
	margin-top: 14px;
	color: var(--c-ink);
	font-family: var(--font-head);
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.chapter-cta {
	grid-area: cta;
	align-self: start;
	padding: 24px 0 0;
	border-top: 3px solid var(--c-ink);
}

.chapter-cta p {
	margin: 0 0 20px;
	font-size: 1.1rem;
}

@media screen and (max-width: 900px) {

	.chapter-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			'text'
			'photo'
			'cta';
		grid-template-rows: auto;
	}

	.chapter-photo {
		max-width: 560px;
	}

}

@media screen and (max-width: 480px) {

	.chapter-cta .btn {
		width: 100%;
	}

}

/* 13. Spenden ============================================================= */

.donate {
	background:
		radial-gradient(circle at 85% 20%, rgba(3, 4, 207, 0.22), transparent 55%),
		linear-gradient(135deg, #22253a 0%, var(--c-ink) 65%);
	color: var(--c-on-dark);
}

.donate h2 {
	color: #fff;
}

.donate-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(36px, 6vw, 80px);
}

.donate-text {
	color: var(--c-on-dark-muted);
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.donate-text strong {
	color: #fff;
}

.donate-text a {
	color: var(--c-blue-light);
}

.donate-text a:hover {
	color: #fff;
}

.bank-card {
	position: relative;
	z-index: 0;
	overflow: hidden;
	padding: clamp(26px, 4vw, 36px);
	border-radius: 20px;
	background: linear-gradient(145deg, #3c3dff 0%, #0304cf 55%, #02037f 100%);
	box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	color: #fff;
}

.bank-card::after {
	content: '';
	position: absolute;
	top: -40px;
	right: -50px;
	z-index: -1;
	width: 230px;
	height: 230px;
	background: url('../../images/emblem-white.png') center / contain no-repeat;
	opacity: 0.22;
}

.bank-label {
	margin: 0 0 4px;
	font-family: var(--font-head);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.8;
}

.bank-name {
	margin: 0 0 26px;
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 600;
}

.bank-iban {
	display: block;
	margin: 0 0 22px;
	font-family: var(--font-mono);
	font-size: clamp(1.05rem, 2.6vw, 1.45rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	word-spacing: 0.15em;
}

.copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0.5em 1.1em;
	border: 2px solid #fff;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-family: var(--font-head);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.copy-btn:hover,
.copy-btn.is-copied {
	background: #fff;
	color: var(--c-blue);
}

@media screen and (max-width: 900px) {

	.donate-grid {
		grid-template-columns: 1fr;
	}

}

/* 14. Kontakt ============================================================= */

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
	gap: clamp(36px, 5vw, 72px);
}

.contact-options {
	display: grid;
	gap: 14px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.contact-option {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--c-line);
	border-radius: 14px;
	background: var(--c-paper);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-option:hover {
	border-color: var(--c-blue);
	box-shadow: var(--shadow-sm);
	color: inherit;
	transform: translateY(-2px);
}

.contact-option strong {
	display: block;
	color: var(--c-ink);
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.3;
}

.contact-option-text {
	min-width: 0;
}

.contact-option-text span {
	display: block;
	color: var(--c-blue);
	overflow-wrap: anywhere;
}

.contact-social {
	margin-top: 28px;
	color: var(--c-muted);
}

.form-card {
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-paper);
	box-shadow: var(--shadow-md);
}

.form-card h3 {
	font-size: 1.6rem;
	text-transform: uppercase;
}

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

.field--full {
	grid-column: 1 / -1;
}

.field label {
	display: block;
	margin-bottom: 6px;
	color: var(--c-ink);
	font-size: 0.97rem;
	font-weight: 600;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid #cfd2dc;
	border-radius: 10px;
	background: #fff;
	color: var(--c-text);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
	padding-right: 44px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230304cf' stroke-width='2'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.field textarea {
	min-height: 160px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--c-blue);
	box-shadow: 0 0 0 4px rgba(3, 4, 207, 0.25);
	outline: none;
}

.field-hint {
	margin: 6px 0 0;
	color: var(--c-muted);
	font-size: 0.9rem;
}

.form-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
}

.form-privacy {
	flex: 1 1 240px;
	margin: 0;
	color: var(--c-muted);
	font-size: 0.9rem;
}

.alert {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 24px;
	padding: 16px 18px;
	border-radius: 12px;
	font-size: 1rem;
}

.alert i {
	margin-top: 0.2em;
	font-size: 1.2rem;
}

.alert p {
	margin: 0;
}

.alert--error {
	border: 1px solid #efc2bd;
	background: #fcecea;
	color: #7b1f19;
}

.form-success {
	padding: clamp(16px, 4vw, 32px) 0;
	text-align: center;
}

.form-success .icon-badge {
	width: 76px;
	height: 76px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #e4f2e6;
	color: #2b7a3d;
	font-size: 2rem;
}

.form-success h3 {
	text-transform: uppercase;
}

.form-success p {
	color: var(--c-muted);
}

@media screen and (max-width: 900px) {

	.contact-grid {
		grid-template-columns: 1fr;
	}

}

@media screen and (max-width: 560px) {

	.form-grid {
		grid-template-columns: 1fr;
	}

	.form-footer .btn {
		width: 100%;
	}

}

/* 15. Partner ============================================================= */

.partners {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 32px;
}

.partner-group h3 {
	margin: 0 0 16px;
	color: var(--c-muted);
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.partner-logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.partner-logo {
	display: grid;
	place-items: center;
	height: 150px;
	padding: 18px 24px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: #fff;
	transition: box-shadow 0.25s, transform 0.25s;
}

.partner-logo:hover {
	box-shadow: var(--shadow-sm);
	transform: translateY(-3px);
}

.partner-logo img {
	width: auto;
	max-width: 100%;
	max-height: 112px;
	object-fit: contain;
}

.partner-logo--wide img {
	max-height: 72px;
}

@media screen and (max-width: 900px) {

	.partners {
		grid-template-columns: 1fr;
	}

}

/* 16. Fußzeile ============================================================ */

.site-footer {
	padding: clamp(56px, 7vw, 80px) 0 0;
	background: var(--c-ink);
	color: var(--c-on-dark-muted);
	font-size: 0.98rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 1.3fr);
	gap: 40px;
}

.footer-brand img {
	width: 76px;
	margin-bottom: 16px;
}

.footer-brand-name {
	margin: 0;
	color: #fff;
	font-family: var(--font-head);
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.footer-brand-tag {
	margin: 2px 0 14px;
	color: var(--c-blue-light);
	font-family: var(--font-hand);
	font-size: 1.1rem;
}

.footer-brand p:last-child {
	max-width: 28em;
	margin: 0;
}

.footer-title {
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.footer-links {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a {
	color: var(--c-on-dark-muted);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.footer-links a:hover {
	color: #fff;
}

.footer-links i {
	width: 1.3em;
	color: var(--c-blue-light);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: clamp(40px, 6vw, 64px);
	padding: 22px 0 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.92rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-bottom a {
	color: var(--c-on-dark-muted);
	text-decoration: none;
}

.footer-bottom a:hover {
	color: #fff;
}

@media screen and (max-width: 900px) {

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

}

@media screen and (max-width: 480px) {

	.footer-grid {
		grid-template-columns: 1fr;
	}

}

.to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 900;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	background: var(--c-blue);
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 1.1rem;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s, transform 0.3s, visibility 0s linear 0.3s, background-color 0.2s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.3s, transform 0.3s, background-color 0.2s;
}

.to-top:hover {
	background: var(--c-blue-dark);
	color: #fff;
}

/* 12. Rechtliche Seiten (Impressum, Datenschutz) ========================== */

.page-hero {
	position: relative;
	z-index: 0;
	overflow: hidden;
	padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 11vw, 136px);
	background: var(--c-ink-2);
	color: #fff;
}

.page-hero::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -80px;
	z-index: -1;
	width: 420px;
	height: 420px;
	background: url('../../images/emblem-white.png') center / contain no-repeat;
	opacity: 0.06;
	transform: translateY(-50%);
}

.page-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(2.4rem, 6vw, 4rem);
	font-weight: 700;
	text-transform: uppercase;
}

.legal-wrap {
	padding-bottom: clamp(64px, 8vw, 104px);
}

.legal {
	position: relative;
	max-width: 880px;
	margin: clamp(-72px, -6vw, -48px) auto 0;
	padding: clamp(24px, 5vw, 60px);
	overflow-wrap: anywhere;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-paper);
	box-shadow: var(--shadow-md);
}

.legal h2 {
	margin-top: 1.8em;
	font-size: clamp(1.45rem, 2.6vw, 1.8rem);
}

.legal h3 {
	margin-top: 1.5em;
	font-size: 1.25rem;
}

.legal > :first-child,
.legal > :first-child > :first-child {
	margin-top: 0;
}

/* Erste Überschrift im Rechtstext doppelt sonst den Seitentitel */
.legal > h2:first-child {
	display: none;
}

/* Kurzfassung in einfacher Sprache (Datenschutz) */
.legal-summary {
	margin: 0 0 2em;
	padding: 22px 26px;
	border-left: 4px solid var(--c-blue);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--c-blue-soft);
}

.legal-summary h3 {
	margin-top: 0;
}

.legal-summary ul {
	display: grid;
	gap: 8px;
	margin: 0;
}

.legal-toc {
	columns: 2;
	column-gap: 40px;
	margin-bottom: 2em;
}

.legal-toc li {
	break-inside: avoid;
	margin-bottom: 4px;
}

@media screen and (max-width: 640px) {

	.legal-toc {
		columns: 1;
	}

}

.legal ul,
.legal ol {
	padding-left: 1.3em;
}

.legal small {
	color: var(--c-muted);
}

/* 17. Cookie-Hinweis ====================================================== */

.cookie-popup {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(10, 11, 18, 0.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.cookie-card {
	width: 100%;
	max-width: 540px;
	padding: clamp(24px, 5vw, 36px);
	border-radius: 20px;
	background: var(--c-paper);
	box-shadow: var(--shadow-lg);
	animation: cookie-in 0.4s ease-out;
}

.cookie-card h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
	font-size: 1.6rem;
	text-transform: uppercase;
}

.cookie-card h2 i {
	color: var(--c-blue);
}

.cookie-card p {
	color: var(--c-muted);
}

.cookie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.cookie-actions .btn {
	flex: 1 1 180px;
}

@keyframes cookie-in {
	from { opacity: 0; transform: translateY(16px) scale(0.98); }
	to   { opacity: 1; transform: none; }
}

/* 18. Animationen ========================================================= */

/* Inhalte gleiten beim Scrollen sanft ein (nur mit JavaScript) */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

.js .reveal-delay-1 { transition-delay: 0.1s; }
.js .reveal-delay-2 { transition-delay: 0.2s; }
.js .reveal-delay-3 { transition-delay: 0.3s; }

@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;
		transition-delay: 0s !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}

}
