/* Pouch-Popup (29.10.2026) — gehört zu pouch-popup.js, isoliert (alles mit .pp- / #pouch-popup) */
#pouch-popup.pp-huelle {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .72);
  opacity: 0; transition: opacity .25s ease;
}
#pouch-popup.pp-offen { opacity: 1; }
#pouch-popup .pp-box {
  position: relative;
  /* Breite richtet sich auch nach der Höhe: Bild (1200×993) + ~270px Text müssen hineinpassen */
  width: min(480px, calc(100vw - 32px), calc((100vh - 300px) * 1.2085));
  min-width: min(300px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #181818;
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  color: #eee;
  font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
  transform: translateY(12px) scale(.98); transition: transform .25s ease;
}
#pouch-popup.pp-offen .pp-box { transform: none; }
#pouch-popup .pp-box:focus { outline: none; }
#pouch-popup .pp-bildlink { display: block; line-height: 0; }
#pouch-popup .pp-bild {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1200 / 993;
  background: #0f0f0f;
  border-radius: 12px 12px 0 0;
}
#pouch-popup .pp-text { padding: 16px 20px 20px; text-align: center; }
#pouch-popup .pp-tag {
  display: inline-block; margin-bottom: 8px; padding: 3px 10px;
  background: #d4af37; color: #000; border-radius: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
#pouch-popup h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.45rem; font-weight: 600; line-height: 1.2; color: #d4af37;
}
#pouch-popup p { margin: 0 0 16px; font-size: .92rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
#pouch-popup .pp-hinweis { display: block; margin-top: 4px; color: #e8c766; font-weight: 600; }
#pouch-popup .pp-knopf {
  display: block; width: 100%;
  padding: 14px 18px;
  background: #d4af37; color: #111;
  border-radius: 8px;
  font-size: 1.05rem; font-weight: 700; letter-spacing: .3px;
  text-decoration: none; text-align: center;
  transition: background .2s ease, transform .2s ease;
}
#pouch-popup .pp-knopf:hover { background: #e8c766; transform: translateY(-1px); }
#pouch-popup .pp-knopf:focus-visible,
#pouch-popup .pp-zu:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
#pouch-popup .pp-zu {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .65); color: #fff;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  font-size: 18px; line-height: 1; cursor: pointer;
}
#pouch-popup .pp-zu:hover { background: rgba(0, 0, 0, .85); }
@media (max-width: 420px) {
  #pouch-popup .pp-text { padding: 14px 16px 16px; }
  #pouch-popup h2 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  #pouch-popup.pp-huelle, #pouch-popup .pp-box { transition: none; }
}
