/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/*
 * Phase 12 – WCAG-AA-Kontrast-Audit (2026-06-16, kein Farbwechsel, nur Dokumentation):
 *   text-grau   #4a4a5a auf Weiss   = 8.68:1  -> AA Normaltext OK (>= 4.5:1)
 *   text-dunkel #1a1a2e auf Weiss   = 17.06:1 -> AA OK
 *   ci-blau     #2a3287 auf Weiss   = 11.03:1 -> AA OK (und umgekehrt)
 *   ci-blau     #2a3287 auf Gelb    = 9.06:1  -> AA OK
 *   text-dunkel #1a1a2e auf Gelb    = 14.02:1 -> AA OK
 * Alle CI-Farbpaare erfüllen WCAG 2.1 1.4.3 (Level AA). Keine Anpassung nötig.
 */
:root {
	--ci-blau: #2a3287;
	--ci-blau-hell: #3a45a0;
	--ci-blau-dunkel: #1e256b;
	--weiss: #ffffff;
	--offwhite: #f4f5fa;
	--hellgrau: #e8e9f0;
	--text-dunkel: #1a1a2e;
	--text-grau: #4a4a5a;
	--akzent-gelb: #FFEC12;
	--header-h: 72px;
	--section-pad: clamp(3.5rem, 7vh, 6rem);
	--content-w: 1000px;
	--narrow-w: 720px;
	--ease-out: cubic-bezier(.16,1,.3,1);
	--ease-smooth: cubic-bezier(.4,0,.2,1);
	--dur-fast: .3s;
	--dur-medium: .5s;
	--dur-slow: .8s;
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-dunkel);
	background: var(--weiss);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ci-blau); text-decoration: none; }
a:hover { color: var(--ci-blau-hell); }
h1, h2, h3 { line-height: 1.2; }

/* Globaler Tastatur-Fokus-Fallback — nur sichtbar bei Keyboard-Navigation.
   Elemente mit eigener :focus-visible-Regel überschreiben das. */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--ci-blau);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
	position: fixed; top: 0; left: 0; width: 0%; height: 3px;
	background: linear-gradient(90deg, var(--akzent-gelb), #d4b830, var(--akzent-gelb));
	z-index: 10001; transition: width 0.05s linear;
	box-shadow: 0 0 8px rgba(200,166,0,.5);
}

/* ============================================================
   SECTION NAV DOTS entfernt (Phase 2.3: seitliche Abschnitts-Navigation entfernt)
   ============================================================ */

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
	position: absolute; top: -100%; left: 1rem; z-index: 10000;
	padding: .75rem 1.5rem; background: var(--ci-blau); color: #fff;
	border-radius: 0 0 8px 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   SR-ONLY (visuell ausgeblendet, für Screenreader sichtbar) — Phase 12 A11y
   ============================================================ */
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(255,255,255,0);
	backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
	transition: background .4s, backdrop-filter .4s, box-shadow .4s, height .3s;
}
.site-header.is-scrolled {
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 2px 24px rgba(0,0,0,.07);
}

/* 3-column grid: Logo left | Burger center | Lang-switch right */
.header-container {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem clamp(1rem, 3vw, 2rem);
	height: 80px;
	transition: height .3s;
}
.site-header.is-scrolled .header-container { height: 64px; }

.header-logo-link { display: flex; align-items: center; flex-shrink: 0; transition: opacity .3s; }
.header-logo { height: 48px; width: auto; transition: height .3s; }
.site-header.is-scrolled .header-logo { height: 36px; }

.header-right {
	justify-self: end;
	display: flex; align-items: center;
}

/* Language Switcher */
.lang-switch { display: flex; gap: .15rem; font-size: .8125rem; color: var(--text-grau); }
.lang-switch a {
	padding: .25rem .35rem; color: inherit; font-weight: 400;
	transition: color .2s, transform .2s;
	border-radius: 4px; position: relative; overflow: hidden;
}
.lang-switch a::before {
	content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
	background: var(--ci-blau); transform: scaleX(0); transition: transform .3s;
}
.lang-switch a:hover { color: var(--ci-blau); transform: translateY(-1px); }
.lang-switch a:hover::before { transform: scaleX(1); }
.lang-switch a.active { color: var(--ci-blau); font-weight: 700; }
.lang-switch a.active::before { transform: scaleX(1); }
.lang-sep { opacity: .3; user-select: none; padding: 0 1px; }

/* Cart Icon */
.header-cart {
	position: relative; display: flex; align-items: center; justify-content: center;
	margin-left: 1rem; padding: .25rem;
	background: transparent; border: 0; cursor: pointer;
	color: var(--text-dunkel);
	transition: transform var(--dur-fast) var(--ease-out);
}
.header-cart:hover { transform: scale(1.1); }
.header-cart:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: 3px; border-radius: 4px; }
.header-cart svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
	position: absolute; top: -2px; right: -4px;
	background: var(--ci-blau); color: #fff;
	font-size: .5rem; font-weight: 800; min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 999px; display: none; align-items: center; justify-content: center; line-height: 1;
	animation: cartPop .3s var(--ease-out);
}
.cart-count.has-items { display: flex; }
@keyframes cartPop { from { transform: scale(0); } to { transform: scale(1); } }
.header-cart.wiggle { animation: cartWiggle .5s var(--ease-out); }
@keyframes cartWiggle { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }

/* Burger -- centered in grid */
.menu-toggle {
	display: flex; align-items: center; justify-content: center;
	justify-self: center;
	background: none; border: none; cursor: pointer;
	padding: .5rem; z-index: 1100;
	width: 48px; height: 48px;
	border-radius: 8px; transition: background .2s, transform .3s;
}
.menu-toggle:hover { background: rgba(42,50,135,.06); transform: scale(1.08); }

.burger-btn {
	display: flex; flex-direction: column; justify-content: center; gap: 5px;
	width: 22px; height: 16px; padding: 0;
	background: none; border: none; cursor: pointer;
	pointer-events: none;
}
.burger-line {
	width: 22px; height: 2px; background: var(--text-dunkel); border-radius: 2px;
	transition: all .35s cubic-bezier(.4,0,.2,1);
	transform-origin: center; position: relative;
}

/* Burger -> X when open */
.site-header.nav-open { z-index: 1100; background: transparent; box-shadow: none; }  /* ueber Overlay (1050): Burger-X dient allein als Schliesser, keine Sprung-Position (Phase 2.3) */
.site-header.nav-open .burger-line { background: #fff; }
.site-header.nav-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .burger-line:nth-child(2) { opacity: 0; width: 0; }
.site-header.nav-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header.nav-open .header-logo { opacity: 0; transition: opacity .2s; }
.site-header.nav-open .header-right { opacity: 0; pointer-events: none; transition: opacity .2s; }

/* Burger Overlay */
.burger-overlay {
	position: fixed; inset: 0; z-index: 1050;
	background: linear-gradient(160deg, var(--ci-blau) 0%, #1e2668 60%, #151b4a 100%);
	display: flex; align-items: center; justify-content: center;
	overflow-y: auto; -webkit-overflow-scrolling: touch;
	opacity: 0; visibility: hidden; transform: scale(1.03);
	transition: opacity .4s cubic-bezier(.4,0,.2,1), visibility .4s, transform .4s cubic-bezier(.4,0,.2,1);
}
.burger-overlay.is-open { opacity: 1; visibility: visible; transform: scale(1); }

/* White overlay logo (same position as header logo) */
.nav-overlay-logo {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1110;
	height: 80px; display: flex; align-items: center;
	max-width: 1280px; margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
	opacity: 0; transition: opacity .3s .15s; pointer-events: none;
}
.nav-overlay-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.burger-overlay.is-open .nav-overlay-logo { opacity: 1; }

/* Schliessen erfolgt ueber den Burger selbst (animiert zum X); separater nav-close entfernt (Phase 2.3) */

/* Nav emoji decorators */
.nav-emoji { margin-right: .4rem; font-size: 1.1em; }

/* Footer hint in overlay */
.nav-footer-hint {
	position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
	color: rgba(255,255,255,.3); font-size: .75rem; letter-spacing: .1em;
	text-transform: uppercase; opacity: 0; transition: opacity .5s .5s;
}
.burger-overlay.is-open .nav-footer-hint { opacity: 1; }
.burger-nav { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.burger-nav a {
	color: #fff; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600;
	padding: .6rem 1.25rem; min-height: 44px; display: inline-flex; align-items: center;  /* Tap-Target >=44px (Phase 2.3) */
	transition: opacity .2s, transform .3s, letter-spacing .3s;
	opacity: 0; transform: translateY(20px);
}
.burger-overlay.is-open .burger-nav a {
	opacity: 1; transform: translateY(0);
}
.burger-nav a:nth-child(1) { transition-delay: .1s; }
.burger-nav a:nth-child(2) { transition-delay: .15s; }
.burger-nav a:nth-child(3) { transition-delay: .2s; }
.burger-nav a:nth-child(4) { transition-delay: .25s; }
.burger-nav a:nth-child(5) { transition-delay: .3s; }
.burger-nav a:nth-child(6) { transition-delay: .35s; }
.burger-nav a:nth-child(7) { transition-delay: .4s; }
.burger-nav a:nth-child(8) { transition-delay: .45s; }
.burger-nav a:hover { opacity: .7; color: #fff; letter-spacing: 2px; }
.burger-nav .nav-small { font-size: clamp(.875rem, 2vw, 1rem); font-weight: 400; }
.burger-nav hr { width: 60px; border: none; border-top: 1px solid rgba(255,255,255,.2); margin: .5rem 0; opacity: 0; }
.burger-overlay.is-open .burger-nav hr { opacity: 1; transition: opacity .5s .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 4vw, 3rem) 4rem;
	background: var(--ci-blau);   /* einheitliches CI-CD Blau (Phase 3.2) */
	overflow: hidden;
	text-align: center;
}

/* Hintergrund-Symbolmuster entfernt (Phase 3.2: gehoert nicht zum CI-CD) */

.hero-content { position: relative; max-width: 800px; z-index: 1; }

/* Headline with yellow accent on "Sekunde" */
.hero h1 {
	font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 800; color: #fff;
	letter-spacing: -.02em; line-height: 1.1; margin: 0 0 1.5rem;
	opacity: 0;
	animation: heroTextReveal 1.4s .3s var(--ease-out) forwards;
}
.hero h1 .gelb { color: var(--akzent-gelb); display: inline-block; }

@keyframes heroTextReveal {
	0% { opacity: 0; filter: blur(8px); transform: translateY(16px); }
	100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Einsatzfahrzeug -- nur Dach blinkt blau, kein Rotlicht, kein Kreuz, nicht gelb */
.hero-vehicle {
	width: 56px; margin: 0 auto 2rem; position: relative;
	display: flex; flex-direction: column; align-items: center; gap: 1px;
	opacity: 0; transform: translateY(60px);
	animation: vehicleArrival 1.4s 1.6s var(--ease-out) forwards;
}
@keyframes vehicleArrival {
	0% { opacity: 0; transform: translateY(60px); }
	60% { opacity: 1; transform: translateY(-4px); }
	100% { opacity: 1; transform: translateY(0); }
}
.hero-vehicle-roof {
	display: block; width: 28px; height: 8px;
	background: #4a9aff; border-radius: 4px;
	box-shadow: 0 0 10px rgba(74,154,255,.5), 0 0 20px rgba(74,154,255,.2);
	animation: blaulicht .6s 3s ease-in-out infinite alternate;
}
@keyframes blaulicht {
	0% { background: #4a9aff; box-shadow: 0 0 10px rgba(74,154,255,.6), 0 0 20px rgba(74,154,255,.25); }
	100% { background: #7ac0ff; box-shadow: 0 0 5px rgba(74,154,255,.2); }
}
.hero-vehicle-body {
	display: block; width: 44px; height: 68px;
	background: rgba(255,255,255,.9); border-radius: 5px 5px 3px 3px;
	position: relative;
}
.hero-vehicle-body::before {
	content: ''; position: absolute; top: 5px; left: 5px; right: 5px; height: 16px;
	background: rgba(42,50,135,.14); border-radius: 3px;
}

/* Subtext */
.hero .subline {
	font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: rgba(255,255,255,.85);
	line-height: 1.55; margin: 0 0 .5rem;
	opacity: 0; filter: blur(4px); transform: translateY(10px);
	animation: heroSubReveal 1.1s 2.6s var(--ease-out) forwards;
}
.hero .subline-accent {
	display: block; font-size: clamp(1.15rem, 2.8vw, 1.6rem);
	font-weight: 700; color: #fff; margin: 0 0 2.25rem;
	opacity: 0; transform: translateY(8px);
	animation: heroContentIn 1s 3.1s var(--ease-out) forwards;
}
@keyframes heroSubReveal {
	0% { opacity: 0; filter: blur(4px); transform: translateY(10px); }
	60% { filter: blur(0); }
	100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes heroContentIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero .cta-outline {
	display: inline-block; padding: .875rem 2.25rem;
	color: #fff; border: 2px solid rgba(255,255,255,.7);
	border-radius: var(--button-radius, 8px);
	font-size: 1rem; font-weight: 600;
	transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
	opacity: 0; transform: translateY(8px);
	animation: heroContentIn 1s 3.4s var(--ease-out) forwards;
	position: relative; overflow: hidden;
}
/* Shine sweep on hover */
.hero .cta-outline::after {
	content: ''; position: absolute; top: -50%; left: -75%; width: 50%; height: 200%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
	transform: skewX(-25deg); transition: left .6s;
}
.hero .cta-outline:hover::after { left: 125%; }
.hero .cta-outline:hover {
	background: rgba(255,255,255,.12); border-color: #fff; color: #fff;
	box-shadow: 0 0 30px rgba(255,255,255,.15);
	transform: translateY(-1px);
}
.hero .cta-outline:focus-visible {
	outline: 2px solid var(--akzent-gelb); outline-offset: 4px;
}

.scroll-indicator {
	position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
	color: #fff; opacity: 0;
	animation: heroContentIn 1s 3.7s var(--ease-out) forwards, gentleBounce 2.4s 4s ease-in-out infinite;
	transition: opacity .4s;
}
.scroll-indicator:focus-visible { outline: 2px solid var(--akzent-gelb); outline-offset: 4px; border-radius: 4px; }
.scroll-indicator.hidden { opacity: 0; pointer-events: none; animation: none; }

@keyframes gentleBounce {
	0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
	40% { transform: translateX(-50%) translateY(-6px); }
	60% { transform: translateX(-50%) translateY(-3px); }
}

/* ============================================================
   SECTIONS -- Shared
   ============================================================ */
.section { padding: var(--section-pad) clamp(1.5rem, 4vw, 3rem); position: relative; }
.section-inner { max-width: var(--content-w); margin: 0 auto; }

/* Randbuendig (Phase 2.1): globales Root-Padding entfernt (theme.json) -> Startseite (.site-main
   layout=default) ist full-bleed bis zum Viewportrand. Unterseiten (constrained) behalten ihren
   horizontalen Rand, damit der Text auf Mobile nicht am Rand klebt. */
.site-main.is-layout-constrained { padding-left: clamp(1rem, 3vw, 2rem); padding-right: clamp(1rem, 3vw, 2rem); }
.section-narrow { max-width: var(--narrow-w); margin: 0 auto; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--ci-blau); margin-bottom: 1rem; }
.section p { color: var(--text-grau); }

/* Animate on scroll -- multiple animation types */
.aos { opacity: 0; transform: translateY(32px); transition: opacity .65s ease-out, transform .65s ease-out; }
.aos.visible { opacity: 1; transform: translateY(0); }
.aos-d1 { transition-delay: .12s; }
.aos-d2 { transition-delay: .24s; }
.aos-d3 { transition-delay: .36s; }
.aos-d4 { transition-delay: .48s; }

/* Slide from left */
.aos-left { opacity: 0; transform: translateX(-60px); transition: opacity .65s ease-out, transform .65s ease-out; }
.aos-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.aos-right { opacity: 0; transform: translateX(60px); transition: opacity .65s ease-out, transform .65s ease-out; }
.aos-right.visible { opacity: 1; transform: translateX(0); }

/* Scale up */
.aos-scale { opacity: 0; transform: scale(.85); transition: opacity .65s ease-out, transform .65s cubic-bezier(.34,1.56,.64,1); }
.aos-scale.visible { opacity: 1; transform: scale(1); }

/* Rotate in */
.aos-rotate { opacity: 0; transform: rotate(-5deg) translateY(20px); transition: opacity .65s ease-out, transform .65s ease-out; }
.aos-rotate.visible { opacity: 1; transform: rotate(0) translateY(0); }

/* SVG stroke draw */
.stroke-draw path, .stroke-draw circle, .stroke-draw polyline, .stroke-draw line, .stroke-draw rect {
	stroke-dasharray: 200; stroke-dashoffset: 200;
	transition: stroke-dashoffset 1.2s ease-out;
}
.stroke-draw.drawn path, .stroke-draw.drawn circle, .stroke-draw.drawn polyline, .stroke-draw.drawn line, .stroke-draw.drawn rect {
	stroke-dashoffset: 0;
}

/* ============================================================
   SECTION 2: ERKLAERBLOCK
   ============================================================ */
.section-erklaer { background: var(--weiss); }

.erklaer-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

.erklaer-card {
	background: var(--offwhite); border-radius: 12px; padding: 2rem 1.5rem;
	transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s;
	will-change: transform;
	position: relative; overflow: hidden;
	display: flex; flex-direction: column;
}
/* Gradient border glow on hover */
.erklaer-card::before {
	content: ''; position: absolute; inset: 0; border-radius: 12px;
	background: linear-gradient(135deg, rgba(42,50,135,.1), rgba(255,236,18,.12));
	opacity: 0; transition: opacity .4s;
	pointer-events: none;
}
.erklaer-card:hover::before { opacity: 1; }
.erklaer-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(42,50,135,.12); }

.erklaer-card .card-emoji {
	font-size: 2.5rem; line-height: 1; margin-bottom: 1rem;
	display: block;
}
.erklaer-card .card-inner {
	position: relative; z-index: 1;
	display: flex; flex-direction: column;
	flex: 1;
}

.erklaer-card .icon { margin-bottom: 1rem; }
.erklaer-card h3 { font-size: 1.25rem; color: var(--ci-blau); margin-bottom: .75rem; }
.erklaer-card p { font-size: .9375rem; line-height: 1.65; }

/* Hinweis-Bausteine (Hand-Trick / Wusstest du / Merke) -- einheitliches Box-Styling */
.hand-trick-box, .card-box {
	margin-top: 1rem; padding: .875rem 1rem;
	background: rgba(42,50,135,.04); border-radius: 8px;
	border-left: 3px solid var(--ci-blau);
}
.hand-trick-box h4, .card-box h4 { font-size: .8125rem; font-weight: 700; color: var(--ci-blau); margin: 0 0 .25rem; }
.hand-trick-box p, .card-box p { font-size: .8125rem; line-height: 1.55; margin: 0; }

/* Card hint at bottom */
.erklaer-card .card-hint {
	margin-top: auto; padding-top: 1rem;
	font-size: .8125rem; line-height: 1.55; color: var(--text-grau);
	border-top: 1px solid var(--hellgrau);
}

/* Number badge */
.card-number {
	position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
	background: var(--ci-blau); color: #fff; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: .875rem; font-weight: 800; z-index: 2;
	box-shadow: 0 4px 12px rgba(42,50,135,.3);
	transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.erklaer-card.visible .card-number { transform: scale(1); }

/* ============================================================
   SPUREN-ANIMATION (Bei zwei / Bei drei Spuren)
   ============================================================ */
/* ============================================================
   RETTUNGSGASSEVORSCHAU (Frontend: "So bildest du die Gasse") - interaktiv
   Animationen sind Provisorien (lane-{1,2,3}-spurig.svg), nur Dateien austauschen.
   ============================================================ */
.section-vorschau { background: var(--offwhite); }
.vorschau-title { text-align: center; margin: 0 0 1.25rem; }

/* Auswahl-Buttons */
.lane-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .6rem; margin: 0 0 1.5rem; }
.lane-tab {
	appearance: none; border: 2px solid var(--ci-blau); background: #fff; color: var(--ci-blau);
	font-weight: 700; font-size: .9rem; padding: .65rem 1.1rem; border-radius: 999px;
	min-height: 44px; cursor: pointer; transition: background .2s, color .2s, transform .15s;
}
.lane-tab:hover { transform: translateY(-1px); }
.lane-tab[aria-selected="true"] { background: var(--ci-blau); color: #fff; }
.lane-tab:focus-visible { outline: 2px solid var(--akzent-gelb); outline-offset: 3px; }

/* Animations-Buehne. Ganze Grafik (kein Beschnitt), Provisorium-SVG austauschbar. */
.lane-stage-wrap { display: flex; justify-content: center; }
.lane-stage {
	position: relative; width: 250px; max-width: 86vw;
	/* Ankerpunkt-Positionen je Spurzahl feinjustierbar (ggf. mit .lane-stage[data-n="N"] ueberschreiben) */
	--ax-abstand: 28%; --ay-abstand: 62%;
	--ax-weichen: 68%; --ay-weichen: 55%;  /* nur 1 Spur: seitliches Ausweichen */
	--ax-hand: 46%;    --ay-hand: 36%;
	--ax-panne: 82%;   --ay-panne: 50%;
}
.lane-stage-img {
	display: block; width: 100%; height: auto;
	border-radius: 10px; background: #3A3A3A; box-shadow: 0 6px 24px rgba(42,50,135,.12);
}

/* Ankerpunkte */
.lane-anchor {
	position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px;  /* um (left/top) zentrieren */
	border-radius: 50%; border: 0; cursor: pointer;
	display: flex; align-items: center; justify-content: center; font-size: 1.15rem; z-index: 3;
	background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.32); transition: transform .15s;
}
.lane-anchor::after {
	content: ''; position: absolute; inset: -2px; border-radius: 50%;
	border: 2px solid var(--akzent-gelb); animation: anchorPulse 1.8s ease-out infinite; pointer-events: none;
}
@keyframes anchorPulse { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(1.7); opacity: 0; } }
.lane-anchor:hover { transform: scale(1.12); }
.lane-anchor[aria-expanded="true"] { background: var(--akzent-gelb); }
.lane-anchor[aria-expanded="true"]::after { animation: none; opacity: 0; }
.lane-anchor:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: 3px; }
.anchor-abstand { left: var(--ax-abstand); top: var(--ay-abstand); }
.anchor-weichen { left: var(--ax-weichen); top: var(--ay-weichen); }
.anchor-hand    { left: var(--ax-hand);    top: var(--ay-hand); }
.anchor-panne   { left: var(--ax-panne);   top: var(--ay-panne); }

/* Popover (Akkordeon: nur eines offen) */
.lane-pop {
	position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) translateY(8px);
	width: min(94%, 320px); background: #fff; border-radius: 12px; padding: .9rem 1rem; z-index: 5;
	box-shadow: 0 10px 40px rgba(0,0,0,.28); opacity: 0; visibility: hidden;
	transition: opacity .2s, transform .2s;
}
.lane-pop.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.lane-pop h3 { margin: 0 0 .3rem; color: var(--ci-blau); font-size: .95rem; }
.lane-pop p { margin: 0; font-size: .85rem; line-height: 1.5; color: #333; }
.lane-pop-close {
	position: absolute; top: .3rem; right: .4rem; border: 0; background: transparent;
	font-size: 1.2rem; line-height: 1; cursor: pointer; color: #888; width: 30px; height: 30px; border-radius: 50%;
}
.lane-pop-close:hover { background: #f0f0f4; }

@media (min-width: 720px) { .lane-stage { width: 300px; } }
@media (prefers-reduced-motion: reduce) { .lane-anchor::after { animation: none; } }

/* Die Spuren-Animationen stecken seit dem Folien-Design (2026-06) in den SVG-Dateien
   selbst (SMIL + internes <style> + prefers-reduced-motion). Die frueheren handgebauten
   CSS-Keyframes (rg2-* / rg3-*) sind damit entfallen. Quelle: 02_Quellmaterial/animationen/. */

/* ============================================================
   QUIZ -- Hülle (Quiz selbst hat eigene CSS im rg-quiz Plugin)
   ============================================================ */
.section-quiz { background: var(--weiss); }
.quiz-intro { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.quiz-intro h2 { margin: 0 0 .5rem; }
.quiz-intro p { color: var(--text-grau); font-size: 1rem; line-height: 1.6; margin: 0; }
.quiz-embed { max-width: 720px; margin: 0 auto; }

/* ============================================================
   RETTUNGSGASSENCHAMPIONS
   ============================================================ */
/* Champions: plakatives Farbband (CI-Blau, full-bleed; Text weiss, Gold-Button) */
.section-champions { background: var(--ci-blau); color: #fff; }
.champions-grid {
	display: grid; grid-template-columns: 1fr; gap: 2rem;
	align-items: center;
}
.champions-text h2 { margin: 0 0 .5rem; color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; }
.champions-text p { font-size: 1.0625rem; line-height: 1.65; color: rgba(255,255,255,.9); margin-bottom: 1.25rem; }
.champions-label {
	display: inline-block; padding: .25rem .7rem; margin-bottom: .85rem;
	background: var(--akzent-gelb); color: var(--ci-blau-dunkel); border-radius: 16px;
	font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.champions-logo-area {
	display: flex; align-items: center; justify-content: center;
	padding: 1rem;
	order: -1; /* Mobile: Bild zuerst */
}
.champions-logo-area img {
	max-width: 100%; max-height: 300px; width: auto; height: auto;
	filter: drop-shadow(0 12px 30px rgba(0,0,0,.28));
}
.champions-cta { margin-top: 1rem; }
/* Gold-Button auf blauem Band (ueberschreibt btn-primary-Blau via hoehere Spezifitaet) */
.section-champions .champions-cta { background: var(--akzent-gelb); color: var(--ci-blau-dunkel); font-weight: 700; }
.section-champions .champions-cta:hover { background: #fff04d; color: var(--ci-blau-dunkel); box-shadow: 0 8px 25px rgba(0,0,0,.28); }

@media (min-width: 720px) {
	.champions-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
	.champions-logo-area { order: 0; padding: 1.5rem; }
	.champions-logo-area img { max-height: 360px; }
}

/* prefers-reduced-motion fuer die Spuren-Animation ist jetzt in den SVGs selbst geloest. */

/* ============================================================
   SHOP / MITMACHEN
   ============================================================ */
.section-shop { background: var(--offwhite); }
.shop-intro { text-align: center; max-width: 600px; margin: 0 auto 2rem; }
.shop-intro h2 { margin-bottom: .5rem; }
.shop-intro p { color: var(--text-grau); font-size: 1rem; line-height: 1.6; }

/* Product Grid */
.shop-products { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.product-card {
	background: var(--weiss); border-radius: 12px; overflow: hidden;
	transition: transform var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast);
	cursor: pointer; position: relative; display: flex; flex-direction: column;
	border: 0; padding: 0; text-align: left; font: inherit; color: inherit;
	width: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(42,50,135,.12); }
.product-card:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: 3px; }
.product-card.is-hidden { display: none; }
.product-card.is-hidden.is-shown { display: flex; animation: cardReveal .4s var(--ease-out) forwards; }
@keyframes cardReveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.product-img { aspect-ratio: 1/1; overflow: hidden; background: var(--weiss); display: block; padding: .75rem; box-sizing: border-box; }
.product-img img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--dur-medium) var(--ease-out); display: block; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-badge {
	position: absolute; top: .75rem; left: .75rem;
	background: var(--ci-blau); color: #fff; padding: .2rem .6rem;
	border-radius: 12px; font-size: .5625rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .04em;
}
.product-info { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: .8125rem; font-weight: 700; color: var(--text-dunkel); margin-bottom: .35rem; line-height: 1.3; display: block; }
.product-price { font-size: .875rem; font-weight: 800; color: var(--ci-blau); margin-bottom: .75rem; display: block; }
.product-price .price-from { font-size: .625rem; font-weight: 600; color: var(--text-grau); }
.product-btn {
	display: block; width: 100%; padding: .5rem; text-align: center;
	background: var(--offwhite); color: var(--ci-blau);
	border-radius: 6px; font-size: .75rem; font-weight: 600;
	transition: background var(--dur-fast), color var(--dur-fast); margin-top: auto;
}
.product-card:hover .product-btn { background: var(--ci-blau); color: #fff; }

/* Toggle Button */
.shop-toggle-row { text-align: center; margin-bottom: 1.5rem; }
.shop-toggle {
	background: none; border: 2px solid var(--hellgrau); border-radius: 8px;
	padding: .5rem 1.5rem; font-size: .8125rem; font-weight: 600;
	color: var(--ci-blau); cursor: pointer; font-family: inherit;
	transition: border-color var(--dur-fast), background var(--dur-fast);
}
.shop-toggle:hover { border-color: var(--ci-blau); background: rgba(42,50,135,.03); }
.shop-toggle:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: 3px; }

@media (min-width: 640px) {
	.shop-products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.shop-products { grid-template-columns: repeat(3, 1fr); }
}

/* Produkt-Detail-Modal */
.product-modal {
	position: fixed; inset: 0; z-index: 10004;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity var(--dur-fast), visibility var(--dur-fast);
	padding: 1rem;
}
.product-modal[aria-hidden="false"], .product-modal.is-open { opacity: 1; visibility: visible; }
.product-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.product-modal-box {
	position: relative; z-index: 1; width: min(480px, 100%); max-height: 92vh; overflow-y: auto;
	background: var(--weiss); border-radius: 12px; overflow: hidden;
	box-shadow: 0 16px 48px rgba(0,0,0,.2);
	transform: translateY(20px) scale(.97);
	transition: transform var(--dur-medium) var(--ease-out);
}
.product-modal.is-open .product-modal-box { transform: translateY(0) scale(1); }
.product-modal-close {
	position: absolute; top: .75rem; right: .75rem; z-index: 2;
	background: rgba(255,255,255,.9); border: 0; width: 32px; height: 32px;
	border-radius: 50%; font-size: 1.5rem; cursor: pointer; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	transition: background var(--dur-fast);
}
.product-modal-close:hover { background: #fff; }
.product-modal-close:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: 2px; }
.product-modal-img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--weiss); padding: 1rem; box-sizing: border-box; display: block; }
.product-modal-body { padding: 1.5rem; }
.product-modal-body h3 { font-size: 1.15rem; color: var(--text-dunkel); margin: 0 0 .25rem; }
.product-modal-price { font-size: 1.25rem; font-weight: 800; color: var(--ci-blau); margin-bottom: 1rem; }
.product-modal-desc { font-size: .8125rem; color: var(--text-grau); margin-bottom: 1rem; line-height: 1.6; }

/* Variants */
.product-variants { margin-bottom: 1rem; }
.variants-label { display: block; font-size: .75rem; font-weight: 700; color: var(--ci-blau); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip {
	font-family: inherit; cursor: pointer;
	padding: .5rem .85rem; border: 2px solid var(--hellgrau);
	background: var(--weiss); color: var(--text-dunkel);
	font-size: .8125rem; font-weight: 600; border-radius: 8px;
	transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.variant-chip:hover { border-color: var(--ci-blau); color: var(--ci-blau); }
.variant-chip:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: 2px; }
.variant-chip.is-active { background: var(--ci-blau); border-color: var(--ci-blau); color: #fff; }

/* Specs */
.product-specs { font-size: .75rem; color: var(--text-grau); margin: 0 0 1.25rem; display: grid; grid-template-columns: max-content 1fr; gap: .25rem .75rem; line-height: 1.5; }
.product-specs dt { font-weight: 700; color: var(--text-dunkel); }
.product-specs dd { margin: 0; }

/* Qty + Add */
.product-modal-actions { display: flex; gap: .75rem; align-items: center; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--hellgrau); border-radius: 8px; overflow: hidden; }
.qty-btn {
	width: 36px; height: 36px; border: 0; background: none;
	font-size: 1.1rem; font-weight: 700; cursor: pointer; color: var(--ci-blau);
	display: flex; align-items: center; justify-content: center;
	transition: background var(--dur-fast);
}
.qty-btn:hover { background: var(--offwhite); }
.qty-btn:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: -2px; }
.qty-value {
	width: 36px; text-align: center; font-size: .875rem; font-weight: 700;
	border: 0; background: none; color: var(--text-dunkel); font-family: inherit;
}
.add-to-cart {
	flex: 1; padding: .625rem 1rem; background: var(--ci-blau); color: #fff;
	border: 0; border-radius: 8px; font-size: .875rem; font-weight: 600;
	cursor: pointer; font-family: inherit;
	transition: background var(--dur-fast), transform .15s;
}
.add-to-cart:hover { background: var(--ci-blau-hell); transform: translateY(-1px); }
.add-to-cart:active { transform: scale(.98); }
.add-to-cart:focus-visible { outline: 2px solid var(--akzent-gelb); outline-offset: 2px; }

/* Warenkorb-Sidebar */
.cart-sidebar {
	position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 90vw);
	background: var(--weiss); z-index: 10005;
	box-shadow: -8px 0 32px rgba(0,0,0,.15);
	transform: translateX(100%);
	transition: transform var(--dur-medium) var(--ease-out);
	display: flex; flex-direction: column;
}
.cart-sidebar.is-open { transform: translateX(0); }
.cart-sidebar-backdrop {
	position: fixed; inset: 0; z-index: 10004;
	background: rgba(0,0,0,.4); opacity: 0; visibility: hidden;
	transition: opacity var(--dur-fast), visibility var(--dur-fast);
}
.cart-sidebar-backdrop.is-open { opacity: 1; visibility: visible; }
.cart-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1rem 1.25rem; border-bottom: 1px solid var(--hellgrau);
}
.cart-header h3 { font-size: 1rem; color: var(--text-dunkel); margin: 0; }
.cart-close {
	background: none; border: 0; font-size: 1.75rem; cursor: pointer; line-height: 1;
	color: var(--text-grau); transition: color var(--dur-fast); padding: 0 .25rem;
}
.cart-close:hover { color: var(--text-dunkel); }
.cart-close:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: 2px; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.cart-item { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--hellgrau); }
.cart-item-img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .8125rem; font-weight: 600; color: var(--text-dunkel); }
.cart-item-meta { font-size: .6875rem; color: var(--text-grau); margin-top: .15rem; }
.cart-item-right { text-align: right; }
.cart-item-price { font-size: .8125rem; font-weight: 700; color: var(--ci-blau); }
.cart-item-remove {
	background: none; border: 0; color: var(--text-grau); font-size: .75rem;
	cursor: pointer; transition: color var(--dur-fast); padding: 0;
}
.cart-item-remove:hover { color: #c00; }
.cart-item-remove:focus-visible { outline: 2px solid var(--ci-blau); outline-offset: 2px; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-grau); font-size: .875rem; }
.cart-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--hellgrau); }
.cart-total {
	display: flex; justify-content: space-between; margin-bottom: 1rem;
	font-size: 1rem; font-weight: 700; color: var(--text-dunkel);
}
.cart-checkout {
	display: block; width: 100%; padding: .75rem; background: var(--ci-blau);
	color: #fff; border: 0; border-radius: 8px; font-size: .9375rem;
	font-weight: 600; cursor: pointer; font-family: inherit; text-align: center;
	transition: background var(--dur-fast);
}
.cart-checkout:hover { background: var(--ci-blau-hell); }
.cart-checkout:focus-visible { outline: 2px solid var(--akzent-gelb); outline-offset: 2px; }

/* Buttons */
.btn-primary {
	display: inline-block; padding: .875rem 2rem;
	background: var(--ci-blau); color: #fff; border-radius: 8px;
	font-size: 1rem; font-weight: 600; border: none; cursor: pointer;
	transition: background .3s, transform .25s, box-shadow .3s;
	position: relative; overflow: hidden;
}
.btn-primary::after {
	content: ''; position: absolute; top: -50%; left: -75%; width: 50%; height: 200%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
	transform: skewX(-25deg); transition: left .6s;
}
.btn-primary:hover::after { left: 125%; }
.btn-primary:hover { background: var(--ci-blau-hell); transform: translateY(-2px); color: #fff; box-shadow: 0 8px 25px rgba(42,50,135,.25); }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-outline {
	display: inline-block; padding: .875rem 2rem;
	background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); border-radius: 8px;
	font-size: 1rem; font-weight: 600; cursor: pointer;
	transition: background .3s, border-color .3s, transform .25s, box-shadow .3s;
	position: relative; overflow: hidden;
}
.btn-outline::after {
	content: ''; position: absolute; top: -50%; left: -75%; width: 50%; height: 200%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
	transform: skewX(-25deg); transition: left .6s;
}
.btn-outline:hover::after { left: 125%; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; box-shadow: 0 8px 25px rgba(255,255,255,.1); }
.btn-outline:active { transform: translateY(0) scale(.98); }

/* === EINHEITLICHE BUTTONS (Solid & Shine): gemeinsamer Gold-Fokusring fuer alle Action-Buttons === */
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.product-btn:focus-visible {
	outline: 3px solid var(--akzent-gelb); outline-offset: 3px;
}
/* Champions-CTA (Gold auf blauem Band): weisser Fokusring fuer Kontrast */
.section-champions .champions-cta:focus-visible {
	outline: 3px solid #fff; outline-offset: 3px;
}

/* ============================================================
   SECTION 4: SPENDEN
   ============================================================ */
.section-spenden {
	background: linear-gradient(180deg, var(--offwhite) 0%, #fffdf2 100%);
	position: relative; overflow: hidden;
}
.section-spenden > .section-narrow { position: relative; z-index: 2; }

/* Hintergrund-Blobs mit dezentem CI-Blau + Akzent-Gelb */
.spenden-blob {
	position: absolute; border-radius: 50%; filter: blur(64px);
	pointer-events: none; z-index: 1;
	will-change: transform;
}
.spenden-blob-1 {
	width: 320px; height: 320px;
	background: radial-gradient(circle, rgba(255,236,18,.35) 0%, rgba(255,236,18,0) 70%);
	top: -80px; right: -80px;
	animation: spendenBlobFloat 14s ease-in-out infinite;
}
.spenden-blob-2 {
	width: 380px; height: 380px;
	background: radial-gradient(circle, rgba(42,50,135,.18) 0%, rgba(42,50,135,0) 70%);
	bottom: -120px; left: -120px;
	animation: spendenBlobFloat 18s ease-in-out infinite reverse;
}
@keyframes spendenBlobFloat {
	0%,100% { transform: translate(0,0) scale(1); }
	33%     { transform: translate(20px,-15px) scale(1.05); }
	66%     { transform: translate(-15px,20px) scale(.95); }
}

.spenden-lead {
	font-size: 1.0625rem; line-height: 1.6;
	margin: .75rem 0 1.75rem; color: var(--text-dunkel);
}
.spenden-lead strong { color: var(--ci-blau); font-weight: 700; }

.spenden-cta-wrap { margin-top: 1.5rem; }

/* Spenden-Counter */
.spenden-counter {
	margin: 1.25rem 0 .5rem; padding: 1.5rem 1.75rem;
	background: var(--weiss); border-radius: 14px;
	box-shadow: 0 8px 32px rgba(42,50,135,.08), 0 2px 6px rgba(42,50,135,.04);
	border: 1px solid rgba(42,50,135,.06);
	position: relative;
}
.spenden-counter::before {
	content: ''; position: absolute; inset: 0;
	border-radius: 14px; padding: 1px;
	background: linear-gradient(135deg, rgba(255,236,18,.5), rgba(42,50,135,.2));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	pointer-events: none; opacity: .6;
}
.counter-header {
	display: flex; align-items: baseline; justify-content: space-between;
	flex-wrap: wrap; gap: .5rem;
	margin-bottom: .9rem;
}
.counter-amount {
	font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800;
	color: var(--ci-blau); line-height: 1;
	font-variant-numeric: tabular-nums;
	letter-spacing: -.01em;
}
.counter-goal { font-size: .875rem; font-weight: 600; color: var(--text-grau); }
.counter-goal span { color: var(--ci-blau); font-weight: 700; }

.counter-bar {
	width: 100%; height: 12px; background: var(--hellgrau);
	border-radius: 6px; overflow: hidden; position: relative;
}
.counter-bar-fill {
	height: 100%; border-radius: 6px; width: 0%;
	background: linear-gradient(90deg, var(--ci-blau) 0%, var(--ci-blau-hell) 70%, var(--akzent-gelb) 100%);
	transition: width 2s var(--ease-out);
	position: relative; overflow: hidden;
}
.counter-bar-fill::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
	animation: counterShimmer 2.4s ease-in-out infinite;
}
@keyframes counterShimmer {
	0%   { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

.counter-footer {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: .5rem;
	margin-top: .75rem;
}
.counter-percent {
	font-size: .8125rem; font-weight: 700; color: var(--ci-blau);
	font-variant-numeric: tabular-nums;
}
.counter-live {
	display: inline-flex; align-items: center; gap: .4rem;
	font-size: .6875rem; font-weight: 600; color: var(--text-grau);
	letter-spacing: .02em;
}
.counter-live-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: #22c55e;
	animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
	0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
	50%     { opacity: .7; box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.counter-updated {
	font-size: .6875rem; font-weight: 500; color: var(--text-grau);
	margin: .35rem 0 0; text-align: right; opacity: .7;
}

/* Fallback: kein Live-Wert angebunden -> nur Ziel anzeigen, keine Fake-Animation */
.counter-header-target {
	display: flex; flex-direction: column; align-items: center; gap: .25rem;
	margin-bottom: 0;
}
.counter-target-label {
	font-size: .6875rem; font-weight: 700; color: var(--ci-blau);
	text-transform: uppercase; letter-spacing: .05em;
}
.counter-target-value {
	font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800;
	color: var(--ci-blau); font-variant-numeric: tabular-nums;
}

/* Payrexx-Modal */
.payrexx-modal {
	position: fixed; inset: 0; z-index: 10003;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden;
	transition: opacity var(--dur-fast), visibility var(--dur-fast);
	padding: 1rem;
}
.payrexx-modal.is-open { opacity: 1; visibility: visible; }
.payrexx-modal-backdrop {
	position: absolute; inset: 0; background: rgba(0,0,0,.6);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.payrexx-modal-container {
	position: relative; z-index: 1; width: min(440px, 100%); max-height: 90vh;
	background: var(--weiss); border-radius: 12px;
	overflow: hidden; display: flex; flex-direction: column;
	box-shadow: 0 16px 48px rgba(0,0,0,.25);
	transform: translateY(20px) scale(.97);
	transition: transform var(--dur-medium) var(--ease-out);
}
.payrexx-modal.is-open .payrexx-modal-container { transform: translateY(0) scale(1); }
.payrexx-modal-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: .75rem 1rem; background: var(--ci-blau); flex-shrink: 0;
}
.payrexx-modal-label { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.85); }
.payrexx-modal-close {
	background: none; border: 0; color: rgba(255,255,255,.65);
	font-size: 1.75rem; cursor: pointer; line-height: 1;
	padding: 0 .25rem; transition: color var(--dur-fast);
}
.payrexx-modal-close:hover { color: #fff; }
.payrexx-modal-close:focus-visible { outline: 2px solid var(--akzent-gelb); outline-offset: 2px; }
.payrexx-modal-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.payrexx-loader { text-align: center; padding: 3rem 1rem; font-size: .8125rem; color: var(--text-grau); }
.payrexx-loader.is-hidden { display: none; }
#payrexx-embed { width: 100%; height: 600px; border: 0; display: block; }

.spenden-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 1.05rem 2.75rem;
	background: var(--ci-blau); color: #fff;
	border-radius: 8px; border: none; cursor: pointer;
	font-size: 1.05rem; font-weight: 700;
	letter-spacing: .01em;
	text-decoration: none;
	transition: background .3s, transform .25s, box-shadow .3s, color .3s;
	margin-top: .25rem; position: relative; overflow: hidden;
	box-shadow: 0 6px 20px rgba(42,50,135,.18);
	isolation: isolate;
}
.spenden-btn > span { position: relative; z-index: 2; }

/* Gradient-Glow-Ring um den Button (akzent-gelb) */
.spenden-btn::before {
	content: ''; position: absolute; inset: -3px; z-index: 0;
	border-radius: 11px;
	background: conic-gradient(from 0deg, var(--ci-blau), var(--akzent-gelb), var(--ci-blau-hell), var(--akzent-gelb), var(--ci-blau));
	opacity: 0; transition: opacity .4s;
	animation: spendenBtnRingSpin 6s linear infinite;
}
.spenden-btn:hover::before,
.spenden-btn:focus-visible::before { opacity: .9; }

/* Inner-Hintergrund über dem Ring */
.spenden-btn::after {
	content: ''; position: absolute; inset: 0; z-index: 1;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--ci-blau) 0%, #3540b3 100%);
	transition: opacity .3s;
}
.spenden-btn:hover {
	color: #fff; transform: translateY(-2px) scale(1.02);
	box-shadow: 0 14px 36px rgba(42,50,135,.32), 0 0 24px rgba(255,236,18,.25);
}
.spenden-btn:hover::after {
	background: linear-gradient(135deg, var(--ci-blau-hell) 0%, var(--ci-blau) 100%);
}
.spenden-btn:focus-visible {
	outline: 3px solid var(--akzent-gelb); outline-offset: 4px;
}
.spenden-btn:active { transform: translateY(0) scale(.98); }

/* Idle: subtiler Doppel-Puls aus CI-Blau + Akzent-Gelb */
.spenden-btn-idle {
	animation: spendenBtnPulse 3.2s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes spendenBtnPulse {
	0%,100% {
		box-shadow: 0 6px 20px rgba(42,50,135,.18),
		            0 0 0 0 rgba(255,236,18,.55),
		            0 0 0 0 rgba(42,50,135,.4);
	}
	50% {
		box-shadow: 0 6px 20px rgba(42,50,135,.18),
		            0 0 0 8px rgba(255,236,18,0),
		            0 0 0 14px rgba(42,50,135,0);
	}
}
@keyframes spendenBtnRingSpin {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.spenden-blob,
	.spenden-btn::before,
	.counter-bar-fill::after,
	.spenden-btn-idle { animation: none; }
}

/* Heart animation */
.heart-float {
	position: fixed; font-size: 1.4rem; pointer-events: none;
	opacity: 1; z-index: 9999;
	animation: heartRise 2s ease-out forwards;
}
@keyframes heartRise {
	0% { opacity: 1; transform: translateY(0) scale(1); }
	30% { opacity: 1; transform: translateY(-40px) scale(1.3); }
	70% { opacity: .7; transform: translateY(-100px) scale(.9); }
	100% { opacity: 0; transform: translateY(-150px) scale(.4) rotate(15deg); }
}

/* ============================================================
   SECTION 5: WEITERENTWICKLUNG
   ============================================================ */
.section-weiter { background: var(--offwhite); }

/* Weiter icon */
.weiter-icon { margin-bottom: 1.25rem; }

/* Weiter title */
.weiter-title { margin-bottom: 1.5rem; }
.weiter-title-accent {
	color: var(--ci-blau); display: inline-block;
	background: linear-gradient(120deg, var(--ci-blau) 0%, var(--ci-blau-hell) 100%);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Weiter text */
.weiter-text { margin-bottom: 2rem; }
.weiter-text p { margin-bottom: .75rem; }
.weiter-highlight {
	font-size: 1.1rem; font-weight: 700; color: var(--ci-blau);
	padding: 1rem 1.25rem; margin-top: 1rem;
	background: rgba(42,50,135,.05); border-left: 3px solid var(--ci-blau);
	border-radius: 0 8px 8px 0; line-height: 1.5;
}

/* Progress bar animation */
.progress-bar {
	width: 100%; height: 8px; background: var(--hellgrau); border-radius: 4px;
	margin-top: .5rem; overflow: hidden;
}
.progress-fill {
	width: 0; height: 100%; border-radius: 4px;
	background: linear-gradient(90deg, var(--ci-blau), #3a45a0, #f0c630);
	background-size: 200% 100%;
	animation: progressShimmer 2s ease-in-out infinite;
	transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
.progress-fill.animated { width: 35%; }

@keyframes progressShimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.progress-label {
	display: flex; justify-content: space-between; margin-top: .5rem;
	font-size: .75rem; color: var(--text-grau);
}

/* Newsletter signup */
.newsletter {
	margin-top: 2.5rem; padding: 1.5rem 0 0;
	border-top: 1px solid var(--hellgrau);
}
.newsletter-title {
	font-size: 1.1rem; font-weight: 700; color: var(--ci-blau);
	margin-bottom: .35rem;
}
.newsletter-text {
	font-size: .875rem; color: var(--text-grau); margin-bottom: 1.25rem;
	line-height: 1.6;
}
.newsletter-form-wrap { margin: .25rem 0 .75rem; }
.newsletter-hint {
	font-size: .6875rem; color: var(--text-grau); opacity: .65;
	margin-top: .5rem;
}

/* Status-Hinweis, wenn Gravity Form noch nicht konfiguriert ist */
.newsletter-notice,
.quiz-notice {
	padding: .9rem 1rem; border-radius: 8px;
	background: var(--offwhite); border: 1px dashed var(--hellgrau);
	color: var(--text-grau); font-size: .875rem; line-height: 1.5;
}
.newsletter-notice-admin,
.quiz-notice-admin {
	background: #fff8e1; border-color: #f0c630; color: #6a4f00;
}
.newsletter-notice code,
.quiz-notice code {
	background: rgba(0,0,0,.06); padding: .1em .35em; border-radius: 3px;
	font-size: .85em;
}

/* Gravity Forms – Anpassung an die Section */
.newsletter-form-wrap .gform_wrapper { margin: 0; }
.newsletter-form-wrap .gform_wrapper form { margin: 0; }
.newsletter-form-wrap .gform_wrapper .gform_footer { padding: .75rem 0 0; margin: 0; }
.newsletter-form-wrap .gform_wrapper input[type="text"],
.newsletter-form-wrap .gform_wrapper input[type="email"],
.newsletter-form-wrap .gform_wrapper select {
	width: 100%; padding: .75rem 1rem;
	border: 2px solid var(--hellgrau); border-radius: 8px;
	font: inherit; font-size: .9375rem; background: #fff;
	color: var(--text-dunkel); transition: border-color .25s, box-shadow .25s;
}
.newsletter-form-wrap .gform_wrapper input:focus,
.newsletter-form-wrap .gform_wrapper select:focus {
	outline: none; border-color: var(--ci-blau);
	box-shadow: 0 0 0 4px rgba(42,50,135,.08);
}
.newsletter-form-wrap .gform_wrapper .gform_button {
	padding: .8rem 1.75rem; background: var(--ci-blau); color: #fff;
	border: none; border-radius: 8px;
	font: 600 .9375rem/1 inherit; cursor: pointer;
	transition: background .25s, transform .15s;
}
.newsletter-form-wrap .gform_wrapper .gform_button:hover { background: var(--ci-blau-hell); }
.newsletter-form-wrap .gform_wrapper .gform_button:active { transform: scale(.98); }
.newsletter-form-wrap .gform_confirmation_message {
	padding: 1rem 1.25rem; border-radius: 8px;
	background: rgba(46,160,67,.08); color: #1b6b2a;
	font-weight: 600;
}

/* Progressive Feld-Anzeige – gesteuert von custom.js (Klasse .nl-progressive).
   Felder erscheinen nacheinander; ohne JS bleibt alles sichtbar. */
.newsletter-form-wrap .gform_wrapper .gfield { margin-top: .6rem; }
.newsletter-form-wrap .gform_wrapper .gfield.nl-email { margin-top: 0; }

/* Geschlecht kompakt als Reihe (Mann / Frau / Divers) */
.newsletter-form-wrap .gfield.nl-gender .gfield_radio {
	display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0;
}
.newsletter-form-wrap .gfield.nl-gender .gchoice {
	display: flex; align-items: center; gap: .4rem; margin: 0;
}

/* Verborgen, bis JS das Feld via .nl-reveal freigibt. Sanftes Einblenden
   ohne Layout-Sprung; reduced-motion wird global auf 0s gesetzt. */
.nl-progressive .gfield.nl-gender,
.nl-progressive .gfield.nl-fname,
.nl-progressive .gfield.nl-lname,
.nl-progressive .gform_footer {
	overflow: hidden; max-height: 0; opacity: 0;
	transform: translateY(-4px);
	transition: max-height .35s ease, opacity .3s ease, transform .3s ease;
}
.nl-progressive .gfield.nl-reveal,
.nl-progressive .gform_footer.nl-reveal {
	max-height: 14rem; opacity: 1; transform: none;
}

/* ============================================================
   SECTION 6: ABSENDER
   ============================================================ */
.section-absender { background: var(--ci-blau); color: #fff; position: relative; overflow: hidden; }
.section-absender h2 { color: #fff; }
.section-absender p { color: rgba(255,255,255,.78); }
.section-absender strong { color: #fff; }

/* Spenden-btn on dark background: inverted */
.section-absender .spenden-btn {
	background: #fff; color: var(--ci-blau);
}
.section-absender .spenden-btn:hover {
	background: var(--offwhite); color: var(--ci-blau);
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 35px rgba(255,255,255,.25);
}
.section-absender .spenden-btn:active {
	transform: scale(.98);
}
.section-absender .spenden-btn::before {
	/* Conic-Ring: weiss + akzent-gelb für dunklen Hintergrund */
	background: conic-gradient(from 0deg, rgba(255,255,255,.85), var(--akzent-gelb), rgba(255,255,255,.85), var(--akzent-gelb), rgba(255,255,255,.85));
}
.section-absender .spenden-btn::after {
	background: #fff;
}
.section-absender .spenden-btn:hover::after {
	background: var(--offwhite);
}
.section-absender .spenden-btn-idle {
	animation: spendenBtnPulseWhite 3.2s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes spendenBtnPulseWhite {
	0%,100% {
		box-shadow: 0 6px 20px rgba(0,0,0,.2),
		            0 0 0 0 rgba(255,236,18,.55),
		            0 0 0 0 rgba(255,255,255,.4);
	}
	50% {
		box-shadow: 0 6px 20px rgba(0,0,0,.2),
		            0 0 0 8px rgba(255,236,18,0),
		            0 0 0 14px rgba(255,255,255,0);
	}
}

/* Subtle gradient accent */
.section-absender::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 20% 80%, rgba(255,255,255,.04) 0%, transparent 60%),
	            radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.03) 0%, transparent 50%);
	pointer-events: none;
}

/* Absender intro text */
.absender-intro { font-size: 1.05rem; color: rgba(255,255,255,.82); margin-bottom: 1.5rem; }

/* Mission */
.mission-block { margin-bottom: 2rem; }
.mission-label {
	font-size: .6875rem; font-weight: 700;
	color: rgba(255,255,255,.5);
	text-transform: uppercase; letter-spacing: .08em;
	margin-bottom: .4rem;
}
.mission-text {
	font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 600;
	color: #fff; line-height: 1.55;
	padding: 1rem 1.25rem; margin: 0;
	background: rgba(255,255,255,.06);
	border-left: 3px solid rgba(255,255,255,.35);
	border-radius: 0 8px 8px 0;
}

.absender-link {
	color: #fff; text-decoration: underline; text-underline-offset: 3px;
	text-decoration-thickness: 2px; transition: text-decoration-color .3s, opacity .3s;
}
.absender-link:hover { opacity: .8; color: #fff; }

/* Absender timeline */
.absender-timeline {
	display: flex; flex-direction: column; gap: .75rem;
	margin: 1.5rem 0; padding: 0;
}
.timeline-item {
	display: flex; align-items: center; gap: 1rem;
	padding: .6rem 1rem; border-radius: 8px;
	background: rgba(255,255,255,.04);
	transition: background .3s, transform .3s;
}
.timeline-item:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }
.timeline-year {
	flex-shrink: 0; min-width: 52px;
	font-size: .8125rem; font-weight: 800; color: #fff;
	background: rgba(255,255,255,.12); padding: .25rem .6rem;
	border-radius: 4px; text-align: center;
}
.timeline-text { font-size: .9375rem; color: rgba(255,255,255,.78); }
.timeline-now { background: rgba(255,236,18,.10); }
.timeline-now .timeline-year {
	background: var(--akzent-gelb); color: var(--ci-blau-dunkel);
	animation: nowPulse 2.5s ease-in-out infinite;
}
@keyframes nowPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(200,166,0,.4); }
	50% { box-shadow: 0 0 0 6px rgba(200,166,0,0); }
}
.timeline-now .timeline-text { color: #fff; font-weight: 600; }

/* Linked timeline item */
.timeline-item-link { text-decoration: none; cursor: pointer; }
.timeline-item-link:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.timeline-link-hint {
	display: inline-block; font-size: .75rem; font-weight: 600;
	color: rgba(255,255,255,.45); margin-left: .4rem;
	transition: color .3s, transform .3s;
}
.timeline-item-link:hover .timeline-link-hint { color: #fff; transform: translateX(3px); }

/* Collapsible timeline items (with toggle for gallery/longer text) */
.timeline-item-collapsible {
	flex-direction: row; align-items: flex-start; gap: 1rem;
}
.timeline-item-collapsible:hover { transform: none; background: rgba(255,255,255,.04); }
.timeline-item-collapsible .timeline-year { align-self: flex-start; }
.timeline-item-collapsible .timeline-text { flex: 1; min-width: 0; }
.timeline-text strong {
	display: block; color: #fff; margin-bottom: .25rem;
}

/* Toggle button */
.timeline-toggle {
	display: inline-flex; align-items: center; gap: .35rem;
	margin-top: .35rem; padding: .25rem 0;
	background: none; border: 0;
	color: rgba(255,255,255,.55);
	font-family: inherit; font-size: .75rem; font-weight: 700;
	letter-spacing: .04em; cursor: pointer;
	transition: color .25s ease;
}
.timeline-toggle::before {
	content: '+'; display: inline-block;
	font-size: 1rem; font-weight: 700; line-height: 1;
	width: 14px; text-align: center;
	transition: transform .3s ease;
}
.timeline-toggle:hover,
.timeline-toggle:focus-visible { color: #fff; }
.timeline-toggle:focus-visible {
	outline: 2px solid rgba(255,255,255,.55); outline-offset: 4px; border-radius: 4px;
}
.timeline-toggle[aria-expanded="true"]::before { content: '−'; transform: rotate(180deg); }
.timeline-toggle[aria-expanded="true"] .timeline-toggle-label::after { content: ' schliessen'; }
.timeline-toggle[aria-expanded="false"] .timeline-toggle-label::after { content: ' ansehen'; }

/* Detail panel (collapsed by default) */
.timeline-detail {
	max-height: 0; overflow: hidden; opacity: 0;
	margin-top: 0;
	transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .35s ease, margin-top .35s ease;
}
.timeline-item-collapsible.is-open .timeline-detail {
	max-height: 1800px; opacity: 1; margin-top: .65rem;
}
.timeline-detail p { color: rgba(255,255,255,.82); margin: 0 0 .5rem; }
.timeline-detail .timeline-link-hint {
	display: inline-block; margin: .25rem 0 .75rem;
	color: rgba(255,255,255,.65); text-decoration: none;
}
.timeline-detail .timeline-link-hint:hover,
.timeline-detail .timeline-link-hint:focus-visible { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.timeline-detail,
	.timeline-toggle::before { transition: none; }
}

/* Timeline hero image */
.timeline-hero-img {
	width: 100%; border-radius: 8px; margin-top: .75rem;
	aspect-ratio: 3/2; object-fit: cover;
}

/* Timeline gallery */
.timeline-gallery { width: 100%; margin-top: .5rem; }
.timeline-gallery-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.timeline-gallery-thumb {
	width: 100%; aspect-ratio: 3/2; object-fit: cover;
	border-radius: 6px; cursor: pointer;
	transition: opacity .3s, transform .3s;
	opacity: .85;
}
.timeline-gallery-thumb:hover { opacity: 1; transform: scale(1.03); }
/* Hero-Bild ebenfalls in der Lightbox oeffenbar */
.timeline-hero-img.timeline-lb-open { cursor: pointer; transition: filter .25s ease; }
.timeline-hero-img.timeline-lb-open:hover { filter: brightness(1.05); }
.timeline-lb-open:focus-visible { outline: 3px solid var(--akzent-gelb); outline-offset: 3px; }
.timeline-gallery-credit {
	font-size: .6875rem; color: rgba(255,255,255,.35);
	margin-top: .5rem; text-align: right;
}

/* Lightbox */
.timeline-lightbox {
	position: fixed; inset: 0; z-index: 10002;
	background: rgba(0,0,0,.92); display: flex;
	align-items: center; justify-content: center;
	opacity: 0; visibility: hidden;
	transition: opacity .3s, visibility .3s;
}
.timeline-lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img {
	max-width: 90vw; max-height: 85vh; object-fit: contain;
	border-radius: 8px;
}
.lightbox-close {
	position: absolute; top: 1rem; right: 1.5rem;
	background: none; border: none; color: #fff;
	font-size: 2.5rem; cursor: pointer; opacity: .7;
	transition: opacity .2s;
	line-height: 1;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(255,255,255,.1); border: none; color: #fff;
	font-size: 2rem; width: 48px; height: 48px; border-radius: 50%;
	cursor: pointer; opacity: .7; transition: opacity .2s, background .2s;
	display: flex; align-items: center; justify-content: center;
	line-height: 1;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(255,255,255,.2); }
.lightbox-counter {
	position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
	color: rgba(255,255,255,.5); font-size: .8125rem; font-weight: 600;
}

/* Text highlight animation */
.highlight-text {
	background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.15) 100%);
	background-repeat: no-repeat;
	background-size: 0% 100%;
	transition: background-size 1s ease-out;
	padding: 2px 6px; border-radius: 4px;
}
.highlight-text.visible { background-size: 100% 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
	background: var(--ci-blau-dunkel); color: #fff;
}
.footer-container {
	max-width: 1280px; margin: 0 auto;
	padding: 1.5rem clamp(1rem, 3vw, 2rem);
}
.footer-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
}
/* Logo -- left */
.footer-logo { display: flex; align-items: center; transition: opacity .2s; }
.footer-logo:hover { opacity: .8; }
.footer-logo img { height: 28px; width: auto; }

/* Center: Links + Copyright */
.footer-center {
	display: flex; align-items: center; gap: .25rem 1rem;   /* mehr horizontaler Abstand zwischen Menuepunkten (Phase 2.2) */
	font-size: .8125rem; color: rgba(255,255,255,.55);
	flex-wrap: wrap; justify-content: center;
}

/* Right: Social icons */
.footer-social {
	justify-self: end;
	display: flex; align-items: center; gap: .5rem;
}
.footer-social a {
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.25);
	color: rgba(255,255,255,.6); transition: all .2s;
}
.footer-social a:hover {
	background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5);
	color: #fff; transform: translateY(-2px);
}
.footer-center a {
	color: rgba(255,255,255,.55); text-decoration: none;
	transition: color .2s; position: relative;
	display: inline-flex; align-items: center;
	min-height: 44px; padding: 0 .3rem;   /* Tap-Target >=44px, mobile first (Phase 2.2) */
}
.footer-center a::after {
	content: ''; position: absolute; bottom: 10px; left: .3rem; width: 0; height: 1px;
	background: #fff; transition: width .3s;
}
.footer-center a:hover { color: #fff; }
.footer-center a:hover::after { width: calc(100% - .6rem); }
.footer-center-sep { color: rgba(255,255,255,.25); }
.footer-copyright { color: rgba(255,255,255,.35); }
.footer-copyright a { color: inherit; }
.footer-copyright a:hover { color: #fff; }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-main {
	max-width: 720px; margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}
.legal-main h1 {
	font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800;
	color: var(--ci-blau); margin-bottom: 1.5rem;
}
.legal-main h2 {
	font-size: 1.15rem; font-weight: 700;
	color: var(--text-dunkel); margin-top: 2.5rem; margin-bottom: .75rem;
}
.legal-main h3 {
	font-size: 1rem; font-weight: 600;
	color: var(--ci-blau); margin-top: 1.5rem; margin-bottom: .5rem;
}
.legal-main p {
	color: var(--text-grau); margin-bottom: 1rem;
}
.legal-main .legal-intro {
	font-size: 1rem; color: var(--text-grau); margin-bottom: 2rem;
	padding-bottom: 1.5rem; border-bottom: 1px solid var(--hellgrau);
}
.legal-main ul {
	list-style: none; margin-bottom: 1rem; padding: 0;
}
.legal-main ul li {
	color: var(--text-grau); padding: .35rem 0 .35rem 1.25rem;
	position: relative;
}
.legal-main ul li::before {
	content: ''; position: absolute; left: 0; top: .75rem;
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--ci-blau); opacity: .4;
}
.legal-main .legal-date {
	color: var(--text-grau); opacity: .6; font-size: .875rem;
	margin-top: 2rem; padding-top: 1.5rem;
	border-top: 1px solid var(--hellgrau);
}
.legal-main .back-link {
	display: inline-flex; align-items: center; gap: .4rem;
	margin-top: 2.5rem; font-weight: 600;
	padding: .625rem 1.25rem; border-radius: 8px;
	background: var(--offwhite); transition: background .2s, transform .2s;
}
.legal-main .back-link:hover { background: var(--hellgrau); transform: translateX(-3px); }

/* Legal page header (sticky, scrolled state) */
.legal-header .site-header {
	background: rgba(255,255,255,.95);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 2px 24px rgba(0,0,0,.07);
}
.header-back {
	justify-self: end; font-size: .875rem; font-weight: 600;
	color: var(--ci-blau); transition: transform .2s;
}
.header-back:hover { transform: translateX(-3px); }

/* ============================================================
   WIREFRAME ANNOTATIONS (kept for dev)
   ============================================================ */
.wf-badge {
	display: inline-block; padding: 3px 10px;
	background: var(--akzent-gelb); color: var(--ci-blau-dunkel);
	font-size: .6875rem; font-weight: 700; border-radius: 4px;
	text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem;
}

/* ============================================================
   RG UTILITIES (rg-Präfix, damit kein Konflikt mit Core-Blocks
   oder fremden Plugins entstehen kann)
   ============================================================ */
.rg-mt-l { margin-top: 2rem; }
.rg-svg-defs {
	position: absolute; width: 0; height: 0;
	overflow: hidden; pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
	.erklaer-cards { grid-template-columns: 1fr; }
	.spenden-values { grid-template-columns: 1fr; }
	/* Section-Nav auf Tablet kleiner und näher am Rand, damit sie nicht stört */
	.section-nav { right: .5rem; gap: .4rem; }
	.section-nav a { width: 8px; height: 8px; border-width: 1px; }
	.counter-row { gap: 1.5rem; }
}

/* Section-Nav auf Mobile komplett ausblenden (Burger reicht) */
@media (max-width: 600px) {
	.section-nav { display: none; }
}

@media (max-width: 767px) {
	.timeline-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
	.footer-row { grid-template-columns: 1fr; justify-items: center; gap: 1rem; }
	.footer-center { justify-content: center; font-size: .75rem; }
	.footer-social { justify-self: center; }

	/* Absender timeline items stack better */
	.timeline-item { flex-wrap: wrap; }

	/* Mission tighter */
	.mission-text { padding: .85rem 1rem; font-size: 1rem; }
	.mission-block { margin-bottom: 1.5rem; }

	/* Spenden values compact */
	.spenden-value-item { padding: .75rem; }
}

@media (max-width: 600px) {
	/* Header-Hoehe auf Mobile NICHT verkleinern -> weisser Rand unter dem Header an Desktop angeglichen (erbt --header-h 72px / Container 80px) */
	.header-logo { height: 36px; }
	.site-header.is-scrolled .header-logo { height: 28px; }
	.lang-switch { font-size: .6875rem; }

	/* Hero */
	.hero { min-height: 90vh; }
	.hero .cta-outline { width: 100%; text-align: center; padding: 1rem 1.5rem; font-size: 1rem; }

	/* Newsletter stacked */
	.newsletter-form-wrap .gform_wrapper .gform_button { width: 100%; padding: .9rem; }
	.newsletter-notice { padding: .8rem .9rem; font-size: .8125rem; }

	/* Buttons full-width */
	.spenden-btn { width: 100%; text-align: center; padding: 1rem 1.5rem; font-size: 1rem; }
	.btn-primary { width: 100%; text-align: center; padding: 1rem 1.5rem; }

	/* Erklaer cards: touch spacing */
	.erklaer-card { padding: 1.5rem 1.25rem; }
	.card-number { width: 30px; height: 30px; font-size: .75rem; top: 10px; right: 10px; }

	/* Progress bar */
	.progress-bar { height: 10px; }

	/* Burger overlay: larger touch targets */
	.burger-nav a { padding: .75rem 1.25rem; font-size: 1.25rem; }
	.nav-close { width: 52px; height: 52px; }

	/* Weiter section */
	.weiter-highlight { font-size: 1rem; padding: .875rem 1rem; }

	/* Absender timeline compact */
	.timeline-year { min-width: 44px; font-size: .75rem; }
	.timeline-text { font-size: .8125rem; }
	.timeline-link-hint { display: block; margin-left: 0; margin-top: .25rem; }
}

/* Small phones */
@media (max-width: 380px) {
	.hero h1 { font-size: 1.75rem; }
	.hero .subline { font-size: 1rem; }
	.header-logo { height: 30px; }
	.lane-box { max-width: 95vw; }
	.erklaer-card h3 { font-size: 1.1rem; }
	.section h2 { font-size: 1.35rem; }
	.burger-nav a { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
	.aos, .aos-left, .aos-right, .aos-scale, .aos-rotate { opacity: 1; transform: none; }
	.hero h1 { opacity: 1; }
	.hero .subline, .hero .subline-accent, .hero .cta-outline { opacity: 1; transform: none; }
}

/* =========================================================================
   Headless-Checkout (Kasse /kasse/ + Danke /danke/) – mobile-first, CI
   ====================================================================== */
.section-checkout, .section-danke { background: var(--offwhite); }
.rg-co-title { font-size: 1.5rem; color: var(--ci-blau); margin: 0 0 1.25rem; }

.rg-co-status {
	background: #fff; border-left: 4px solid var(--ci-blau);
	padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem;
	font-size: .875rem; color: var(--text-dunkel);
}
.rg-co-status.is-error { border-left-color: #c0392b; color: #c0392b; }

.rg-co-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 880px) {
	.rg-co-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
	.rg-co-aside { position: sticky; top: 1.5rem; }
}

.rg-co-fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.rg-co-fieldset legend { font-size: 1rem; font-weight: 700; color: var(--ci-blau); margin-bottom: .75rem; padding: 0; }
.rg-co-field { display: block; margin-bottom: .85rem; }
.rg-co-field > span { display: block; font-size: .8125rem; font-weight: 600; color: var(--text-dunkel); margin-bottom: .3rem; }
.rg-co-field input, .rg-co-field select {
	width: 100%; box-sizing: border-box; padding: .7rem .8rem;
	border: 1px solid #d6d9e6; border-radius: 8px; font: inherit; background: #fff;
}
.rg-co-field input:focus, .rg-co-field select:focus { outline: 2px solid var(--ci-blau); outline-offset: 1px; border-color: var(--ci-blau); }
.rg-co-row { display: grid; grid-template-columns: 1fr; gap: .85rem; }
@media (min-width: 480px) {
	.rg-co-row { grid-template-columns: 1fr 1fr; }
	.rg-co-field-sm { max-width: 100%; }
}

.rg-co-methods { display: flex; flex-direction: column; gap: .5rem; }
.rg-co-method {
	display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem;
	border: 1px solid #d6d9e6; border-radius: 8px; cursor: pointer; background: #fff;
	transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.rg-co-method:hover { border-color: var(--ci-blau); }
.rg-co-method:has(input:checked) { border-color: var(--ci-blau); box-shadow: 0 0 0 2px rgba(42,50,135,.15); }
.rg-co-method input { accent-color: var(--ci-blau); width: 18px; height: 18px; }

.rg-co-privacy { display: flex; align-items: flex-start; gap: .6rem; margin: 1rem 0 1.25rem; font-size: .8125rem; line-height: 1.5; }
.rg-co-privacy input { margin-top: .15rem; width: 18px; height: 18px; accent-color: var(--ci-blau); flex-shrink: 0; }
.rg-co-privacy a { color: var(--ci-blau); text-decoration: underline; }

.rg-co-submit {
	width: 100%; padding: .9rem 1rem; border: 0; border-radius: 10px;
	background: var(--ci-blau); color: #fff; font-size: 1rem; font-weight: 700;
	cursor: pointer; transition: background var(--dur-fast), transform var(--dur-fast);
}
.rg-co-submit:hover:not(:disabled) { background: var(--ci-blau-hell); transform: translateY(-1px); }
.rg-co-submit:focus-visible { outline: 2px solid var(--akzent-gelb); outline-offset: 2px; }
.rg-co-submit:disabled { opacity: .65; cursor: progress; }
.rg-co-note { font-size: .75rem; color: var(--text-grau); margin-top: .6rem; line-height: 1.5; }

.rg-co-aside { background: #fff; border-radius: 12px; padding: 1.25rem; box-shadow: 0 4px 16px rgba(42,50,135,.06); }
.rg-co-aside-title { font-size: 1rem; color: var(--ci-blau); margin: 0 0 1rem; }
.rg-co-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.rg-co-line { display: grid; grid-template-columns: 48px 1fr auto; gap: .6rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid #eef0f6; }
.rg-co-thumb { width: 48px; height: 48px; object-fit: contain; background: var(--weiss); border-radius: 6px; }
.rg-co-line-name { font-size: .8125rem; color: var(--text-dunkel); line-height: 1.3; }
.rg-co-variant { display: block; font-size: .6875rem; color: var(--text-grau); }
.rg-co-qty { display: block; font-size: .6875rem; color: var(--text-grau); }
.rg-co-line-total { font-size: .8125rem; font-weight: 700; color: var(--ci-blau); white-space: nowrap; }
.rg-co-totals { margin: 0; }
.rg-co-total-row { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .875rem; }
.rg-co-total-row:last-child { border-top: 1px solid #eef0f6; margin-top: .25rem; padding-top: .6rem; font-size: 1rem; }
.rg-co-empty { font-size: 1rem; color: var(--text-dunkel); }
.rg-co-empty a { color: var(--ci-blau); font-weight: 600; }
.rg-co-calc { color: var(--text-grau); font-style: italic; font-size: .8125rem; }

/* Danke-Seite */
.rg-danke { max-width: 540px; margin: 0 auto; }
.rg-danke-card { background: #fff; border-radius: 14px; padding: 2rem 1.5rem; text-align: center; box-shadow: 0 6px 24px rgba(42,50,135,.08); }
.rg-danke-check { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--ci-blau); color: #fff; font-size: 2rem; line-height: 64px; }
.rg-danke-card h1 { font-size: 1.35rem; color: var(--ci-blau); margin: 0 0 .5rem; }
.rg-danke-lead { color: var(--text-dunkel); margin: 0 0 1rem; }
.rg-danke-order { font-size: .875rem; color: var(--text-grau); }
.rg-danke-items { list-style: none; padding: 0; margin: 1rem 0; text-align: left; }
.rg-danke-items li { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid #eef0f6; font-size: .875rem; }
.rg-danke-total { font-size: 1.1rem; color: var(--ci-blau); margin: 1rem 0; }
.rg-danke-back a { color: var(--ci-blau); font-weight: 600; }

/* Schaufenster kompakt: Auf-/Zuklappen */
.shop-expand-toggle {
	display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem;
	padding: .7rem 1.4rem; border: 2px solid var(--ci-blau); border-radius: 999px;
	background: #fff; color: var(--ci-blau); font: inherit; font-weight: 700;
	cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast);
}
.shop-expand-toggle:hover { background: var(--ci-blau); color: #fff; }
.shop-expand-toggle:focus-visible { outline: 2px solid var(--akzent-gelb); outline-offset: 2px; }
.shop-expand-icon { width: 12px; height: 12px; position: relative; flex-shrink: 0; }
.shop-expand-icon::before, .shop-expand-icon::after {
	content: ''; position: absolute; background: currentColor; border-radius: 2px;
	top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.shop-expand-icon::before { width: 12px; height: 2px; }
.shop-expand-icon::after  { width: 2px; height: 12px; transition: transform var(--dur-fast); }
.shop-expand-toggle.is-open .shop-expand-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.shop-collapse[hidden] { display: none; }
.shop-collapse:not([hidden]) { animation: shopReveal .35s var(--ease-out); }
@keyframes shopReveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   FAQ -- Accordion (Phase 17, natives details/summary)
   ============================================================ */
.section-faq .faq-title { text-align: center; margin-bottom: 2.5rem; }
.faq-accordion { max-width: var(--narrow-w); margin: 0 auto; }
.faq-item {
	border-bottom: 1px solid var(--hellgrau);
	background: var(--weiss, #fff);
}
.faq-item:first-child { border-top: 1px solid var(--hellgrau); }
.faq-item > summary {
	cursor: pointer;
	padding: 1.25rem 3rem 1.25rem 0;
	position: relative;
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--ci-blau);
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
	transition: color var(--dur-fast) var(--ease-out);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--ci-blau-hell); }
.faq-item > summary:focus-visible {
	outline: 2px solid var(--ci-blau);
	outline-offset: 2px;
	border-radius: 4px;
}
.faq-item > summary::after {
	content: "+";
	position: absolute;
	right: .25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1;
	color: var(--ci-blau);
	transition: transform var(--dur-fast) var(--ease-out);
}
.faq-item[open] > summary { color: var(--ci-blau-dunkel); }
.faq-item[open] > summary::after {
	transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
	padding: 0 3rem 1.5rem 0;
	color: var(--text-grau);
	line-height: 1.7;
}
.faq-answer p { margin: 0; }
.faq-item[open] .faq-answer { animation: faqReveal .3s var(--ease-out); }
@keyframes faqReveal {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.faq-item > summary,
	.faq-item > summary::after { transition: none; }
	.faq-item[open] .faq-answer { animation: none; }
}
