/* Hide nav dropdowns until Alpine is ready (prevents flash without blocking x-show) */
.nav-bar:not([data-alpine-ready]) .nav-dropdown {
  display: none !important;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #e8e9ea;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { line-height: 1.25; margin-top: 2rem; margin-bottom: 0.75rem; }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
p { font-size: large; max-width: none; }
ul, ol { font-size: large; padding-left: 1.5rem; margin-top: 0; margin-bottom: 1rem; }
a { color: #028635; text-decoration: underline; }

/* ---------- HEADER & NAVIGATION ---------- */

/* Header: Bergblick über volle Breite, ohne eingebetteten Text (nur HTML-Tagline) */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  /* Fallback-Himmel – bei iOS-Overscroll statt Seiteninhalt sichtbar */
  background-color: #a8bcc8;
}

/* Deckt den Bereich oberhalb des Headers ab (iOS-Scroll-Lücke, ohne transform) */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 100px;
  background-color: #a8bcc8;
  pointer-events: none;
}

.site-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-header__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

/* nav-bar spans full width, grows to fill header */
.nav-bar {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Brand row: image shows through, centered content max-width */
.nav-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem 0.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Nav strip: aligned with content */
.nav-links-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.25rem 0;
  box-sizing: border-box;
}

/* Inner nav: fill the full row width, aligned with brand logo */
.nav-links-row .nav-items {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
}

.nav-logo-link { display: flex; align-items: center; }

.nav-logo {
  height: 72px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.nav-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.nav-brand-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Nav items */
.nav-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  text-decoration: none;
  color: #0f3554;
  font-size: 1.3rem;
  font-weight: 500;
  transition: background 0.15s;
}

.nav-link:hover { background: rgba(255,255,255,0.45); }

.nav-link.nav-active {
  background: #136831d5;
  color: #dce0dc;
  font-weight: 600;
}

/* Dropdown trigger */
.nav-has-drop { position: relative; }

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #0f3554;
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.nav-drop-trigger:hover { background: rgba(255,255,255,0.45); }
.nav-drop-trigger.nav-active {
  background: #136831d5;
  color: #dce0dc;
  font-weight: 600;
}

.nav-chevron {
  font-size: 1em;
  transition: transform 0.2s;
  display: inline-block;
}
.nav-chevron.open { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 0.4rem 0;
  list-style: none;
  margin: 0;
  z-index: 200;
}

.nav-dropdown li a {
  display: block;
  padding: 0.45rem 1rem;
  color: #1f2937;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-dropdown li a:hover { background: #f0f9f4; color: #028635; }

/* Burger – hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  position: relative;
  z-index: 10;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Mobile */
@media (max-width: 780px) {
  .site-header { min-height: auto; }
  .nav-brand-row { padding: 0.6rem 1rem 0.4rem; }
  .nav-links-row .nav-items { padding-left: 1rem; padding-right: 1rem; }
  .nav-burger { display: flex; }

  .nav-items {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.4rem 0;
    gap: 0.1rem;
  }
  .nav-items.nav-open { display: flex; }

  .nav-has-drop { width: 100%; }
  .nav-drop-trigger { width: 100%; }

  .nav-dropdown {
    position: static;
    box-shadow: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.4rem 0;
    margin: 0.25rem 0 0.25rem 0.5rem;
    max-height: min(50vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-dropdown li a {
    color: #1f2937;
  }

  .nav-dropdown li a:hover,
  .nav-dropdown li a:active {
    background: #f0f9f4;
    color: #028635;
  }
}

@media (max-width: 480px) {
  .nav-logo { height: 52px; }
  .nav-brand { gap: 0.5rem; }
  .nav-brand-name { font-size: 1.05rem; }
  .nav-brand-tagline { font-size: 0.75rem; }
}

@media (max-width: 380px) {
  .nav-brand-row { padding: 0.5rem 0.65rem 0.35rem; gap: 0.35rem; }
  .nav-logo { height: 46px; }
  .nav-brand-name { font-size: 0.95rem; }
  .nav-brand-tagline { display: none; }
}

/* ---------- Dropdown Arrows (keep for non-header use) ---------- */
.arrow, .arrow-large, .arrow-xlarge { font-size: 1.1em; line-height: 1; vertical-align: middle; }

/* ---------- Hero ---------- */
/* Hero: Seitentitel, optional hero-img/slideshow, fetter Lead; Rest in .page-body */
.hero { padding: 2rem 1.5rem; background: #0286351c; }
.hero h1 {
  margin-top: 0;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: break-word;
}
.hero h1 br {
  display: none;
}
@media (max-width: 380px) {
  .hero { padding: 1.25rem 1rem; }
  .hero h1 br.hero-br-narrow {
    display: inline;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  .hero p,
  .hero p strong {
    font-weight: 400;
  }
}
@media (min-width: 381px) and (max-width: 640px) {
  .hero h1 br.hero-br-wide {
    display: inline;
  }
}
.hero h2 { margin-top: 1rem; }
.hero + section,
.hero + div {
  margin-top: 3rem;
}
.hero + .legal-section {
  margin-top: 1rem;
}
.page-body > :first-child {
  margin-top: 0;
}
.page-body + section.mt-8 {
  margin-top: 2rem;
}

/* ---------- Projekte ---------- */
article {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
article:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
article a { color: #028635; font-weight: 500; }

.projects-grid article img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  background: #f3f4f6;
}

.projects-grid article {
  gap: 0.25rem;
}

.projects-grid article h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

.projects-grid article .button {
  margin-top: 0.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: #028635;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
  align-self: flex-start;
}
.button:hover { background: #026b2a; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 3rem;
  background: #e8e9ea;
  color: #0f3554;
}
.footer a { color: #028635; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-col strong,
.footer-copy,
.hero p strong {
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.gallery-item img {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: #4b5563;
  border-top: 1px solid #f0f0f0;
}

.gallery-grid--thumbs .gallery-item a {
  display: block;
  text-decoration: none;
}

.gallery-grid--thumbs .gallery-item img {
  object-fit: contain;
  background: #f3f4f6;
}

/* ---------- Main + sidebar gallery (Verein, Startseite) ---------- */
.lpv-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.lpv-layout .hero-img {
  margin-top: 0;
}

.lpv-galerie {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lpv-galerie-item {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.lpv-galerie-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lpv-galerie-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 10 / 7;
}

.lpv-galerie-item--contain img {
  aspect-ratio: auto;
  max-height: 200px;
  object-fit: contain;
  background: #f3f4f6;
}

.lpv-galerie--portrait .lpv-galerie-item img {
  aspect-ratio: 3 / 4;
  object-position: top;
}

.lpv-galerie-item figcaption {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: #6b7280;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 700px) {
  .lpv-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- Content+Sidebar Layout ---------- */
.content-sidebar-layout {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .content-sidebar-layout {
    grid-template-columns: 1fr 260px;
  }
}

.content-sidebar h2,
.mt-0 {
  margin-top: 0;
}

.projekt-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.projekt-liste a {
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  color: #028635;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.projekt-liste a:hover {
  background: #f0f9f0;
  border-left-color: #028635;
}

/* ---------- Aktuell ---------- */
.aktuell-item {
  border-left: 3px solid #028635;
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.aktuell-item p {
  margin: 0;
}

.divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 0.75rem;
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-card h3 {
  font-size: 0.95rem;
  margin: 0.5rem 0 0.25rem;
}

.team-card p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}

/* ---------- Inline image ---------- */
.inline-img {
  margin: 0 0 1.5rem;
  max-width: 500px;
}

.inline-img img {
  width: 100%;
  border-radius: 6px;
}

.inline-img figcaption {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.3rem;
}

/* ---------- Veranstaltungen ---------- */
.veranstaltung-liste {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.veranstaltung-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

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

.veranstaltung-datum {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.veranstaltung-datum-tag {
  font-weight: 600;
  color: #028635;
}

.veranstaltung-datum-zeit {
  font-weight: 400;
  color: #6b7280;
}

.veranstaltung-inhalt h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.veranstaltung-inhalt p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* ---------- Pressespiegel ---------- */
.presse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.presse-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  color: inherit;
}

.presse-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }

.presse-card-img {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.presse-card-img:hover img {
  opacity: 0.92;
}

.presse-card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  object-position: top center;
  background: #f3f4f6;
  padding: 0.35rem;
  box-sizing: border-box;
}

.presse-card-body {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.presse-quelle {
  font-size: 0.8rem;
  font-weight: 600;
  color: #028635;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.presse-card h3 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.35;
  color: #1f2937;
}

.presse-card time {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: auto;
  padding-top: 0.5rem;
}

.presse-link-hint {
  font-size: 0.85rem;
  color: #028635;
  margin-top: 0.35rem;
}

.presse-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  text-decoration: none;
  color: inherit;
  margin-top: 0.15rem;
}

.presse-card-text:hover h3,
.presse-card-text:hover .presse-link-hint {
  color: #028635;
}

/* Archiv */
.presse-archiv { margin-top: 0.5rem; }

.presse-year {
  border-bottom: 1px solid #e5e7eb;
}

.presse-year summary {
  padding: 0.6rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #0f3554;
  list-style: none;
  user-select: none;
}

.presse-year summary::-webkit-details-marker { display: none; }
.presse-year summary::before { content: '▶\00a0'; font-size: 0.7em; }
.presse-year[open] summary::before { content: '▼\00a0'; }

.presse-list {
  list-style: none;
  padding: 0.25rem 0 0.75rem 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.presse-list li {
  display: grid;
  grid-template-columns: 8.75rem 1fr;
  gap: 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  align-items: baseline;
  padding: 0.12rem 0;
}

.presse-datum {
  white-space: nowrap;
  color: #6b7280;
  font-size: 0.88rem;
}

.presse-list-main {
  display: inline;
}

.presse-titel {
  font-weight: 500;
  color: #1f2937;
}

.presse-dot {
  color: #9ca3af;
}

.presse-archiv-link {
  text-decoration: underline;
  font-weight: 500;
  white-space: nowrap;
}

.presse-archiv-link:hover {
  color: #026629;
}

.presse-src {
  color: #6b7280;
  font-style: italic;
  font-size: 0.88rem;
}

a.presse-archiv-link.presse-titel {
  text-decoration: underline;
  font-weight: 500;
}

a.presse-archiv-link.presse-titel:hover {
  color: #026629;
}

@media (max-width: 640px) {
  .presse-list li {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

.nowrap { white-space: nowrap; }

/* ---------- Links ---------- */
.link-liste {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-liste li {
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.link-desc {
  color: #6b7280;
  font-size: 0.9rem;
}

/* ---------- Nav overview ---------- */
.nav-overview {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
}

.nav-overview li a {
  display: block;
  padding: 0.6rem 1rem;
  background: #f3f7f4;
  border-radius: 6px;
  text-decoration: none;
  color: #028635;
  font-size: 1.05rem;
  border-left: 3px solid #028635;
}

.nav-overview li a:hover {
  background: #e4f0e5;
}

/* ---------- Hero image ---------- */
.hero-img {
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.hero-img img {
  width: 100%;
  aspect-ratio: 5/2;
  object-fit: cover;
  display: block;
}

.hero-img--align-bottom img {
  object-position: center bottom;
}

.hero-slideshow {
  position: relative;
  aspect-ratio: 5/2;
  overflow: hidden;
}

.hero-hover {
  position: relative;
  aspect-ratio: 5/2;
  overflow: hidden;
}

.hero-hover__desktop,
.hero-hover__mobile {
  width: 100%;
  height: 100%;
}

.hero-hover__desktop picture,
.hero-hover__mobile .hero-slide {
  display: block;
  width: 100%;
  height: 100%;
}

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

.hero-hover__mobile {
  display: none;
}

.hero-hover__mobile .hero-slide {
  position: absolute;
  inset: 0;
}

@media (hover: hover) {
  .hero-hover__mobile {
    display: none;
  }
}

@media (hover: none) {
  .hero-hover__desktop {
    display: none;
  }

  .hero-hover__mobile {
    display: block;
    position: absolute;
    inset: 0;
  }

  .hero-hover__mobile .hero-slide:nth-child(1) {
    animation: hero-fade-a 10s infinite;
  }

  .hero-hover__mobile .hero-slide:nth-child(2) {
    opacity: 0;
    animation: hero-fade-b 10s infinite;
  }
}

.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s;
}

.hero-slideshow .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop: Bild 1 sichtbar, Bild 2 auf Hover */
.hero-slideshow .hero-slide:nth-child(1) { opacity: 1; }
.hero-slideshow .hero-slide:nth-child(2) { opacity: 0; }
.hero-slideshow:hover .hero-slide:nth-child(1) { opacity: 0; }
.hero-slideshow:hover .hero-slide:nth-child(2) { opacity: 1; }

/* Mobil (Touch): Auto-Animation statt Hover */
@media (hover: none) {
  .hero-slideshow .hero-slide:nth-child(1) {
    animation: hero-fade-a 10s infinite;
  }
  .hero-slideshow .hero-slide:nth-child(2) {
    opacity: 0;
    animation: hero-fade-b 10s infinite;
  }

  @keyframes hero-fade-a {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
  }
  @keyframes hero-fade-b {
    0%, 45% { opacity: 0; }
    50%, 95% { opacity: 1; }
    100% { opacity: 0; }
  }
}

/* ---------- Footer (updated) ---------- */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.5rem 1rem;
  font-size: 1rem;
}

.footer-copy {
  width: 100%;
  border-top: 1px solid #3a5c3c;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  color: #02863579;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
  }
}
