/* =========================================================
   leinenlos – Demo (GreenLabz Studio)
   Tierbedarf-Shop: warmes Off-White, Tinte, Oliv, Limetten- und Senf-Kleckse, handgezeichnete Doodles
   ========================================================= */
:root {
  --bg: #fbf9f5;
  --ink: #0b0b0b;
  --olive: #abae2d;
  --olive-d: #97a026;
  --lime: #c0c969;
  --yellow: #f6c23e;
  --stone: #ece8dc;
  --line: rgba(11, 11, 11, 0.08);
  --f: "Poppins", system-ui, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--olive-d); outline-offset: 3px; }

/* ---------- Kopfzeile ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); padding: 14px clamp(18px, 4.4vw, 76px); transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.nav.is-solid { background: rgba(251, 249, 245, 0.92); box-shadow: 0 1px 0 var(--line); }
.nav.on-lime { background: rgba(192, 201, 105, 0.94); }
.nav.on-lime .logo em { color: var(--bg); }
.nav.on-lime .logo-paw { fill: var(--ink); }
.nav.on-lime .cart b { background: var(--ink); }
.nav.on-lime .nav-links a::after { background: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; }
.logo em { font-style: normal; color: var(--olive); }
.logo-paw { width: 1.3em; height: 1.2em; fill: var(--olive); }
.nav-links { display: flex; gap: clamp(16px, 2.6vw, 46px); margin: 0 auto; font-weight: 500; font-size: 15px; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px; background: var(--olive); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-icons { display: flex; gap: 6px; }
.nav-icons a { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background 0.3s var(--ease); }
.nav-icons a:hover { background: var(--stone); }
.nav-icons svg { width: 24px; height: 24px; }
.cart b { position: absolute; top: 2px; right: 0; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--olive); color: #fff; font-size: 11px; font-weight: 700; }

/* ---------- Bühne ---------- */
.stage { position: relative; height: 470vh; }
.stage-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
.lines { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.lines path { fill: none; stroke: rgba(11, 11, 11, 0.075); stroke-width: 1.2; }
.blobs { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.blob-lime { fill: var(--lime); }
.blob-yellow { fill: var(--yellow); }
.hero { position: absolute; left: clamp(20px, 4.5vw, 76px); top: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; width: min(52vw, 760px); padding-top: 4vh; pointer-events: none; }
.hero a { pointer-events: auto; }
.kicker { margin: 0 0 clamp(12px, 2.6vh, 30px); font-weight: 500; font-size: clamp(11px, 0.9vw, 14px); letter-spacing: 0.42em; text-transform: uppercase; }
.h1 { margin: 0; font-weight: 800; font-size: var(--h1, 108px); line-height: 0.93; letter-spacing: -0.035em; text-transform: uppercase; }
.ln { display: block; overflow: hidden; padding: 0 0.04em 0.02em; margin: 0 -0.04em; }
.ln > span { display: block; will-change: transform; }
.accent { color: var(--olive); }
.accent i { display: inline-block; font-style: normal; color: var(--olive); will-change: transform; }
.lead { max-width: 30em; margin: clamp(14px, 2.8vh, 28px) 0 0; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.42; color: #2c2c2a; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; align-self: flex-start; min-height: clamp(52px, 7vh, 66px); margin-top: clamp(20px, 3.6vh, 36px); padding: 0 clamp(26px, 2.4vw, 38px); border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: clamp(15px, 1.2vw, 18px); cursor: pointer; transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.btn svg { width: 22px; height: 22px; transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--olive-d); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(5px); }
.trust { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.4vw, 40px); margin: clamp(26px, 5.4vh, 58px) 0 0; padding: 0; list-style: none; font-size: clamp(12.5px, 0.95vw, 15px); line-height: 1.3; }
.trust li { display: flex; align-items: center; gap: 14px; will-change: transform; }
.ti { display: grid; place-items: center; width: clamp(42px, 3.4vw, 54px); aspect-ratio: 1; flex: none; border-radius: 50%; background: var(--stone); }
.ti svg { width: 22px; height: 22px; }
.pets { position: absolute; z-index: 2; will-change: transform; transform-origin: 40% 100%; }
.pets img { display: block; width: 100%; height: 100%; }
.doodles { position: absolute; z-index: 4; overflow: visible; pointer-events: none; }
.dd { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dd-heart { stroke-width: 3; }
.dd-arrow { stroke-width: 3; }
.badge { position: absolute; z-index: 5; display: grid; place-items: center; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 4px var(--olive); will-change: transform; }
.badge p { margin: 0; font: 700 var(--bf, 28px)/0.98 var(--f-hand); text-align: center; transform: rotate(-14deg); }
.badge span { display: inline-block; font-size: 0.8em; }
.more { position: absolute; left: 50%; bottom: 4.6vh; z-index: 5; display: grid; justify-items: center; gap: 12px; transform: translateX(-50%); font-weight: 600; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.more-ic { display: grid; place-items: center; width: 36px; height: 36px; border: 1.8px solid var(--ink); border-radius: 50%; }
.more-ic svg { width: 18px; height: 18px; }

/* Szene 2 + 3: Kategorien und Bestseller auf Grün */
.scene { position: absolute; left: 0; right: 0; top: 0; z-index: 6; padding: 17vh clamp(20px, 4.5vw, 76px) 10vh; visibility: hidden; will-change: transform; }
.note { margin: 0 0 6px; font: 700 clamp(24px, 2.4vw, 34px)/1 var(--f-hand); color: var(--ink); transform: rotate(-3deg); transform-origin: 0 50%; }
.h2 { margin: 0; font-weight: 800; font-size: clamp(40px, 5.2vw, 84px); line-height: 0.95; letter-spacing: -0.035em; text-transform: uppercase; }
.h2 > span { display: block; will-change: transform; }
.cat-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); margin: clamp(22px, 4.4vh, 44px) 0 0; padding: 0; list-style: none; }
.cat { position: relative; display: grid; justify-items: start; gap: 2px; padding: clamp(16px, 1.8vw, 26px); border-radius: 26px; background: var(--bg); overflow: hidden; will-change: transform; transition: transform 0.35s var(--ease); }
.cat:hover { transform: translateY(-4px) rotate(-1deg); }
.cat-blob { position: absolute; right: -18%; top: -26%; width: 62%; aspect-ratio: 1; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; background: var(--c); }
.cat-ic { position: relative; width: clamp(48px, 4.6vw, 70px); height: auto; margin-bottom: clamp(10px, 2.6vh, 26px); color: var(--ink); fill: var(--ink); }
.cat b { position: relative; font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; }
.cat > span:last-child { position: relative; font-size: 14px; color: #55544e; }
.best { margin-top: clamp(40px, 9vh, 90px); }
.h2-best { display: flex; align-items: baseline; gap: 18px; }
.h2-best .h2-note { font: 700 clamp(26px, 2.6vw, 38px)/1 var(--f-hand); text-transform: none; letter-spacing: 0; transform: rotate(-4deg); }
.prod-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); margin: clamp(18px, 3.4vh, 34px) 0 0; padding: 0; list-style: none; }
.prod { position: relative; padding: 12px 12px 16px; border-radius: 24px; background: var(--bg); will-change: transform; }
.prod-art { display: grid; place-items: center; aspect-ratio: 5 / 4.1; border-radius: 18px; background: var(--c); }
.best-more { display: flex; align-items: center; gap: 22px; margin-top: clamp(18px, 3.6vh, 36px); }
.best-more .btn { margin: 0; }
.best-more .note { margin: 0; transform: rotate(-5deg); }
.prod-art svg { width: 78%; height: auto; }
.ol > * { stroke: #1b1b1b; stroke-width: 5; stroke-linejoin: round; paint-order: stroke; }
.prod-cat { margin: 12px 4px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive-d); }
.prod h3 { margin: 2px 4px 6px; font-weight: 700; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.25; letter-spacing: -0.01em; }
.prod-row { display: flex; align-items: center; justify-content: space-between; margin: 0 4px; }
.prod-row b { font-weight: 800; font-size: clamp(17px, 1.4vw, 21px); }
.stars { font-size: 12px; letter-spacing: 1px; color: var(--yellow); }
.add { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; font-weight: 500; line-height: 1; cursor: pointer; transition: transform 0.35s var(--ease), background 0.35s var(--ease); }
.add:hover { transform: rotate(90deg) scale(1.08); background: var(--olive-d); }

/* ---------- Warum leinenlos ---------- */
.why { position: relative; z-index: 1; min-height: 100vh; padding: 17vh clamp(20px, 4.5vw, 76px) 12vh; overflow: hidden; }
.why-blob { position: absolute; right: -12vw; top: 10vh; width: min(60vw, 820px); height: auto; z-index: -1; }
.why-in { max-width: 980px; }
.why-title { font-size: clamp(40px, 6vw, 96px); }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.6vw, 40px); max-width: 900px; margin: clamp(30px, 6vh, 60px) 0 0; padding: 0; list-style: none; }
.nums li { padding-top: 16px; border-top: 2px solid var(--ink); }
.nums b { display: block; font-weight: 800; font-size: clamp(38px, 4.4vw, 70px); line-height: 1; letter-spacing: -0.04em; }
.nums span { display: block; margin-top: 6px; font-size: 16px; color: #3a3935; }
.news { max-width: 560px; margin-top: clamp(30px, 6vh, 60px); padding: 22px 22px 18px; border-radius: 26px; background: var(--ink); color: #fff; }
.news label { display: block; font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; }
.news-row { display: flex; gap: 10px; margin-top: 12px; }
.news input { flex: 1; min-width: 0; min-height: 54px; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 16px; }
.news .btn { min-height: 54px; margin: 0; background: var(--olive); color: var(--ink); cursor: not-allowed; }
.news small { display: block; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.why-note { position: absolute; right: 12vw; bottom: 22vh; font-size: clamp(30px, 3vw, 46px); transform: rotate(-8deg); }
.foot { position: absolute; left: clamp(20px, 4.5vw, 76px); bottom: 22px; margin: 0; font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #6b6a64; }

/* ---------- Blende ---------- */
.wipe { position: fixed; inset: 0; z-index: 50; pointer-events: none; visibility: hidden; }
.wipe-blob { position: absolute; inset: 0; width: 100%; height: 100%; }
.wipe-logo { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 12px; margin: 0; transform: translate(-50%, -50%); font-weight: 700; font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.04em; opacity: 0; white-space: nowrap; }
.wipe-logo em { font-style: normal; color: #fff; }
.wipe-logo .logo-paw { fill: var(--ink); }

/* Einleitung bricht wie im Entwurf nach „Zubehör“ um und bleibt links vom Hund */
@media (min-width: 820px) { .lead { max-width: min(30em, 33vw); } }

/* ---------- Smartphone ---------- */
@media (max-width: 819px) {
  .nav-links { display: none; }
  .nav-icons a:not(.cart) { display: none; }
  .nav-icons { margin-left: auto; }
  .hero { right: 20px; width: auto; justify-content: flex-start; padding-top: 14vh; }
  .trust { gap: 12px 18px; }
  .trust { display: none; }
  .more { display: none; }
  .scene { padding-top: 13vh; }
  .cat-list, .prod-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; }
  .why-note { right: 8vw; bottom: 8vh; }
}
@media (prefers-reduced-motion: reduce) {
  .nav, .nav-links a::after, .nav-icons a, .btn, .btn svg, .cat, .add { transition: none; }
}
