/* Gnadenhof Lambachhof — Stylesheet
   Phase 1:    2026-05-18  Platzhalter
   Phase 1.5:  2026-05-18  volle Hand-HTML-Site
   Redesign:   2026-05-18  "Sonnige Wiese" — bunt, modern, viel Schwung
                            (Wunsch Claudia: lebendig & farbig "wie das Leben")

   Palette: Wiesengrün (Logo) · Sonnengelb · Himmelblau · Koralle · Creme
   Kein JS. Mobile-first. Bestehende Klassennamen bleiben kompatibel.
   Schrift: Source Sans 3 (Variable, SIL OFL), selbst gehostet — kein
   externer Request, DSGVO-konform; System-Stack als Fallback. */

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farbwelt */
  --c-cream:     #FCF8F0;   /* einen Tick reiner/frischer */
  --c-cream-2:   #F7EFDD;
  --c-surface:   #FFFFFF;
  --c-text:      #2C2117;
  --c-text-soft: #6A5A49;

  --c-green:     #4B7D41;   /* Logo / Primär — Marken-Anker, unverändert */
  --c-green-deep:#34602C;
  --c-yellow:    #FFC21A;   /* Sonnengelb — leuchtender */
  --c-yellow-deep:#EBA600;
  --c-blue:      #45B8DD;   /* Himmelblau — frischer */
  --c-blue-deep: #2F95B8;
  --c-coral:     #F4744B;   /* Koralle — frischer */
  --c-coral-deep:#D9572B;

  --c-line:      #F0E7D2;

  /* Rotierender Section-Akzent (per nth-of-type gesetzt) */
  --accent:      var(--c-green);
  --accent-soft: rgba(75,125,65,0.13);

  --radius:   18px;
  --radius-s: 12px;
  --maxw:     760px;     /* Lesetext  */
  --maxw-wide:1100px;    /* Grids, Header, Bänder */

  --shadow-s: 0 2px 8px rgba(44,33,23,0.06);
  --shadow-m: 0 10px 30px rgba(44,33,23,0.10);
  --shadow-l: 0 20px 50px rgba(44,33,23,0.14);

  --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Scrollbar-Platz immer reservieren → keine horizontalen "Sprünge"
     beim Wechsel zwischen kurzen/langen Seiten */
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 1.06rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--c-green-deep); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--c-coral-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--c-text);
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); margin-top: 2.5rem; }
h3 { font-size: 1.2rem; margin-top: 1.4rem; }
p  { margin: 0 0 1rem; }

main { flex: 1 0 auto; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--wide { max-width: var(--maxw-wide); }

/* Kicker / Eyebrow — kleines buntes Label über Headlines */
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--c-green); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); overflow: hidden;
}

/* ---------------------------------------------------------------------------
   Header + Navigation — sticky, modern, bunt
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .bar {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}
.brand { display: inline-flex; line-height: 0; text-decoration: none; }
.brand-logo { width: auto; height: 54px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.3rem; }
.site-nav a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--c-text-soft);
  font-weight: 600;
  font-size: 0.97rem;
  transition: background .15s, color .15s;
}
.site-nav a:hover { color: var(--c-green-deep); background: rgba(75,125,65,0.10); }
.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--c-green);
}
.site-nav a.nav-cta {
  background: var(--c-yellow);
  color: #3a2c00;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255,194,26,0.42);
}
.site-nav a.nav-cta:hover { background: var(--c-yellow-deep); color: #2c2117; }

/* ---------------------------------------------------------------------------
   Hero (Startseite) — farbiger Verlauf + Blobs + Logo + Bild
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(40rem 40rem at 12% -10%, rgba(255,194,26,0.36), transparent 60%),
    radial-gradient(38rem 38rem at 92% 8%, rgba(69,184,221,0.36), transparent 60%),
    radial-gradient(34rem 34rem at 70% 110%, rgba(244,116,75,0.30), transparent 60%),
    linear-gradient(180deg, var(--c-cream), var(--c-cream-2));
  border-bottom: 1px solid var(--c-line);
}
.hero-title { margin: 0 0 1.1rem; line-height: 0; }
.hero-logo { display: block; width: auto; max-width: min(82%, 460px); height: auto; margin: 0 auto; }
.hero .tagline {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  color: var(--c-green-deep);
  max-width: 620px;
  margin: 0 auto 1.6rem;
}
.hero .btn-row { justify-content: center; }
.hero-media {
  max-width: var(--maxw-wide);
  margin: 2.2rem auto 0;
}
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-m);
}

/* Phase-1-Kompat */
.hero--compact { padding: 1.5rem 1.25rem; }
.hero--compact .hero-logo { max-width: min(55%, 230px); }
.hero--compact .doc-title { font-size: 1.5rem; font-weight: 800; margin: 0.5rem 0 0; }

/* ---------------------------------------------------------------------------
   Page-Head (Unterseiten) — farbiges Band, je Seite eingefärbt via --accent
   --------------------------------------------------------------------------- */
.crumbs {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0.9rem 1.25rem 0;
  font-size: 0.85rem;
  color: var(--c-text-soft);
}
.crumbs a { color: var(--c-text-soft); }
.crumbs span[aria-current] { color: var(--accent); font-weight: 700; }
.page-head {
  text-align: center;
  padding: clamp(1.6rem, 4vw, 2.6rem) 1.25rem;
  background:
    radial-gradient(30rem 18rem at 50% -40%, var(--accent-soft), transparent 70%),
    var(--c-cream);
}
.page-head h1 { margin: 0 0 0.5rem; }
.page-head h1::after {
  content: "";
  display: block;
  width: 64px; height: 5px;
  margin: 0.7rem auto 0;
  border-radius: 999px;
  background: var(--accent);
}
.page-head .subtitle {
  color: var(--c-text-soft);
  font-size: 1.1rem;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Sections — rotierender Farb-Akzent (Schwung)
   --------------------------------------------------------------------------- */
.container > section,
.container.dokument { padding: 2.6rem 0; border-bottom: 1px solid var(--c-line); }
.container > section:last-of-type { border-bottom: 0; }
.container > section:nth-of-type(4n+1){ --accent:var(--c-green);  --accent-soft:rgba(75,125,65,0.13); }
.container > section:nth-of-type(4n+2){ --accent:var(--c-yellow);  --accent-soft:rgba(255,194,26,0.18); }
.container > section:nth-of-type(4n+3){ --accent:var(--c-blue);   --accent-soft:rgba(69,184,221,0.18); }
.container > section:nth-of-type(4n+4){ --accent:var(--c-coral);  --accent-soft:rgba(244,116,75,0.17); }
.container > section > h2:first-child,
.container > section > .kicker:first-child { margin-top: 0; }
.container > section h2 {
  display: inline-block;
  padding-bottom: 0.3rem;
  border-bottom: 4px solid var(--accent);
}

.lead { font-size: 1.18rem; color: var(--c-text-soft); }

/* Callout / Hinweis */
.callout, .bauhinweis {
  border-left: 5px solid var(--accent);
  padding: 1rem 1.2rem;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin: 1.4rem 0;
}

/* ---------------------------------------------------------------------------
   Bild-Platzhalter — bunt & freundlich (statt grauer Kästen)
   .ph  |  Varianten .ph--y/.ph--b/.ph--c  |  in .gallery rotieren automatisch
   --------------------------------------------------------------------------- */
.ph {
  --g1: #74C863; --g2: #45B8DD;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-s);
  background: linear-gradient(135deg, var(--g1), var(--g2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(8rem 8rem at 80% 15%, rgba(255,255,255,0.30), transparent 60%),
    radial-gradient(7rem 7rem at 15% 85%, rgba(255,255,255,0.20), transparent 60%);
}
.ph::after { content: "📷"; font-size: 1.9rem; }
.ph[data-icon]::after { content: attr(data-icon); }
.ph .ph-label { font-size: 0.9rem; opacity: 0.95; }
.ph--y { --g1:#FFC21A; --g2:#F4744B; }
.ph--b { --g1:#45B8DD; --g2:#4B7D41; }
.ph--c { --g1:#F4744B; --g2:#FFC21A; }
.ph--wide { aspect-ratio: 16 / 7; }
.ph--tall { aspect-ratio: 3 / 4; }

/* Galerie — viele Platzhalter, automatisch farbig durchrotiert */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
}
.gallery .ph:nth-child(4n+1){ --g1:#74C863; --g2:#45B8DD; }
.gallery .ph:nth-child(4n+2){ --g1:#FFC21A; --g2:#F4744B; }
.gallery .ph:nth-child(4n+3){ --g1:#45B8DD; --g2:#4B7D41; }
.gallery .ph:nth-child(4n+4){ --g1:#F4744B; --g2:#FFC21A; }

/* ---------------------------------------------------------------------------
   Karten — weiß, rund, Schatten, Hover-Lift, bunter Topbalken
   --------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.4rem;
  margin: 1.7rem 0;
}
.card {
  position: relative;
  display: block;
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 6px;
  background: var(--accent, var(--c-green));
}
a.card:hover, .card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.card h3 { margin-top: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-media,
.card .ph { margin: -0.3rem 0 1rem; }
.card-grid .card:nth-child(4n+1){ --accent:var(--c-green); }
.card-grid .card:nth-child(4n+2){ --accent:var(--c-yellow); }
.card-grid .card:nth-child(4n+3){ --accent:var(--c-blue); }
.card-grid .card:nth-child(4n+4){ --accent:var(--c-coral); }
/* Tier-Karten: echte Tier-Illustration in Naturfarben auf hellem Feld */
.animal-media {
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 70%, #fff, var(--c-cream-2));
  border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  margin: -0.3rem 0 1rem;
  overflow: hidden;
}
.animal-media img { width: auto; height: 80%; max-width: 82%; object-fit: contain; }

/* alter Phase-1-Name .card-media weiter unterstützt */
.card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg,#74C863,#45B8DD);
  border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}

/* ---------------------------------------------------------------------------
   CTA-Band — volle Breite, farbiger Verlauf, viel Schwung
   --------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(30rem 30rem at 10% 10%, rgba(255,194,26,0.52), transparent 60%),
    radial-gradient(28rem 28rem at 90% 90%, rgba(244,116,75,0.50), transparent 60%),
    linear-gradient(135deg, var(--c-green), var(--c-blue-deep));
}
.cta-band h2 {
  color: #fff; border: 0; display: block;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 auto 0.6rem; max-width: 18ch;
}
.cta-band p { color: rgba(255,255,255,0.92); max-width: 46ch; margin: 0 auto 1.5rem; }

/* ---------------------------------------------------------------------------
   Buttons — Pills, Sonnengelb für CTA
   --------------------------------------------------------------------------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--c-green);
  color: var(--c-green-deep);
  background: #fff;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); background: var(--c-green); color: #fff; }
.btn--primary {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: #3a2c00;
  box-shadow: 0 8px 24px rgba(255,194,26,0.46);
}
.btn--primary:hover { background: var(--c-yellow-deep); border-color: var(--c-yellow-deep); color: #2c2117; }
.cta-band .btn { background:#fff; border-color:#fff; color: var(--c-green-deep); }
.cta-band .btn--primary { background: var(--c-yellow); border-color: var(--c-yellow); color:#3a2c00; }

/* ---------------------------------------------------------------------------
   Spendenblock / Kontakt / Tiers / Kampagne — modernisiert
   --------------------------------------------------------------------------- */
.spende {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 1.5rem 0;
  border: 1px solid var(--c-line);
  border-top: 6px solid var(--c-green);
  box-shadow: var(--shadow-s);
}
.spende dl {
  display: grid; grid-template-columns: auto 1fr;
  gap: 0.45rem 1.1rem; margin: 1rem 0; font-size: 1rem;
}
.spende dt { font-weight: 700; color: var(--c-text-soft); }
.spende dd {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}
.spende .hinweis { font-size: 0.93rem; color: var(--c-text-soft); margin-top: 0.75rem; }
.kontakt a { font-size: 1.15rem; font-weight: 800; color: var(--c-coral-deep); }

.tiers, .card-grid.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.4rem; margin: 1.6rem 0; }
.tier {
  border: 1px solid var(--c-line);
  border-top: 6px solid var(--c-yellow);
  border-radius: var(--radius);
  background: var(--c-surface);
  padding: 1.6rem 1.3rem;
  text-align: center;
  box-shadow: var(--shadow-s);
}
.tier .tier-name { font-weight: 800; font-size: 1.2rem; }
.tier .tier-price { font-size: 1.8rem; font-weight: 800; color: var(--c-coral-deep); margin: 0.4rem 0; }
.tier .tier-price small { font-size: 0.85rem; font-weight: 600; color: var(--c-text-soft); }
.tier ul { text-align: left; padding-left: 1.1rem; margin: 0.75rem 0 0; }

.campaign {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  padding: 1.6rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-s);
}
.campaign h3 { margin-top: 0; }
.progress { --p:0; height: 16px; background: var(--c-cream-2); border-radius: 999px; overflow: hidden; margin: 0.9rem 0 0.5rem; }
.progress::before {
  content: ""; display: block; height: 100%; width: calc(var(--p) * 1%);
  background: linear-gradient(90deg, var(--c-green), var(--c-yellow));
  border-radius: 999px;
}
.progress-label { font-size: 0.92rem; color: var(--c-text-soft); display: flex; justify-content: space-between; }

/* "Inhalte folgen" — freundlich & bunt statt grau */
.coming-soon {
  border: 2px dashed var(--accent, var(--c-green));
  border-radius: var(--radius);
  background: var(--accent-soft, rgba(75,125,65,0.10));
  padding: 2.2rem 1.5rem;
  text-align: center;
  color: var(--c-text-soft);
  margin: 1.5rem 0;
}
.coming-soon strong { color: var(--c-text); }

/* Impressum/Datenschutz */
.dokument h2 { display: block; border: 0; font-size: 1.3rem; margin-top: 1.6rem; }
.dokument h2::after {
  content: ""; display: block; width: 44px; height: 4px; margin-top: 0.4rem;
  border-radius: 999px; background: var(--c-green);
}
.dokument .meta { font-size: 0.9rem; color: var(--c-text-soft); margin-bottom: 1.4rem; }

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.site-footer {
  /* hell & frisch — Gras wächst am UNTERSTEN Seitenrand (Boden) */
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-surface), var(--c-cream-2));
  color: var(--c-text-soft);
  /* unten: Platz für die Gras-Wiese + 50px mehr Abstand zur Rechtszeile */
  padding: 2.5rem 1.25rem calc(6rem + 50px);
  margin-top: 3rem;
  flex-shrink: 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 88px;
  background: url("deco-grass.svg") repeat-x left bottom;
  background-size: auto 88px;
  pointer-events: none;
}
/* Footer-Wiese: alle 8 Gras-Büschel über die Breite verteilt
   (dichtes deco-grass.svg-Band liegt als Untergrund dahinter) */
.footer-meadow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0 clamp(0.25rem, 3vw, 2.5rem);
  pointer-events: none;
}
.footer-meadow img {
  /* feste Basis-Höhe (skaliert NICHT mit der Fensterbreite),
     pro Büschel "zufällig" gewürfelter Faktor --s */
  height: calc(92px * var(--s, 1));
  width: auto;
  flex: 0 0 auto;
}
.footer-meadow img:nth-child(1) { --s: 1.28; }
.footer-meadow img:nth-child(2) { --s: 1.04; }
.footer-meadow img:nth-child(3) { --s: 1.58; }
.footer-meadow img:nth-child(4) { --s: 1.16; }
.footer-meadow img:nth-child(5) { --s: 1.40; }
.footer-meadow img:nth-child(6) { --s: 1.00; }
.footer-meadow img:nth-child(7) { --s: 1.50; }
.footer-meadow img:nth-child(8) { --s: 1.10; }

/* Igel sitzt (gespiegelt) unten im Gras */
.site-footer::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 14vw, 10rem);
  bottom: 2px;
  width: 126px; height: 126px;
  background: url("art-hedgehog.svg") no-repeat center bottom;
  background-size: contain;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 1;
}

/* Hase sitzt unten rechts im Gras */
.footer-meadow::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 14vw, 10rem);
  bottom: 2px;
  width: 143px; height: 143px;
  background: url("art-rabbit.svg") no-repeat center bottom;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}
.site-footer a { color: var(--c-green-deep); }
.site-footer a:hover { color: var(--c-coral-deep); }
.footer-grid {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.6rem 2rem;
}
.footer-grid h4 { color: var(--c-text); font-size: 1.05rem; margin: 0 0 0.6rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0.32rem 0; }
.footer-legal {
  max-width: var(--maxw-wide);
  margin: 1.8rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.88rem;
  color: var(--c-text-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
}
.footer-legal .footnav a + a { margin-left: 1rem; }

footer:not(.site-footer) {
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg,
      var(--c-green), var(--c-yellow), var(--c-blue), var(--c-coral)) 1;
  background: linear-gradient(180deg, var(--c-surface), var(--c-cream-2));
  color: var(--c-text-soft);
  padding: 2rem 1.25rem; text-align: center; font-size: 0.92rem;
}
footer:not(.site-footer) a { color: var(--c-green-deep); }
footer:not(.site-footer) a:hover { color: var(--c-coral-deep); }
footer:not(.site-footer) .footnav { margin: 0 0 0.5rem; }
footer:not(.site-footer) .footnav a + a { margin-left: 1rem; }

/* ---------------------------------------------------------------------------
   Natur-Deko — hier ist was gewachsen, da ist was gekrabbelt
   (dezent, dekorativ, pointer-events:none — überlagert nie Inhalt/Klicks)
   --------------------------------------------------------------------------- */
.page-head::before,
.cta-band::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* Schmetterling sitzt fast an der oberen rechten Ecke des Hofbildes,
   um 20° im Uhrzeigersinn gedreht */
.hero-media { position: relative; }
.hero-media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 96px; height: 86px;
  background: url("deco-butterfly.svg") no-repeat center / contain;
  /* Mittelpunkt sitzt auf der oberen rechten Bildecke (größenunabhängig) */
  transform: translate(45%, -45%) rotate(20deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 2;
}

/* Unterseiten-Kopf: nur Schmetterling links – subtil */
.page-head { position: relative; overflow: hidden; }
.page-head::before {
  /* alles per Seite "zufällig": Position --bx/--by, Drehung --br,
     Größe --bf (1.0–2.2 = bis +120%) */
  left: var(--bx, 5vw);
  top: var(--by, 0.75rem);
  width: calc(44px * var(--bf, 1));
  height: calc(38px * var(--bf, 1));
  background-image: url("deco-butterfly.svg");
  transform: rotate(var(--br, -25deg));
  transform-origin: center;
  opacity: 0.75;
}

/* CTA-Band: eine Biene als kleiner Lebensfunke */
.cta-band::after {
  right: clamp(0.5rem, 5vw, 4rem);
  bottom: 0.75rem;
  width: 46px; height: 38px;
  background-image: url("deco-bee.svg");
  opacity: 0.9;
}
/* CTA-Band: Gras-Büschel in der unteren linken Ecke (dezent) */
.cta-band::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 130px; height: 130px;
  background: url("deco-tuft-6.svg") no-repeat left bottom;
  background-size: contain;
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 640px) {
  /* auf kleinen Screens nur das Wichtigste, kein Gedränge */
  .page-head::before, .cta-band::after, .cta-band::before { display: none; }
  .footer-meadow img:nth-child(2n) { display: none; }
}

/* ---------------------------------------------------------------------------
   Responsive / Motion
   --------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .site-header .bar { flex-direction: column; align-items: center; }
  .site-nav { justify-content: center; }
  .brand-logo { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
