/* ============ HUNDEWETTER – Startseite ============
   Ruhiger Look: weiß, viel Luft, DM Sans. Farben, Schrift und Kopfzeile stehen in clean.css
   (wird nach dieser Datei geladen und liefert die Variablen --bg, --ink, --muted, --line, --panel …).

   --px ist "ein Referenz-Pixel" (Entwurf 1440 × 900): skaliert mit der Fensterbreite, begrenzt durch
   die Höhe. Nur noch der Hero nutzt es für Positionen – alle anderen Abschnitte fließen normal. */

:root {
  --red: #e33529;
  --ink: #1b1b1b;
  --px: min(calc(100vw / 1440), calc(100vh / 900));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body.is-loading { overflow: hidden; }
/* Vor dem Start (bis main.js das Intro startet): Hero-Elemente stehen schon in ihrer Startlage,
   damit nichts aufblitzt und wieder verschwindet. Nur mit JavaScript (html.js, gesetzt im <head>).
   Nur visibility – keine transform hier, sonst liest GSAP sie als Versatz mit ein. */
.js body.is-loading .header, .js body.is-loading .js-fade, .js body.is-loading .hero__word { visibility: hidden; }
/* Seite schneidet alles ab, was seitlich übersteht */
.page { display: block; overflow: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* Überschriften: leicht, normale Groß-/Kleinschreibung */
.display { font-family: var(--sans); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
/* Zeilenmaske für hochfahrende Buchstaben – etwas größer als die Zeile, damit Umlaut-Punkte und
   Unterlängen (g, j, p) nicht abgeschnitten werden. clip-path statt overflow: ändert das Layout nicht. */
.line { display: block; clip-path: inset(-.14em -.08em -.22em); }
.char { display: inline-block; } /* kein will-change: sonst bekäme jeder Buchstabe eine eigene Grafikebene */

/* ---------- Preloader: weiß, kleines Logo, dünner Zähler ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: #fff; color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px var(--gutter) 28px;
}
.loader__top {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.loader__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.loader__count { font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.loader__logo { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.loader__logo .js-stamp { width: 100%; height: 100%; }

/* =========================================================
   HERO – Kino (Aufbau nach dem Figma-Rahmen „Desktop - 4“, 1920 × 1080)
   Dunkle Seite, darin ein eingerückter, abgerundeter Bildrahmen mit dem Foto je Wetter.
   Aussparungen im Rahmen: oben Mitte (Logo), oben rechts (runder Menü-Knopf).
   Maße in 1920er-Einheiten → vw (1 px im Entwurf = 100vw / 1920), mit Untergrenzen fürs Handy.
   Bewegt wird nur transform/opacity (Ken-Burns-Zoom per CSS, Rest per GSAP).
   ========================================================= */
/* Der Hero liegt unter der Kopfzeile (die über dem Hero ausgeblendet ist): Seite um die Kopfzeilenhöhe hochziehen */
.page--kino { margin-top: calc(-1 * var(--hdr)); }

/* Schrift fürs Riesenwort und die senkrechten Buchstaben: „Dune Rise“ (SIL OFL 1.1, assets/fonts/dune-rise-OFL.txt).
   Hat A–Z und Ziffern, aber KEINE Umlaute/ß und ein „?“, das wie „P“ aussieht → nur für diese Großbuchstaben-Wörter. */
@font-face { font-family: "Dune Rise"; src: url(assets/fonts/dune-rise.ttf) format("truetype"); font-display: swap; }

/* ---------- HERO – Bildausschnitt je Wetter (HIER anpassen, wenn Fotos getauscht werden) ----------
   Wert = object-position „x y“; -m = Hochkant-Foto (Handy). */
.hero {
  /* Alle drei Fotos: kleiner Hund auf einem Steg vor riesigem Wetter, unten verankert (Pfoten und Steg bleiben im Bild) */
  --fokus-regen: 58% 100%;  --fokus-regen-m: 50% 100%;   /* Border Collie im gelben Regenmantel, Sturm am Meer, x 52–72 % */
  --fokus-schnee: 62% 100%; --fokus-schnee-m: 50% 100%;  /* Australian Shepherd in rot-grauer Steppjacke, Bergsee im Schneesturm, x 54–83 % */
  --fokus-sonne: 58% 100%;  --fokus-sonne-m: 50% 100%;   /* Corgi im blauen Zopfpulli, Heide bei tiefer Sonne, x 43–70 % */
  --sonne-x: 80%; --sonne-y: 54%;                        /* tief stehende Sonne im Sonnen-Foto (Lichtreflex) */
}

.hero {
  --u: calc(100vw / 1920);                          /* ein Entwurfs-Pixel */
  --dark: #1c1c1c;                                  /* Start-Fläche (Intro) */
  --word-fs: min(calc(161 * var(--u)), 24svh);      /* Riesenwort (Dune Rise: Versalhöhe ≈ 0,8 × Schriftgröße) */
  --word-b: max(22px, calc(53 * var(--u)));         /* Abstand Wort ↔ Unterkante */
  position: relative; height: 100svh; min-height: 600px; background: #07090c; color: #fff;
}
/* Foto randlos über den ganzen Bildschirm (kein Rahmen mehr) */
.hero__frame { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__zoom {
  position: absolute; inset: 0; transform-origin: 56% 46%;
  animation: hw-kb 36s ease-in-out infinite alternate;   /* sehr langsamer Ken-Burns-Zoom */
}
@keyframes hw-kb { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero.is-paused .hero__zoom { animation-play-state: paused; }
.hero__photo { position: absolute; inset: 0; display: block; }
.js .hero__photo { opacity: 0; }                       /* main.js blendet es aus Schwarz auf */
.hero__photo.is-top { z-index: 1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo[data-w="regen"] img { object-position: var(--fokus-regen); }
.hero__photo[data-w="schnee"] img { object-position: var(--fokus-schnee); }
.hero__photo[data-w="sonne"] img { object-position: var(--fokus-sonne); }
/* Intro-Film: liegt über dem Foto, gleicher Ausschnitt; sein letztes Bild ist das Foto (main.js „Intro-Film“) */
.hero__film { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus-regen); opacity: 0; pointer-events: none; }
.hero__film.is-on { opacity: 1; }
@media (max-aspect-ratio: 1/1) { .hero__film { object-position: var(--fokus-regen-m); } }
.hero.is-film .rain, .hero.is-film .hero__glow, .hero.is-film .hero__hotlayer { opacity: 0; }
.hero .rain, .hero .hero__glow { transition: opacity .8s ease; }
.hero__skip {
  position: absolute; z-index: 20; right: 24px; bottom: 24px; height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45); background: rgba(20, 20, 20, .55); color: #fff; cursor: pointer;   /* kein Weichzeichner über dem laufenden Film */
  font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.hero__skip[hidden] { display: none; }
.hero__skip:hover, .hero__skip:focus-visible { background: #fff; color: #141414; outline: none; }
@media (max-aspect-ratio: 1/1) {
  .hero__photo[data-w="regen"] img { object-position: var(--fokus-regen-m); }
  .hero__photo[data-w="schnee"] img { object-position: var(--fokus-schnee-m); }
  .hero__photo[data-w="sonne"] img { object-position: var(--fokus-sonne-m); }
}
/* Lesbarkeit: dunkle Ellipse hinter dem Text oben links (Entwurf ca. 423 × 258), leichte Vignette, unten dunkler */
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(calc(560 * var(--u) + 120px) calc(340 * var(--u) + 90px) at calc(250 * var(--u) + 20px) calc(270 * var(--u) + 40px), rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 100%),
    radial-gradient(130% 100% at 55% 42%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .45) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, .22) max(60px, calc(110 * var(--u))), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .7) 100%);   /* oben: Logo, Navigation */
}
/* Sonne: warmer Schein um die Sonne im Foto (main.js, setMood) */
.hero__glow {
  position: absolute; z-index: 1; pointer-events: none;
  width: 110vmax; height: 110vmax; left: var(--sonne-x); top: var(--sonne-y); margin: -55vmax 0 0 -55vmax;
  background: radial-gradient(closest-side, rgba(255, 176, 84, .3), rgba(255, 150, 60, .1) 45%, rgba(255, 150, 60, 0) 75%);
  opacity: 0; visibility: hidden;
}

/* ---------- Text oben links (Entwurf: x 57, y 212, Breite 378) ---------- */
.hero__copy, .hero__nav, .hero__side { text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.hero__copy {
  position: absolute; z-index: 3; left: calc(57 * var(--u) + 6px); top: max(96px, calc(212 * var(--u)));
  width: max(250px, calc(400 * var(--u)));
}
.hero__title {
  font-family: "Syncopate", var(--sans); font-size: max(17px, calc(30 * var(--u))); font-weight: 700; line-height: 1.05; letter-spacing: 0;
  text-transform: uppercase;
}
.hero__tag { margin-top: max(8px, calc(10 * var(--u))); max-width: 32ch; font-size: max(13px, calc(14 * var(--u))); line-height: 1.4; color: rgba(255, 255, 255, .86); }
.hero__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: max(16px, calc(22 * var(--u)));
  height: max(42px, calc(48 * var(--u))); padding: 0 22px; border-radius: 999px; background: #fff;
  color: #141414;   /* fest dunkel: var(--ink) ist im dunklen Design hell und machte die Schrift auf dem weißen Knopf unsichtbar */
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1; text-shadow: none;
  transition: background .3s ease, transform .3s var(--ease);
}
.hero__cta:hover { background: #f1efe9; }
/* Vorteile unter dem Knopf: Versand ab 50 € gratis, 30 Tage Rückgabe */
.hero__perks {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: max(14px, calc(18 * var(--u))); padding: 0; list-style: none;
  font-size: max(12px, calc(13 * var(--u))); line-height: 1.3; letter-spacing: .02em; color: rgba(255, 255, 255, .92);
}
.hero__perks li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero__perks svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Leuchtende Jacke im Hero (main.js „Leuchtende Jacke“) ----------
   Liegt in einer eigenen Ebene, die genauso zoomt (Ken-Burns) und beim Scrollen mitwandert wie das Foto.
   assets/hero/glanz-<wetter>(-m).webp = die ausgeschnittene, aufgehellte Jacke; main.js legt sie deckungsgleich aufs Foto
   (HOT, Anteile 0–1). Sie leuchtet pulsierend auf; beim Darüberfahren heller, dazu Name und Preis. Klickfläche = Jacke. */
.hero__hotlayer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__hot {
  position: absolute; left: 0; top: 0; width: 0; height: 0; display: block; pointer-events: auto; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s;
}
.hero__hot.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.hero__glanz {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .6)) drop-shadow(0 0 20px rgba(255, 245, 215, .45));
  opacity: .08; animation: hw-glanz 2.4s ease-in-out infinite; will-change: opacity;
}
@keyframes hw-glanz { 0%, 100% { opacity: .05; } 50% { opacity: .7; } }
.hero__hot:hover .hero__glanz, .hero__hot:focus-visible .hero__glanz { animation: none; opacity: .8; transition: opacity .25s ease; }
.hero.is-paused .hero__glanz { animation-play-state: paused; }
/* Name + Preis: erscheint beim Darüberfahren oder per Tastatur, über der Jacke */
.hero__hot-tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px);
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  background: #fff; color: #141414; font-size: 13px; font-weight: 500; letter-spacing: .02em; text-shadow: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease);
}
.hero__hot-tip b { font-weight: 600; }
.hero__hot:hover .hero__hot-tip, .hero__hot:focus-visible .hero__hot-tip { opacity: 1; transform: translate(-50%, 0); }
.hero__hot:focus-visible { outline: none; }
.hero__hot:focus-visible .hero__glanz { outline: 2px solid #fff; outline-offset: 4px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .hero__glanz { animation: none; opacity: .3; } }
.hero__cta span { transition: transform .35s var(--ease); }
.hero__cta:hover span, .hero__cta:focus-visible span { transform: translateX(4px); }
.hero :focus-visible { outline-color: #fff; }

/* ---------- Navigation links/rechts der Logo-Aussparung (Entwurf: x 416 / 555 und 1264 / 1428, y 47) ---------- */
.hero__nav { position: absolute; z-index: 3; inset: 0 0 auto; height: calc(94 * var(--u)); pointer-events: none; }
.hero__nav > div { position: absolute; top: calc(47 * var(--u)); transform: translateY(-50%); display: flex; gap: calc(70 * var(--u)); pointer-events: auto; }
.hero__nav-l { left: calc(416 * var(--u)); }
.hero__nav-r { left: calc(1264 * var(--u)); }
.hero__nav a {
  position: relative; padding: 8px 0; font-size: max(12px, calc(17 * var(--u))); line-height: 1; letter-spacing: .04em;
  text-transform: uppercase; color: #fff;
}
.hero__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
.hero__nav a:hover::after, .hero__nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Logo oben Mitte, direkt auf dem Foto (Lesbarkeit: dunkler Verlauf oben in .hero__shade).
   Die frühere Version mit Rahmen, Aussparung und Ecke steht in _archiv/vor-kino-hero/styles.mit-rahmen.css. ---------- */
.hero__notch {
  position: absolute; z-index: 4; top: 0; left: 50%; width: max(200px, calc(517 * var(--u))); height: max(56px, calc(94 * var(--u)));
  margin-left: calc(max(200px, calc(517 * var(--u))) / -2);
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.hero__logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; pointer-events: auto; filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .35)); }
.hero__logo .logo__mark { width: max(26px, calc(34 * var(--u))); height: max(26px, calc(34 * var(--u))); }
.hero__logo .logo__word { font-size: max(18px, calc(26 * var(--u))); }

/* ---------- oben rechts: runder Menü-Knopf (Entwurf: Knopf 71) ---------- */
.hero__corner { position: absolute; z-index: 4; top: 0; right: 0; }
/* gleiche Höhe, gleiche Linie und gleicher Glas-Look wie der Warenkorb daneben (vorher: größerer schwarzer Kreis, saß tiefer) */
.hero__menu {
  position: absolute; right: max(16px, calc(41 * var(--u) + 4px)); top: max(16px, calc(30 * var(--u)));
  width: max(44px, calc(54 * var(--u))); height: max(44px, calc(54 * var(--u))); border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(28, 28, 28, .42); border: 1px solid rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s ease, border-color .3s ease;
}
.hero__menu:hover, .hero__menu.is-open { background: rgba(28, 28, 28, .66); border-color: rgba(255, 255, 255, .55); }
.hero__menu-icon { position: relative; width: 24px; height: 9px; }
.hero__menu-icon::before, .hero__menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease);
}
.hero__menu-icon::before { top: 0; }
.hero__menu-icon::after { bottom: 0; }
.hero__menu.is-open .hero__menu-icon::before { transform: translateY(3.75px) rotate(45deg); }
.hero__menu.is-open .hero__menu-icon::after { transform: translateY(-3.75px) rotate(-45deg); }

/* Glas-Pille neben der Ecke: Warenkorb (Entwurf 102 × 54) */
.cart.hero__pill {
  position: absolute; z-index: 4; right: calc(133 * var(--u) + 8px); top: max(16px, calc(30 * var(--u)));
  height: max(44px, calc(54 * var(--u))); min-width: max(80px, calc(102 * var(--u))); padding: 0 18px; gap: 8px; justify-content: center;
  border-radius: 999px; color: #fff; background: rgba(28, 28, 28, .42); border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}
.hero__pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__pill .cart__count { font-size: 12px; }

/* ---------- rechter Rand: Wettername senkrecht, in der Mitte die Wetter-Knöpfe (Entwurf: x 1868, y 388–730) ---------- */
.hero__side {
  position: absolute; z-index: 3; right: calc(41 * var(--u) + 4px); top: 50%; height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero__side-letters { display: flex; flex-direction: column; align-items: center; }
.hero__side-letters i {
  display: block; font-style: normal; font-size: max(14px, calc(22 * var(--u))); line-height: max(26px, calc(38 * var(--u)));
  font-family: "Dune Rise", var(--sans); letter-spacing: 0; color: #fff;
}
.weather { margin: 0; }
.hero__side-letters { display: none !important; }   /* Wort am Rand ausgeblendet – nur der Wetter-Schalter, mittig */
.weather__pills {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px;
  border-radius: 999px; background: rgba(28, 28, 28, .35); border: 1px solid rgba(255, 255, 255, .22);
}
.weather__pills button {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: none; color: rgba(255, 255, 255, .62); transition: color .35s, background-color .35s;
}
.weather__pills button:hover { color: #fff; }
.weather__pills button[aria-checked="true"] { color: #141414; background: #fff; }   /* fest dunkel: --ink ist im Kino-Theme hell */
.weather__pills button[aria-checked="true"] svg { stroke-width: 1.9; }
.weather__pills svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Riesenwort (Entwurf: x 57–1841, Oberkante y 932) ----------
   Buchstaben per flex über die volle Breite verteilt (space-between). Box = 1em hoch, der Ausschnitt (clip-path)
   lässt nur die Großbuchstaben stehen; hoch-/runtergefahrene Buchstaben verschwinden darin. */
.hero__word {
  position: absolute; z-index: 6; left: calc(57 * var(--u)); right: calc(79 * var(--u));
  bottom: calc(var(--word-b) - .10em); height: 1em;   /* Dune Rise: Grundlinie bei .90em, Versalhöhe .80em */
  font-family: "Dune Rise", var(--sans); font-size: var(--word-fs); font-weight: 400; line-height: 1; color: #fff;
  clip-path: inset(.06em -2vw .06em); pointer-events: none;
}
.hero__word-row { position: absolute; inset: 0; display: flex; justify-content: space-between; white-space: nowrap; }

/* ---------- Start-Fläche (Figma „Desktop - 2“): dunkel, Logo mittig; blendet im Intro aus ---------- */
.hero__intro { position: absolute; z-index: 5; inset: 0; display: none; place-items: center; background: var(--dark); }
.js .hero__intro { display: grid; }
.hero__intro-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; transform: translateY(-6svh); }
.hero__intro-logo .logo__mark { width: max(40px, calc(56 * var(--u))); height: max(40px, calc(56 * var(--u))); }
.hero__intro-logo .logo__word { font-size: max(26px, calc(40 * var(--u))); }

/* ---------- Wetter-Partikel (leise, hell auf dunkel) ---------- */
.rain { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.drop { position: absolute; top: -40px; width: 1px; height: 34px; border-radius: 2px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(220, 235, 255, .42)); }
.flake { position: absolute; top: -20px; border-radius: 50%; background: #fff; }
/* Bewegung der Partikel: CSS-Animationen (laufen auf der Grafikkarte), Werte je Teilchen setzt main.js */
.drop { transform: rotate(12deg) scale(1, var(--sy, 1)); animation: hw-drop var(--d, 1s) linear var(--dl, 0s) infinite; }
@keyframes hw-drop { from { translate: 0 0; } to { translate: -40px calc(100svh + 80px); } }
.flake { animation: hw-fall var(--d, 8s) linear var(--dl, 0s) infinite, hw-sway11 var(--sw, 2s) cubic-bezier(.37, 0, .63, 1) 0s infinite alternate; }
@keyframes hw-fall { from { translate: 0 0; } to { translate: 0 calc(100svh + 40px); } }
/* Taumeln: 3 × 3 Stufen für den Ausschlag nach links/rechts */
@keyframes hw-sway00 { from { transform: translateX(-27px); } to { transform: translateX(13px); } }
@keyframes hw-sway01 { from { transform: translateX(-27px); } to { transform: translateX(20px); } }
@keyframes hw-sway02 { from { transform: translateX(-27px); } to { transform: translateX(27px); } }
@keyframes hw-sway10 { from { transform: translateX(-20px); } to { transform: translateX(13px); } }
@keyframes hw-sway11 { from { transform: translateX(-20px); } to { transform: translateX(20px); } }
@keyframes hw-sway12 { from { transform: translateX(-20px); } to { transform: translateX(27px); } }
@keyframes hw-sway20 { from { transform: translateX(-13px); } to { transform: translateX(13px); } }
@keyframes hw-sway21 { from { transform: translateX(-13px); } to { transform: translateX(20px); } }
@keyframes hw-sway22 { from { transform: translateX(-13px); } to { transform: translateX(27px); } }
@keyframes hw-pulse { from { transform: scale(1); opacity: .85; } to { transform: scale(1.08); opacity: 1; } }
.rain.is-paused *, .rain.is-paused { animation-play-state: paused; }
/* Sonne: warmer Lichtpunkt auf der Sonne im Foto + drei zarte Blendenreflexe Richtung Bildmitte */
.sun { position: absolute; left: var(--sonne-x); top: var(--sonne-y); width: 0; height: 0; }
.sun i { position: absolute; left: 0; top: 0; border-radius: 50%; }
.sun__core {
  width: 46vmin; height: 46vmin; margin: -23vmin 0 0 -23vmin;
  background: radial-gradient(closest-side, rgba(255, 236, 200, .5), rgba(255, 190, 110, .18) 38%, rgba(255, 170, 80, 0) 100%);
  animation: hw-pulse 3.2s cubic-bezier(.37, 0, .63, 1) infinite alternate;
}
.sun__ring { width: 22vmin; height: 22vmin; margin: -11vmin 0 0 -11vmin; border: 1px solid rgba(255, 214, 160, .16); }
.sun__dot {
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform: translate(var(--x), var(--y));
  background: radial-gradient(closest-side, rgba(255, 210, 150, .2), rgba(255, 210, 150, .06) 70%, rgba(255, 210, 150, 0));
}

/* ---------- Hochkant / Handy: kleineres Logo, Navigation steckt im Menü-Knopf ---------- */
@media (max-aspect-ratio: 1/1) {
  .hero {
    --u: calc(100vw / 390 * .52);                 /* Entwurfsmaße kleiner, die Untergrenzen greifen */
    --word-fs: min(13.5vw, 17svh); --word-b: calc(22px + env(safe-area-inset-bottom, 0px));
    --sonne-x: 78%; --sonne-y: 62%;               /* Sonne im Hochkant-Foto */
  }
  .hero__nav { display: none; }
  .hero__notch { width: 186px; margin-left: -93px; height: 64px; }
  .hero__logo .logo__mark { width: 24px; height: 24px; }
  .hero__logo .logo__word { font-size: 17px; }
  .hero__menu { width: 40px; height: 40px; right: 14px; top: 12px; }   /* gleiche Höhe und Linie wie der Warenkorb links */
  .cart.hero__pill { right: auto; left: 14px; top: 12px; height: 40px; min-width: 0; padding: 0 12px; }
  .hero__copy { left: 20px; top: 88px; width: calc(100% - 96px); }
  .hero__title { font-size: clamp(17px, 5vw, 24px); }
  .hero__side { right: 16px; top: 44%; }   /* über dem Hund (neues Sturm-Foto: Hund bei 53–71 % Höhe) */
  .hero__side-letters i { font-size: 13px; line-height: 22px; }
  .weather__pills button { width: 38px; height: 38px; }
  .hero__word { left: 14px; right: 14px; }   /* Handy: Wort fast randvoll (ca. 93 % der Breite) */
}

@media (prefers-reduced-motion: reduce) {
  .hero__zoom { animation: none; }
  .js .hero__intro { display: none; }
}

/* =========================================================
   INTRO – ein ruhiger Satz, darunter ein Textlink
   ========================================================= */
.intro {
  position: relative; z-index: 3; background: var(--bg);
  padding: var(--section-y) var(--gutter) 0;
  display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 1.8vw, 24px); text-align: center;
}
.intro__text { order: 1; max-width: 24em; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.28; }
.intro__text .line { clip-path: inset(-.1em 0 -.06em); }
.intro__text .line__in { display: block; }
.intro__link {
  order: 2; font-size: 14px; padding: 12px 0; margin-bottom: -12px;   /* größere Tippfläche */
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; transition: opacity .25s;
}
.intro__link:hover { opacity: .6; }

/* =========================================================
   EMPFEHLUNG ZUM WETTER – Kopf (Titel · kleiner Wetter-Schalter · Textlink) + vier Produktkarten
   Die drei Reihen (Regen/Schnee/Sonne) liegen im selben Rasterfeld übereinander; sichtbar ist
   nur .is-on. So bleibt die Höhe beim Wechsel immer gleich.
   ========================================================= */
.reco { position: relative; z-index: 3; background: var(--bg); padding: clamp(56px, 7vw, 112px) var(--gutter) 0; }
.reco__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px;
  max-width: var(--maxw); margin: 0 auto clamp(24px, 3vw, 40px);
}
.reco__eyebrow { margin-bottom: 12px; }
.reco__title { font-size: clamp(24px, 2.6vw, 40px); }
.reco__word { display: inline-block; }
.reco__tools { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.reco__switch { display: flex; gap: 6px; }
.reco__switch button {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--muted); cursor: pointer;
  transition: color .3s, border-color .3s;
}
.reco__switch button:hover { color: var(--ink); border-color: var(--line-strong); }
.reco__switch button[aria-checked="true"] { color: var(--red); border-color: var(--ink); }
.reco__switch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.reco__all { white-space: nowrap; padding: 10px 0; }

.reco__stage { display: grid; max-width: var(--maxw); margin: 0 auto; }
.reco__row {
  grid-area: 1 / 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-width: 0;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s;
}
.reco__row.is-on { opacity: 1; visibility: visible; transition: opacity .25s ease; }

@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .reco { padding-left: 0; padding-right: 0; }
  .reco__head { flex-direction: column; align-items: stretch; padding: 0 var(--gutter); }
  .reco__tools { justify-content: space-between; }
  .reco__switch button { width: 44px; height: 44px; }   /* Tippfläche */
  /* wischbare Reihe wie bei Kollektion und Bestseller */
  .reco__row {
    display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 10px; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .reco__row::-webkit-scrollbar { display: none; }
  .reco__row > * { flex: 0 0 min(64vw, 300px); scroll-snap-align: start; }
}

/* Wischbare Reihen (oben: Empfehlung, Kollektion, Bestseller, Shop-Filter): overflow-y: hidden ist Absicht.
   Mit overflow-x: auto wird sonst auch senkrecht ein paar Pixel scrollbar – dann „fängt“ die Reihe den
   Finger, und ein senkrechtes Wischen bewegt nur die Reihe statt der Seite. */

/* =========================================================
   KOLLEKTION – Kopf + fünf Kategorien (gleiche Bildsprache wie die Produktkarten)
   ========================================================= */
.cats { position: relative; z-index: 3; background: var(--bg); padding: var(--section-y) var(--gutter); }
.cats__head, .best__head, .shop__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  max-width: var(--maxw); margin: 0 auto clamp(30px, 4vw, 56px);
}
.cats__eyebrow, .best__eyebrow, .shop__eyebrow, .sizes__eyebrow { margin-bottom: 14px; }
.cats__title, .best__title, .shop__title, .sizes__title { font-size: var(--h2); }
.cats__intro, .sizes__sub { max-width: 34ch; font-size: 15px; line-height: 1.5; color: var(--muted); }

.cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: var(--maxw); margin: 0 auto; }
.cat-card { display: flex; flex-direction: column; color: var(--ink); }
.cat-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #fff; }
.cat-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.03); }
.cat-card__name { font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; line-height: 1.2; letter-spacing: .01em; margin-top: 16px; }
.cat-card__desc { font-size: 14px; line-height: 1.45; margin-top: 6px; color: var(--muted); }
.cat-card__foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.cat-card__arrow { transition: transform .4s var(--ease); }
.cat-card:hover .cat-card__arrow { transform: translateX(4px); }

@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .cats { padding-left: 0; padding-right: 0; }
  .cats__head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 var(--gutter); }
  .cats__grid {
    display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 10px; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .cats__grid::-webkit-scrollbar { display: none; }
  .cat-card { flex: 0 0 min(64vw, 300px); scroll-snap-align: start; }
}

/* =========================================================
   GRÖSSE FINDEN – angeheftet; vier Karten kommen nacheinander von unten
   Der EINE farbige Abschnitt der Seite: Marken-Hellblau (--sky), die Karten sind weiß.
   Nebentext auf Blau nutzt --on-sky (dunkler als --muted, damit er lesbar bleibt);
   in den weißen Karten gilt wieder das normale --muted.
   ========================================================= */
.sizes {
  --muted: var(--on-sky);
  position: relative; z-index: 3; height: calc(100vh - var(--hdr)); overflow: hidden;
  background: var(--sky);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(28px, 6vh, 56px);
  padding: clamp(32px, 7vh, 72px) var(--gutter) clamp(22px, 4vh, 40px);
}
.sizes__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
}
.sizes__cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  width: 100%; max-width: var(--maxw); max-height: 500px; margin: 0 auto; align-self: center; height: 100%;
}
.step-card {
  --muted: rgba(27, 27, 27, .55);
  min-height: 0; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius);
  padding: clamp(16px, 1.6vw, 24px) clamp(16px, 1.6vw, 24px) 0;
}
.step-card__num { order: 1; font-size: 12px; line-height: 1; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.step-card__title { order: 2; font-size: var(--h3); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; margin-top: 14px; }
.step-card__desc { order: 3; font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 8px; max-width: 30ch; }
.step-card__img { order: 4; flex: 1 1 0; min-height: 0; margin-top: 12px; }
.step-card__img svg { width: 100%; height: 100%; }

.sizes__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
}
/* Fortschritt: vier kleine Punkte, erledigte Schritte rot */
.sizes__dots { display: flex; gap: 8px; }
.sizes__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; transition: background .35s; }
.sizes__dot.is-on { background: var(--red); }
.sizes .sizes__btn { height: 44px; }
.sizes .sizes__btn:focus-visible, .sizes :focus-visible { outline-color: var(--ink); }

@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .sizes { height: calc(100svh - var(--hdr)); }
  .sizes__sub { display: none; }
  /* Karten als Stapel: alle auf demselben Platz, leicht versetzt */
  .sizes__cards { grid-template-columns: minmax(0, 1fr); max-width: 340px; max-height: 420px; }
  .step-card { grid-area: 1 / 1; border: 1px solid rgba(27, 27, 27, .14); padding: 20px 20px 0; }
  .step-card:nth-child(2) { margin: 10px -6px -10px 6px; }
  .step-card:nth-child(3) { margin: 20px 4px -20px -4px; }
  .step-card:nth-child(4) { margin: 30px -4px -30px 4px; }
  .sizes__cards { padding-bottom: 30px; }
}
/* Tablet hochkant: der Kartenstapel darf größer sein, sonst wirkt er verloren */
@media (max-aspect-ratio: 1/1) and (min-width: 600px) {
  .sizes__cards { max-width: 480px; max-height: 600px; }
  .step-card { padding: 28px 28px 0; }
}

/* =========================================================
   BESTSELLER – drei Produktkarten + ruhige Kachel „Alle Produkte“
   ========================================================= */
.best { position: relative; z-index: 3; background: var(--bg); padding: var(--section-y) var(--gutter) 0; }
.best__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: var(--maxw); margin: 0 auto;
}
.pcard--all {
  position: relative; overflow: hidden;
  align-self: start; aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(14px, 1.5vw, 22px); border-radius: var(--radius); background: var(--panel); color: var(--ink);
}
.pcard--all .pcard__name { font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: .01em; }
.pcard__arrow { align-self: flex-end; font-size: 18px; line-height: 1; transition: transform .4s var(--ease); }
.pcard--all:hover .pcard__arrow { transform: translateX(4px); }
.pcard--all .pcard__name, .pcard--all .pcard__arrow { position: relative; z-index: 1; }
/* kleiner Hund schaut von unten in die Kachel (die Kachel selbst schneidet ihn ab);
   Zeichnung so breit wie die Kachel, Kopf beginnt knapp unter der Mitte */
.pcard__dog { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pcard__dog .peek { left: -14%; top: 30%; width: 100%; aspect-ratio: 1; height: auto; }

@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .best { padding-left: 0; padding-right: 0; }
  .best__head { padding: 0 var(--gutter); }
  .best__grid {
    display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 10px; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .best__grid::-webkit-scrollbar { display: none; }
  .best__grid > * { flex: 0 0 min(64vw, 300px); scroll-snap-align: start; }
}

/* =========================================================
   LAUFBAND mit Sprüchen – eine schmale Zeile zwischen Bestseller und Shop
   Aufbau: .ticker > .ticker__track > 2 × .ticker__set (die zweite ist die Kopie für die Schleife).
   Tempo: --dur setzt main.js passend zur Länge. Maus darauf = Pause.
   ========================================================= */
.ticker {
  position: relative; z-index: 3; background: var(--bg); overflow: hidden;
  margin-top: var(--section-y);   /* gleicher Abstand wie darunter (Shop beginnt mit --section-y) */
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 14px; line-height: 1; letter-spacing: .02em; color: var(--ink);
}
.ticker__track { display: flex; width: max-content; }
.ticker__set { display: flex; align-items: center; flex: none; list-style: none; height: 52px; }
.ticker__set li { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); padding-right: clamp(22px, 2.6vw, 40px); white-space: nowrap; }
.ticker__set svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ticker.is-built .ticker__track { animation: ticker var(--dur, 60s) linear infinite; }
.ticker.is-off .ticker__track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker__track { animation-play-state: paused; } }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }
/* ohne Bewegung (Einstellung „Bewegung reduzieren“ oder kein JS): Sprüche stehen ruhig, mittig, umbrechend */
.ticker:not(.is-run) .ticker__track { width: auto; }
.ticker:not(.is-run) .ticker__set { flex: 1; flex-wrap: wrap; justify-content: center; height: auto; row-gap: 14px; padding: 18px var(--gutter); }
.ticker:not(.is-run) .ticker__set li:last-child { padding-right: 0; }
.ticker:not(.is-run) .ticker__set li:last-child svg { display: none; }

/* =========================================================
   SHOP – alle Produkte, Kategorien als ruhige Text-Reiter
   ========================================================= */
.shop { position: relative; z-index: 3; background: var(--bg); padding: var(--section-y) var(--gutter); }
.shop__head { margin-bottom: 0; }
.shop__title .line { white-space: nowrap; }
.shop__count { font-size: 13px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.shop__count b { font: inherit; letter-spacing: inherit; color: var(--ink); }

.shop__filters {
  position: relative; display: flex; gap: clamp(20px, 2.4vw, 34px);
  max-width: var(--maxw); margin: clamp(26px, 3.5vw, 48px) auto clamp(26px, 3.2vw, 44px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
}
.shop__filters::-webkit-scrollbar { display: none; }
.shop__filter {
  position: relative; z-index: 1; flex: 0 0 auto; display: flex; align-items: center; gap: 6px;
  height: 44px; padding: 0; border: 0; background: none; color: var(--muted);
  font: inherit; font-size: 13px; letter-spacing: .04em; cursor: pointer; transition: color .3s;
}
.shop__filter small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.shop__filter:hover, .shop__filter[aria-selected="true"] { color: var(--ink); }
.shop__filter:focus-visible { outline-offset: -2px; }
/* Unterstrich unter dem aktiven Reiter (main.js verschiebt ihn) */
.shop__ind { position: absolute; z-index: 0; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--ink); }

.shop__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw); margin: 0 auto;
}
.scard.is-hidden { display: none; }

/* .btn.… damit die Regel gegen .btn aus clean.css (später geladen) gewinnt */
.btn.shop__more { display: flex; width: fit-content; margin: clamp(40px, 5vw, 72px) auto 0; }
.btn.shop__more[hidden] { display: none; }

@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .shop__head { align-items: baseline; }
  .shop__filters { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); max-width: none; }
  .shop__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-aspect-ratio: 1/1) and (min-width: 600px) {
  .shop__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   FUSS
   ========================================================= */
.foot {
  position: relative; z-index: 3; background: var(--bg);
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 22px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .02em; color: var(--muted);
}

/* Fuß der Startseite: neutraler Flächenton, der Hund aus dem Hero schaut von unten herein.
   .foot__dog ist der sichtbare Ausschnitt (nur Kopf bis Nase), .peek die ganze Zeichnung darin.
   --b = Kantenlänge der Zeichnung. */
.foot--dog {
  --b: clamp(620px, 58vw, 900px);
  max-width: none; min-height: calc(var(--b) * .2 + 36px); align-items: flex-end;
  padding-top: 36px; background: var(--panel); border-top: 0;
  /* Fläche über die ganze Breite, Text aber bündig mit dem Inhalt darüber */
  padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); color: rgba(27, 27, 27, .7); overflow: hidden;
}
.foot--dog > span { position: relative; z-index: 1; }
.foot__dog {
  position: absolute; left: 50%; bottom: 0; width: var(--b); height: calc(var(--b) * .2);
  margin-left: calc(var(--b) / -2); overflow: hidden; pointer-events: none;
}
.foot__dog .peek { left: 0; top: calc(var(--b) * -.145); width: var(--b); height: var(--b); }

/* Der kleine Hund (Fuß + Kachel „Alle Produkte ansehen“): kommt von unten hoch, sobald .is-in gesetzt ist */
.peek {
  position: absolute; display: block;
  transform: translate3d(0, 24%, 0); transition: transform 1.5s var(--ease);
}
.peek.is-in.is-ready { transform: none; }
.peek canvas { display: block; width: 100% !important; height: 100% !important; }

@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .foot--dog {
    --b: min(150vw, 620px);
    flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; text-align: center;
    padding: 28px var(--gutter) calc(var(--b) * .2 + 26px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .peek { transform: none; transition: none; }
}

/* ---------- Performance: große, dauernd animierte Elemente auf eigene Grafikebenen ---------- */
.hero__media, .step-card, .drop, .flake { will-change: transform; }
/* Handy: kein Dauer-Zoom aufs ganze Foto, keine Extra-Ebenen für Parallaxe und Tropfen → ruhiges Scrollen vom Startbild */
@media (hover: none) and (pointer: coarse) {
  .hero__zoom { animation: none; }
  .hero__media, .drop, .flake { will-change: auto; }
}

/* =========================================================
   PRODUKT-DETAILANSICHT (altes Fenster auf der Startseite)
   NICHT MEHR IN BENUTZUNG: die Karten führen auf produkt.html, das Fenster wird nie geöffnet.
   Der Block bleibt nur stehen, weil produkt.css auf einigen Grundregeln aufbaut
   (.pdp__dot, .pdp__plain, .pdp__table, .pdp__small, .pdp__details). Er trägt noch den alten Look –
   vor einer Wiederverwendung neu gestalten.
   Desktop: Fenster mittig (Foto links, Infos rechts).
   Handy: Vollbild-Blatt von unten, Kaufleiste klebt unten.
   ========================================================= */
.scard { cursor: pointer; }

.pdp { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.pdp[hidden] { display: none; }
.pdp__backdrop { position: absolute; inset: 0; background: rgba(27, 27, 27, .45); }
.pdp__panel {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr;
  width: min(calc(1120 * var(--px)), 94vw); max-height: 90vh; overflow: hidden;
  background: var(--cream); border-radius: calc(18 * var(--px));
  box-shadow: 0 30px 80px rgba(27, 27, 27, .25);
}
.pdp__close {
  position: absolute; top: calc(14 * var(--px)); right: calc(14 * var(--px)); z-index: 3;
  width: calc(42 * var(--px)); height: calc(42 * var(--px)); border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: var(--cream); font-size: calc(16 * var(--px)); transition: background .3s, transform .4s;
}
.pdp__close:hover { background: var(--ink); transform: rotate(90deg); }

/* Foto */
.pdp__media { position: relative; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.pdp__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.pdp__cat {
  position: absolute; top: calc(18 * var(--px)); left: calc(18 * var(--px));
  font-size: calc(11 * var(--px)); background: var(--cream); border-radius: 999px; padding: calc(5 * var(--px)) calc(11 * var(--px));
}
.pdp__nav {
  position: absolute; bottom: calc(18 * var(--px)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: calc(12 * var(--px));
  background: var(--cream); border-radius: 999px; padding: calc(5 * var(--px));
}
.pdp__arrow {
  width: calc(34 * var(--px)); height: calc(34 * var(--px)); border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--red); font-size: calc(15 * var(--px)); transition: background .3s, color .3s;
}
.pdp__arrow:hover { background: var(--red); color: var(--cream); }
.pdp__pos { font-size: calc(11 * var(--px)); min-width: calc(54 * var(--px)); text-align: center; }

/* Infos */
.pdp__info {
  display: flex; flex-direction: column; gap: calc(22 * var(--px));
  padding: calc(48 * var(--px)) calc(44 * var(--px)) calc(34 * var(--px)); overflow-y: auto; overscroll-behavior: contain;
}
.pdp__kind { font-size: calc(12 * var(--px)); letter-spacing: .04em; }
.pdp__name { font-size: calc(76 * var(--px)); margin-top: calc(-14 * var(--px)); padding-right: calc(40 * var(--px)); }
.pdp__desc { font-size: calc(14 * var(--px)); line-height: 1.45; color: var(--ink); text-transform: none; max-width: 34em; }
.pdp__block { display: flex; flex-direction: column; gap: calc(10 * var(--px)); }
.pdp__label { font-size: calc(12 * var(--px)); display: flex; align-items: baseline; gap: calc(8 * var(--px)); }
.pdp__label b { color: var(--ink); font-weight: 500; opacity: .6; }
.pdp__guide {
  margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--red);
  font: inherit; text-decoration: underline; text-underline-offset: .25em;
}

.pdp__colors, .pdp__sizes { display: flex; flex-wrap: wrap; gap: calc(8 * var(--px)); }
.pdp__chip {
  display: inline-flex; align-items: center; gap: calc(7 * var(--px));
  height: calc(36 * var(--px)); padding: 0 calc(13 * var(--px)); border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(227, 53, 41, .25); background: #fff; color: var(--ink);
  font: inherit; font-size: calc(12 * var(--px)); transition: border-color .25s, background .25s, color .25s;
}
.pdp__chip:hover { border-color: var(--red); }
.pdp__chip[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: var(--cream); }
.pdp__dot { width: calc(14 * var(--px)); height: calc(14 * var(--px)); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27, 27, 27, .18); }
.pdp__dot--pattern { background: repeating-linear-gradient(45deg, #c9a46a 0 3px, #5a3d22 3px 6px); }
.pdp__size { min-width: calc(48 * var(--px)); justify-content: center; font-family: var(--display); font-size: calc(18 * var(--px)); padding-top: calc(3 * var(--px)); }
.pdp__plain { font-size: calc(13 * var(--px)); color: var(--ink); opacity: .7; }
.pdp__hint { font-size: calc(11 * var(--px)); color: var(--ink); opacity: .55; min-height: 1.2em; text-transform: none; }
.pdp__hint.is-warn { color: var(--red); opacity: 1; text-transform: uppercase; }

.pdp__buy { display: flex; align-items: center; gap: calc(20 * var(--px)); margin-top: auto; padding-top: calc(6 * var(--px)); }
.pdp__price { font-size: calc(56 * var(--px)); line-height: .8; white-space: nowrap; }
.pdp__cta {
  flex: 1; height: calc(58 * var(--px)); border: 0; border-radius: 999px; cursor: pointer;
  background: var(--red); color: var(--cream); font-family: var(--display); font-size: calc(26 * var(--px)); padding-top: calc(4 * var(--px));
  transition: background .3s;
}
.pdp__cta:hover { background: var(--ink); }
.pdp__cta.is-done { background: var(--ink); }
.pdp__note { font-size: calc(10 * var(--px)); opacity: .6; margin-top: calc(-12 * var(--px)); }

/* Handy: Vollbild-Blatt */
@media (max-aspect-ratio: 1/1) {
  .pdp { place-items: end stretch; }
  .pdp__panel {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr;
    width: 100%; height: 100svh; max-height: none; border-radius: 0; overflow-y: auto; overscroll-behavior: contain;
  }
  .pdp__info { overflow: visible; padding: calc(24 * var(--px)) var(--gutter) 0; gap: calc(20 * var(--px)); }
  .pdp__name { font-size: calc(58 * var(--px)); margin-top: calc(-10 * var(--px)); padding-right: 0; }
  .pdp__desc { font-size: calc(14 * var(--px)); }
  .pdp__label, .pdp__chip { font-size: calc(12 * var(--px)); }
  .pdp__buy {
    position: sticky; bottom: 0; margin: 0 calc(-1 * var(--gutter)); padding: calc(12 * var(--px)) var(--gutter) calc(14 * var(--px) + env(safe-area-inset-bottom));
    background: var(--cream); border-top: 1px solid rgba(227, 53, 41, .15);
  }
  .pdp__price { font-size: calc(40 * var(--px)); }
  .pdp__cta { height: calc(52 * var(--px)); font-size: calc(22 * var(--px)); }
  .pdp__note { order: 9; margin: calc(-8 * var(--px)) 0 calc(4 * var(--px)); }
  .pdp__buy { order: 10; }
  .pdp__close { position: fixed; }
}
/* Detailansicht: Spalten dürfen nie breiter als das Fenster werden (Foto hat 880 px Eigenbreite) */
.pdp { grid-template-columns: minmax(0, 1fr); }
.pdp__panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.pdp__media, .pdp__info { min-width: 0; }
@media (max-aspect-ratio: 1/1) {
  .pdp__panel { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   DETAILANSICHT v2: Galerie, Größentabelle, Details
   ========================================================= */
.pdp__panel { height: min(88vh, calc(860 * var(--px) + 120px)); width: min(calc(1200 * var(--px)), 95vw); }
.pdp__media { display: flex; flex-direction: column; gap: calc(10 * var(--px)); padding: calc(14 * var(--px)); background: #fff; min-height: 0; }
.pdp__stage { position: relative; flex: 1; min-height: 0; border-radius: calc(12 * var(--px)); overflow: hidden; background: #fff; display: grid; place-items: center; }
.pdp__stage img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.pdp__cat { top: calc(10 * var(--px)); left: calc(10 * var(--px)); z-index: 2; }
.pdp__img-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: calc(40 * var(--px)); height: calc(40 * var(--px)); border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(243, 243, 233, .92); color: var(--red); font-size: calc(26 * var(--px)); line-height: 1; padding-bottom: calc(3 * var(--px));
  transition: background .3s, color .3s, opacity .3s;
}
.pdp__img-arrow:hover { background: var(--red); color: var(--cream); }
.pdp__img-arrow--prev { left: calc(10 * var(--px)); }
.pdp__img-arrow--next { right: calc(10 * var(--px)); }
.pdp__count {
  position: absolute; bottom: calc(10 * var(--px)); right: calc(10 * var(--px)); z-index: 2;
  font-size: calc(11 * var(--px)); background: rgba(243, 243, 233, .92); border-radius: 999px; padding: calc(4 * var(--px)) calc(10 * var(--px));
}
.pdp__thumbs { display: flex; gap: calc(8 * var(--px)); overflow-x: auto; scrollbar-width: none; flex: 0 0 auto; padding-bottom: 2px; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb {
  flex: 0 0 calc(66 * var(--px)); height: calc(66 * var(--px)); border-radius: calc(8 * var(--px)); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: #f4f4ee; padding: 0; transition: border-color .25s, opacity .25s; opacity: .7;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:first-child img { object-fit: contain; background: #fff; }
.pdp__thumb:hover { opacity: 1; }
.pdp__thumb[aria-selected="true"] { border-color: var(--red); opacity: 1; }

/* Kopf der Infospalte: Art links, Produkt-Blättern rechts */
.pdp__top { display: flex; align-items: center; justify-content: space-between; gap: calc(12 * var(--px)); padding-right: calc(52 * var(--px)); }
.pdp__nav { position: static; transform: none; background: #fff; }
.pdp__name { margin-top: calc(-8 * var(--px)); padding-right: 0; }

/* Abschnitte */
.pdp__sec { display: flex; flex-direction: column; gap: calc(10 * var(--px)); padding-top: calc(18 * var(--px)); border-top: 1px solid rgba(227, 53, 41, .15); }
.pdp__sec-title { font-family: var(--display); font-weight: 400; font-size: calc(28 * var(--px)); line-height: .9; }
.pdp__table { width: 100%; border-collapse: collapse; font-size: calc(13 * var(--px)); color: var(--ink); text-transform: none; background: #fff; border-radius: calc(10 * var(--px)); overflow: hidden; }
.pdp__table th, .pdp__table td { padding: calc(8 * var(--px)) calc(10 * var(--px)); text-align: left; white-space: nowrap; }
.pdp__table th { font-weight: 500; font-size: calc(11 * var(--px)); text-transform: uppercase; color: var(--red); background: rgba(227, 53, 41, .06); }
.pdp__table td:first-child { font-family: var(--display); font-size: calc(17 * var(--px)); color: var(--red); padding-top: calc(10 * var(--px)); }
.pdp__table tr + tr td { border-top: 1px solid rgba(27, 27, 27, .06); }
.pdp__table tr.is-sel td { background: var(--red); color: var(--cream); }
.pdp__table-wrap { overflow-x: auto; border-radius: calc(10 * var(--px)); }
.pdp__small { font-size: calc(11 * var(--px)); color: var(--ink); opacity: .6; text-transform: none; line-height: 1.4; }
.pdp__details { display: grid; grid-template-columns: auto 1fr; gap: calc(6 * var(--px)) calc(18 * var(--px)); font-size: calc(13 * var(--px)); }
.pdp__details dt { color: var(--red); font-size: calc(11 * var(--px)); padding-top: calc(2 * var(--px)); }
.pdp__details dd { color: var(--ink); text-transform: none; }

/* Kaufleiste klebt auch am Desktop unten in der Infospalte */
.pdp__info { gap: calc(18 * var(--px)); padding-bottom: 0; }
.pdp__buy {
  position: sticky; bottom: 0; z-index: 2; margin: 0 calc(-44 * var(--px)); padding: calc(14 * var(--px)) calc(44 * var(--px)) calc(18 * var(--px));
  background: var(--cream); border-top: 1px solid rgba(227, 53, 41, .15); margin-top: auto;
}
.pdp__note { margin-top: calc(-6 * var(--px)); }

@media (max-aspect-ratio: 1/1) {
  .pdp__panel { height: 100svh; width: 100%; }
  .pdp__media { padding: calc(10 * var(--px)); }
  .pdp__stage { flex: none; aspect-ratio: 1; }
  .pdp__thumb { flex-basis: calc(56 * var(--px)); height: calc(56 * var(--px)); }
  .pdp__top { padding-right: calc(46 * var(--px)); }
  .pdp__buy { margin: 0 calc(-1 * var(--gutter)); padding: calc(12 * var(--px)) var(--gutter) calc(14 * var(--px) + env(safe-area-inset-bottom)); }
  .pdp__sec-title { font-size: calc(26 * var(--px)); }
  .pdp__table { font-size: calc(13 * var(--px)); }
}
/* Handy: Bildbereich nie zusammendrücken – Panel scrollt als Ganzes */
@media (max-aspect-ratio: 1/1) {
  .pdp__panel { grid-template-rows: auto auto; align-content: start; }
  .pdp__media { min-height: auto; }
}

/* =========================================================
   GRÖSSENBERATER + aufklappbare Maßtabelle (in der Größenwahl)
   ========================================================= */
.pdp__adv { border: 1.5px solid rgba(227, 53, 41, .25); border-radius: calc(14 * var(--px)); background: #fff; overflow: hidden; margin-top: calc(4 * var(--px)); }
.pdp__adv[hidden] { display: none; }
.pdp__adv.is-open { border-color: var(--red); }
.pdp__adv-toggle {
  width: 100%; display: flex; align-items: center; gap: calc(10 * var(--px)); padding: calc(12 * var(--px)) calc(14 * var(--px));
  border: 0; background: none; cursor: pointer; color: var(--red); font: inherit; font-size: calc(12 * var(--px)); text-align: left;
}
.pdp__adv-icon { width: calc(22 * var(--px)); height: calc(22 * var(--px)); flex: none; }
.pdp__adv-toggle span:nth-child(2) { flex: 1; }
.pdp__adv-arrow { transition: transform .3s; }
.pdp__adv.is-open .pdp__adv-arrow { transform: rotate(90deg); }
.pdp__adv-body { padding: 0 calc(14 * var(--px)) calc(14 * var(--px)); display: flex; flex-direction: column; gap: calc(10 * var(--px)); }
.pdp__adv-fields { display: grid; grid-template-columns: 1fr 1fr; gap: calc(10 * var(--px)); }
.pdp__adv-field { display: flex; flex-direction: column; gap: calc(5 * var(--px)); font-size: calc(11 * var(--px)); }
.pdp__adv-input {
  display: flex; align-items: center; gap: calc(6 * var(--px)); background: var(--cream); border-radius: calc(10 * var(--px));
  padding: 0 calc(12 * var(--px)); height: calc(44 * var(--px)); color: var(--ink); text-transform: none; font-size: calc(13 * var(--px));
}
.pdp__adv-input input {
  width: 100%; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-size: max(16px, calc(16 * var(--px)));
  color: var(--ink); -moz-appearance: textfield;
}
.pdp__adv-input input::-webkit-outer-spin-button, .pdp__adv-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__adv-input:focus-within { box-shadow: 0 0 0 2px var(--red); }
.pdp__adv-how { font-size: calc(11 * var(--px)); color: var(--ink); opacity: .6; text-transform: none; line-height: 1.4; }
.pdp__adv-go {
  height: calc(44 * var(--px)); border: 0; border-radius: 999px; cursor: pointer; background: var(--ink); color: var(--cream);
  font-family: var(--display); font-size: calc(20 * var(--px)); padding-top: calc(3 * var(--px)); transition: background .3s;
}
.pdp__adv-go:hover { background: var(--red); }
.pdp__adv-out { font-size: calc(13 * var(--px)); color: var(--ink); text-transform: none; line-height: 1.4; }
.pdp__adv-out:empty { display: none; }
.pdp__adv-out b { font-family: var(--display); font-weight: 400; font-size: calc(26 * var(--px)); color: var(--red); vertical-align: -0.12em; margin: 0 .15em; }
.pdp__adv-out span { opacity: .6; }

.pdp__chartbox { border-top: 1px solid rgba(227, 53, 41, .15); padding-top: calc(10 * var(--px)); }
.pdp__chartbox summary {
  list-style: none; cursor: pointer; font-size: calc(12 * var(--px)); color: var(--red); display: flex; align-items: center; gap: calc(8 * var(--px));
}
.pdp__chartbox summary::-webkit-details-marker { display: none; }
.pdp__chartbox summary::after { content: "+"; font-size: calc(18 * var(--px)); line-height: 1; transition: transform .3s; }
.pdp__chartbox[open] summary::after { transform: rotate(45deg); }
.pdp__chartbox .pdp__chart { margin-top: calc(10 * var(--px)); display: flex; flex-direction: column; gap: calc(8 * var(--px)); }
@media (max-aspect-ratio: 1/1) {
  .pdp__adv-toggle, .pdp__chartbox summary { font-size: calc(12 * var(--px)); }
}

/* =========================================================
   PRODUKTKARTEN (ruhig, klein, sauber)
   Foto ohne Rahmen, darunter Name · Art · „ab“-Preis · Farbkreise (+N).
   Schrift: DM Sans, normale Groß-/Kleinschreibung. Hover: Ansicht ohne Hund.
   ========================================================= */
:root { --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif; }
.shop__grid { gap: 36px 14px; }
.scard { display: block; color: var(--ink); text-decoration: none; }
.scard__img {
  position: relative; aspect-ratio: 4 / 3; background: #fff; border-radius: 2px; overflow: hidden;
}
.scard__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: opacity .45s ease, transform 1.4s cubic-bezier(.2, .8, .2, 1); transform: none;
}
.scard__img .scard__alt { opacity: 0; object-fit: contain; background: #fff; }
@media (hover: hover) {
  /* Maus auf der Karte: Foto wächst ganz leicht und langsam (beide Ansichten gemeinsam,
     damit beim Überblenden nichts springt) */
  .scard:hover .scard__img img { transform: scale(1.03); }
  .scard__img:hover .scard__alt { opacity: 1; }        /* Foto: Ansicht ohne Hund */
  .scard.is-variant .scard__alt { opacity: 0; }        /* Farbkreis: Farbvariante hat Vorrang */
  .scard__dot:hover { transform: scale(1.15); }        /* Farbkreis unter der Maus wird etwas größer */
}
.scard__dot { cursor: pointer; background-size: cover; background-position: center; transition: box-shadow .15s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.scard__dot.is-on { box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--ink); }
.scard__dot.is-photo { box-shadow: inset 0 0 0 1px rgba(27, 27, 27, .16); }
.scard__dot.is-photo.is-on { box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--ink); }
.scard__img .scard__main { transition: opacity .2s, transform 1.4s cubic-bezier(.2, .8, .2, 1); }

/* Sanftes Erscheinen (Klassen setzt window.cardReveal in shopcard.js):
   .rv = wartet noch unsichtbar, .rv.is-seen = gleitet herein; --d = Verzögerung in der Reihe.
   Danach ploppen die Farbkreise nacheinander auf (--i = Nummer des Kreises). */
.rv { opacity: 0; transform: translate3d(0, 18px, 0); }
.rv.is-seen {
  opacity: 1; transform: none;
  transition: opacity .7s ease var(--d, 0ms), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms);
}
.rv.is-pop .scard__dot, .rv.is-pop .scard__more {
  animation: dot-in .5s cubic-bezier(.3, 1.5, .5, 1) backwards;
  animation-delay: calc(var(--d, 0ms) + 320ms + var(--i, 0) * 70ms);
}
@keyframes dot-in { from { opacity: 0; transform: scale(.3); } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .scard__img img, .scard__dot { transition: none; }
  .scard:hover .scard__img img, .scard__dot:hover { transform: none; }
  .rv.is-pop .scard__dot, .rv.is-pop .scard__more { animation: none; }
}
.scard__body {
  display: flex; flex-direction: column; gap: 3px; padding-top: 12px;
  font-family: var(--sans); text-transform: none; letter-spacing: .04em; color: var(--ink);
}
.scard__name { font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.3; margin: 0; letter-spacing: .03em; }
.scard__kind { font-size: 13px; opacity: .55; }
.scard__price { font-size: 14px; margin-top: 3px; }
.scard__dots { display: flex; align-items: center; gap: 6px; height: 16px; margin-top: 8px; }
.scard__dot { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27, 27, 27, .16); flex: none; }
.scard__dot--pattern { background: repeating-linear-gradient(45deg, #c9a46a 0 3px, #5a3d22 3px 6px); }
.scard__more { font-size: 11px; line-height: 1; color: var(--muted); margin-left: 1px; }
@media (max-aspect-ratio: 1/1) {
  .shop__grid { gap: 28px 8px; }
  .scard__name { font-size: 14.5px; }
  .scard__dot { width: 12px; height: 12px; }
}

/* ---------- Shop-Filter: deutlich sichtbare Knöpfe, der aktive ist schwarz gefüllt (Fläche wandert mit) ---------- */
.shop__filters { gap: 10px; border-bottom: 0; padding-top: 2px; padding-bottom: 2px; }
.shop__filter {
  height: 48px; padding: 0 22px; gap: 9px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .01em;
  transition: color .3s, border-color .3s;
}
.shop__filter small { font-size: 12px; color: inherit; opacity: .5; }
.shop__filter:hover { border-color: var(--ink); }
.shop__filter[aria-selected="true"] { color: #fff; border-color: transparent; }
.shop__ind { top: 2px; bottom: auto; height: 48px; border-radius: 999px; background: var(--ink); }
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .shop__filter { height: 44px; padding: 0 18px; font-size: 14px; }
  .shop__ind { height: 44px; }
}

/* ---------- Fuß: Linkspalten über der Hunde-Leiste ---------- */
.foot--dog { flex-wrap: wrap; row-gap: 28px; }
.foot__cols {
  position: relative; z-index: 1; flex: 1 0 100%;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line);
  text-align: left; color: var(--ink);
}
.foot__name { display: block; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.01em; margin-bottom: 10px; }
.foot__brand p { max-width: 32ch; font-size: 14px; line-height: 1.5; color: rgba(27, 27, 27, .7); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.foot__col .eyebrow { margin-bottom: 8px; }
.foot__col a { font-size: 14px; padding: 6px 0; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.foot__col a:hover { background-size: 100% 1px; }
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .foot--dog { row-gap: 18px; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; text-align: left; align-self: stretch; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col a { padding: 10px 0; }
}
.reco__switch[hidden], .intro__link[hidden] { display: none !important; }
/* Linkspalten enden über dem Hundekopf, der von unten in die Mitte schaut */
@media (min-width: 761px) and (min-aspect-ratio: 1/1) {
  .foot__cols { margin-bottom: calc(var(--b) * .2 - 52px); }
}

/* ---------- Karten-Abwechslung (shopcard.js: scard--hund | --teil | --nah | --detail, scard--gross) ---------- */
.scard__img .scard__main { transform: scale(var(--z, 1)); transform-origin: var(--zo, 50% 50%); }
.scard--nah .scard__main { --z: 1.38; --zo: 80% 12%; }                /* näher dran: Kopf + Oberkörper (Hund schaut nach rechts, Kopf bleibt im Bild) */
.scard--teil .scard__alt, .scard--detail .scard__alt { object-fit: cover; }   /* Maus drauf: Hund im vollen Bild */
.scard.is-variant .scard__main { --z: 1; }                           /* Farbvariante zeigt immer das ganze Foto */
@media (hover: hover) {
  .scard:hover .scard__img .scard__main { transform: scale(calc(var(--z, 1) * 1.03)); }
}
/* große Karte: 2 Spalten × 2 Reihen, Bild füllt die Höhe */
.shop__grid { grid-auto-flow: row dense; }
.scard--gross { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.scard--gross .scard__img { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
.scard--gross .scard__name { font-size: 18px; }
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .scard--gross { grid-row: span 1; }
  .scard--gross .scard__img { aspect-ratio: 4 / 3; flex: none; }
}

/* ---------- Bestseller: Vorschau auf den Kleiderschrank (links) + drei Karten und „Alle“ (rechts, 2 × 2) ---------- */
.best__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); max-width: var(--maxw); margin: 0 auto; align-items: start; }
.best__body .best__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; max-width: none; margin: 0; }
.best__teaser { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; background: #3a3a3a; }
.best__teaser img { display: block; width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.best__teaser:hover img { transform: scale(1.025); }
.best__teaser::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(20, 20, 20, 0), rgba(20, 20, 20, .62)); pointer-events: none; }
.best__teaser-text { position: absolute; z-index: 1; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 26px); right: 70px; display: flex; flex-direction: column; gap: 4px; }
.best__teaser-text .eyebrow { color: rgba(255, 255, 255, .75); }
.best__teaser-text b { font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; line-height: 1.1; }
.best__teaser-text span:last-child { font-size: 14px; color: rgba(255, 255, 255, .85); max-width: 34ch; }
.best__teaser-pfeil { position: absolute; z-index: 1; right: clamp(16px, 2vw, 26px); bottom: clamp(16px, 2vw, 26px); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; transition: transform .4s var(--ease); }
.best__teaser:hover .best__teaser-pfeil { transform: translateX(4px); }
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .best__body { display: block; }
  .best__teaser { margin: 0 var(--gutter) 22px; }
  .best__body .best__grid { display: flex; gap: 10px; }
}
/* Der große Kleiderschrank-Teaser ist jetzt der Einstieg – den zusätzlichen Knopf im Kopf braucht es nicht mehr */
.best__body ~ .best__schrank, .best__head .best__schrank { display: none; }

/* Einleitungssatz unter dem Hero ist ausgeblendet */
.intro[hidden] { display: none !important; }
.cats[hidden] { display: none !important; }

/* Hero: schmale Querformate – die Navigation neben der Logo-Aussparung hätte keinen Platz mehr (steckt im Menü-Knopf) */
@media (max-width: 1180px) { .hero__nav { display: none; } }

/* ---------- Abschnitt „Kleiderschrank“ (früher Bestseller): nur noch die große Vorschau über die ganze Breite.
   Die drei Produktkarten daneben sind ausgeblendet (.best__grid hat hidden). ---------- */
.best--schrank .best__grid[hidden] { display: none !important; }
.best--schrank .best__body { display: block; }
.best--schrank .best__teaser img { aspect-ratio: auto; height: min(64svh, 46vw); object-fit: cover; object-position: 50% 45%; }
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .best--schrank .best__teaser img { aspect-ratio: 4 / 5; height: auto; }
}

/* ---------- Laufband ausgeblendet ---------- */
.ticker[hidden] { display: none !important; }

/* ---------- Vertrauen: drei Zusagen in einer Zeile ---------- */
.trust { position: relative; z-index: 3; background: var(--bg); padding: clamp(40px, 6vw, 88px) var(--gutter); border-top: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--maxw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(20px, 4vw, 64px); }
.trust__list li { display: flex; align-items: flex-start; gap: 16px; }
.trust__list svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.trust__list b { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.trust__list span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .trust__list { grid-template-columns: 1fr; }
}

/* Fuß ohne Hund (auf Wunsch entfernt): unten keinen Platz mehr für die Zeichnung freihalten */
.foot--dog { min-height: 0; padding-bottom: 36px; }
@media (max-width: 760px), (max-aspect-ratio: 1/1) { .foot--dog { padding-bottom: 28px; } }

/* Rechtslinks in den Fußzeilen (Rechtstexte, siehe recht/bauen.py) */
.recht-links { display: flex; flex-wrap: wrap; gap: 0 16px; justify-content: center; }
.recht-links a { font-size: 13px; }
footer.foot:has(.recht-links) { flex-wrap: wrap; row-gap: 4px; }
