/* =========================================================
   AG Colour – Lack & Zubehör
   ========================================================= */

:root {
  --bg: #0b0b10;
  --bg-2: #12121a;
  --surface: #181822;
  --line: #2a2a38;
  --text: #f6f4ff;
  --muted: #a6a4b8;

  --red: #ff2d55;
  --orange: #ff8a00;
  --yellow: #ffd60a;
  --green: #34e36b;
  --blue: #00c2ff;
  --violet: #6c5cff;
  --pink: #d62dff;
  --rainbow: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--violet), var(--pink));

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-spray: "Rubik Spray Paint", "Bricolage Grotesque", sans-serif;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- Typo-Helfer ---------- */
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.rainbow-text {
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-shift 8s linear infinite;
}
@keyframes rainbow-shift { to { background-position: 200% 0; } }

/* Sprüh-Effekt für Highlight-Überschriften */
.spray-text {
  font-family: var(--font-spray);
  font-weight: 400;
  letter-spacing: 0;
  display: inline-block;
  padding: 0 .06em;
}
[data-spray] {
  clip-path: inset(-20% 100% -20% 0);
  filter: blur(8px);
  transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1), filter 1.1s ease;
}
[data-spray].is-sprayed {
  clip-path: inset(-20% -5% -20% 0);
  filter: blur(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary {
  background: var(--rainbow);
  background-size: 200% 100%;
  color: #0b0b10;
  box-shadow: 0 10px 30px -10px rgba(255, 45, 85, .6);
  animation: rainbow-shift 6s linear infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(108, 92, 255, .7); }
.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(11, 11, 16, .55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; }
.logo-ag {
  font-family: var(--font-spray);
  font-size: 34px;
  line-height: 1;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-colour {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .02em;
}
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s;
}
.nav a:hover { color: var(--text); }
.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
}
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn svg circle { fill: currentColor; stroke: none; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--red);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  transform: scale(0);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.cart-count.has-items { transform: scale(1); }
.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.18) rotate(-8deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}
/* Sprühspur läuft nach unten weich aus – kein harter Rand zum nächsten Bereich */
.spray-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
  mask-image: linear-gradient(to bottom, #000 65%, transparent);
}

/* Durchgehender Hintergrund: langsam wandernde Farbwolken hinter der ganzen Seite */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient span {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .16;
  animation: ambient-drift 26s ease-in-out infinite alternate;
}
.ambient span:nth-child(1) { background: var(--pink); right: -25vmax; top: -30vmax; }
.ambient span:nth-child(2) { background: var(--blue); left: -30vmax; bottom: -35vmax; animation-duration: 31s; }
.ambient span:nth-child(3) { background: var(--violet); left: 20vmax; top: 10vmax; opacity: .1; animation-duration: 37s; }
.ambient span:nth-child(4) { background: var(--orange); right: -20vmax; bottom: -40vmax; opacity: .08; animation-duration: 29s; }
@keyframes ambient-drift { to { transform: translate(10vmax, -8vmax) scale(1.2); } }
.hero-inner { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 12vw, 168px);
  line-height: .92;
  letter-spacing: -.04em;
}
.hero-title .line { display: block; }
.hero-title .spray-text { font-size: .96em; letter-spacing: 0; margin-top: .06em; }
.hero-lead {
  max-width: 560px;
  margin: 28px 0 36px;
  font-size: clamp(17px, 2vw, 20px);
  color: #d6d4e6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-hint { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
@media (hover: none) { .hero-hint { display: none; } }

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--gutter);
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-lead { margin: 18px 0 0; font-size: 19px; color: var(--muted); }

/* Kategorien */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.cat:hover { transform: translateY(-4px); border-color: var(--c); }
.cat-stage {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: radial-gradient(60% 55% at 50% 50%, color-mix(in srgb, var(--c) 12%, transparent), transparent 75%), var(--bg-2);
}
.cat-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); }
.cat h3 { margin: 20px 24px 4px; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--c); }
.cat p { margin: 0 24px 24px; color: color-mix(in srgb, var(--c) 80%, var(--bg)); font-size: 15px; }

/* Farbklecks hinter dem Produkt */
.splat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--c);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scaleX(var(--flip, 1));
}
.splat.pop { opacity: 1; }
/* Farbspritzer-Aufprall: Kern klatscht auf, Strahlen schießen raus, Tropfen fliegen hinterher.
   Ursprung jeder Bewegung ist die Mitte des Spritzers (viewBox-Ursprung 0,0). */
.splat .sp-rim { fill: color-mix(in srgb, var(--c) 65%, #fff); fill-opacity: .45; }
.splat .sp-pool { fill: color-mix(in srgb, var(--c) 65%, #000); opacity: .35; }
.splat.pop .sp-body { animation: sp-body .45s cubic-bezier(.2, 1.5, .4, 1) both; }
.splat.pop .sp-spike { animation: sp-shoot .38s cubic-bezier(.1, .8, .3, 1) var(--d, 0ms) both; }
.splat.pop .sp-drop { animation: sp-fly .55s cubic-bezier(.1, .7, .3, 1) var(--d, 0ms) both; }
@keyframes sp-body { from { transform: scale(.2); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes sp-shoot { from { transform: scale(.3); } to { transform: none; } }
@keyframes sp-fly { from { transform: scale(.45); opacity: 0; } 25% { opacity: 1; } to { transform: none; opacity: 1; } }
.splat-mist { opacity: .45; }

/* ---------- Scrub-Showcase ---------- */
.scrub { position: relative; height: 320vh; }
.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--gutter) 40px;
}
.scrub-stage { position: relative; display: grid; place-items: center; height: 100%; }
.splash {
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from var(--angle, 0deg), var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--violet), var(--pink), var(--red));
  filter: blur(60px);
  opacity: .45;
}
.scrub-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.scrub-steps li {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
}
.scrub-steps li.is-active { opacity: 1; transform: none; }
.scrub-steps .spray-text { font-size: clamp(44px, 6vw, 84px); line-height: 1.05; }
.scrub-steps p { max-width: 420px; margin: 16px 0 0; font-size: 20px; color: #d6d4e6; }

/* ---------- 360°-Viewer ---------- */
.spin {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.spin canvas { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .6)); }
.spin.is-grabbing { cursor: grabbing; }
.spin-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 11, 16, .7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transform: translateX(-50%);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.spin-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(3px); } }
.spin.was-used .spin-hint { opacity: 0; transform: translate(-50%, 8px); }
.spin-track {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 14px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
}
.spin-knob {
  position: absolute;
  top: 50%;
  left: calc(var(--pos, 0) * 100%);
  width: 26px;
  height: 5px;
  border-radius: 5px;
  background: var(--rainbow);
  transform: translate(-50%, -50%);
}
.spin--scroll { width: min(400px, 80%); height: min(72svh, 620px); cursor: default; touch-action: auto; }

/* ---------- Shop ---------- */
.products {
  position: relative;
  isolation: isolate; /* Leuchtflächen der Karten mischen sich nur hier untereinander */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 1100px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr; }
  /* einspaltig: Schein nach oben/unten statt über den Bildschirmrand hinaus */
  .products .card::before { inset: -18% -6%; }
}
/* Die Leuchtfarbe liegt hinter der Karte, strahlt weit nach außen und mischt sich mit
   den Nachbarkarten. Kein transform beim Hover – sonst bekäme jede Karte einen eigenen
   Stapelkontext und die Farben könnten sich nicht mehr mischen. */
.card { position: relative; top: 0; transition: top .3s ease; }
.card::before {
  content: "";
  position: absolute;
  inset: -40% -55%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow) 35%, transparent);
  filter: blur(50px);
  opacity: .7;
  mix-blend-mode: screen;
  transition: opacity .4s ease;
  pointer-events: none;
}
.card:hover { top: -4px; }
.card:hover::before { opacity: 1; }
.card-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s ease;
}
.card:hover .card-box { border-color: color-mix(in srgb, var(--glow) 60%, #3e3e52); }
/* das Licht von außen läuft dezent vom Rand in den Kasten hinein, die Mitte bleibt dunkel */
.card-box { position: relative; }
.card-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 80px -24px color-mix(in srgb, var(--glow) 60%, transparent);
  mix-blend-mode: screen;
  opacity: .75;
  transition: opacity .4s ease;
  pointer-events: none;
}
.card:hover .card-box::after { opacity: 1; }
.card-stage {
  position: relative;
  height: 420px;
  padding: 24px 12px 44px;
  background: var(--bg-2);
  overflow: hidden;
}
.card-stage::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: 60%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent);
}
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 20px; flex: 1; }
.card-cat { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.card-title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.2; }
.card-title button { all: unset; cursor: pointer; }
.card-title button:hover { text-decoration: underline; text-decoration-color: var(--glow); text-underline-offset: 4px; }
.card-title button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.card .spin { cursor: zoom-in; }
.price small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--muted); }
.card-meta { margin: 0; font-size: 14px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.price { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.add-btn:hover { background: var(--yellow); }
.add-btn:active { transform: scale(.95); }
.note { margin: 28px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- So geht's ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: s;
}
.steps li {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border-top: 4px solid var(--c);
}
.step-no {
  display: block;
  font-family: var(--font-spray);
  font-size: 64px;
  line-height: 1;
  color: var(--c);
}
.steps h3 { margin: 12px 0 6px; font-family: var(--font-display); font-size: 22px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: conic-gradient(var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--violet), var(--pink), var(--red));
  filter: blur(50px);
  opacity: .4;
}
.photo-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: repeating-linear-gradient(135deg, #1d1d28 0 14px, #191922 14px 28px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted);
}
.big-quote {
  margin: 28px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.3;
}
.about-text > p:not(.big-quote):not(.eyebrow) { color: #cfcde0; }
.signature { display: flex; flex-direction: column; margin-top: 28px; padding-left: 18px; border-left: 4px solid; border-image: var(--rainbow) 1; }
.signature strong { font-family: var(--font-display); font-size: 20px; }
.signature span { color: var(--muted); font-size: 15px; }

/* ---------- Chat CTA ---------- */
.chat-cta { text-align: center; }
.chat-cta .section-lead { margin: 18px auto 32px; max-width: 520px; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
}
.footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--rainbow); }
.footer-brand p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--text); }

/* ---------- Chat: Sprühdose + Klecks-Button ---------- */
.tg-mist { position: fixed; inset: 0; z-index: 44; width: 100%; height: 100%; pointer-events: none; }
/* Position (left/top) setzt script.js, damit die Düse genau auf den Klecks zielt */
.tg-can {
  position: fixed;
  z-index: 45;
  left: 0;
  top: 0;
  height: min(520px, 70vh);
  transform-origin: 50% 100%;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}
.tg-can img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)); }
.tg-splat {
  position: fixed;
  z-index: 46;
  right: 14px;
  bottom: 14px;
  width: 104px;
  height: 104px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: scale(0);
  -webkit-tap-highlight-color: transparent;
}
.tg-blob { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: #229ed9; filter: drop-shadow(0 10px 18px rgba(34, 158, 217, .55)); }
.tg-blob .drip { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
.tg-icon { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; fill: #fff; transform: translate(-50%, -50%) scale(0); }
.tg.is-done .tg-splat { transform: scale(1); }
.tg.is-done .tg-icon { transform: translate(-50%, -50%) scale(1); transition: transform .4s cubic-bezier(.3, 1.8, .5, 1) .1s; }
.tg-icon circle { animation: typing 1.4s ease-in-out infinite; }
.tg-icon circle:nth-child(3) { animation-delay: .15s; }
.tg-icon circle:nth-child(4) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-1.2px); } }
.tg.is-done .tg-blob .drip { transform: scaleY(1); transition: transform 2.4s cubic-bezier(.2, .7, .3, 1) .3s; }
.tg.is-done .tg-splat:hover { animation: wobble .6s ease; }
@keyframes wobble {
  30% { transform: scale(1.12, .9); }
  60% { transform: scale(.94, 1.08); }
  100% { transform: scale(1); }
}

/* ---------- Produktansicht ---------- */
html.pv-lock { overflow: hidden; }
.pv { position: fixed; inset: 0; z-index: 80; overflow-y: auto; overscroll-behavior: contain; }
.pv[hidden] { display: none; }
.pv-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: rgba(11, 11, 16, .5);
  backdrop-filter: blur(26px) saturate(1.6);
  -webkit-backdrop-filter: blur(26px) saturate(1.6);
  opacity: 0;
  transition: opacity .45s ease;
}
.pv.is-open .pv-backdrop { opacity: 1; }
.pv-blob {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: drift 14s ease-in-out infinite alternate;
}
.pv-blob:nth-child(1) { background: var(--glow); left: -12vmax; top: -8vmax; opacity: .75; }
.pv-blob:nth-child(2) { background: var(--pink); right: -18vmax; top: -24vmax; animation-duration: 17s; }
.pv-blob:nth-child(3) { background: var(--yellow); left: 18vmax; bottom: -34vmax; animation-duration: 19s; opacity: .35; }
.pv-blob:nth-child(4) { background: var(--blue); right: -12vmax; bottom: -28vmax; animation-duration: 15s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }

.pv-layout {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--gutter);
  pointer-events: none;
}
.pv-stage { height: min(78vh, 720px); aspect-ratio: 3 / 4; justify-self: center; pointer-events: auto; will-change: transform; }
.pv-spin canvas { filter: drop-shadow(0 50px 50px rgba(0, 0, 0, .6)); }
.pv-spin .spin-hint { bottom: 4%; }

.pv-info { max-width: 520px; pointer-events: auto; }
.pv-info > * { opacity: 0; transform: translateX(40px); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .9, .25, 1); }
.pv.is-open .pv-info > * { opacity: 1; transform: none; }
.pv.is-open .pv-info > :nth-child(1) { transition-delay: .2s; }
.pv.is-open .pv-info > :nth-child(2) { transition-delay: .26s; }
.pv.is-open .pv-info > :nth-child(3) { transition-delay: .32s; }
.pv.is-open .pv-info > :nth-child(4) { transition-delay: .38s; }
.pv.is-open .pv-info > :nth-child(5) { transition-delay: .44s; }
.pv.is-open .pv-info > :nth-child(6) { transition-delay: .5s; }
.pv.is-open .pv-info > :nth-child(7) { transition-delay: .56s; }
.pv.is-open .pv-info > :nth-child(8) { transition-delay: .62s; }
.pv-title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.4vw, 58px); line-height: 1; letter-spacing: -.02em; }
.pv-meta { margin: 0 0 22px; color: var(--muted); }
.pv-price { display: flex; flex-direction: column; margin-bottom: 22px; }
.pv-price strong { font-family: var(--font-display); font-size: 42px; line-height: 1.1; }
.pv-price span { font-size: 14px; color: var(--muted); }
.pv-desc { margin: 0 0 18px; font-size: 18px; color: #dddbee; }
.pv-features { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.pv-features li { position: relative; padding-left: 30px; font-weight: 500; }
.pv-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 16px;
  height: 16px;
  border-radius: 46% 54% 42% 58% / 55% 40% 60% 45%;
  background: var(--glow);
  box-shadow: 0 0 14px var(--glow);
}
.pv-buy { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.pv-qty { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.pv-qty button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; cursor: pointer; }
.pv-qty button:hover { background: rgba(255, 255, 255, .1); }
.pv-qty span { min-width: 28px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.pv-legal { margin: 0; font-size: 13px; color: var(--muted); }
.pv-legal a { color: var(--muted); }
.pv-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(11, 11, 16, .5);
  backdrop-filter: blur(8px);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(.6) rotate(-90deg);
  transition: opacity .3s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.pv.is-open .pv-close { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .pv-layout { grid-template-columns: 1fr; align-items: start; gap: 8px; padding: 70px 16px 40px; }
  .pv-stage { height: 50vh; }
  .pv-info { max-width: none; }
  .pv-info > * { transform: translateY(30px); }
}

/* ---------- Warenkorb ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.cart-open .drawer { transform: none; }
.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.icon-btn { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); font-size: 24px; line-height: 1; cursor: pointer; }
.drawer-items { list-style: none; margin: 0; padding: 12px 24px; flex: 1; overflow-y: auto; }
.drawer-items li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-items .thumb { width: 44px; height: 58px; object-fit: contain; border-radius: 8px; background: radial-gradient(circle, color-mix(in srgb, var(--p) 40%, transparent), transparent 70%); }
.drawer-items .name { font-weight: 600; line-height: 1.3; }
.drawer-items .qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.drawer-items .qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.drawer-items .line-price { font-family: var(--font-display); font-weight: 700; }
.drawer-items .empty { display: block; border: 0; color: var(--muted); text-align: center; padding: 40px 0; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font-size: 18px; }
.total strong { font-family: var(--font-display); font-size: 24px; }
.small { margin: 2px 0 16px; font-size: 13px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translate(-50%, 150%);
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .header { justify-content: space-between; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
  .scrub-sticky { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 8px; padding-top: 90px; text-align: center; }
  .scrub-steps p { margin-inline: auto; font-size: 17px; }
  .spin--scroll { height: 56svh; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .cat-stage { height: 170px; }
  .cat h3 { margin: 14px 16px 2px; font-size: 18px; }
  .cat p { margin: 0 16px 16px; font-size: 13px; }
  .tg-can { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
  [data-spray] { clip-path: none; filter: none; }
  html { scroll-behavior: auto; }
}
