/* ==========================================================================
   HERZPFOTE THEME - Premium Animal Rescue Website
   A box-layout Grav theme with pure custom CSS. No Bootstrap.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. GOOGLE FONTS IMPORT
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --terracotta: #C45D3E;
  --terracotta-dark: #A3492F;
  --terracotta-light: #E8856A;
  --honey: #E8A849;
  --honey-dark: #C48B30;
  --honey-light: #F5CB7A;
  --sage: #7B9E6B;
  --sage-dark: #5D7E4F;
  --sage-light: #A8C49B;

  /* Neutrals */
  --charcoal: #2D2926;
  --warm-gray: #6B625A;
  --soft-gray: #A39E99;
  --sand: #F0EBE3;
  --cream: #FAF7F2;
  --white: #FFFFFF;

  /* Accent */
  --rose: #D4687A;
  --lavender: #8B7EC8;
  --sky: #6BA3BE;

  /* Gradients */
  --gradient-warmth: linear-gradient(135deg, #C45D3E 0%, #E8A849 100%);
  --gradient-sunset: linear-gradient(135deg, #E8856A 0%, #F5CB7A 50%, #A8C49B 100%);
  --gradient-memorial: linear-gradient(135deg, #8B7EC8 0%, #D4687A 100%);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Border Radius */
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(45, 41, 38, 0.06);
  --shadow: 0 4px 16px rgba(45, 41, 38, 0.08);
  --shadow-lg: 0 12px 40px rgba(45, 41, 38, 0.12);
  --shadow-xl: 0 20px 50px rgba(45, 41, 38, 0.15);

  /* Motion */
  --transition: all 0.3s ease;
  --spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & GLOBAL
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  background-image: radial-gradient(circle, rgba(45, 41, 38, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: var(--transition);
}

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

a:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 3px;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: var(--honey-light);
  color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 0.5em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 0.5em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 0.4em;
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 0.4em;
}

h5 {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 0.3em;
}

h6 {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3em;
}

p {
  margin-bottom: 1em;
  color: var(--warm-gray);
}

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

strong {
  font-weight: 600;
  color: var(--charcoal);
}

em {
  font-style: italic;
}

small {
  font-size: 0.85em;
}

blockquote {
  border-left: 3px solid var(--honey);
  padding: 16px 24px;
  margin: 1.5em 0;
  background: var(--sand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--warm-gray);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--sand);
  padding: 2px 6px;
  border-radius: 4px;
}

pre {
  font-family: var(--font-mono);
  background: var(--charcoal);
  color: var(--sand);
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5em 0;
  line-height: 1.5;
}

pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

hr {
  border: none;
  height: 1px;
  background: var(--sand);
  margin: 2.5em 0;
}

/* --------------------------------------------------------------------------
   4. BOX LAYOUT (.site-frame)
   -------------------------------------------------------------------------- */
.site-frame {
  max-width: 1280px;
  margin: 24px auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

@media (max-width: 1360px) {
  .site-frame {
    width: 96%;
    margin: 16px auto;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .site-frame {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
  }
}

/* --------------------------------------------------------------------------
   5. CONTAINER
   -------------------------------------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

.container--wide {
  max-width: 1200px;
}

.container--narrow {
  max-width: 800px;
}

/* --------------------------------------------------------------------------
   6. SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-warmth);
  z-index: 9999;
  transform-origin: left;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. UTILITY STRIP (.top-bar) — Animated Stats Header
   -------------------------------------------------------------------------- */
.top-bar {
  background: linear-gradient(135deg, var(--charcoal) 0%, #3a3633 50%, var(--charcoal) 100%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 400;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

/* Subtle shimmer sweep across the bar on load */
.top-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: topbar-shimmer 3s ease-in-out 0.5s;
  pointer-events: none;
}

@keyframes topbar-shimmer {
  0%   { left: -100%; }
  100% { left: 100%; }
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* --- Stats group (left side) --- */
.top-bar__stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: stat-slide-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.top-bar__stat:nth-child(1) { animation-delay: 0.15s; }
.top-bar__stat:nth-child(3) { animation-delay: 0.35s; }
.top-bar__stat:nth-child(5) { animation-delay: 0.55s; }

.top-bar__stat-icon {
  font-size: 12px;
  color: var(--honey);
  animation: icon-pulse 2.5s ease-in-out 2s infinite;
}

.top-bar__stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--honey);
  letter-spacing: 0.01em;
  text-shadow: 0 0 12px rgba(232, 168, 73, 0);
  animation: stat-slide-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) both,
             number-glow 2s ease-in-out 1.8s 1;
}

.top-bar__stat:nth-child(1) .top-bar__stat-value { animation-delay: 0.15s, 1.8s; }
.top-bar__stat:nth-child(3) .top-bar__stat-value { animation-delay: 0.35s, 2.0s; }
.top-bar__stat:nth-child(5) .top-bar__stat-value { animation-delay: 0.55s, 2.2s; }

.top-bar__stat-text {
  color: rgba(255, 255, 255, 0.55);
}

/* Vertical divider between stats */
.top-bar__divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  animation: stat-slide-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.top-bar__divider:nth-child(2) { animation-delay: 0.25s; }
.top-bar__divider:nth-child(4) { animation-delay: 0.45s; }

/* --- Right side (email + social) --- */
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: stat-slide-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.7s both;
}

.top-bar__email {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.top-bar__email:hover {
  color: var(--honey);
}

.top-bar__social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: var(--transition);
}

.top-bar__social a:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px) scale(1.05);
}

/* --- Keyframes --- */
@keyframes stat-slide-up {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes number-glow {
  0%, 100% {
    text-shadow: 0 0 0 rgba(232, 168, 73, 0);
  }
  50% {
    text-shadow: 0 0 16px rgba(232, 168, 73, 0.5), 0 0 32px rgba(232, 168, 73, 0.2);
  }
}

@keyframes icon-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.7;
  }
}

/* --------------------------------------------------------------------------
   8. MAIN NAVIGATION (.main-nav)
   -------------------------------------------------------------------------- */
.main-nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(45, 41, 38, 0.06);
  transition: box-shadow 0.3s ease;
}

.main-nav.is-scrolled {
  box-shadow: 0 2px 20px rgba(45, 41, 38, 0.08);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 55px;
  width: auto;
}

.nav-logo__text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--charcoal);
  line-height: 1.1;
}

.nav-logo__tagline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--soft-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu__item {
  position: relative;
}

.nav-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-menu__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu__link:hover::after,
.nav-menu__link.is-active::after {
  width: 100%;
  left: 0;
}

.nav-menu__link:hover,
.nav-menu__link.is-active {
  color: var(--terracotta);
}

.nav-menu__link .chevron {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-menu__item:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}

.nav-menu__item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.nav-dropdown__link:hover {
  background: var(--sand);
  color: var(--terracotta);
  border-left-color: var(--terracotta);
}

/* Nav CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-warmth);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 24px;
  border-radius: 99px;
  margin-left: 12px;
  transition: var(--transition);
  white-space: nowrap;
  animation: heartbeat 3s ease-in-out infinite;
}

.nav-cta:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 93, 62, 0.35);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  5% { transform: scale(1.05); }
  10% { transform: scale(1); }
  15% { transform: scale(1.05); }
  20% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   9. MOBILE NAV TOGGLE
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 6px;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-menu__link {
    font-size: 18px;
    padding: 14px 32px;
  }

  .nav-menu__link::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    min-width: auto;
    padding: 0;
    display: none;
  }

  .nav-menu__item.is-open .nav-dropdown {
    display: block;
  }

  .nav-dropdown__link {
    text-align: center;
    border-left: none;
    font-size: 15px;
    color: var(--warm-gray);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    padding: 14px 40px;
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   10. HERO SECTION (.hero-split) - Homepage
   -------------------------------------------------------------------------- */
.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 520px;
  overflow: hidden;
}

.hero-split__image {
  position: relative;
  overflow: hidden;
}

.hero-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split__image::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  width: 80px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--terracotta-light));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero-split__content {
  background: var(--gradient-sunset);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
  color: var(--white);
}

.hero-split__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.85;
  margin-bottom: 12px;
}

.hero-split__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-split__text {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-split__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split__image {
    height: 280px;
  }

  .hero-split__image::after {
    display: none;
  }

  .hero-split__content {
    padding: 32px 20px 40px;
  }
}

/* --------------------------------------------------------------------------
   11. HERO SMALL (.hero-small) - Subpages
   -------------------------------------------------------------------------- */
.hero-small {
  background: var(--gradient-warmth);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
  position: relative;
}

.hero-small h1 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 8px;
}

.hero-small p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.hero-small::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--honey);
  border-radius: 2px;
}

/* Memorial Variant */
.hero-small--memorial {
  background: var(--gradient-memorial);
}

.hero-small--memorial::after {
  background: rgba(255, 255, 255, 0.5);
}

/* Breadcrumbs inside hero */
.hero-small .breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
}

.hero-small .breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.hero-small .breadcrumbs a:hover {
  color: var(--white);
}

.hero-small .breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.4);
}

.hero-small .breadcrumbs .current {
  color: var(--white);
}

/* ── Hero Small with Background Image ── */

.hero-small--has-image {
  position: relative;
  padding: 80px 20px 60px;
  min-height: 260px;
  overflow: hidden;
}

.hero-small--has-image .hero-small__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-small--has-image .hero-small__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-small--has-image .hero-small__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(45, 41, 38, 0.55) 0%, rgba(45, 41, 38, 0.7) 100%),
    linear-gradient(to right, rgba(196, 93, 62, 0.2) 0%, rgba(232, 168, 73, 0.15) 100%);
}

.hero-small--has-image .hero-small__inner {
  position: relative;
  z-index: 2;
}

.hero-small--has-image::after {
  z-index: 3;
}

/* Hero-small BEM children (used by partial) */
.hero-small__inner {
  text-align: center;
}

.hero-small__icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-small__title {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 8px;
}

.hero-small__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Variant: warm */
.hero-small--warm {
  background: var(--gradient-sunset);
}

/* Variant: sage */
.hero-small--sage {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage));
}

.hero-small--sage::after {
  background: rgba(255, 255, 255, 0.4);
}

/* ── Hero Fullwidth — Homepage Backdrop Mode ── */

.hero-fullwidth {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-fullwidth__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullwidth__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroKenBurns 25s ease-in-out alternate infinite;
}

@keyframes heroKenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.05); }
}

.hero-fullwidth__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(45, 41, 38, 0.85) 0%, rgba(45, 41, 38, 0.4) 50%, transparent 80%),
    linear-gradient(to right, rgba(45, 41, 38, 0.6) 0%, transparent 65%);
}

.hero-fullwidth__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 80px 0 60px;
  max-width: 600px;
}

.hero-fullwidth__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-fullwidth__title em {
  font-style: normal;
  color: var(--honey);
}

.hero-fullwidth__text {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-fullwidth__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Badge used in both split and fullwidth hero */
.hero-split__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.hero-split__badge i {
  margin-right: 4px;
}

.hero-split__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* White-outline button variant (hero CTAs) */
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

/* Fullwidth placeholder (no image) */
.hero-fullwidth--placeholder {
  background: var(--gradient-sunset);
}

@media (max-width: 768px) {
  .hero-fullwidth {
    min-height: 400px;
  }

  .hero-fullwidth__content {
    padding: 60px 0 40px;
  }

  .hero-small--has-image {
    padding: 60px 20px 40px;
    min-height: 200px;
  }
}

/* --------------------------------------------------------------------------
   12. STATISTICS BAR (.stats-bar)
   -------------------------------------------------------------------------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(28px, 4vw, 48px) 20px;
  background: var(--white);
}

.stats-bar__item {
  text-align: center;
}

.stats-bar__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 4px;
}

.stats-bar__item:nth-child(1) .stats-bar__number {
  color: var(--terracotta);
}

.stats-bar__item:nth-child(2) .stats-bar__number {
  color: var(--sage);
}

.stats-bar__item:nth-child(3) .stats-bar__number {
  color: var(--honey);
}

.stats-bar__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--soft-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 480px) {
  .stats-bar {
    flex-direction: column;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   13. SECTION TITLES (.section-title)
   -------------------------------------------------------------------------- */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: var(--font-display);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--honey);
  border-radius: 2px;
}

.section-title p {
  max-width: 600px;
  margin: 12px auto 0;
  color: var(--warm-gray);
}

.section-title--left {
  text-align: left;
}

.section-title--left h2::after {
  left: 0;
  transform: none;
}

/* Section-title badge (icon above heading) */
.section-title__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-warmth);
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(196, 93, 62, 0.25);
}

/* Section actions (CTA buttons below content) */
.section-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 8px;
}

@media (max-width: 480px) {
  .section-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   14. ANIMAL CARDS (.animal-card) – Overlay Design
   -------------------------------------------------------------------------- */
.animal-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--spring);
  position: relative;
}

.animal-card:nth-child(odd) {
  transform: rotate(-0.5deg);
}

.animal-card:nth-child(even) {
  transform: rotate(0.5deg);
}

.animal-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* Card Link Wrapper (the entire card is a single <a>) */
.animal-card__link {
  display: block;
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  color: var(--white);
}

/* Card Image – fills entire card */
.animal-card__image {
  position: absolute;
  inset: 0;
}

.animal-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.animal-card:hover .animal-card__image img {
  transform: scale(1.08);
}

/* Status Badge (glassmorphism, top-left) */
.animal-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  z-index: 3;
}

.animal-card__badge--available {
  background: rgba(123, 158, 107, 0.8);
}

.animal-card__badge--reserved {
  background: rgba(212, 104, 122, 0.8);
}

.animal-card__badge--vermittelt {
  background: rgba(123, 158, 107, 0.85);
}

.animal-card__badge--neu {
  background: rgba(232, 168, 73, 0.85);
}

.animal-card__badge--dringend {
  background: rgba(196, 93, 62, 0.85);
}

.animal-card__badge--notfall {
  background: rgba(212, 104, 122, 0.85);
}

/* Overlay – sits at the bottom over the image */
.animal-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 22px 22px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.38) 55%,
    transparent 100%
  );
  z-index: 2;
  display: flex;
  flex-direction: column;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animal-card:hover .animal-card__overlay {
  padding-top: 60px;
}

.animal-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.animal-card__traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

/* Overlay-specific trait pills – same style as vermittelt badge */
.trait-pill--overlay {
  background: rgba(123, 158, 107, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  padding: 3px 11px;
}

.trait-pill--overlay i {
  color: var(--white);
}

/* Excerpt – hidden by default, revealed on hover */
.animal-card__excerpt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease 0.05s;
}

.animal-card:hover .animal-card__excerpt {
  max-height: 80px;
  opacity: 1;
}

/* CTA label – fades in on hover */
.animal-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--honey);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.animal-card:hover .animal-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.animal-card__cta i {
  transition: transform 0.3s ease;
}

.animal-card:hover .animal-card__cta i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   15. ANIMAL GRID (.animal-grid)
   -------------------------------------------------------------------------- */
.animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  padding: clamp(24px, 4vw, 48px) 0;
}

@media (max-width: 480px) {
  .animal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   16. BENTO GRID (.bento-grid) - Homepage Featured Animals
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: clamp(24px, 4vw, 48px) 0;
}

/* All cards uniform 9:16 portrait in bento grid */
.bento-grid .animal-card {
  transform: rotate(0deg);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --------------------------------------------------------------------------
   17. TRAIT PILLS (.trait-pill)
   -------------------------------------------------------------------------- */
.trait-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sand);
  border-radius: 99px;
  padding: 4px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-gray);
  white-space: nowrap;
}

.trait-pill__icon {
  color: var(--terracotta);
  font-size: 11px;
  flex-shrink: 0;
}

.trait-pill__icon svg {
  width: 12px;
  height: 12px;
}

.trait-pill--sage {
  background: rgba(123, 158, 107, 0.12);
}

.trait-pill--honey {
  background: rgba(232, 168, 73, 0.12);
}

.trait-pill--rose {
  background: rgba(212, 104, 122, 0.12);
}

/* --------------------------------------------------------------------------
   18. PILLAR CARDS (.pillar-cards)
   -------------------------------------------------------------------------- */
.pillar-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: clamp(24px, 4vw, 48px) 0;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  text-align: center;
  transition: var(--spring);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.pillar-card:nth-child(1)::before {
  background: var(--terracotta);
}

.pillar-card:nth-child(2)::before {
  background: var(--honey);
}

.pillar-card:nth-child(3)::before {
  background: var(--sage);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: transform 0.4s ease;
}

.pillar-card:nth-child(1) .pillar-card__icon {
  color: var(--terracotta);
}

.pillar-card:nth-child(2) .pillar-card__icon {
  color: var(--honey);
}

.pillar-card:nth-child(3) .pillar-card__icon {
  color: var(--sage);
}

.pillar-card:hover .pillar-card__icon {
  transform: translateY(-4px);
}

.pillar-card__icon svg,
.pillar-card__icon img {
  width: 48px;
  height: 48px;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.pillar-card__text {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.pillar-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pillar-card__link:hover {
  gap: 10px;
}

@media (max-width: 768px) {
  .pillar-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   19. NEWS SECTION (.home-news-grid)
   -------------------------------------------------------------------------- */
.home-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px) 0;
}

.home-news-grid .news-card--hero {
  grid-row: span 2;
}

.home-news-grid .news-card--hero .news-card__image {
  height: 280px;
}

/* Stacked small items on the right */
.home-news-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-news-stack .news-card--small {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
}

.home-news-stack .news-card--small .news-card__image {
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 768px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .home-news-grid .news-card--hero {
    grid-row: span 1;
  }
}

/* --------------------------------------------------------------------------
   20. NEWS CARDS (.news-card)
   -------------------------------------------------------------------------- */
.news-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--sand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--spring);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card__image {
  overflow: hidden;
  height: 100%;
  min-height: 200px;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.04);
}

.news-card__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card__date {
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.news-card__readmore {
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Hero Variant - vertical layout */
.news-card--hero {
  grid-template-columns: 1fr;
}

.news-card--hero .news-card__image {
  min-height: 280px;
}

/* Compact Variant */
.news-card--compact {
  grid-template-columns: 1fr;
  background: var(--white);
}

.news-card--compact .news-card__image {
  height: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card__image {
    height: 200px;
    min-height: 200px;
  }
}

/* --------------------------------------------------------------------------
   20b. NEWS PORTRAIT CARDS (.news-portrait-card)
   -------------------------------------------------------------------------- */
.news-portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: clamp(24px, 4vw, 48px) 0;
}

.news-portrait-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--spring);
  background: var(--white);
}

.news-portrait-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.news-portrait-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--charcoal);
  height: 100%;
}

.news-portrait-card__image {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
}

.news-portrait-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-portrait-card:hover .news-portrait-card__image img {
  transform: scale(1.06);
}

.news-portrait-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-portrait-card__date {
  font-size: 11px;
  font-weight: 600;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.news-portrait-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-portrait-card__excerpt {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  flex: 1;
}

.news-portrait-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.news-portrait-card:hover .news-portrait-card__cta {
  gap: 10px;
}

@media (max-width: 1024px) {
  .news-portrait-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-portrait-grid .news-portrait-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 768px) {
  .news-portrait-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .news-portrait-grid .news-portrait-card:nth-child(3) {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   21. ANIMAL DETAIL (.animal-detail)
   -------------------------------------------------------------------------- */
.animal-detail {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 36px;
  padding: clamp(24px, 4vw, 48px) 0;
}

.animal-detail__left {
  min-width: 0;
}

.animal-detail__right {
  min-width: 0;
}

@media (max-width: 768px) {
  .animal-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   22. MEDIA GALLERY (.media-gallery)
   -------------------------------------------------------------------------- */
.media-gallery {
  margin-bottom: 24px;
}

.media-gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  background: var(--sand);
}

.media-gallery__main img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.media-gallery__main video {
  width: 100%;
  max-height: 500px;
  border-radius: var(--radius-lg);
}

.media-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}

.media-gallery__thumbs::-webkit-scrollbar {
  height: 4px;
}

.media-gallery__thumbs::-webkit-scrollbar-track {
  background: var(--sand);
  border-radius: 2px;
}

.media-gallery__thumbs::-webkit-scrollbar-thumb {
  background: var(--soft-gray);
  border-radius: 2px;
}

.media-gallery__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  scroll-snap-align: start;
}

.media-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-gallery__thumb:hover {
  border-color: var(--soft-gray);
}

.media-gallery__thumb.is-active {
  border-color: var(--terracotta);
}

@media (max-width: 768px) {
  .media-gallery__main img {
    max-height: 300px;
  }

  .media-gallery__thumb {
    width: 64px;
    height: 64px;
  }
}

/* --------------------------------------------------------------------------
   23. STECKBRIEF / PROFILE CARD (.profile-card)
   -------------------------------------------------------------------------- */
.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 20px;
}

.profile-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.profile-card__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--honey);
  border-radius: 2px;
}

.profile-card__traits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.profile-card__trait {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-basis: calc(50% - 7px);
  min-width: 0;
}

.profile-card__trait-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.profile-card__trait-icon--terracotta {
  background: rgba(196, 93, 62, 0.1);
  color: var(--terracotta);
}

.profile-card__trait-icon--honey {
  background: rgba(232, 168, 73, 0.1);
  color: var(--honey);
}

.profile-card__trait-icon--sage {
  background: rgba(123, 158, 107, 0.1);
  color: var(--sage);
}

.profile-card__trait-icon--sky {
  background: rgba(107, 163, 190, 0.1);
  color: var(--sky);
}

.profile-card__trait-info {
  min-width: 0;
}

.profile-card__trait-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft-gray);
  display: block;
}

.profile-card__trait-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
}

/* Boolean checks */
.profile-card__bool--yes {
  color: var(--sage);
}

.profile-card__bool--no {
  color: var(--rose);
}

@media (max-width: 480px) {
  .profile-card__trait {
    flex-basis: 100%;
  }
}

/* --------------------------------------------------------------------------
   24. SOCIAL SHARE (.social-share)
   -------------------------------------------------------------------------- */
.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
}

.social-share__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-gray);
  margin-right: 4px;
}

.social-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  transition: var(--spring);
}

.social-share__btn:hover {
  transform: translateY(-3px) scale(1.1);
  color: var(--white);
}

.social-share__btn svg {
  width: 18px;
  height: 18px;
}

.social-share__btn--facebook {
  background: #1877F2;
}

.social-share__btn--facebook:hover {
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.social-share__btn--twitter {
  background: var(--sky);
}

.social-share__btn--twitter:hover {
  box-shadow: 0 4px 12px rgba(107, 163, 190, 0.4);
}

.social-share__btn--whatsapp {
  background: #25D366;
}

.social-share__btn--whatsapp:hover {
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.social-share__btn--email {
  background: var(--terracotta);
}

.social-share__btn--email:hover {
  box-shadow: 0 4px 12px rgba(196, 93, 62, 0.4);
}

/* --------------------------------------------------------------------------
   25. CONTENT BOXES (.text-box)
   -------------------------------------------------------------------------- */
.text-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.text-box > h2:first-child,
.text-box > h3:first-child,
.text-box > h4:first-child {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--honey);
}

.text-box ul {
  padding-left: 0;
  margin-bottom: 1em;
}

.text-box ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--warm-gray);
}

.text-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}

.text-box ol {
  padding-left: 0;
  counter-reset: item;
  margin-bottom: 1em;
}

.text-box ol li {
  counter-increment: item;
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--warm-gray);
}

.text-box ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--sand);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   26. DONATE BANNER (.donate-banner)
   -------------------------------------------------------------------------- */
.donate-banner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  margin: clamp(32px, 5vw, 64px) 0;
  z-index: 1;
}

.donate-banner::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  background: var(--gradient-warmth);
  z-index: -1;
}

.donate-banner h2 {
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.donate-banner p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--warm-gray);
}

.donate-banner__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .donate-banner {
    padding: 32px 20px;
  }
}

/* --------------------------------------------------------------------------
   27. TEAM GRID (.team-grid)
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
  padding: clamp(24px, 4vw, 48px) 0;
}

.team-member {
  text-align: center;
}

.team-member__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member__photo::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid var(--terracotta);
  transition: transform 0.6s ease;
}

.team-member:hover .team-member__photo::before {
  transform: rotate(360deg);
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.team-member:hover .team-member__photo img {
  transform: scale(1.05);
}

.team-member__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.team-member__role {
  font-size: 13px;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.team-member__bio {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   28. PARTNER GRID (.partner-grid)
   -------------------------------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: clamp(24px, 4vw, 48px) 0;
}

.partner-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: var(--spring);
}

.partner-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.partner-card:hover .partner-card__logo img {
  filter: grayscale(0%);
}

.partner-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.partner-card__text {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .partner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   29. FOOTER (.site-footer)
   -------------------------------------------------------------------------- */

/* Wave Divider Above Footer */
.footer-wave {
  width: 100%;
  margin-bottom: -2px;
  display: block;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.footer-wave path {
  fill: var(--charcoal);
}

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 0;
}

.footer-main {
  padding: 56px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--honey);
  border-radius: 1px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--honey);
  transform: translateX(3px);
}

.footer-col__logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* Footer Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.footer-contact__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact__item svg {
  width: 14px;
  height: 14px;
  color: var(--honey);
  flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom__links {
  display: flex;
  gap: 20px;
}

.footer-bottom__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.footer-bottom__links a:hover {
  color: var(--honey);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom__links {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   30. BUTTONS (.btn)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border-radius: 99px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

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

.btn:active {
  transform: translateY(0);
}

/* Default: Terracotta */
.btn,
.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn:hover,
.btn--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(196, 93, 62, 0.3);
}

/* Honey */
.btn--honey {
  background: var(--honey);
  color: var(--white);
  border-color: var(--honey);
}

.btn--honey:hover {
  background: var(--honey-dark);
  border-color: var(--honey-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(232, 168, 73, 0.3);
}

/* Sage */
.btn--sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn--sage:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(123, 158, 107, 0.3);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn--outline:hover {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(196, 93, 62, 0.3);
}

/* White */
.btn--white {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--charcoal);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Gradient */
.btn--gradient {
  background: var(--gradient-warmth);
  color: var(--white);
  border-color: transparent;
}

.btn--gradient:hover {
  color: var(--white);
  box-shadow: 0 6px 24px rgba(196, 93, 62, 0.35);
  filter: brightness(1.05);
}

/* Small */
.btn--sm {
  font-size: 12px;
  padding: 8px 20px;
}

/* Large */
.btn--lg {
  font-size: 15px;
  padding: 16px 36px;
}

/* --------------------------------------------------------------------------
   31. WAVE DIVIDERS (.wave-divider)
   -------------------------------------------------------------------------- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider--flip {
  transform: rotate(180deg);
  margin-top: 0;
  margin-bottom: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider--cream svg path {
  fill: var(--cream);
}

.wave-divider--sand svg path {
  fill: var(--sand);
}

.wave-divider--white svg path {
  fill: var(--white);
}

.wave-divider--charcoal svg path {
  fill: var(--charcoal);
}

/* --------------------------------------------------------------------------
   32. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
[data-reveal-stagger] > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger] > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger] > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-stagger] > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-stagger] > *:nth-child(5) { transition-delay: 0.25s; }
[data-reveal-stagger] > *:nth-child(6) { transition-delay: 0.3s; }
[data-reveal-stagger] > *:nth-child(7) { transition-delay: 0.35s; }
[data-reveal-stagger] > *:nth-child(8) { transition-delay: 0.4s; }
[data-reveal-stagger] > *:nth-child(9) { transition-delay: 0.45s; }
[data-reveal-stagger] > *:nth-child(10) { transition-delay: 0.5s; }
[data-reveal-stagger] > *:nth-child(11) { transition-delay: 0.55s; }
[data-reveal-stagger] > *:nth-child(12) { transition-delay: 0.6s; }

/* Direction variants */
[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal="scale"].is-visible {
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   33. GENERAL SECTIONS & SPACING
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(40px, 7vw, 80px) 0;
}

.section--sand {
  background: var(--sand);
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

.section--charcoal {
  background: var(--charcoal);
  color: var(--white);
}

.section--charcoal h2,
.section--charcoal h3,
.section--charcoal h4 {
  color: var(--white);
}

.section--charcoal p {
  color: rgba(255, 255, 255, 0.7);
}

/* Section separator: decorative top border with centered ornament */
.section--separated {
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section--separated::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-warmth);
  border-radius: 2px;
}

/* Larger padding for better visual breathing room */
.section--separated + .section--separated {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   34. FORMS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 93, 62, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--soft-gray);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--terracotta);
  margin-top: 2px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   35. PAGINATION (.pagination)
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 0;
}

.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
  background: var(--white);
  border: 1px solid var(--sand);
  transition: var(--transition);
}

.pagination__item:hover {
  color: var(--terracotta);
  border-color: var(--terracotta-light);
  background: rgba(196, 93, 62, 0.04);
}

.pagination__item.is-active {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.pagination__item.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   36. FILTER BAR (.filter-bar)
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  margin-bottom: 8px;
}

.filter-bar__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-right: 4px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-gray);
  background: var(--sand);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--white);
  border-color: var(--terracotta-light);
  color: var(--terracotta);
}

.filter-btn.is-active {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.filter-btn__count {
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 99px;
  padding: 1px 7px;
}

.filter-btn.is-active .filter-btn__count {
  background: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   37. SIDEBAR (.sidebar)
   -------------------------------------------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.sidebar-widget__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.sidebar-widget__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--honey);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   38. ALERT BOXES (.alert)
   -------------------------------------------------------------------------- */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.alert__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.alert--info {
  background: rgba(107, 163, 190, 0.1);
  border-left: 3px solid var(--sky);
  color: var(--charcoal);
}

.alert--success {
  background: rgba(123, 158, 107, 0.1);
  border-left: 3px solid var(--sage);
  color: var(--charcoal);
}

.alert--warning {
  background: rgba(232, 168, 73, 0.1);
  border-left: 3px solid var(--honey);
  color: var(--charcoal);
}

.alert--danger {
  background: rgba(212, 104, 122, 0.1);
  border-left: 3px solid var(--rose);
  color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   39. TIMELINE (.timeline)
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sand);
}

.timeline__item {
  position: relative;
  padding-left: 52px;
  margin-bottom: 32px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--terracotta);
  z-index: 1;
}

.timeline__date {
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline__text {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   40. FAQ / ACCORDION (.accordion)
   -------------------------------------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  text-align: left;
}

.accordion__header:hover {
  color: var(--terracotta);
}

.accordion__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__item.is-open .accordion__body {
  max-height: 500px;
}

.accordion__content {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   41. BACK-TO-TOP (.back-to-top)
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 900;
  border: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--terracotta-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   42. COOKIE BANNER (.cookie-banner)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(45, 41, 38, 0.1);
  z-index: 9000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 14px;
  color: var(--warm-gray);
  flex: 1;
}

.cookie-banner__text a {
  color: var(--terracotta);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   43. LOADING & SKELETON
   -------------------------------------------------------------------------- */
.skeleton {
  background: linear-gradient(90deg, var(--sand) 25%, var(--cream) 50%, var(--sand) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}

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

/* --------------------------------------------------------------------------
   44. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Extra small: <480px */
@media (max-width: 480px) {
  .top-bar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .top-bar__stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }

  .top-bar__stat-text {
    display: none;
  }

  .top-bar__divider {
    height: 14px;
  }

  .top-bar__right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-bar__email span,
  .top-bar__email {
    font-size: 12px;
  }

  .hero-split__actions {
    flex-direction: column;
  }

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

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

  .pillar-cards {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .donate-banner {
    padding: 28px 16px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .team-member__photo {
    width: 120px;
    height: 120px;
  }

  .pagination {
    gap: 4px;
  }

  .pagination__item {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }

  .filter-bar {
    justify-content: center;
  }
}

/* Small: <768px */
@media (max-width: 768px) {
  .top-bar__stats {
    gap: 10px;
  }

  .top-bar__stat-text {
    display: none;
  }

  .top-bar__email {
    font-size: 12px;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-split__image {
    height: 260px;
    max-height: 50vw;
  }

  .animal-detail {
    grid-template-columns: 1fr;
  }

  .media-gallery__main img {
    max-height: 280px;
  }

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

  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .home-news-stack .news-card--small {
    grid-template-columns: 1fr;
  }

  .pillar-cards {
    grid-template-columns: 1fr;
  }

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

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

  h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .section {
    padding: clamp(32px, 6vw, 56px) 0;
  }

  .text-box {
    padding: 24px 20px;
  }

  .profile-card {
    padding: 22px 18px;
  }
}

/* Medium: <1024px */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

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

/* Large: >1360px - box layout with visible margins */
@media (min-width: 1361px) {
  .site-frame {
    max-width: 1280px;
    margin: 32px auto;
  }

  body {
    padding: 0 20px;
  }
}

/* --------------------------------------------------------------------------
   45. PREFERS REDUCED MOTION
   -------------------------------------------------------------------------- */
@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .animal-card:nth-child(odd),
  .animal-card:nth-child(even) {
    transform: none;
  }

  .animal-card:hover {
    transform: none;
  }

  .nav-cta {
    animation: none;
  }

  .scroll-progress {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   46. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    background: none !important;
    background-image: none !important;
  }

  .site-frame {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .top-bar,
  .main-nav,
  .nav-toggle,
  .scroll-progress,
  .back-to-top,
  .cookie-banner,
  .social-share,
  .filter-bar,
  .wave-divider,
  .footer-wave,
  .site-footer {
    display: none !important;
  }

  .btn {
    display: none !important;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  .animal-card,
  .news-card,
  .text-box,
  .profile-card {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd;
  }

  .hero-split {
    display: block;
  }

  .hero-split__image {
    display: none;
  }

  .hero-split__content {
    padding: 20px 0;
  }

  .hero-small {
    padding: 20px 0;
  }

  .animal-grid,
  .bento-grid {
    display: block;
  }

  .animal-grid .animal-card,
  .bento-grid .animal-card {
    margin-bottom: 20px;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   47. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 40px; }

.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 40px; }

.mx-auto { margin-left: auto; margin-right: auto; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline-flex { display: inline-flex; }
.d-none { display: none; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-terracotta { color: var(--terracotta); }
.text-honey { color: var(--honey); }
.text-sage { color: var(--sage); }
.text-rose { color: var(--rose); }
.text-charcoal { color: var(--charcoal); }
.text-warm-gray { color: var(--warm-gray); }
.text-white { color: var(--white); }

.bg-sand { background-color: var(--sand); }
.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }
.bg-charcoal { background-color: var(--charcoal); }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 50%; }
.rounded-pill { border-radius: 99px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.no-select {
  -webkit-user-select: none;
  user-select: none;
}

/* ==========================================================================
   CINEMA DETAIL PAGES — Netflix/Amazon-Style Animal Profiles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CINEMA HERO — Full-Width Backdrop with Gradient Overlay
   -------------------------------------------------------------------------- */
.cinema-hero {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: var(--charcoal);
}

.cinema-hero__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cinema-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Ken Burns effect */
  animation: cinemaKenBurns 20s ease-in-out alternate infinite;
}

.cinema-hero__image--active {
  opacity: 1;
}

@keyframes cinemaKenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.04); }
}

/* Dual gradient overlay: bottom-to-top + left-to-right */
.cinema-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(45, 41, 38, 0.95) 0%, rgba(45, 41, 38, 0.5) 40%, transparent 70%),
    linear-gradient(to right, rgba(45, 41, 38, 0.6) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* Content overlay positioned at bottom-left */
.cinema-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}

.cinema-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.cinema-hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   CINEMA BADGE — Glassmorphism Status Badges
   -------------------------------------------------------------------------- */
.cinema-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cinema-badge--glueckspilz {
  background: rgba(123, 158, 107, 0.35);
  color: var(--sage-light);
}

.cinema-badge--reserviert {
  background: rgba(232, 168, 73, 0.35);
  color: var(--honey-light);
}

/* --------------------------------------------------------------------------
   CINEMA PILLS — Glassmorphism Trait Pills in Hero
   -------------------------------------------------------------------------- */
.cinema-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.cinema-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--spring);
}

.cinema-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   CINEMA HERO CTAs
   -------------------------------------------------------------------------- */
.cinema-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn--glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  cursor: pointer;
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn--block {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   CINEMA THUMBSTRIP — Horizontal Film-Strip Gallery
   -------------------------------------------------------------------------- */
.cinema-thumbstrip {
  background: var(--charcoal);
  padding: 1rem 0 1.25rem;
}

.cinema-thumbstrip__track {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--warm-gray) transparent;
  padding-bottom: 0.25rem;
}

.cinema-thumbstrip__track::-webkit-scrollbar {
  height: 4px;
}

.cinema-thumbstrip__track::-webkit-scrollbar-track {
  background: transparent;
}

.cinema-thumbstrip__track::-webkit-scrollbar-thumb {
  background: var(--warm-gray);
  border-radius: 2px;
}

.cinema-thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--spring);
  background: rgba(255, 255, 255, 0.05);
  scroll-snap-align: start;
  padding: 0;
}

.cinema-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cinema-thumb:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.08);
}

.cinema-thumb--active {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 1px var(--terracotta);
}

.cinema-thumb--video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.cinema-thumb--video i {
  font-size: 1.4rem;
}

/* --------------------------------------------------------------------------
   CINEMA BODY — Main + Sidebar Grid
   -------------------------------------------------------------------------- */
.cinema-body {
  padding: 3rem 0 4rem;
}

.cinema-body__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.cinema-body__main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* --------------------------------------------------------------------------
   CINEMA SECTION TITLE
   -------------------------------------------------------------------------- */
.cinema-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cinema-section-title i {
  color: var(--terracotta);
  font-size: 1.3rem;
}

/* --------------------------------------------------------------------------
   CINEMA STECKBRIEF — Profile Card
   -------------------------------------------------------------------------- */
.cinema-steckbrief {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cinema-steckbrief__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.cinema-steckbrief__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: var(--radius);
}

.cinema-steckbrief__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-gray);
}

.cinema-steckbrief__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cinema-steckbrief__value i {
  color: var(--terracotta);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   CINEMA TRAITS — Boolean Chips
   -------------------------------------------------------------------------- */
.cinema-traits {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cinema-traits__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cinema-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--spring);
  cursor: default;
}

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

.cinema-chip--yes {
  background: rgba(123, 158, 107, 0.12);
  color: var(--sage-dark);
  border: 1px solid rgba(123, 158, 107, 0.25);
}

.cinema-chip--yes i {
  color: var(--sage);
}

.cinema-chip--no {
  background: rgba(163, 158, 153, 0.12);
  color: var(--warm-gray);
  border: 1px solid rgba(163, 158, 153, 0.25);
}

.cinema-chip--no i {
  color: var(--soft-gray);
}

.cinema-chip--maybe {
  background: rgba(232, 168, 73, 0.12);
  color: var(--honey-dark);
  border: 1px solid rgba(232, 168, 73, 0.25);
}

.cinema-chip--maybe i {
  color: var(--honey);
}

/* --------------------------------------------------------------------------
   CINEMA ABOUT — Description Text Block
   -------------------------------------------------------------------------- */
.cinema-about {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cinema-about__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.cinema-about__text p {
  margin-bottom: 1rem;
}

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

/* --------------------------------------------------------------------------
   CINEMA SHARE — Social Share Row
   -------------------------------------------------------------------------- */
.cinema-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cinema-share__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--warm-gray);
}

.cinema-share__buttons {
  display: flex;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   CINEMA SIDEBAR — Sticky Side Panel
   -------------------------------------------------------------------------- */
.cinema-body__sidebar {
  position: relative;
}

.cinema-sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Quick Facts Box */
.cinema-quickfacts {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.cinema-quickfacts__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cinema-quickfacts__title i {
  color: var(--terracotta);
}

.cinema-quickfacts__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cinema-quickfacts__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 0.5rem 0.75rem;
  background: var(--cream);
  border-radius: var(--radius);
}

.cinema-quickfacts__list li i {
  color: var(--terracotta);
  width: 1.1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Back Link */
.cinema-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--warm-gray);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.cinema-back-link:hover {
  color: var(--terracotta);
}

.cinema-back-link i {
  transition: transform 0.2s ease;
}

.cinema-back-link:hover i {
  transform: translateX(-3px);
}

/* --------------------------------------------------------------------------
   CINEMA RESPONSIVE — Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet: 768–1024px */
@media (max-width: 1024px) {
  .cinema-body__grid {
    grid-template-columns: 1fr 280px;
    gap: 2rem;
  }

  .cinema-hero {
    height: 480px;
  }

  .cinema-hero__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
}

/* Mobile: <768px */
@media (max-width: 767px) {
  .cinema-hero {
    height: 400px;
  }

  .cinema-hero__content {
    padding-bottom: 2rem;
  }

  .cinema-hero__title {
    font-size: 2rem;
  }

  .cinema-hero__subtitle {
    font-size: 1rem;
  }

  .cinema-hero__ctas {
    flex-direction: column;
  }

  .cinema-hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .cinema-pills {
    gap: 0.4rem;
  }

  .cinema-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
  }

  .cinema-body__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cinema-sidebar-sticky {
    position: static;
  }

  .cinema-body {
    padding: 2rem 0 3rem;
  }

  .cinema-steckbrief,
  .cinema-traits,
  .cinema-about {
    padding: 1.5rem;
  }
}

/* Small Mobile: <480px */
@media (max-width: 479px) {
  .cinema-hero {
    height: 340px;
  }

  .cinema-hero__title {
    font-size: 1.7rem;
  }

  .cinema-steckbrief__grid {
    grid-template-columns: 1fr;
  }

  .cinema-traits__grid {
    gap: 0.5rem;
  }

  .cinema-chip {
    font-size: 0.82rem;
    padding: 0.4rem 0.8rem;
  }

  .cinema-thumb {
    width: 80px;
    height: 54px;
  }
}

/* --------------------------------------------------------------------------
   49. GLOBAL SIDEBAR LAYOUT (.page-with-sidebar)
   -------------------------------------------------------------------------- */

.page-with-sidebar__aside {
  display: none;
}

@media (min-width: 1025px) {
  .page-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
    align-items: start;
  }

  .page-with-sidebar__content {
    min-width: 0;
  }

  .page-with-sidebar__content .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .page-with-sidebar__aside {
    display: block;
  }
}

@media (min-width: 1361px) {
  .page-with-sidebar {
    grid-template-columns: 1fr 320px;
    max-width: 1280px;
  }
}

/* --------------------------------------------------------------------------
   50. SIDEBAR STICKY + WIDGET EXTENSIONS
   -------------------------------------------------------------------------- */

.sidebar--sticky {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}

.sidebar--sticky::-webkit-scrollbar {
  width: 4px;
}

.sidebar--sticky::-webkit-scrollbar-thumb {
  background: var(--sand);
  border-radius: 2px;
}

/* ── News-Liste ── */

.sidebar-widget__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-widget__link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--charcoal);
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.sidebar-widget__link:hover {
  background: var(--cream);
  color: var(--terracotta);
}

.sidebar-widget__thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebar-widget__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-widget__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sidebar-widget__item-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-widget__date {
  font-size: 11px;
  color: var(--soft-gray);
}

.sidebar-widget__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
  margin-top: 12px;
  transition: var(--transition);
}

.sidebar-widget__more:hover {
  gap: 10px;
}

/* ── Tier-Minikarten ── */

.sidebar-widget__animals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-animal-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--charcoal);
  transition: var(--transition);
}

.sidebar-animal-card:hover {
  background: var(--cream);
}

.sidebar-animal-card__img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
}

.sidebar-animal-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-animal-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sidebar-animal-card__name {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
}

.sidebar-animal-card__meta {
  font-size: 12px;
  color: var(--soft-gray);
}

/* ── Buttons-Reihe (Hunde / Katzen) ── */

.sidebar-widget__buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.sidebar-widget__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius);
  color: var(--terracotta);
  background: var(--cream);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-widget__btn:hover {
  background: var(--terracotta);
  color: var(--white);
}

/* ── Wichtige Links ── */

.sidebar-widget__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-widget__links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
}

.sidebar-widget__links li a i {
  color: var(--terracotta);
  width: 16px;
  text-align: center;
  font-size: 12px;
}

.sidebar-widget__links li a:hover {
  background: var(--cream);
  color: var(--terracotta);
}

/* ── Spenden-CTA ── */

.sidebar-widget--cta {
  background: var(--gradient-warmth);
  color: var(--white);
  text-align: center;
}

.sidebar-widget--cta .sidebar-widget__title {
  color: var(--white);
}

.sidebar-widget--cta .sidebar-widget__title::after {
  background: rgba(255, 255, 255, 0.4);
  left: 50%;
  transform: translateX(-50%);
}

.sidebar-widget__title--center {
  text-align: center;
}

.sidebar-widget__cta-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.sidebar-widget__cta-text {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 16px;
}

.sidebar-widget--cta .btn {
  background: var(--white);
  color: var(--terracotta);
  border: none;
}

.sidebar-widget--cta .btn:hover {
  background: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ── Social-Buttons ── */

.sidebar-widget__social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-social-btn--facebook {
  background: #1877F2;
}

.sidebar-social-btn--facebook:hover {
  background: #0d6ce8;
  color: var(--white);
}

.sidebar-social-btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.sidebar-social-btn--instagram:hover {
  opacity: 0.9;
  color: var(--white);
}

/* ── Homepage Sidebar Variante ── */

@media (min-width: 1025px) {
  .page-with-sidebar--home {
    padding: 0;
    max-width: none;
  }

  .page-with-sidebar--home .page-with-sidebar__content .container {
    max-width: 100%;
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
  }

  .page-with-sidebar--home .page-with-sidebar__aside {
    padding-right: clamp(16px, 3vw, 40px);
    padding-top: 0;
  }
}

/* ── Hero-Bild Platzhalter ── */

.hero-split__image--placeholder {
  background: var(--gradient-warmth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-split__image--placeholder::after {
  content: '\f1b0';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   51. SECTION NAV WIDGET (Desktop sidebar)
   -------------------------------------------------------------------------- */

.section-nav-widget__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-nav-widget__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.section-nav-widget__link:hover {
  background: var(--cream);
  color: var(--terracotta);
}

.section-nav-widget__link--active {
  background: var(--cream);
  color: var(--terracotta);
  border-left-color: var(--terracotta);
  font-weight: 600;
}

.section-nav-widget__link i {
  width: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--soft-gray);
}

.section-nav-widget__link:hover i,
.section-nav-widget__link--active i {
  color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   52. SECTION NAV MOBILE (Sticky pill bar)
   -------------------------------------------------------------------------- */

.section-nav-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .section-nav-mobile {
    display: block;
    position: sticky;
    top: 60px;
    z-index: 990;
    background: var(--white);
    border-bottom: 1px solid var(--sand);
    box-shadow: 0 2px 8px rgba(45, 41, 38, 0.06);
  }

  .section-nav-mobile__scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 16px;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .section-nav-mobile__scroll::-webkit-scrollbar {
    display: none;
  }

  .section-nav-mobile__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 99px;
    background: var(--cream);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--sand);
  }

  .section-nav-mobile__pill:hover {
    background: rgba(196, 93, 62, 0.08);
    color: var(--terracotta);
    border-color: rgba(196, 93, 62, 0.2);
  }

  .section-nav-mobile__pill--active {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
  }

  .section-nav-mobile__pill--active:hover {
    background: var(--terracotta-dark);
    color: var(--white);
    border-color: var(--terracotta-dark);
  }

  .section-nav-mobile__pill i {
    font-size: 11px;
  }
}

/* ==========================================================================
   END OF HERZPFOTE THEME CSS
   ========================================================================== */
