/* ── Self-hosted Fonts (OFL-Lizenz) ─────────── */
/* Lora v37 – normal, 400–700 */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lora v37 – italic, 400–600 */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/lora-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/lora-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Work Sans v24 – normal, 300–700 */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/work-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/work-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Scroll-Offset: Header überlappt das obere Section-Padding teilweise,
   sodass die Überschrift mit kleinem Abstand direkt unter der Navigation erscheint. */
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
section[id] { scroll-margin-top: 24px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── Tokens ─────────────────────────────────── */
:root {
  --font-display: 'Lora', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
  /* Warmes Cremeweiß — harmoniert mit Holz/Beige der Fotos */
  --color-bg:               oklch(0.97 0.010 82);
  --color-surface:          oklch(0.94 0.012 80);
  --color-surface-2:        oklch(0.91 0.014 78);
  --color-border:           oklch(0.84 0.012 80);
  --color-divider:          oklch(0.88 0.010 80);
  --color-text:             oklch(0.16 0.012 230);
  --color-text-muted:       oklch(0.42 0.014 230);
  --color-text-faint:       oklch(0.62 0.010 230);
  /* Primär leicht wärmer & ruhiger — passt zu den weichen Grautönen der Fotos */
  --color-primary:          oklch(0.40 0.080 232);
  --color-primary-hover:    oklch(0.32 0.080 232);
  --color-primary-light:    oklch(0.93 0.030 230);
  /* Amber — entspricht den Sperlings-Schnäbeln & Holzlicht */
  --color-amber:            oklch(0.66 0.135 64);
  --color-amber-hover:      oklch(0.58 0.135 64);
  --color-amber-light:      oklch(0.95 0.050 80);
  /* Notfall: gedämpftes Terrakotta */
  --color-notfall:          oklch(0.52 0.120 38);
  --color-notfall-hover:    oklch(0.44 0.120 38);
  --color-notfall-light:    oklch(0.94 0.038 46);
  /* Naturakzent: gedämpftes Moosgrün — harmoniert mit Blattwerk */
  --color-leaf:             oklch(0.48 0.060 145);
  --color-leaf-light:       oklch(0.93 0.030 140);
  /* Footer: tiefes warmes Schiefer */
  --color-footer-bg:        oklch(0.22 0.030 235);
  --shadow-sm: 0 1px 2px oklch(0.13 0.008 258 / 0.07);
  --shadow-md: 0 4px 12px oklch(0.13 0.008 258 / 0.10);
  --shadow-lg: 0 12px 32px oklch(0.13 0.008 258 / 0.14);
  --shadow-warm: 0 16px 40px oklch(0.20 0.030 60 / 0.18);
  --radius-sm: 0.375rem; --radius-md: 0.5rem;
  --radius-lg: 0.75rem;  --radius-xl: 1rem; --radius-full: 9999px;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --text-hero: clamp(2.8rem, 1rem + 5vw, 5.5rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}

/* ── Skip Link ──────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 999;
  background: var(--color-primary); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-md);
}
.skip-link:focus { left: 8px; }

/* ── Utilities ──────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 40px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* ── Notfall-Banner ─────────────────────────── */
#notfall-banner {
  background: var(--color-notfall);
  color: #fff;
  padding: 10px clamp(16px, 4vw, 24px);
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; text-align: center;
  font-size: var(--text-xs); font-weight: 500; line-height: 1.5;
}
#notfall-banner a { color: #fff; text-decoration: none; transition: opacity var(--transition); }
#notfall-banner a:hover { opacity: 0.78; }
#notfall-banner strong { font-weight: 700; }

/* ── Navigation ─────────────────────────────── */
#main-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
#main-header.scrolled { box-shadow: var(--shadow-md); }
nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-area { display: flex; align-items: center; gap: 10px; color: var(--color-text); }
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); transition: color var(--transition); }
.nav-link:hover { color: var(--color-primary); }
.btn-nav-cta {
  background: var(--color-amber); color: #fff; border: none;
  border-radius: var(--radius-md); padding: 10px 20px;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; transition: background var(--transition); white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--color-amber-hover); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--color-text); padding: 6px; border-radius: var(--radius-sm);
}
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-bg); border-bottom: 1px solid var(--color-border);
  padding: 16px clamp(16px, 5vw, 40px); flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: var(--text-base); font-weight: 500; color: var(--color-text-muted);
  padding: 10px 0; border-bottom: 1px solid var(--color-divider); display: block;
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--color-primary); }
.mobile-cta {
  margin-top: 12px; background: var(--color-amber); color: #fff; border: none;
  border-radius: var(--radius-md); padding: 14px 24px;
  font-family: var(--font-body); font-size: var(--text-base); font-weight: 500;
  cursor: pointer; transition: background var(--transition); text-align: center;
}
.mobile-cta:hover { background: var(--color-amber-hover); }

/* ── Hero ───────────────────────────────────── */
#hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end;
  background: oklch(0.28 0.02 230);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../pictures/hero-vogel-ast.jpg');
  background-size: cover;
  background-position: center 35%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    oklch(0.14 0.010 230 / 0.82) 0%,
    oklch(0.14 0.010 230 / 0.55) 42%,
    oklch(0.14 0.010 230 / 0.10) 75%,
    oklch(0.14 0.010 230 / 0.00) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  padding: clamp(56px, 10vw, 100px) 0;
  max-width: 600px;
}
.eyebrow {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--color-amber); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--color-amber); }
.hero-title {
  font-family: var(--font-display); font-size: var(--text-hero);
  font-weight: 600; color: #fff; line-height: 1.04;
  letter-spacing: -0.022em;
  margin-bottom: 28px; text-wrap: pretty;
}
.hero-title em { font-style: italic; font-weight: 500; color: oklch(0.92 0.07 78); }
.hero-sub {
  font-size: var(--text-lg); font-weight: 300;
  color: oklch(0.92 0.008 230); line-height: 1.6;
  margin-bottom: 40px; max-width: 480px; text-wrap: pretty;
  text-shadow: 0 1px 2px oklch(0.10 0 0 / 0.30);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

/* Hero stats trio */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: clamp(28px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid oklch(1 0 0 / 0.18);
  max-width: 520px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1rem + 1.6vw, 2.4rem);
  font-weight: 600; color: #fff; line-height: 1;
  letter-spacing: -0.02em; margin-bottom: 6px;
  white-space: nowrap;
}
.stat-num em { font-style: normal; color: var(--color-amber); font-weight: 500; }
.stat-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: oklch(0.85 0.010 230);
}
.btn-primary {
  background: var(--color-amber); color: #fff; border: none;
  border-radius: var(--radius-md); padding: 16px 30px;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; transition: background var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--color-amber-hover); }
.btn-outline-light {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.50);
  border-radius: var(--radius-md); padding: 14px 28px;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; transition: border-color var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.9); }

/* ── Über uns ───────────────────────────────── */
#ueber-uns { background: var(--color-bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-img {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--color-surface-2);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-eyebrow {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-eyebrow::before { content: ''; display: block; width: 18px; height: 1.5px; background: var(--color-primary); }
.section-title {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 600; line-height: 1.14;
  letter-spacing: -0.018em;
  margin-bottom: 20px; text-wrap: pretty;
}
.section-title em { font-style: italic; font-weight: 500; color: var(--color-primary); }
.body-text { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.75; margin-bottom: 14px; }

/* Drop-cap auf erstem Absatz in Über uns */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-weight: 600; font-style: italic;
  font-size: 3.4em; line-height: 0.85;
  float: left; padding: 6px 12px 0 0;
  color: var(--color-primary);
}
.btn-ghost {
  background: transparent; color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-md); padding: 12px 24px;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; transition: background var(--transition);
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
}
.btn-ghost:hover { background: var(--color-primary-light); }

/* ── Behind the Scenes ──────────────────────── */
#behind-the-scenes {
  background: var(--color-bg);
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 112px);
  overflow: hidden;
}
.bts-header { margin-bottom: clamp(32px, 5vw, 52px); max-width: 600px; }
.bts-track-wrap {
  position: relative;
  margin-right: calc(-1 * clamp(16px, 5vw, 40px));
}
.bts-track {
  display: flex; gap: 20px;
  padding: 8px clamp(16px, 5vw, 40px) 24px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.bts-track::-webkit-scrollbar { height: 6px; }
.bts-track::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
.bts-card {
  flex: 0 0 clamp(260px, 28vw, 340px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.bts-img {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--color-surface-2);
  margin-bottom: 16px;
  position: relative;
}
.bts-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.bts-card:hover .bts-img img { transform: scale(1.04); }
.bts-step-num {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: oklch(1 0 0 / 0.96); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px oklch(0.13 0.008 258 / 0.25), 0 0 0 1px oklch(0.13 0.008 258 / 0.08);
}
.bts-step-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 4px;
}
.bts-step-title {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 600; line-height: 1.25;
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.bts-step-text {
  font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.55;
}
.bts-fade-right {
  position: absolute; top: 0; right: 0; bottom: 24px;
  width: 80px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--color-bg) 100%);
}

/* ── Galerie (Magazine Layout) ──────────────── */
#galerie {
  background: var(--color-surface);
  position: relative;
}
#galerie::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(oklch(0.40 0.020 80 / 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.galerie-header { margin-bottom: clamp(32px, 5vw, 52px); max-width: 600px; position: relative; }
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 14px;
  position: relative;
}
.galerie-cell {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-surface-2); cursor: zoom-in;
  position: relative;
  box-shadow: var(--shadow-sm);
}
/* magazine spans */
.galerie-cell.gc-tall { grid-column: span 5; grid-row: span 5; }
.galerie-cell.gc-wide { grid-column: span 7; grid-row: span 3; }
.galerie-cell.gc-sq   { grid-column: span 4; grid-row: span 3; }
.galerie-cell.gc-sq-r { grid-column: span 3; grid-row: span 3; }
.galerie-cell.gc-pano { grid-column: span 7; grid-row: span 2; }

.galerie-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
/* per-cell crop adjustments so the main subject stays in frame */
.galerie-cell.gc-tall img { object-position: 35% 45%; }
.galerie-cell.gc-wide img { object-position: 50% 60%; }
.galerie-cell.gc-sq   img { object-position: 65% 55%; }
.galerie-cell.gc-sq-r img { object-position: 35% 55%; }
.galerie-cell.gc-pano img { object-position: 38% 55%; }
.galerie-cell:hover img { transform: scale(1.05); }
.galerie-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(to top, oklch(0.10 0.010 230 / 0.78) 0%, oklch(0.10 0.010 230 / 0) 100%);
  color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity 300ms, transform 300ms;
}
.galerie-cell:hover .galerie-caption,
.galerie-cell:focus-within .galerie-caption { opacity: 1; transform: translateY(0); }
.galerie-caption-title {
  font-family: var(--font-display); font-style: italic;
  font-size: 0.95rem; font-weight: 500; line-height: 1.25;
  margin-bottom: 2px;
}
.galerie-caption-meta {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.04em;
  color: oklch(0.88 0.020 80);
}

/* ── Erste Hilfe ────────────────────────────── */
#erste-hilfe { background: var(--color-bg); }
.erste-header { margin-bottom: clamp(32px, 5vw, 52px); max-width: 560px; }
.erste-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.steps { display: flex; flex-direction: column; gap: 28px; list-style: none; }
.step { display: flex; gap: 18px; }
.step-circle {
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--color-primary-light); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0; margin-top: 4px;
}
.step-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 5px; }
.step-text { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; }
.info-box {
  background: var(--color-notfall-light);
  border: 1px solid oklch(0.52 0.12 38 / 0.18);
  border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 28px);
}
.info-box-header { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.info-icon { color: var(--color-notfall); flex-shrink: 0; }
.info-icon.icon-primary { color: var(--color-primary); }
.info-box.info-box-primary { background: var(--color-primary-light); border-color: oklch(0.40 0.080 232 / 0.20); }
.info-box + .info-box { margin-top: 20px; }
.info-box-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.info-box-text { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; margin-bottom: 20px; }
.info-box-text:last-child { margin-bottom: 0; }
.info-box-text a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.btn-notfall {
  background: var(--color-notfall); color: #fff; border: none;
  border-radius: var(--radius-md); padding: 12px 20px;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; transition: background var(--transition); width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.btn-notfall:hover { background: var(--color-notfall-hover); }
.btn-notfall.btn-notfall-primary { background: var(--color-primary); }
.btn-notfall.btn-notfall-primary:hover { background: var(--color-primary-hover); }

/* ── Spenden ─────────────────────────────────── */
#spenden { background: var(--color-amber-light); }
.spenden-header { text-align: center; margin-bottom: clamp(32px, 5vw, 52px); }
.spenden-lead { font-size: var(--text-lg); font-weight: 300; color: var(--color-text-muted); max-width: 520px; margin: 12px auto 0; text-wrap: pretty; }
.spenden-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-warm); transform: translateY(-3px); }

/* Akut-Bedarf Spendenkarte (eigenständige) */
.akut-bedarf {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 32px);
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.akut-pulse {
  width: 12px; height: 12px; border-radius: var(--radius-full);
  background: var(--color-amber);
  box-shadow: 0 0 0 0 oklch(0.66 0.135 64 / 0.5);
  animation: pulse-amber 2.4s ease-out infinite;
}
@keyframes pulse-amber {
  0%   { box-shadow: 0 0 0 0 oklch(0.66 0.135 64 / 0.5); }
  70%  { box-shadow: 0 0 0 14px oklch(0.66 0.135 64 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.66 0.135 64 / 0); }
}
.akut-text-meta {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-amber-hover); margin-bottom: 4px;
}
.akut-text-main {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--color-text);
}
.akut-text-main em { font-style: italic; font-weight: 500; color: var(--color-primary); }
.akut-amount {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 600; color: var(--color-amber-hover);
  letter-spacing: -0.02em; white-space: nowrap;
}
@media (max-width: 640px) {
  .akut-bedarf { grid-template-columns: auto 1fr; }
  .akut-amount { grid-column: 2; }
}

/* Floating Notfall-Button (rechts unten, fixiert) */
.floating-notfall {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  background: var(--color-notfall); color: #fff;
  border: none; border-radius: var(--radius-full);
  padding: 14px 20px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px oklch(0.52 0.12 38 / 0.35), 0 2px 6px oklch(0.20 0.05 38 / 0.25);
  transition: transform 200ms, box-shadow 200ms, background 200ms;
  opacity: 0; transform: translateY(20px);
  pointer-events: none;
}
.floating-notfall.visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.floating-notfall:hover {
  background: var(--color-notfall-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px oklch(0.52 0.12 38 / 0.40), 0 4px 8px oklch(0.20 0.05 38 / 0.30);
}
@media (max-width: 480px) {
  .floating-notfall { padding: 12px 16px; font-size: 0.8rem; }
  .floating-notfall .floating-label-long { display: none; }
}

/* Paper grain overlay (sehr subtil) */
.paper-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.card-icon {
  width: 46px; height: 46px; border-radius: var(--radius-lg);
  background: var(--color-amber-light); color: var(--color-amber);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.card-text { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; margin-bottom: 22px; }
.btn-card {
  background: var(--color-amber); color: #fff; border: none;
  border-radius: var(--radius-md); padding: 12px 24px;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; transition: background var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-card:hover { background: var(--color-amber-hover); }

/* ── Aufnahme (Phase 2) ──────────────────────── */
#aufnahme {
  background: var(--color-bg);
  text-align: center;
}
.aufnahme-inner { max-width: 560px; margin: 0 auto; }
.aufnahme-badge {
  display: inline-block; background: var(--color-primary-light);
  color: var(--color-primary); border-radius: var(--radius-full);
  padding: 4px 14px; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px;
}

/* Eyebrow auf der Aufnahmebogen-Seite (Primär-Variante) */
.intro .eyebrow {
  color: var(--color-primary);
  margin-bottom: 18px;
  gap: 10px;
}
.intro .eyebrow::before { background: var(--color-primary); }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--color-footer-bg);
  padding: clamp(48px, 7vw, 72px) 0 clamp(24px, 4vw, 40px);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(24px, 5vw, 56px); margin-bottom: clamp(32px, 5vw, 48px); }
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: oklch(0.85 0.025 248); }
.footer-desc { font-size: var(--text-xs); color: oklch(0.65 0.020 248); line-height: 1.7; }
.footer-col-title { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: oklch(0.85 0.025 248); margin-bottom: 14px; }
.footer-link { display: block; font-size: var(--text-xs); color: oklch(0.65 0.020 248); margin-bottom: 9px; transition: color var(--transition); cursor: pointer; }
.footer-link:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid oklch(0.34 0.060 248); margin-bottom: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: var(--text-xs); color: oklch(0.65 0.020 248); }

/* ── Animations ──────────────────────────────── */
.fade-in { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 10% entry 35%;
  }
  @media (max-width: 800px) {
    .fade-in { animation-range: entry 0% entry 20%; }
  }
}
@keyframes reveal-fade { to { opacity: 1; } }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid, .erste-grid, .spenden-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
  .galerie-cell.gc-tall { grid-column: span 6; grid-row: span 4; }
  .galerie-cell.gc-wide { grid-column: span 6; grid-row: span 3; }
  .galerie-cell.gc-sq   { grid-column: span 3; grid-row: span 3; }
  .galerie-cell.gc-sq-r { grid-column: span 3; grid-row: span 3; }
  .galerie-cell.gc-pano { grid-column: span 6; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-stats > :nth-child(3) { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: span 1; }
  .hero-btns { flex-direction: column; }
}
/* ── Aufnahmebogen: Layout & Formular ─────────── */
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 40px); }

.intro { padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 28px); }
.page-title {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.018em;
  margin-bottom: 18px; text-wrap: balance;
}
.page-title em { font-style: italic; font-weight: 500; color: var(--color-primary); }
.page-lead {
  font-size: var(--text-lg); font-weight: 300; color: var(--color-text-muted);
  line-height: 1.55; max-width: 620px; text-wrap: pretty;
}

/* Hinweis vor dem Formular — feiner Aside, keine Box */
.pre-note {
  margin-top: 28px;
  padding: 14px 0 0;
  border-top: 1px solid var(--color-divider);
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 720px;
}
.pre-note-icon { color: var(--color-notfall); flex-shrink: 0; margin-top: 3px; }
.pre-note-text { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.pre-note-text strong { color: var(--color-text); font-weight: 600; }
.pre-note-text a {
  color: var(--color-notfall); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}

.form-section { padding: clamp(36px, 5vw, 56px) 0 clamp(64px, 9vw, 112px); }

/* Erfolgs-Banner */
.success {
  display: none;
  background: var(--color-leaf-light);
  border: 1px solid oklch(0.48 0.060 145 / 0.30);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 32px;
  gap: 14px; align-items: flex-start;
}
.success.visible { display: flex; }
.success-icon { color: var(--color-leaf); flex-shrink: 0; margin-top: 2px; }
.success-title { font-weight: 600; font-size: var(--text-sm); margin-bottom: 4px; }
.success-text { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

/* Form-Gruppen — keine umrahmenden Boxen, nur Unterlinie */
.form-group { border: none; padding: 0; }
.form-group + .form-group { margin-top: clamp(40px, 6vw, 64px); }
.form-group-header {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-divider);
}
.form-group-num {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: 1.1rem; color: var(--color-primary);
  line-height: 1; flex-shrink: 0;
  letter-spacing: -0.01em;
  min-width: 1.6em;
}
.form-group-titles { display: flex; flex-direction: column; gap: 2px; }
.form-group-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--color-text); line-height: 1.3;
}
.form-group-hint {
  font-size: var(--text-xs); color: var(--color-text-faint);
  letter-spacing: 0.02em; margin-top: 2px;
}

/* Field-Grid */
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
.field-grid .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text);
}
.field-label .req { color: var(--color-notfall); font-weight: 600; margin-left: 1px; }
.field-label .opt {
  font-size: 0.7rem; font-weight: 500;
  color: var(--color-text-faint); letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field-hint {
  font-size: var(--text-xs); color: var(--color-text-faint);
  line-height: 1.5; margin-top: 2px;
}

/* Inputs */
.input, .textarea, .select {
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  width: 100%; line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* Select — eigener Chevron, gleicher rechter Abstand wie Kalender-Icon */
.select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6660' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 38px;
}
.select:focus { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231e4a7a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); }
.select::-ms-expand { display: none; }

.input::placeholder, .textarea::placeholder { color: var(--color-text-faint); }

/* Platzhalter-Zustand für Select (keine Auswahl getroffen) */
.select:has(option[value=""]:checked) { color: var(--color-text-faint); }

/* Platzhalter-Zustand für Date-Input (noch leer) */
.input[type="date"]:not(.has-value) { color: var(--color-text-faint); }
.input[type="date"]:not(.has-value)::-webkit-datetime-edit { color: var(--color-text-faint); }
.input[type="date"].has-value,
.input[type="date"].has-value::-webkit-datetime-edit { color: var(--color-text); }

.input:hover, .textarea:hover, .select:hover { border-color: oklch(0.74 0.015 80); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(0.40 0.080 232 / 0.15);
}
.textarea { min-height: 148px; resize: vertical; line-height: 1.65; }

/* Fehlerzustand für Felder */
.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select {
  border-color: var(--color-notfall);
  background: oklch(0.99 0.012 46);
}
.field.has-error .input:focus,
.field.has-error .textarea:focus,
.field.has-error .select:focus {
  box-shadow: 0 0 0 3px oklch(0.52 0.120 38 / 0.18);
}
.field.has-error .input-icon { color: var(--color-notfall); }
.field-error-msg {
  display: none;
  font-size: var(--text-xs); color: var(--color-notfall);
  line-height: 1.5; margin-top: 6px;
  align-items: center; gap: 6px;
}
.field.has-error .field-error-msg { display: inline-flex; }
.field-error-msg svg { flex-shrink: 0; }

/* Genereller Submit-Fehler (API nicht erreichbar o. ä.) */
.form-submit-error {
  font-size: var(--text-sm); color: var(--color-notfall);
  background: oklch(0.99 0.012 38); border-radius: var(--radius-md);
  padding: 12px 16px; margin-bottom: 16px;
}

/* DSGVO-Checkbox Fehlerzustand */
.consent.has-error .checkbox-row {
  background: oklch(0.99 0.012 46);
  border-radius: var(--radius-md);
  outline: 1px solid var(--color-notfall);
  outline-offset: 4px;
}
.consent .field-error-msg { margin-top: 10px; padding-left: 2px; }

.input-wrap { position: relative; }
.input-wrap .input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--color-text-faint); pointer-events: none;
  display: flex; transition: color var(--transition);
}
.input-wrap:focus-within .input-icon { color: var(--color-primary); }
.input-wrap .input { padding-left: 42px; }

input[type="date"] {
  font-family: var(--font-body);
  color: var(--color-text);
  appearance: none;
  -webkit-appearance: none;
  /* iOS schrumpft leere date-Inputs — Höhe explizit auf Text-Input-Niveau halten */
  min-height: calc(1em * 1.5 + 24px + 2px);
  display: block;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.5em; }
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer; opacity: 0.55; transition: opacity var(--transition);
}
input[type="date"]:hover::-webkit-calendar-picker-indicator { opacity: 1; }

.field-foot { display: flex; justify-content: flex-end; }
.char-count { font-size: 0.72rem; color: var(--color-text-faint); font-variant-numeric: tabular-nums; }

/* Chip-Radios (Vogelzustand) */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip:hover { border-color: var(--color-primary); color: var(--color-text); }
.chip:has(input:checked) {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}
.chip:has(input:focus-visible) { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.chip-dot {
  width: 8px; height: 8px; border-radius: var(--radius-full);
  background: var(--color-leaf);
}
.chip[data-tone="amber"] .chip-dot { background: var(--color-amber); }
.chip[data-tone="notfall"] .chip-dot { background: var(--color-notfall); }
.chip[data-tone="muted"] .chip-dot { background: var(--color-text-faint); }

/* DSGVO-Checkbox */
.consent { margin-top: 4px; }
.checkbox-row {
  display: flex; gap: 14px; align-items: flex-start;
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer; position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.checkbox-row input[type="checkbox"]:hover { border-color: var(--color-primary); }
.checkbox-row input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.checkbox-row input[type="checkbox"]:checked::after {
  content: '';
  width: 12px; height: 7px;
  border: 2px solid #fff;
  border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}
.checkbox-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-primary); outline-offset: 3px;
}
.checkbox-text { font-size: var(--text-sm); line-height: 1.65; color: var(--color-text); }
.checkbox-text .req { color: var(--color-notfall); font-weight: 600; margin-left: 1px; }
.checkbox-text a {
  color: var(--color-primary); font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: oklch(0.40 0.080 232 / 0.4);
  transition: text-decoration-color var(--transition);
}
.checkbox-text a:hover { text-decoration-color: var(--color-primary); }

/* Submit-Zeile */
.submit-row {
  margin-top: clamp(36px, 5vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--color-divider);
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
}
.submit-note {
  font-size: var(--text-xs); color: var(--color-text-muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.submit-note .req { color: var(--color-notfall); font-weight: 600; }

.btn-amber {
  background: var(--color-amber); color: #fff; border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-family: var(--font-body); font-size: var(--text-base); font-weight: 500;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 12px oklch(0.66 0.135 64 / 0.25);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-amber:hover {
  background: var(--color-amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px oklch(0.66 0.135 64 / 0.32);
}
.btn-amber:disabled {
  background: oklch(0.80 0.015 80);
  color: oklch(0.55 0.010 80);
  cursor: not-allowed; transform: none; box-shadow: none;
}

@media (max-width: 600px) {
  .field-grid { grid-template-columns: 1fr; }
}

/* ALTCHA Spam-Schutz: reiner Proof-of-Work, unsichtbar — kein sichtbares Widget.
   Das Custom-Element löst die Challenge per auto="onload" im Hintergrund
   (connectedCallback läuft trotz display:none) und befüllt seinen .value.
   v2.3.0 kennt kein display="invisible"-Attribut → Ausblenden per CSS. */
altcha-widget { display: none; }

/* ── Lightbox (Galerie) ─────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: oklch(0.13 0.008 258 / 0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  opacity: 0; pointer-events: none;
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-stage {
  position: relative;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - clamp(40px, 8vw, 112px) - 60px);
  width: auto; height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px oklch(0 0 0 / 0.45);
  object-fit: contain;
  background: oklch(0.13 0.008 258);
  transform: scale(0.96);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-caption {
  color: oklch(0.92 0.010 80);
  text-align: center;
  max-width: 700px;
}
.lightbox-caption-title {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.05rem; font-weight: 500;
}
.lightbox-caption-meta {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: oklch(0.72 0.015 80); margin-top: 4px;
}
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: oklch(0.18 0.008 258 / 0.72);
  border: 1px solid oklch(1 0 0 / 0.12);
  color: #fff; border-radius: var(--radius-full);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.lightbox-btn:hover { background: oklch(0.28 0.008 258 / 0.9); }
.lightbox-prev { left: clamp(8px, 2vw, 24px); }
.lightbox-next { right: clamp(8px, 2vw, 24px); }
.lightbox-close {
  position: absolute; top: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px);
  width: 44px; height: 44px;
  background: oklch(0.18 0.008 258 / 0.72);
  border: 1px solid oklch(1 0 0 / 0.12);
  color: #fff; border-radius: var(--radius-full);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: oklch(0.28 0.008 258 / 0.9); }
.lightbox-counter {
  position: absolute; top: clamp(12px, 2vw, 24px); left: clamp(12px, 2vw, 24px);
  color: oklch(0.85 0.010 80); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.06em; font-variant-numeric: tabular-nums;
  background: oklch(0.18 0.008 258 / 0.55);
  padding: 8px 14px; border-radius: var(--radius-full);
}
@media (max-width: 600px) {
  .lightbox-btn { width: 40px; height: 40px; }
}

/* ── Bestätigungsseite (bestaetigung.html) ──── */
body.page-bestaetigung { display: flex; flex-direction: column; min-height: 100vh; }
body.page-bestaetigung main { flex: 1 0 auto; }

.confirm {
  padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
}
.confirm-icon-ring {
  width: clamp(96px, 12vw, 128px);
  height: clamp(96px, 12vw, 128px);
  margin: 0 auto 28px;
  border-radius: var(--radius-full);
  background: oklch(0.94 0.060 145);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-leaf);
  box-shadow:
    0 0 0 10px oklch(0.94 0.060 145 / 0.45),
    0 0 0 22px oklch(0.94 0.060 145 / 0.22);
  position: relative;
  animation: confirm-pop 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.confirm-icon-ring svg {
  width: clamp(40px, 5vw, 56px);
  height: clamp(40px, 5vw, 56px);
  stroke-width: 1.5;
}
@keyframes confirm-pop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}
.confirm-eyebrow {
  color: var(--color-leaf);
  white-space: nowrap;
  justify-content: center;
}
.confirm-eyebrow::before { background: var(--color-leaf); }
.confirm-eyebrow::after {
  content: ''; display: block; width: 24px; height: 1.5px;
  background: var(--color-leaf);
}
.confirm-title {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.018em;
  margin-bottom: 20px; text-wrap: balance;
}
.confirm-title em { font-style: italic; font-weight: 500; color: var(--color-primary); }
.confirm-lead {
  font-size: var(--text-lg); font-weight: 300; color: var(--color-text-muted);
  line-height: 1.6; max-width: 580px; margin: 0 auto;
  text-wrap: pretty;
}

/* Unterstützen-Hinweis */
.support-section {
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px);
}
.support-card {
  background: var(--color-amber-light);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 32px);
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.support-main {
  flex: 1 1 300px; min-width: 0; z-index: 1;
  display: flex; align-items: flex-start;
  gap: clamp(16px, 3vw, 24px);
}
.support-body { flex: 1 1 auto; min-width: 0; }
.support-card::after {
  content: ''; position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  background: oklch(0.66 0.135 64 / 0.10);
  border-radius: var(--radius-full);
  pointer-events: none;
}
.support-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-amber);
  flex-shrink: 0;
  box-shadow: 0 4px 14px oklch(0.66 0.135 64 / 0.18);
  z-index: 1;
}
.support-eyebrow {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--color-amber-hover); margin-bottom: 8px;
}
.support-title {
  font-family: var(--font-display); font-size: var(--text-xl);
  font-weight: 600; line-height: 1.2; letter-spacing: -0.015em;
  color: var(--color-text); margin-bottom: 8px;
  text-wrap: pretty;
}
.support-title em { font-style: italic; font-weight: 500; }
.support-text {
  font-size: var(--text-sm); color: var(--color-text-muted);
  line-height: 1.65; max-width: 460px;
  text-wrap: pretty;
}
.support-cta {
  background: var(--color-amber); color: #fff; border: none;
  border-radius: var(--radius-md);
  padding: 14px 26px;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 12px oklch(0.66 0.135 64 / 0.25);
  margin-top: clamp(20px, 3vw, 28px);
}
.support-cta:hover {
  background: var(--color-amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px oklch(0.66 0.135 64 / 0.32);
}
.secondary-row {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex; gap: 12px 28px;
  flex-wrap: wrap; justify-content: center;
  font-size: var(--text-sm);
}
.secondary-link {
  color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.secondary-link:hover { color: var(--color-primary-hover); }

@media (max-width: 800px) {
  .support-card { text-align: center; justify-content: center; align-items: center; }
  .support-card::after { right: -100px; bottom: -100px; }
  .support-main { flex-direction: column; align-items: center; flex-basis: auto; }
  .support-text { margin: 0 auto; }
  .spenden-grid { grid-template-columns: 1fr; }
}

/* ── Rechtliche Seiten (Impressum, Datenschutz) ── */
.legal-section { padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px); }
.legal-eyebrow {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 12px;
}
.legal-title {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 600; line-height: 1.15; color: var(--color-text);
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.legal-stand { color: var(--color-text-faint); font-size: 0.9rem; margin-bottom: 28px; }
.legal-body { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.75; }
.legal-body h2 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--color-text); margin: 32px 0 10px; letter-spacing: -0.005em;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { padding-left: 20px; margin-bottom: 16px; line-height: 1.75; }
.legal-body ul li { margin-bottom: 4px; }
.legal-body a { color: var(--color-primary); border-bottom: 1px solid currentColor; }
.legal-body a:hover { color: var(--color-primary-hover); }
.legal-body strong { color: var(--color-text); font-weight: 600; }
.legal-note {
  color: var(--color-text-faint); font-style: italic; font-size: 0.85rem;
  margin-top: 24px; padding: 14px 16px;
  background: var(--color-surface); border-left: 3px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-text-muted); font-size: var(--text-sm);
  margin-top: 36px; transition: color var(--transition);
}
.legal-back:hover { color: var(--color-primary); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
