/* ==========================================================================
   Tierschutzverein Oberkirch-Renchtal — Site-Styles
   1:1 aus Mockup übernommen, um Token-Drift gegenüber abgenommenem Stand
   zu vermeiden. Erweiterungen am Ende der Datei (Empty-State, Made-by-Footer).
   ========================================================================== */

/* ============== Tokens ============== */
:root {
  --green-900: #14271e;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-500: #52b788;
  --green-50:  #ecf5f0;
  --red:       #b8323a;
  --red-dark:  #8f1f26;
  --sand-50:   #fbf7f1;
  --sand-100:  #f4ecdf;
  --sand-200:  #e8dcc6;
  --ink:       #1a2330;
  --ink-soft:  #4b5563;
  --muted:     #8a8e97;
  --line:      #e8dccb;
  --shadow:    0 6px 20px rgba(27, 67, 50, .08);
  --shadow-lg: 0 18px 50px rgba(27, 67, 50, .15);
  --radius:    14px;
  --radius-lg: 22px;
  --serif:     "Fraunces", Georgia, "Times New Roman", serif;
  --sans:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-h:  72px;
}

/* ============== Reset & base ============== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--green-900); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 100;
  font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 8px; }

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Logo: das echte PNG hat weißen Hintergrund. `multiply` lässt das Weiß
   auf hellem Untergrund verschwinden (header, topbar, login, hero).
   Im dunklen Footer wird `multiply` per Override deaktiviert und das
   Logo bekommt einen weißen Badge-Rahmen — siehe `.foot-brand .brand-logo`. */
.logo-svg {
  width: 100%; height: 100%; display: block;
  mix-blend-mode: multiply;
}

/* ============== Header ============== */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; max-width: 1180px; margin: 0 auto; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  flex-shrink: 1; color: inherit;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 44px; height: 44px; flex-shrink: 0;
}
.brand-text { line-height: 1.15; min-width: 0; overflow: hidden; }
.brand-text strong {
  display: block; color: var(--red); font-size: 13px; letter-spacing: .4px;
  font-weight: 800; text-transform: uppercase; font-family: var(--sans);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-text span {
  font-size: 11.5px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block;
}

.nav-links { display: none; gap: 4px; }
.nav-links a {
  color: var(--ink); padding: 8px 12px; border-radius: 10px;
  font-weight: 500; font-size: 14.5px; transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--green-50); color: var(--green-700); text-decoration: none; }

.nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; padding: 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: 13.5px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(184, 50, 58, .28);
  transition: transform .15s ease, background .2s ease;
}
.nav-cta svg { width: 14px; height: 14px; }
.nav-cta:hover { background: var(--red-dark); text-decoration: none; transform: translateY(-1px); }

.burger {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; flex-shrink: 0;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
  border-top: 1px solid transparent;
  background: #fff;
  overflow: hidden;
}
.mobile-menu > div { min-height: 0; }
.mobile-menu.open { grid-template-rows: 1fr; border-top-color: var(--line); }
.mobile-menu .inner {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 16px 18px;
}
.mobile-menu a {
  padding: 14px 12px; border-radius: 10px; color: var(--ink); font-weight: 500;
  font-size: 15px;
}
.mobile-menu a:hover, .mobile-menu a:focus-visible { background: var(--green-50); text-decoration: none; }

/* ============== Hero ============== */
.hero {
  position: relative; padding: 40px 0 56px;
  background:
    radial-gradient(1200px 500px at 80% 0%, rgba(82, 183, 136, .18), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(184, 50, 58, .08), transparent 60%),
    linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px;
  color: var(--green-700); font-weight: 600;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-500);
  animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(82, 183, 136, .6); }
  50%      { box-shadow: 0 0 0 8px rgba(82, 183, 136, 0);  }
}
h1 {
  font-size: clamp(32px, 8vw, 64px); line-height: 1.05; margin: 16px 0 16px;
  color: var(--green-900); font-weight: 800;
}
h1 em { font-style: italic; color: var(--red); font-weight: 700; }
.lead { font-size: clamp(15px, 1.7vw, 19px); color: var(--ink-soft); max-width: 560px; margin: 0; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(184, 50, 58, .3); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); text-decoration: none; }
.btn-ghost {
  background: #fff; color: var(--green-900); border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-700); text-decoration: none; transform: translateY(-2px); }

.hero-visual {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #f7c69b 0%, #e89065 50%, #b8323a 100%);
}
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 39, 30, .35) 100%);
}

.hero-badge {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(255, 255, 255, .96); padding: 12px 16px; border-radius: 14px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(10px); z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.hero-badge .num {
  font-size: 26px; color: var(--red); font-family: var(--serif); font-weight: 800; line-height: 1;
  flex-shrink: 0;
}
.hero-badge-text strong { color: var(--ink); display: block; font-weight: 600; font-size: 13.5px; }
.hero-badge-text span { color: var(--ink-soft); font-size: 12px; }

/* ============== Stats ============== */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-top: 36px;
}
.stat {
  background: #fff; padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--line); text-align: left;
}
.stat .num {
  font-size: clamp(24px, 5vw, 32px); font-weight: 800; color: var(--green-900);
  line-height: 1; font-family: var(--serif); white-space: nowrap;
}
.stat .lbl { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

/* ============== Sections ============== */
section.block { padding: 56px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head h2 {
  font-size: clamp(28px, 5.2vw, 44px); margin: 12px 0 12px;
  color: var(--green-900);
}
.section-head p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

/* ============== Animals grid ============== */
.animals { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card-animal {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-animal:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-photo {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--sand-100), var(--sand-200));
}
.card-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.card-animal:hover .card-photo img { transform: scale(1.06); }

.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .96); padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--green-900); z-index: 2;
  backdrop-filter: blur(8px);
}
.card-fav {
  position: absolute; top: 10px; right: 10px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .96); display: grid; place-items: center;
  font-size: 18px; cursor: pointer; z-index: 2; border: 0;
  transition: background .2s ease, color .2s ease, transform .15s ease;
  color: var(--ink-soft); line-height: 1;
}
.card-fav:hover, .card-fav.is-fav { background: var(--red); color: #fff; transform: scale(1.08); }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { margin: 0 0 6px; font-size: 21px; color: var(--green-900); }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.card-meta .sep { color: var(--muted); }
.card-desc { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.55; }
.card-link {
  font-weight: 600; color: var(--red); font-size: 14px;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s ease;
}
.card-link:hover { text-decoration: none; gap: 8px; }

.center-link { text-align: center; margin-top: 36px; }

/* ============== Helfen ============== */
.help-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.help-card {
  background: var(--sand-50); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.help-card:hover { border-color: var(--green-500); transform: translateY(-3px); }
.help-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--green-50); display: grid; place-items: center;
  color: var(--green-700); flex-shrink: 0;
}
.help-icon svg { width: 24px; height: 24px; }
.help-card.featured {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  color: #fff; border-color: var(--green-900);
  position: relative; overflow: hidden;
}
.help-card.featured::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 50, 58, .35), transparent 70%);
  pointer-events: none;
}
.help-card.featured h3 { color: #fff; }
.help-card.featured p  { color: #d4e7db; }
.help-card.featured .help-icon { background: rgba(255,255,255,.12); color: #fff; }
.help-card h3 { margin: 0; font-size: 21px; color: var(--green-900); }
.help-card p { margin: 0; color: var(--ink-soft); flex: 1; font-size: 14.5px; }
.help-card .btn { align-self: flex-start; }

/* ============== Aktuelles ============== */
.alert {
  display: flex; gap: 14px; padding: 18px 22px;
  background: linear-gradient(135deg, #fff5f5, #ffe8e8);
  border-left: 4px solid var(--red); border-radius: 14px;
  margin-bottom: 36px;
}
.alert-icon {
  font-size: 22px; flex-shrink: 0; line-height: 1.3;
  width: 32px; height: 32px; display: grid; place-items: center;
  background: rgba(184, 50, 58, .12); border-radius: 10px;
  color: var(--red);
}
.alert-text { min-width: 0; }
.alert h3 { margin: 0 0 4px; color: var(--red-dark); font-size: 16.5px; font-family: var(--sans); font-weight: 700; }
.alert p  { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; transition: transform .15s ease, border-color .2s ease;
}
.news-card:hover { transform: translateY(-3px); border-color: var(--green-500); }
.news-date {
  font-size: 11.5px; color: var(--green-700); font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
}
.news-card h3 { margin: 8px 0 10px; font-size: 19px; color: var(--green-900); line-height: 1.3; }
.news-card p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-soft); }

/* News-Karten mit Cover-Bild */
.news-card--with-image { padding: 0; overflow: hidden; }
.news-card--with-image .news-card-image {
  aspect-ratio: 16 / 9; overflow: hidden; background: #eee;
}
.news-card--with-image .news-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .25s ease;
}
.news-card--with-image:hover .news-card-image img { transform: scale(1.03); }
.news-card--with-image .news-card-body { padding: 22px 24px 24px; }

/* ============== About / Station ============== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.about-visual {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #b8d4b8, #2d6a4f);
  position: relative;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.timeline { display: grid; gap: 16px; margin-top: 22px; }
.tl-item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
}
.tl-year {
  background: var(--green-900); color: #fff; padding: 6px 12px; border-radius: 8px;
  font-weight: 700; font-size: 13.5px; min-width: 60px; text-align: center;
  font-family: var(--serif); line-height: 1.4;
}
.tl-text { color: var(--ink-soft); font-size: 14.5px; padding-top: 4px; }
.tl-text strong { color: var(--ink); }

.about-text-section h2 {
  font-size: clamp(28px, 5.2vw, 44px); margin: 14px 0 16px; color: var(--green-900);
}
.about-text-section p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

.about-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ============== Contact ============== */
.contact {
  background: var(--green-900); color: #fff; padding: 56px 0;
  background-image:
    radial-gradient(800px 300px at 0% 0%, rgba(82, 183, 136, .25), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(184, 50, 58, .2), transparent 60%);
}
.contact h2 { color: #fff; }
.contact .section-head p { color: #c5dccd; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  padding: 22px; border-radius: var(--radius-lg);
  display: flex; gap: 16px; align-items: flex-start;
  transition: background .2s ease, border-color .2s ease;
}
.contact-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.contact-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(82, 183, 136, .2); display: grid; place-items: center;
  color: var(--green-500); flex-shrink: 0;
}
.contact-card .icon svg { width: 20px; height: 20px; }
.contact-card-body { min-width: 0; word-wrap: break-word; }
.contact-card h4 { margin: 0 0 6px; font-size: 15.5px; font-family: var(--sans); font-weight: 700; }
.contact-card p { margin: 0; color: #c5dccd; font-size: 14px; line-height: 1.55; word-break: break-word; }
.contact-card a { color: #fff; font-weight: 600; }

/* ============== Footer ============== */
footer.site { background: #0d1813; color: #c5dccd; padding: 44px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand .brand-logo {
  width: 48px; height: 48px;
  /* Weißer Badge-Rahmen, damit das Logo gegen den dunklen Footer-Hintergrund
     sichtbar bleibt (multiply würde es schwarz machen). */
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  box-sizing: border-box;
}
.foot-brand .logo-svg { mix-blend-mode: normal; }
.foot-brand strong { color: #fff; font-size: 15px; display: block; font-weight: 700; }
.foot-brand span { font-size: 13px; }
footer h5 {
  color: #fff; margin: 0 0 12px; font-size: 12.5px; text-transform: uppercase;
  letter-spacing: .8px; font-family: var(--sans); font-weight: 700;
}
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer ul a { color: #c5dccd; font-size: 14px; }
footer ul a:hover { color: #fff; }
.foot-bottom {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: #8aa394;
}
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff;
  transition: background .2s ease, transform .15s ease;
}
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { background: var(--red); text-decoration: none; transform: translateY(-2px); }

/* ============== Legal-Seiten (Impressum, Datenschutz) ============== */
.legal-page {
  max-width: 760px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-page h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 18px;
  color: var(--green-900);
}
.legal-page h2 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--green-900);
  font-family: var(--sans);
  font-weight: 700;
}
.legal-page p { margin: 0 0 14px; }
.legal-page ul { margin: 0 0 14px; padding-left: 22px; }
.legal-page ul li { margin-bottom: 4px; }
.legal-page strong { color: var(--ink); }
.legal-page code {
  font-family: ui-monospace, SFMono-Regular, "Menlo", monospace;
  font-size: 13px;
  background: var(--sand-100);
  padding: 1px 6px; border-radius: 5px;
}
.legal-page .legal-extra {
  margin: 18px 0 22px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
}
.legal-page .legal-lead {
  font-size: 16px;
  color: var(--ink);
  padding: 14px 16px;
  background: var(--sand-50);
  border-left: 3px solid var(--green-500);
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}
.legal-page .legal-meta {
  margin-top: 32px;
  font-size: 12.5px; color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ============== Cookie-Hinweis (Transparenz, keine Zustimmung nötig) ============== */
.cookie-notice {
  position: fixed; left: 14px; right: 14px;
  bottom: 80px;     /* auf Mobile über dem Spenden-Float-Button */
  z-index: 60;
  background: rgba(20, 39, 30, .96);
  color: #f0f5f1;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.cookie-notice[hidden] { display: none !important; }
.cookie-notice-text { flex: 1; line-height: 1.5; }
.cookie-notice-text a {
  color: #cae3d6; text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-notice-text a:hover { color: #fff; }
.cookie-notice-ok {
  background: var(--green-500);
  color: var(--green-900);
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}
.cookie-notice-ok:hover { background: #6cc8a0; }
@media (min-width: 820px) {
  .cookie-notice {
    left: auto; right: 16px; bottom: 16px;
    max-width: 480px;
  }
}
@media (max-width: 380px) {
  .cookie-notice { padding: 10px 12px; gap: 8px; font-size: 12.5px; }
  .cookie-notice-ok { padding: 7px 12px; }
}

/* ============== Floating donate (mobile) ============== */
.float-donate {
  position: fixed; right: 14px; bottom: 14px; z-index: 40;
  background: var(--red); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 10px 30px rgba(184, 50, 58, .45);
  display: inline-flex; align-items: center; gap: 8px;
}
.float-donate svg { width: 16px; height: 16px; }
.float-donate:hover { background: var(--red-dark); text-decoration: none; }

/* ============== Breakpoints ============== */
@media (max-width: 380px) {
  .brand-text strong { font-size: 12px; }
  .brand-text span { font-size: 11px; }
  .nav-cta { padding: 8px 12px; font-size: 13px; }
  .nav-cta svg { display: none; }
  .hero-badge { padding: 10px 12px; gap: 10px; }
  .hero-badge .num { font-size: 22px; }
}

@media (min-width: 600px) {
  section.block { padding: 72px 0; }
  .contact { padding: 72px 0; }
  .hero { padding: 56px 0 76px; }
  .nav { padding: 14px 20px; gap: 16px; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .animals { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .help-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
  .help-card { padding: 30px; }
  .news-card { padding: 26px; }
  .contact-card { padding: 24px; }
  .alert { padding: 22px 26px; }
  .section-head { margin-bottom: 44px; }
}

@media (min-width: 820px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }
  .float-donate { display: none; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text strong { font-size: 14px; }
  .brand-text span { font-size: 12px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .about-visual { aspect-ratio: 4/5; }
}

@media (min-width: 1000px) {
  section.block { padding: 88px 0; }
  .contact { padding: 88px 0; }
  .hero { padding: 88px 0 120px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .hero-visual { aspect-ratio: 4/3.4; }
  .animals { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .help-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .about-grid { grid-template-columns: 1fr 1.3fr; gap: 64px; }
  .help-card { padding: 32px; }
  .news-card { padding: 28px; }
  .contact-card { padding: 28px; }
  .stats { gap: 14px; }
  .stat { padding: 20px; }
  .section-head { margin-bottom: 48px; }
  .section-head p { font-size: 16px; }
  .lead { line-height: 1.6; }
}

@media (min-width: 1280px) {
  .hero-cta { gap: 12px; }
  .stats { gap: 16px; }
}

/* ==========================================================================
   Erweiterungen über das Mockup hinaus
   ========================================================================== */

/* Empty-State für die Vermittlung, wenn aktuell keine Tiere vorhanden sind.
   Sieht freundlich aus, nicht wie ein Bug. Memory-Anforderung. */
.empty-state {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty-state .icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-50); color: var(--green-700);
  display: grid; place-items: center;
}
.empty-state .icon svg { width: 32px; height: 32px; }
.empty-state h3 {
  margin: 0; font-size: 22px; color: var(--green-900);
}
.empty-state p {
  margin: 0; max-width: 520px; color: var(--ink-soft); font-size: 15px;
}
.empty-state .empty-cta {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 6px;
}

/* "Made by IT-Service Enzo Berardi" — dezenter Footer-Hinweis.
   Pflicht-Anforderung als Gegenleistung für kostenfreie Bereitstellung. */
.foot-builder {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12px; color: #7a8d83;
}
.foot-builder a {
  color: #c5dccd; font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(197, 220, 205, .4);
}
.foot-builder a:hover { color: #fff; border-bottom-color: #fff; }
.foot-builder small { font-size: 11px; opacity: .8; }

/* News-Karte: Titel und Karte komplett klickbar wenn als <a> gewrapped */
a.news-card { color: inherit; display: block; }
a.news-card:hover { text-decoration: none; }

/* ==========================================================================
   Termine / Events
   ========================================================================== */
.events-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}
.events-grid--single { grid-template-columns: 1fr !important; }

.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}
.event-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-500);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.event-card--hero {
  padding: 24px;
}
@media (min-width: 700px) {
  .event-card--hero {
    grid-template-columns: 140px 1fr;
    gap: 28px;
    padding: 32px;
  }
}

.event-date {
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 60px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(184, 50, 58, .22);
}
.event-date-day {
  font-family: var(--serif); font-weight: 800;
  font-size: 26px;
}
.event-date-mon {
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}
.event-date-year {
  font-size: 9.5px; opacity: .8; margin-top: 1px;
}
.event-date--lg {
  min-width: 90px;
  padding: 16px 18px;
}
.event-date--lg .event-date-day { font-size: 36px; }
.event-date--lg .event-date-mon { font-size: 12px; }

.event-card--hero .event-date {
  min-width: 110px; padding: 16px 20px;
}
.event-card--hero .event-date-day { font-size: 36px; }

.event-title {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--green-900);
  line-height: 1.2;
}
.event-card--hero .event-title { font-size: clamp(22px, 3vw, 28px); }

.event-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  display: flex; flex-wrap: wrap; gap: 6px;
  line-height: 1.45;
}
.event-meta .sep { color: var(--muted); }

.event-summary {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.event-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 8px;
}

.events-section-head {
  margin: 24px 0 16px;
  font-size: 13px;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--sans);
  font-weight: 800;
}
.events-section-head--past {
  margin-top: 40px;
  color: var(--muted);
}

/* ==========================================================================
   Jubiläums-Banner (zwischen Hero und Aktuelles)
   ========================================================================== */
.jubilee {
  padding: 28px 0 8px;
}
.jubilee-card {
  position: relative;
  background:
    radial-gradient(800px 300px at 0% 0%, rgba(82, 183, 136, .15), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(184, 50, 58, .10), transparent 60%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: grid; gap: 22px;
  align-items: center;
  grid-template-columns: 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.jubilee-card::before {
  content: "";
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 110, .35), transparent 70%);
  pointer-events: none;
}

.jubilee-badge {
  display: inline-flex; align-items: center; gap: 12px;
  align-self: start;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  backdrop-filter: blur(6px);
}
.jubilee-year {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--green-900);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .5px;
}
.jubilee-eyebrow {
  font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .9);
}

.jubilee-content h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4.5vw, 36px);
  color: #fff;
  line-height: 1.15;
}
.jubilee-content p {
  margin: 0 0 18px;
  color: #e5efe9;
  font-size: 15.5px;
  max-width: 640px;
  line-height: 1.6;
}
.jubilee-content .btn-primary {
  background: var(--red);
}
.jubilee-content .btn-primary:hover {
  background: var(--red-dark);
}

@media (min-width: 820px) {
  .jubilee-card {
    grid-template-columns: auto 1fr;
    gap: 32px;
    padding: 36px 40px;
  }
  .jubilee-year {
    width: 76px; height: 76px;
    font-size: 22px;
  }
}

/* Akzent-Variante des Timeline-Year-Badges (für Jubiläum) */
.tl-year-accent {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(184, 50, 58, .25);
}

/* ==========================================================================
   Anfahrt-Sektion mit stilisierter Lageplan-Karte
   ========================================================================== */
.anfahrt-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  align-items: start;
}
.anfahrt-map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.lageplan {
  display: block;
  width: 100%;
  height: auto;
  background: var(--sand-50);
}
.anfahrt-map-note {
  margin: 0;
  padding: 10px 16px;
  font-size: 12px; color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

/* Bild-Variante der Karte (lokal gespeichertes OSM-Bild) */
.lageplan-img {
  margin: 0;
  display: block;
}
.lageplan-img-frame {
  position: relative;
  background: var(--sand-100);
  overflow: hidden;
}
.lageplan-img-frame img {
  display: block;
  width: 100%;
  height: auto;
}
/* OSM-Lizenz-Pille unten rechts auf der Karte (Maps-App-Stil) */
.lageplan-attribution {
  position: absolute;
  right: 8px; bottom: 8px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10.5px; color: var(--ink-soft);
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  z-index: 3;
}
.lageplan-attribution a {
  color: var(--green-700);
  text-decoration: none;
  font-weight: 700;
  margin-left: 2px;
}
.lageplan-attribution a:hover { color: var(--green-800); }

/* Optionaler externer „Route öffnen"-Link unter der Karte */
.lageplan-img-cta {
  margin: 0; padding: 12px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
}
.lageplan-img-cta a {
  color: var(--green-700); font-weight: 600;
}

/* Pin-Overlay über dem Karten-Bild */
.lageplan-pin {
  position: absolute;
  width: 0; height: 0;
  /* left/top wird inline aus den Settings gesetzt */
  pointer-events: none;
  z-index: 2;
}
.lageplan-pin-glow {
  position: absolute; left: -28px; top: -28px;
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,50,58,.55), transparent 70%);
  animation: lageplan-pulse 2.4s infinite;
  pointer-events: none;
}
@keyframes lageplan-pulse {
  0%, 100% { transform: scale(.85); opacity: .8; }
  50%      { transform: scale(1.4);  opacity: 0;  }
}
.lageplan-pin-dot {
  position: absolute; left: -10px; top: -28px;
  width: 20px; height: 28px;
  background: var(--red);
  border: 2px solid var(--red-dark);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(184,50,58,.35), 0 1px 0 rgba(0,0,0,.1);
}
.lageplan-pin-dot::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  background: #fff; border-radius: 50%;
  transform: rotate(45deg);
}
.lageplan-pin-label {
  position: absolute; left: 18px; top: -22px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
  pointer-events: auto;
}
.lageplan-pin-label strong {
  display: block;
  font-size: 10px; letter-spacing: .5px;
  color: var(--red); font-weight: 800;
  text-transform: uppercase;
}
.lageplan-pin-label span {
  display: block;
  font-family: var(--serif);
  font-size: 13px; font-weight: 700;
  color: var(--green-900);
}

.anfahrt-info {
  display: flex; flex-direction: column; gap: 14px;
}
.anfahrt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.anfahrt-card h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--green-700);
}
.anfahrt-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.anfahrt-card p strong { color: var(--ink); }

@media (min-width: 820px) {
  .anfahrt-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 32px;
  }
  .anfahrt-info { position: sticky; top: 96px; }
}

/* Spendenkonten-Block (eine oder zwei Banken) */
.donate-accounts {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  scroll-margin-top: var(--header-h);
}
.donate-accounts-head {
  margin: 0 0 4px; font-size: 22px; color: var(--green-900);
}
.donate-accounts-sub {
  margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px;
}
.donate-accounts-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.donate-account {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 18px;
  background: var(--sand-50);
}
.donate-account-label {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .4px; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 10px;
}
.donate-account dl {
  margin: 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px 12px;
  font-size: 14px;
}
.donate-account dt {
  color: var(--ink-soft); font-weight: 600;
}
.donate-account dd {
  margin: 0; color: var(--ink); word-break: break-all;
}
.donate-account .copyable {
  font-family: ui-monospace, SFMono-Regular, "Menlo", monospace;
  font-size: 13.5px;
  background: #fff; padding: 1px 6px; border-radius: 6px;
  border: 1px solid var(--line);
  display: inline-block; user-select: all; cursor: copy;
}
@media (min-width: 700px) {
  .donate-accounts-grid { grid-template-columns: 1fr 1fr; }
}

/* "Wofür Ihre Spende verwendet wird" — drei Karten mit Betrag + Wirkung */
.donate-impact {
  margin-top: 28px;
  background: linear-gradient(135deg, #f5f9f3, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}
.donate-impact-head {
  margin: 0 0 6px; font-size: 22px; color: var(--green-900);
}
.donate-impact-sub {
  margin: 0 0 20px; color: var(--ink-soft);
  font-size: 14.5px; max-width: 56ch;
}
.donate-impact-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.donate-impact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px 18px;
  transition: border-color .15s ease, transform .12s ease;
}
.donate-impact-card:hover {
  border-color: var(--green-500);
  transform: translateY(-1px);
}
.donate-impact-amount {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  background: var(--green-700);
  color: #fff;
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1;
}
.donate-impact-amount .num { font-size: 22px; }
.donate-impact-amount .cur { font-size: 14px; opacity: .85; margin-top: 2px; }
.donate-impact-title {
  align-self: end;
  font-weight: 700; font-size: 16.5px;
  color: var(--green-900);
}
.donate-impact-desc {
  grid-column: 2;
  margin: 0; font-size: 14px;
  color: var(--ink-soft); line-height: 1.55;
}
.donate-impact-foot {
  margin: 18px 0 0;
  font-size: 13px; color: var(--muted);
  text-align: center; font-style: italic;
}
@media (min-width: 700px) {
  .donate-impact-grid { grid-template-columns: repeat(3, 1fr); }
  .donate-impact-card { grid-template-columns: 1fr; gap: 12px; padding: 22px; text-align: center; }
  .donate-impact-amount { grid-row: auto; margin: 0 auto; width: 70px; height: 70px; }
  .donate-impact-amount .num { font-size: 24px; }
  .donate-impact-desc { grid-column: auto; }
}

/* Kontaktformular /kontakt */
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.contact-form .form-row {
  display: grid; gap: 14px; grid-template-columns: 1fr;
  margin-bottom: 14px;
}
.contact-form .field { display: block; margin-bottom: 14px; }
.contact-form .field:last-of-type { margin-bottom: 0; }
.contact-form .field-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.contact-form .req { color: var(--red); }
.contact-form .input {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; font: inherit;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.contact-form .input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(82, 183, 136, .12);
}
.contact-form .input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(184, 50, 58, .08);
}
.contact-form .field-error {
  display: block; margin-top: 6px;
  color: var(--red-dark); font-size: 13px;
}
.contact-form-note {
  font-size: 13px; color: var(--muted);
  margin: 18px 0 16px; line-height: 1.5;
}
.contact-form .form-actions { margin-top: 4px; }
@media (min-width: 600px) {
  .contact-form .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
}

.contact-thanks {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 28px; text-align: center;
}
.contact-thanks-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: var(--green-700); color: #fff;
  border-radius: 50%; font-size: 32px; font-weight: 700;
}
.contact-thanks h2 {
  margin: 0 0 8px; color: var(--green-900); font-size: 24px;
}
.contact-thanks p {
  margin: 0; color: var(--ink-soft); font-size: 15px;
  max-width: 50ch; margin-left: auto; margin-right: auto;
}

.contact-other {
  margin-top: 36px;
  background: var(--green-50, #f0f7f3);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.contact-other h2 {
  margin: 0 0 12px; font-size: 18px; color: var(--green-900);
}
.contact-other-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px; font-size: 15px;
}
.contact-other-list strong {
  display: inline-block; min-width: 90px; color: var(--ink);
}

/* Erfolgs-Galerie-Vorschau auf der Startseite (#erfolge-Sektion) */
.success-home-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  margin-bottom: 24px;
}
.success-home-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.success-home-card:hover {
  transform: translateY(-2px); border-color: var(--green-500);
}
.success-home-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand-100), var(--sand-200));
}
.success-home-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.success-home-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(45, 106, 79, .92);
  color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.success-home-body { padding: 18px 20px 20px; }
.success-home-body h3 {
  margin: 0 0 4px; font-size: 19px; color: var(--green-900);
}
.success-home-when {
  font-size: 12px; font-weight: 700;
  color: var(--green-700);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 10px;
}
.success-home-body p {
  margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55;
}
.success-home-cta {
  display: flex; justify-content: center;
  margin-top: 8px;
}
@media (min-width: 700px) {
  .success-home-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Öffentliche Erfolgs-Galerie /erfolgreich-vermittelt */
.success-counter {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: var(--green-700); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  margin: 0 0 8px;
}
.success-counter-num { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.success-counter-lbl { font-size: 13px; opacity: .9; }

.success-empty {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 28px; text-align: center;
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.6;
}

.success-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.success-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .15s ease, border-color .15s ease;
}
.success-card:hover { transform: translateY(-2px); border-color: var(--green-500); }
.success-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand-100), var(--sand-200));
}
.success-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.success-card-image--empty {
  display: grid; place-items: center;
  font-size: 56px; opacity: .4;
}
.success-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(45, 106, 79, .92);
  color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.success-card-body { padding: 18px 20px 20px; }
.success-card-body h3 {
  margin: 0 0 4px; font-size: 19px; color: var(--green-900);
}
.success-card-when {
  font-size: 12px; font-weight: 700;
  color: var(--green-700);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 10px;
}
.success-card-body p {
  margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55;
}
.success-card-fallback { font-style: italic; }

@media (min-width: 600px) {
  .success-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .success-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Öffentliche Bildergalerie */
.public-gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.public-gallery-item {
  margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
.public-gallery-item a {
  display: block; aspect-ratio: 4/3; overflow: hidden;
}
.public-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.public-gallery-item:hover img { transform: scale(1.04); }
.public-gallery-item figcaption {
  padding: 10px 14px; font-size: 13.5px; color: var(--ink-soft);
}

/* Tier-Karte: Foto-Fallback wenn kein Bild gesetzt — sand-Gradient */
.card-photo.no-image::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), transparent 50%),
    linear-gradient(135deg, var(--sand-100), var(--sand-200));
}

/* ==========================================================================
   Empty-State mit Bild — für die Vermittlungs-Sektion, wenn aktuell
   keine Tiere da sind. Erzeugt trotzdem einen warmen Tier-Bezug.
   ========================================================================== */
.empty-state--with-image {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  padding: 0;
  text-align: left;
  border: 1px solid var(--line);
  border-style: solid;
  background: #fff;
  overflow: hidden;
}

.empty-state-photo {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand-100), var(--sand-200));
}
.empty-state-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s ease;
}
.empty-state--with-image:hover .empty-state-photo img { transform: scale(1.03); }
.empty-state-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 39, 30, .45) 100%);
}
.empty-state-photo.no-image img { display: none; }
.empty-state-photo.no-image::after { display: none; }

.empty-state-photo-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .96);
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--green-900);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.empty-state-photo-badge svg {
  width: 14px; height: 14px; color: var(--red);
}

.empty-state-body {
  padding: 28px 24px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.empty-state-body h3 {
  margin: 4px 0 0; font-size: clamp(22px, 3.6vw, 28px);
  color: var(--green-900); line-height: 1.2;
}
.empty-state-body p {
  margin: 0; color: var(--ink-soft); font-size: 15px; max-width: none;
}
.empty-state-body p strong { color: var(--ink); }
.empty-state-body .empty-cta {
  justify-content: flex-start;
  margin-top: 8px;
}

@media (min-width: 820px) {
  .empty-state--with-image {
    grid-template-columns: 1.15fr 1fr;
  }
  .empty-state-photo { aspect-ratio: auto; min-height: 380px; }
  .empty-state-body  { padding: 40px 36px; }
}

@media (min-width: 1000px) {
  .empty-state--with-image {
    grid-template-columns: 1.3fr 1fr;
  }
  .empty-state-body  { padding: 56px 48px; gap: 16px; }
}
