/* DER SACHPOOL – Kinder- & Jugendförderung e.V. · Design V1
   Richtung: warm, kindgerecht, Magazin-Look. Text ist nie hinter Animationen versteckt. */

:root {
  --cream: #FFF6E6;
  --paper: #FFFCF6;
  --sun: #FFC22E;
  --sun-soft: #FFE29A;
  --sun-deep: #E9A100;
  --navy: #1D2657;
  --navy-2: #2A3678;
  --ink: #20253F;
  --muted: #5A5F78;
  --coral: #EE6A4B;
  --coral-soft: #FFD5C8;
  --sky: #8ACDEF;
  --sky-soft: #D7EEFA;
  --leaf: #6CBA7D;
  --leaf-soft: #D6EED9;
  --line: rgba(29, 38, 87, .12);
  --shadow: 0 1px 0 rgba(29,38,87,.04), 0 12px 32px -12px rgba(29,38,87,.22);
  --shadow-lg: 0 2px 0 rgba(29,38,87,.04), 0 30px 60px -24px rgba(29,38,87,.35);
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--coral); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.prose { max-width: 690px; }
.prose p, .justify { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.muted { color: var(--muted); }
.hand { font-family: var(--hand); font-weight: 600; font-size: 1.6rem; color: var(--coral); line-height: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 .82rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--sun-soft); padding: .55em .9em; border-radius: 99px; margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--coral); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 1rem/1 var(--body); text-decoration: none;
  background: var(--bg); color: var(--fg);
  padding: 1em 1.4em; border-radius: 99px; border: 2px solid var(--bg);
  transition: transform .35s var(--bounce), box-shadow .35s var(--ease), background .2s;
  box-shadow: 0 4px 0 rgba(0,0,0,.14);
  cursor: pointer;
}
.btn:hover { color: var(--fg); transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 0 rgba(0,0,0,.14); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,.14); }
.btn--sun { --bg: var(--sun); --fg: var(--navy); }
.btn--coral { --bg: var(--coral); --fg: #fff; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: none; }
.btn--ghost:hover { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn--sm { padding: .75em 1.1em; font-size: .92rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: padding .3s var(--ease); }
.site-head .bar {
  display: flex; align-items: center; gap: 20px;
  background: rgba(255, 252, 246, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 99px; padding: 10px 10px 10px 22px;
  box-shadow: 0 10px 30px -18px rgba(29,38,87,.4);
}
.brand img { height: 42px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  font: 600 .98rem/1 var(--body); color: var(--ink); text-decoration: none;
  padding: .75em 1em; border-radius: 99px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35em;
}
.nav > a:hover, .nav .dd > button:hover, .nav .dd:focus-within > button { background: var(--sun-soft); color: var(--navy); }
.nav a[aria-current="page"], .nav .dd.is-current > button { background: var(--navy); color: #fff; }
.dd { position: relative; }
.dd > button svg { width: 12px; transition: transform .25s; }
.dd:hover > button svg, .dd:focus-within > button svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px;
  box-shadow: var(--shadow-lg);
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: .25s var(--ease);
}
.dd-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { visibility: visible; opacity: 1; transform: none; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.dd-menu a:hover { background: var(--cream); color: var(--navy); }
.dd-menu a[aria-current="page"] { background: var(--sun-soft); }
.dd-menu i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 1.05rem; flex: none; }
.head-cta { display: flex; gap: 8px; margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: .3s; }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav, .head-cta { display: none; }
  .site-head.open .bar { border-radius: 28px; flex-wrap: wrap; }
  .site-head.open .nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 6px 0 0; order: 3; }
  .site-head.open .head-cta { display: flex; width: 100%; order: 4; margin: 6px 0 8px; }
  .site-head.open .head-cta .btn { flex: 1; justify-content: center; }
  .site-head.open .dd-menu { position: static; visibility: visible; opacity: 1; transform: none; translate: none; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; }
  .site-head.open .dd > button { width: 100%; }
  .site-head.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-head.open .burger span:nth-child(2) { opacity: 0; }
  .site-head.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Warm mesh background ---------- */
.mesh { position: relative; isolation: isolate; overflow: hidden; }
.mesh::before {
  content: ""; position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(40% 45% at 18% 25%, rgba(255,194,46,.55), transparent 70%),
    radial-gradient(35% 40% at 85% 20%, rgba(138,205,239,.55), transparent 70%),
    radial-gradient(40% 40% at 70% 85%, rgba(238,106,75,.32), transparent 70%),
    radial-gradient(30% 35% at 10% 90%, rgba(108,186,125,.35), transparent 70%),
    var(--cream);
  animation: drift 26s ease-in-out infinite alternate;
}
.mesh::after { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { 0% { transform: translate3d(0,0,0) rotate(0deg) scale(1); } 100% { transform: translate3d(3%, -2%, 0) rotate(6deg) scale(1.08); } }

/* ---------- Home hero ---------- */
.hero { padding: 40px 0 90px; margin-top: -86px; padding-top: 140px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .mark { position: relative; white-space: nowrap; color: var(--navy); }
.hero h1 .mark svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .45em; z-index: -1; }
.hero h1 .mark path { stroke: var(--sun); stroke-width: 14; fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.2s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { max-width: 560px; margin-bottom: 1.8rem; }
.hero-note { margin-top: 26px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .95rem; }
.hero-note .dots { display: flex; }
.hero-note .dots img { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--paper); object-fit: cover; margin-left: -10px; background: #fff; }
.hero-note .dots img:first-child { margin-left: 0; }

.hero-art { position: relative; aspect-ratio: 1 / 1; }
.sunburst { position: absolute; inset: -6%; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-photo {
  position: absolute; inset: 9% 6% 9% 8%;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff;
  animation: blob 14s ease-in-out infinite alternate;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
@keyframes blob { to { border-radius: 56% 44% 54% 46% / 44% 56% 44% 56%; } }
.sticker {
  position: absolute; background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); line-height: 1.15;
  animation: float 6s ease-in-out infinite;
}
.sticker b { font: 800 2.1rem/1 var(--display); color: var(--coral); }
.sticker small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.sticker--a { left: -4%; bottom: 10%; rotate: -4deg; }
.sticker--b { right: -2%; top: 6%; rotate: 5deg; animation-delay: -3s; background: var(--sun); }
.sticker--b b { color: var(--navy); }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-elefant { position: absolute; right: 2%; bottom: -2%; width: 30%; animation: sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 50% { transform: rotate(-4deg) translateY(-4px); } }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: 110px 0; }
.sec--tight { padding: 70px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 14ch; }
.sec-head p { max-width: 460px; margin: 0; color: var(--muted); }

/* Wave dividers */
.wave { display: block; width: 100%; height: 60px; }

/* Welcome */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card {
  background: #fff; border-radius: var(--r-lg); padding: 34px; border: 1px solid var(--line);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .5s var(--bounce), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 30px; height: 30px; }
.c-sun .ico { background: var(--sun-soft); color: var(--sun-deep); }
.c-sky .ico { background: var(--sky-soft); color: #2D88B8; }
.c-coral .ico { background: var(--coral-soft); color: var(--coral); }
.c-leaf .ico { background: var(--leaf-soft); color: #3D8A4F; }
.welcome-intro {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
  background: var(--navy); color: #fff; border: 0;
}
.welcome-intro h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.welcome-intro p { color: rgba(255,255,255,.82); }
.welcome-intro .btn-row { justify-content: flex-end; }
.welcome-intro:hover { transform: none; }

/* Elefant band (dark) */
.band-navy { background: var(--navy); color: #fff; overflow: hidden; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy p { color: rgba(255,255,255,.8); }
.band-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 46px 0 50px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 26px; }
.stat b { display: block; font: 800 clamp(2.6rem, 5vw, 4rem)/1 var(--display); color: var(--sun); letter-spacing: -.03em; }
.stat span { color: rgba(255,255,255,.78); font-weight: 600; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee + .marquee .marquee-track { animation-direction: reverse; animation-duration: 85s; }
.marquee + .marquee { margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 18px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-weight: 600; font-size: .95rem;
}
.chip i { font-style: normal; color: var(--sun); font-weight: 700; font-size: .85rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.elefant-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.polaroids { position: relative; height: 420px; }
.polaroid { position: absolute; background: #fff; padding: 12px 12px 46px; border-radius: 6px; box-shadow: var(--shadow-lg); transition: transform .5s var(--bounce); }
.polaroid img { border-radius: 2px; width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 600 1.3rem/1 var(--hand); color: var(--navy); }
.polaroid:hover { transform: rotate(0) scale(1.04); z-index: 3; }
.pol-1 { width: 62%; height: 300px; left: 0; top: 10px; rotate: -5deg; }
.pol-2 { width: 54%; height: 250px; right: 0; bottom: 0; rotate: 4deg; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; }
.tier {
  background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); padding: 26px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden;
  transition: transform .5s var(--bounce);
}
.tier:hover { transform: translateY(-8px); }
.tier .lvl { font: 800 .85rem/1 var(--body); letter-spacing: .1em; color: var(--muted); }
.tier .amt { font: 800 2.2rem/1 var(--display); color: var(--navy); letter-spacing: -.03em; margin-top: 6px; }
.tier .per { color: var(--muted); font-size: .95rem; }
.tier .name { font-weight: 700; margin-top: 10px; font-size: .95rem; }
.tier .fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--sun-soft); z-index: -1; }
.tier { isolation: isolate; }
.tier--em { background: var(--navy); color: #fff; }
.tier--em .amt, .tier--em .name { color: #fff; }
.tier--em .lvl, .tier--em .per { color: rgba(255,255,255,.7); }

/* Team mini */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { text-align: center; }
.person .ph { width: min(220px, 80%); aspect-ratio: 1; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; position: relative; background: var(--sun-soft); transition: transform .5s var(--bounce); }
.person:nth-child(2) .ph { background: var(--sky-soft); }
.person:nth-child(3) .ph { background: var(--coral-soft); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person:hover .ph { transform: rotate(-4deg) scale(1.04); }
.person .role { font-weight: 700; color: var(--coral); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.person .nm { font: 700 1.35rem/1.2 var(--display); color: var(--navy); }

/* CTA band */
.cta-band { background: var(--sun); border-radius: 40px; padding: 64px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { font-size: 1.15rem; max-width: 560px; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .rays { position: absolute; right: -120px; top: -120px; width: 420px; opacity: .35; animation: spin 60s linear infinite; }

/* ---------- Inner page hero ---------- */
.phero { padding: 130px 0 70px; margin-top: -86px; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.phero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; }
.phero .lead { max-width: 640px; }
.phero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }

/* Two-column reading layout */
.read { display: grid; grid-template-columns: minmax(0, 690px) minmax(0, 1fr); gap: 60px; align-items: start; }
.rail { position: sticky; top: 110px; display: grid; gap: 16px; }
.rail .card { padding: 26px; }
.rail .card:hover { transform: none; }

/* Elefant page */
.year-bars { display: flex; align-items: end; gap: 8px; height: 170px; margin: 10px 0 8px; }
.year-bars button {
  flex: 1; border: 0; padding: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: end; height: 100%; gap: 6px;
  font: 700 .85rem/1 var(--body); color: var(--muted);
}
.year-bars .b { width: 100%; border-radius: 10px 10px 4px 4px; background: var(--sky-soft); transition: background .25s, transform .4s var(--bounce); transform-origin: bottom; position: relative; }
.year-bars .b em { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-style: normal; color: var(--navy); }
.year-bars button:hover .b { background: var(--sky); }
.year-bars button.on .b { background: var(--sun); }
.year-bars button.on { color: var(--navy); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.filters button {
  font: 700 .92rem/1 var(--body); padding: .8em 1.1em; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: .5em; transition: .2s;
}
.filters button span { background: var(--cream); border-radius: 99px; padding: .2em .55em; font-size: .8rem; }
.filters button:hover { border-color: var(--navy); }
.filters button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters button.on span { background: rgba(255,255,255,.18); }
.timeline { position: relative; }
.tl-year { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 26px 0; border-top: 1px dashed var(--line); }
.tl-year h3 { font-size: 2.4rem; margin: 0; position: sticky; top: 110px; align-self: start; color: var(--navy); }
.tl-year h3 small { display: block; font: 600 .85rem/1.3 var(--body); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.tl-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.don {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 16px 16px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  transition: transform .4s var(--bounce), box-shadow .3s;
}
.don:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.don .t { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.don .t svg { width: 24px; height: 24px; }
.don time { font-size: .85rem; font-weight: 700; color: var(--muted); display: block; margin-bottom: 2px; }
.don p { margin: 0; font-size: 1rem; line-height: 1.45; font-weight: 600; color: var(--ink); }
.don[data-k="elefant"] .t { background: var(--sun-soft); color: var(--sun-deep); }
.don[data-k="geld"] .t { background: var(--leaf-soft); color: #3D8A4F; }
.don[data-k="spende"] .t { background: var(--coral-soft); color: var(--coral); }
.don[data-k="sponsoring"] .t { background: var(--sky-soft); color: #2D88B8; }
.don[hidden], .tl-year[hidden] { display: none; }
.legend-note { font-size: .9rem; color: var(--muted); }

/* Leadership page */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.board .person { background: #fff; border-radius: var(--r-lg); padding: 34px 20px 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.delegates { display: flex; flex-wrap: wrap; gap: 12px; }
.delegates li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 10px 18px 10px 10px; display: flex; align-items: center; gap: 12px; font-weight: 600; box-shadow: var(--shadow); }
.delegates li i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 .9rem/1 var(--display); font-style: normal; color: var(--navy); }
.delegates { padding: 0; margin: 0; }

/* History page */
.meetings { list-style: none; padding: 0; margin: 0; position: relative; }
.meetings::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.meetings li { position: relative; padding: 8px 0 8px 40px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.meetings li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--sky); }
.meetings li.first::before { border-color: var(--coral); background: var(--coral-soft); }
.meetings time { font: 700 1.05rem/1 var(--display); color: var(--navy); min-width: 110px; }
.empty { background: var(--cream); border-radius: var(--r-md); padding: 22px 24px; display: flex; gap: 14px; align-items: center; color: var(--muted); }
.docs { display: grid; gap: 10px; }
.doc {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px 14px 14px; transition: transform .4s var(--bounce), box-shadow .3s, border-color .2s;
}
.doc:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--navy); color: var(--ink); }
.doc .fi { width: 52px; height: 60px; border-radius: 8px 16px 8px 8px; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; font: 800 .75rem/1 var(--body); letter-spacing: .05em; }
.doc b { display: block; font-weight: 700; line-height: 1.3; }
.doc small { color: var(--muted); font-weight: 600; }
.doc .dl { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--navy); }
.doc .dl svg { width: 18px; }

/* Memorial page – calm, no motion */
.memorial { background: #F4F2EE; }
.memorial-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.memorial-photo { border-radius: 24px; overflow: hidden; border: 10px solid #fff; box-shadow: var(--shadow-lg); filter: grayscale(1); }
.memorial h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.memorial .dates { font: 700 1.4rem/1 var(--display); color: var(--navy); margin-top: 26px; display: flex; gap: 24px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.cinfo { display: grid; gap: 14px; }
.cline { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-decoration: none; color: var(--ink); transition: transform .4s var(--bounce), box-shadow .3s; }
a.cline:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cline i { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.cline i svg { width: 26px; height: 26px; }
.cline small { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; }
.cline b { font-size: 1.15rem; }
.hours { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 34px; position: relative; overflow: hidden; }
.hours h3 { color: #fff; }
.hours dl { margin: 0; display: grid; gap: 18px; }
.hours dt { font-weight: 700; color: var(--sun); }
.hours dd { margin: 4px 0 0; font-size: 1.15rem; }
.hours .open { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: .5em .9em; border-radius: 99px; background: rgba(255,255,255,.1); margin-bottom: 20px; }
.hours .open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.hours .open.is-open::before { background: #5BE07A; box-shadow: 0 0 0 4px rgba(91,224,122,.25); }

/* Legal */
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 0; }
.legal dt { font-weight: 700; color: var(--navy); }
.legal dd { margin: 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: rgba(255,255,255,.8); padding: 90px 0 30px; margin-top: 60px; position: relative; overflow: hidden; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: var(--sun); font: 700 .85rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 16px; margin-bottom: 18px; }
.foot-logo img { height: 40px; }
.wordmark { font: 800 clamp(3.4rem, 13vw, 11rem)/.8 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); margin: 70px 0 30px; white-space: nowrap; user-select: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }

/* ---------- Motion for decoration only ---------- */
.pop { transform: translateY(26px) scale(.97); transition: transform .9s var(--ease); }
.pop.in { transform: none; }

@media (max-width: 1020px) {
  .hero-grid, .elefant-split, .read, .phero-grid, .memorial-grid, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier--em { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .rail { position: static; }
  .cta-band .btn-row, .welcome-intro .btn-row { justify-content: flex-start; }
  .welcome-intro { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 72px 0; }
  .welcome-grid, .stats, .team, .board { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .cta-band { padding: 36px 26px; border-radius: 28px; }
  .tl-year { grid-template-columns: 1fr; gap: 10px; }
  .tl-year h3 { position: static; }
  .polaroids { height: 340px; }
  .pol-1 { height: 230px; } .pol-2 { height: 190px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .year-bars { gap: 4px; }
  .year-bars button { font-size: .72rem; }
  .sticker { padding: 10px 14px; } .sticker b { font-size: 1.6rem; }
  .hero h1 .mark { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .mark path { stroke-dashoffset: 0; }
  .pop { transform: none; }
}

/* Startseite: drei Karten unter der Mitgliedschafts-Karte */
.welcome-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1020px) { .welcome-grid--3 { grid-template-columns: 1fr; } }
.memorial-photo { max-width: 380px; justify-self: end; }
@media (max-width: 1020px) { .memorial-photo { justify-self: center; max-width: 300px; } }
.hero-note .dots { flex: none; }

/* Hero-Slogan: zwei Zeilen auf großen Bildschirmen */
.hero-grid { grid-template-columns: 1.3fr .7fr; gap: 40px; }
.hero-title { font-size: clamp(2.5rem, 4.7vw, 4.1rem); }
@media (min-width: 1021px) { .hero-title .ln { display: block; white-space: nowrap; } }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } }

/* Hero füllt den ganzen Bildschirm; Gruppenfoto im Querformat */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-bottom: 60px; }
.hero > .wrap { width: min(var(--wrap), 100% - 40px); }
.hero-art { aspect-ratio: 1 / 1; }
.hero-photo {
  inset: 17% 0 17% 2%;
  border-radius: 42% 58% 46% 54% / 54% 46% 54% 46%;
  animation: blob-wide 14s ease-in-out infinite alternate;
}
.hero-photo img { object-position: 52% 55%; }
@keyframes blob-wide { to { border-radius: 52% 48% 40% 60% / 46% 56% 44% 54%; } }
.sticker--a { left: -6%; bottom: 4%; }
.sticker--b { right: -4%; top: 4%; }
.hero-elefant { right: -4%; bottom: -4%; width: 28%; }
.pol-2--portrait { width: 36%; height: 300px; right: 4%; bottom: 0; }
@media (min-width: 1021px) and (max-height: 760px) { .hero { padding-top: 120px; } .hero-title { font-size: clamp(2.5rem, 4.2vw, 3.6rem); } }
@media (max-width: 1020px) { .hero { min-height: 0; } }
@media (max-width: 680px) { .pol-2--portrait { height: 220px; } }
@media (min-width: 1021px) {
  .hero > .wrap { width: min(1320px, 100% - 64px); }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .hero-title { font-size: clamp(2.5rem, 4.4vw, 4rem); }
  .hero .lead { font-size: 1.32rem; max-width: 600px; }
}
@media (min-width: 1021px) { .hero-art { width: min(100%, calc(100vh - 200px)); justify-self: center; } }
.polaroids:has(.pol-2--portrait) .pol-1 { width: 60%; }
.pol-2--portrait { right: 0; width: 34%; }

/* Hero: zwei Fotos kombiniert – Gruppenfoto groß, Junge mit Elefant als runde Blase */
.hero-photo { inset: 6% 0 30% 8%; }
.hero-photo2 {
  position: absolute; left: -2%; bottom: 3%; width: 46%; aspect-ratio: 1;
  border-radius: 50% 50% 46% 54% / 54% 48% 52% 46%; overflow: hidden;
  border: 8px solid #fff; box-shadow: var(--shadow-lg); z-index: 2;
  animation: blob 12s ease-in-out infinite alternate-reverse;
}
.hero-photo2 img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; }
.hero-art .sticker { z-index: 3; }
.sticker--b { right: -3%; top: 0; }
.sticker--a { left: auto; right: 2%; bottom: 20%; rotate: 3deg; }
.hero-elefant { z-index: 3; right: 6%; bottom: -1%; width: 24%; }
@media (max-width: 680px) {
  .sticker--a { right: 0; bottom: 4%; max-width: 50%; font-size: .85rem; padding: 10px 12px; }
  .sticker--a b { font-size: 1.5rem; }
  .hero-elefant { right: auto; left: 42%; bottom: -6%; width: 20%; }
}

/* Variante: nur ein Foto (Junge mit Elefant) im runden Rahmen */
.hero-art--single .hero-photo { inset: 9% 6% 9% 8%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; animation: blob 14s ease-in-out infinite alternate; }
.hero-art--single .hero-photo img { object-position: 40% 50%; }
.hero-art--single .sticker--a { left: -4%; right: auto; bottom: 10%; rotate: -4deg; max-width: none; }
.hero-art--single .sticker--b { right: -2%; top: 6%; }
.hero-art--single .hero-elefant { left: auto; right: 2%; bottom: -2%; width: 30%; }
.hero-art--single + * {}

/* Bilder nie verzerren: Höhe immer aus dem Seitenverhältnis */
img { height: auto; }
.memorial-photo img { width: 100%; height: auto; }
.foot-logo img, .brand img { width: auto; }

/* Hero (final): Junge groß im runden Rahmen, Gruppenfoto als kleine Blase */
.hero-art--duo .hero-photo { inset: 6% 4% 12% 10%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; animation: blob 14s ease-in-out infinite alternate; }
.hero-art--duo .hero-photo img { object-position: 40% 50%; }
.hero-art--duo .hero-photo2 { left: -3%; bottom: 2%; width: 42%; aspect-ratio: 4 / 3; border-radius: 50%; }
.hero-art--duo .hero-photo2 img { object-position: 55% 50%; }
.hero-art--duo .sticker--b { right: -3%; top: 2%; left: auto; bottom: auto; }
.hero-art--duo .sticker--a { right: -4%; left: auto; bottom: 22%; rotate: 3deg; }
.hero-art--duo .hero-elefant { right: 6%; left: auto; bottom: -3%; width: 24%; }
@media (max-width: 680px) {
  .hero-art--duo .sticker--a { right: -2%; bottom: 20%; }
  .hero-art--duo .hero-elefant { right: 4%; bottom: -5%; width: 22%; }
}
.foot-bottom { margin-top: 56px; }

/* Laufband langsamer (Lily 2026-11-16) */
.marquee-track { animation-duration: 160s; }
.marquee + .marquee .marquee-track { animation-duration: 190s; }
.note-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sky-soft); color: #2D88B8; display: grid; place-items: center; }
.note-ico svg { width: 22px; height: 22px; }

/* Übergaben-Seite: zwei Fotos nebeneinander statt übereinander */
.phero-grid:has(.polaroids--spread) { grid-template-columns: 1fr 1fr; align-items: center; }
.polaroids--spread { max-width: 640px; margin-left: auto; }
.polaroids--spread .pol-1 { width: 50%; left: 0; top: 0; rotate: -4deg; }
.polaroids--spread .pol-2 { width: 48%; right: 0; bottom: 0; rotate: 3deg; }
@media (max-width: 680px) { .polaroids--spread .pol-1, .polaroids--spread .pol-2 { width: 54%; } }
@media (min-width: 1021px) {
  .phero-grid:has(.polaroids--spread) { grid-template-columns: 1.15fr .85fr; }
  .phero-grid:has(.polaroids--spread) h1 { font-size: clamp(2.4rem, 4vw, 3.7rem); max-width: none; }
}
.polaroids--spread { height: 430px !important; }
.polaroids--spread .pol-1 { width: 56%; height: 250px !important; }
.polaroids--spread .pol-2 { width: 54%; height: 210px !important; }
@media (max-width: 680px) { .polaroids--spread { height: 360px !important; } .polaroids--spread .pol-1 { height: 200px !important; } .polaroids--spread .pol-2 { height: 170px !important; } }
@media (max-width: 1020px) { .phero-grid:has(.polaroids--spread) { grid-template-columns: 1fr; } .polaroids--spread { margin: 10px auto 0; width: 100%; } }
@media (max-width: 680px) { .polaroids--spread { height: 400px !important; } }

/* Übergaben-Kopf: zwei Fotos nebeneinander, flacher Kopfbereich (Lily, 2026-11-16) */
.phero:has(.polaroids--row) { padding-bottom: 40px; }
.phero-grid:has(.polaroids--row) { align-items: center; gap: 48px; }
.polaroids--row { position: static; height: auto !important; display: flex; gap: 18px; align-items: center; justify-content: flex-end; max-width: 620px; width: 100%; margin-left: auto; }
.polaroids--row .polaroid { position: relative; inset: auto; flex: 1 1 0; width: auto !important; height: 230px !important; padding: 10px 10px 40px; }
.polaroids--row .pol-1 { rotate: -3deg; }
.polaroids--row .pol-2 { rotate: 3deg; margin-top: 28px; }
.polaroids--row .polaroid figcaption { font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 1020px) { .polaroids--row { margin: 8px 0 0; max-width: 560px; justify-content: flex-start; } }
@media (max-width: 680px) { .polaroids--row { gap: 12px; } .polaroids--row .polaroid { height: 170px !important; padding: 7px 7px 32px; } .polaroids--row .polaroid figcaption { font-size: .95rem; bottom: 8px; } .polaroids--row .pol-2 { margin-top: 18px; } }
@media (min-width: 1021px) {
  .polaroids--row { width: 100%; max-width: 560px; }
  .polaroids--row .polaroid { height: 220px !important; }
}
.polaroids--row .polaroid { margin: 0; height: auto !important; }
.polaroids--row .polaroid img { height: auto; aspect-ratio: 4 / 3; }
.polaroids--row .pol-2 { margin-top: 28px; }
@media (max-width: 680px) { .polaroids--row .pol-2 { margin-top: 16px; } }
@media (max-width: 1020px) { .phero-grid:has(.polaroids--row) { gap: 24px; } }

/* Vereinstätigkeit-Kopf: kleineres Foto, flacher Kopfbereich (Lily, 2026-11-16) */
.phero:has(.phero-photo) { padding-bottom: 40px; }
.phero-grid:has(.phero-photo) { align-items: center; }
.phero-photo { position: relative; width: min(300px, 100%); height: auto; aspect-ratio: auto; margin: 0 0 0 auto; padding: 10px 10px 24px; rotate: 3deg; }
.phero-photo img { height: auto; aspect-ratio: 3 / 2; }
@media (max-width: 1020px) { .phero-grid:has(.phero-photo) { gap: 24px; } .phero-photo { margin: 0; width: min(260px, 80%); } }

/* Kontaktzeiten: Cartoon-Wecker als Dekoration (Lily, 2026-11-16) */
.hours > *:not(.hours-clock) { position: relative; z-index: 1; }
.hours > div[style*="absolute"] { position: absolute; }
.hours-clock { position: absolute; top: 34px; right: 28px; width: 150px; height: auto; rotate: 10deg; opacity: .95; pointer-events: none; animation: clock-wiggle 6s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes clock-wiggle { 0%, 82%, 100% { transform: rotate(0); } 85% { transform: rotate(-6deg); } 88% { transform: rotate(6deg); } 91% { transform: rotate(-4deg); } 94% { transform: rotate(3deg); } }
@media (max-width: 1240px) { .hours-clock { width: 110px; top: 70px; right: 18px; } }
@media (max-width: 480px) { .hours-clock { width: 84px; top: 22px; right: 14px; } }
@media (prefers-reduced-motion: reduce) { .hours-clock { animation: none; } }
/* Kontakt: Wecker unten rechts in der Karte, Elefant im gelben Spendenband (Lily, 2026-11-16) */
.hours { padding-bottom: 150px; }
.hours-clock { top: auto; bottom: 18px; right: 24px; width: 130px; rotate: 8deg; }
@media (max-width: 1240px) { .hours-clock { top: auto; width: 120px; right: 18px; } }
@media (max-width: 480px) { .hours { padding-bottom: 130px; } .hours-clock { top: auto; width: 104px; bottom: 14px; right: 14px; } }
.cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; position: relative; z-index: 1; }
.cta-band > div { position: relative; z-index: 1; }
.cta-ele { width: 150px; animation: ele-sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes ele-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (max-width: 1020px) { .cta-side { align-items: flex-start; } .cta-ele { width: 120px; } }
@media (prefers-reduced-motion: reduce) { .cta-ele { animation: none; } }
/* Sonnenstrahlen: größerer Strahlenkranz (Lily, 2026-11-16) */
.hero-art .sunburst { inset: -9%; }
@media (max-width: 680px) { .hero-art .sunburst { inset: -1%; } }
