/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(../fonts/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 900; font-display: swap; src: url(../fonts/fraunces-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/fraunces-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url(../fonts/inter-latin-800-normal.woff2) format("woff2"); }

/* ---------- Farben: Hyazinthblau und Gold ---------- */
:root {
  --bg: #f7f6f1;          /* Elfenbein */
  --bg-2: #eceff6;        /* Hauch Hyazinthblau */
  --surface: #ffffff;
  --line: rgba(22, 37, 84, .12);
  --text: #18213d;
  --muted: #58617a;
  --forest: #1f3d9b;      /* Hyazinthblau */
  --forest-dark: #142a6b;
  --sage: #e3e8f6;
  --gold: #b0832a;        /* Gold */
  --gold-soft: #f6ecd2;
  --wa: #25d366;
  --shadow: 0 1px 2px rgba(20, 32, 74, .04), 0 12px 32px -12px rgba(20, 32, 74, .14);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.75 var(--sans);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; color: var(--forest-dark); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 18ch; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; overflow-x: clip; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 600 .76rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.accent { font-style: italic; font-weight: 400; color: #f2cf6a; }

.skip { position: absolute; left: -999px; top: 1rem; z-index: 999; background: var(--forest); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 1rem; }

/* ---------- Scroll-Fortschritt ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200; }
.progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1rem 1.7rem; min-height: 52px;
  border-radius: 999px; border: 0; cursor: pointer;
  font: 600 .98rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; color: #fff;
  background: var(--forest);
  box-shadow: 0 10px 24px -12px rgba(20, 42, 107, .6);
  transform: translate(var(--bx), var(--by));
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
  position: relative; overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { background: var(--forest-dark); }
.btn--light { background: #fff; color: var(--forest-dark); box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.btn--light:hover { background: var(--gold-soft); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px #fff; }
.btn--small { padding: .65rem 1.25rem; min-height: 0; font-size: .9rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(1rem, calc((100vw - 1180px) / 2));
  color: #fff;
  transition: background .4s, box-shadow .4s, color .4s, transform .4s var(--ease);
}
.nav.is-solid { background: rgba(247, 246, 241, .9); color: var(--text); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font: 600 1.15rem/1 var(--display); }
.brand em { font-style: italic; font-weight: 400; color: var(--gold); }
.nav:not(.is-solid) .brand em { color: #f2cf6a; }
.nav__links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) { display: block; padding: .6rem .8rem; text-decoration: none; font-size: .93rem; opacity: .85; position: relative; transition: opacity .3s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .4rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:not(.btn):hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links .btn { margin-left: .6rem; }
.nav:not(.is-solid) .nav__links .btn { background: #fff; color: var(--forest-dark); }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #fff; }
.hero__media { position: absolute; inset: -3%; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, .5%); } }
.hero__feathers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 26, 66, .72) 0%, rgba(14, 26, 66, .35) 45%, rgba(14, 26, 66, 0) 75%),
    linear-gradient(to top, rgba(14, 26, 66, .55) 0%, transparent 40%);
}
.hero__content { width: min(1180px, 100% - 2rem); margin: 0 auto; padding: calc(var(--nav-h) + 2rem) 0 clamp(5rem, 13vh, 9rem); }
.hero .eyebrow { color: #f2cf6a; }
.hero__title { font-weight: 600; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: 1.02; max-width: 11ch; margin-bottom: .4em; letter-spacing: -.02em; color: #fff; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 90ms + 150ms); }
.is-loaded .hero__title .w > span { transform: none; }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 40ch; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 4px; animation: wheel 2s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Laufband (dezent) ---------- */
.marquee { overflow: hidden; background: var(--bg-2); color: var(--forest); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; gap: 2.2rem; padding: 1.1rem 0; animation: marquee 60s linear infinite; font: italic 400 clamp(1.1rem, 2.2vw, 1.45rem)/1 var(--display); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: .7em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--clip { opacity: 1; transform: none; clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.reveal--clip img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.reveal--clip.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal--clip.is-in img { transform: scale(1); }

/* ---------- Über uns ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__img { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__img figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--text); backdrop-filter: blur(8px); font-size: .85rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 2.6rem 0 0; border-top: 1px solid var(--line); }
.stat { padding: 1.4rem 1rem 0 0; }
.stat + .stat { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.stat dt { font: 600 clamp(1.8rem, 3.4vw, 2.5rem)/1 var(--display); color: var(--forest); white-space: nowrap; }
.stat dt small { font-size: .5em; margin-left: .15em; color: var(--gold); }
.stat dd { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Arten-Karten ---------- */
.species { background: var(--bg-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; perspective: 1000px; }
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; padding: 2rem 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, opacity 1s var(--ease);
}
.card.reveal { transform: translateY(28px); }
.card.reveal.is-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(176, 131, 42, .12), transparent 50%); opacity: 0; transition: opacity .4s; }
.card:hover { border-color: rgba(176, 131, 42, .45); box-shadow: 0 20px 40px -18px rgba(20, 32, 74, .25); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; transform: translateZ(24px); }
.card__icon { font-size: 1.7rem; margin-bottom: 1.1rem; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--sage); }
.card__icon.alt { background: var(--gold-soft); }
.card p { margin: 0; font-size: .97rem; }

/* ---------- Zucht ---------- */
.breeding__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.breeding__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.breeding__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sage); color: var(--forest); font-weight: 800; font-size: .78rem; margin-top: .2rem; }
.notes { display: grid; gap: .8rem; }
.note { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.note summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--forest-dark); }
.note summary::-webkit-details-marker { display: none; }
.note summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); color: var(--gold); }
.note[open] summary::after { transform: rotate(45deg); }
.note p { padding: 0 1.2rem 1.2rem; margin: 0; }

/* ---------- Zuchtberichte ---------- */
.reports { background: var(--surface); }
.tabs { position: relative; display: inline-flex; padding: .3rem; border-radius: 999px; background: var(--bg-2); margin: 1rem 0 2.5rem; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 600 .98rem/1 var(--sans); padding: .9rem 1.5rem; border-radius: 999px; cursor: pointer; transition: color .3s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__ink { position: absolute; top: .3rem; bottom: .3rem; left: 0; border-radius: 999px; background: var(--forest); transition: transform .5s var(--ease), width .5s var(--ease); }
.panel { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.panel__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.panel__img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.panel__intro { font-size: 1.25rem; color: var(--forest-dark); font-family: var(--display); font-style: italic; font-weight: 400; line-height: 1.55; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .5rem; bottom: .5rem; width: 1px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 7px; top: .5rem; width: 1px; height: calc(var(--fill, 0) * (100% - 1rem)); background: var(--gold); }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; padding-bottom: 2.2rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem + 1.5px); top: .5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 1px solid var(--gold); z-index: 1; transition: background .4s, box-shadow .4s; }
.timeline li.is-in::before { background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.timeline time { font: 600 1.4rem/1.25 var(--display); color: var(--gold); }
.timeline h3 { margin-bottom: .35em; }
.timeline p { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-bottom: 3rem; }
.fact { padding: 1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.fact span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.fact strong { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--forest-dark); }
.mini-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1rem; }
.mini-gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: zoom-in; transition: transform .4s var(--ease); }
.mini-gallery img:hover { transform: scale(1.03); }

/* ---------- Galerie ---------- */
.masonry { columns: 3 280px; column-gap: 1rem; margin-top: 2.5rem; }
.masonry figure { margin: 0 0 1rem; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.masonry figure::after { content: "⤢"; position: absolute; right: 1rem; top: 1rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--forest-dark); opacity: 0; transform: scale(.6); transition: .4s var(--ease); }
.masonry figure:hover::after { opacity: 1; transform: none; }
.masonry img { width: 100%; }
.masonry figure.is-in:hover img { transform: scale(1.05); }

/* ---------- Unterstützen ---------- */
.support { background: var(--bg-2); }
.support__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.docs a { display: block; text-decoration: none; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.docs a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.docs img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; width: 100%; }
.docs span { display: block; padding: .7rem .9rem; font-weight: 600; font-size: .9rem; color: var(--forest-dark); }
.docs small { display: block; font-weight: 400; color: var(--muted); }
.donate { position: sticky; top: calc(var(--nav-h) + 1rem); padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(176, 131, 42, .35); box-shadow: var(--shadow); }
.donate__row { padding: 1.1rem 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.donate__row span { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.donate code { font: 600 1.05rem/1.4 var(--sans); word-break: break-all; color: var(--forest-dark); }
.copy { justify-self: start; border: 1px solid var(--line); background: var(--bg); color: var(--forest-dark); padding: .6rem 1rem; border-radius: 999px; cursor: pointer; font: 600 .86rem/1 var(--sans); min-height: 40px; transition: background .3s, color .3s, border-color .3s; }
.copy:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; perspective: 1000px; }
.ccard {
  --rx: 0deg; --ry: 0deg; --accent: var(--forest);
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  padding: 1.8rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), border-color .3s, opacity 1s var(--ease);
}
.ccard--wa { --accent: #1da851; background: linear-gradient(160deg, #eef8f1, #fff 70%); }
.ccard.reveal { transform: translateY(28px); }
.ccard.reveal.is-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.ccard:hover { border-color: var(--accent); }
.ccard svg { width: 40px; height: 40px; fill: var(--accent); color: var(--accent); margin-bottom: 1.2rem; }
.ccard address { font-style: normal; color: var(--muted); margin-bottom: 1.1em; }
.ccard p { font-size: .95rem; }
.ccard__val { margin-top: auto; font-weight: 600; color: var(--accent); word-break: break-word; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-dark); color: #e8ebf5; padding: 3.5rem 0 6rem; }
.footer__grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.footer p { margin: .8rem 0 0; font-size: .9rem; color: rgba(232, 235, 245, .7); }
.footer .brand em { color: #f2cf6a; }
.footer ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer ul a { text-decoration: none; color: rgba(232, 235, 245, .8); }
.footer ul a:hover { color: #fff; }
.footer__copy { text-align: center; font-size: .82rem; margin-top: 2rem !important; }

/* ---------- WhatsApp-Button ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 150;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 26px -8px rgba(20, 120, 60, .55);
  transform: scale(0); animation: popIn .6s var(--ease) 1.6s forwards;
  transition: box-shadow .3s;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; color: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 3s ease-out infinite 2.4s; }
.wa-float:hover { box-shadow: 0 14px 34px -8px rgba(20, 120, 60, .75); }
.wa-float__tip { position: absolute; right: calc(100% + .8rem); white-space: nowrap; background: #fff; color: var(--text); padding: .55rem .9rem; border-radius: 12px; font: 600 .86rem/1 var(--sans); box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: .35s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: none; }
.has-host-badge .wa-float { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 70px); }
.wa-float { transition: box-shadow .3s, bottom .4s var(--ease); }
@keyframes popIn { to { transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox & Toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(10, 18, 44, .92); backdrop-filter: blur(10px); padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: min(1400px, 100%); width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: zoomIn .45s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .3s; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.toast { position: fixed; left: 50%; bottom: 2rem; z-index: 400; transform: translate(-50%, calc(100% + 3rem)); opacity: 0; background: var(--forest-dark); color: #fff; font-weight: 600; padding: .8rem 1.3rem; border-radius: 999px; transition: transform .5s var(--ease), opacity .3s; pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .cards, .contact__grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .burger { display: grid; gap: 6px; width: 48px; height: 48px; place-content: center; border: 0; background: transparent; border-radius: 12px; cursor: pointer; z-index: 2; }
  .burger span { width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
  .nav .burger { color: inherit; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav:has(.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; color: var(--text); }
  .nav__links {
    position: fixed; inset: 0; height: 100vh; height: 100dvh; flex-direction: column; justify-content: center; gap: .4rem;
    background: var(--bg); color: var(--text);
    clip-path: circle(0 at calc(100% - 2.5rem) 2rem); transition: clip-path .7s var(--ease);
    visibility: hidden;
  }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2rem); visibility: visible; }
  .nav__links a:not(.btn) { font: 600 1.8rem/1.2 var(--display); color: var(--forest-dark); opacity: 1; padding: .5rem 1rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links li { opacity: 0; transform: translateY(20px); transition: .5s var(--ease); }
  .nav__links.is-open li { opacity: 1; transform: none; }
  .nav__links.is-open li:nth-child(n) { transition-delay: calc(.05s * var(--n, 1) + .15s); }
  .nav .nav__links .btn { margin: 1rem 0 0; font-size: 1.05rem; padding: 1rem 2rem; background: var(--forest); color: #fff; }

  .about__grid, .breeding__grid, .support__grid, .panel__head { grid-template-columns: 1fr; }
  .about__img img, .breeding__img img { aspect-ratio: 4 / 3; }
  .breeding__img { order: -1; }
  .donate { position: static; }
  .timeline li { grid-template-columns: 1fr; gap: .2rem; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .mini-gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__media img { object-position: 72% 40%; }
  .hero__shade { background: linear-gradient(to top, rgba(14, 26, 66, .85) 10%, rgba(14, 26, 66, .45) 60%, rgba(14, 26, 66, .35) 100%); }
  .wa-float__tip { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cards, .contact__grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .docs span { padding: .5rem .6rem; font-size: .8rem; hyphens: auto; overflow-wrap: anywhere; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: .9rem .6rem; }
  .donate { padding: 1.5rem; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal--clip { opacity: 1; transform: none; clip-path: none; }
  .hero__title .w > span { transform: none; }
  .hero__feathers { display: none; }
}

/* ---------- Rechtliche Seiten ---------- */
.legal .nav { position: sticky; }
.legal__body { max-width: 760px; }
.legal__body h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.legal__body h2 { font-size: 1.3rem; max-width: none; margin-top: 2rem; }
.legal__body a { color: var(--forest); }
.legal .footer { padding-bottom: 3rem; }
.legal .footer a { color: rgba(232, 235, 245, .8); }
.card__num { font: italic 400 1.35rem/1 var(--display); color: var(--forest); }
