/* ============================================================
   HealingPaws Erlebnis, gemeinsame Hülle für alle Seiten
   Fortschritts-Pfote, Navigation, Footer, Blue als Begleiterin.
   Alles hat das Präfix hp-, damit es mit dem CSS der einzelnen Seiten nicht kollidiert.
   ============================================================ */
:root {
  --hp-deep: #283222; --hp-moss: #3E4B37; --hp-sage: #C2C79A; --hp-sage-soft: #E6E5CF;
  --hp-beige: #F4EFE3; --hp-sand: #EAE3D2; --hp-mauve: #7A4A63; --hp-mauve-deep: #5F3750;
  --hp-ink: #2B3326; --hp-koralle: #FF7A59; --hp-line: rgba(62,75,55, .16);
  --hp-display: "DM Serif Display", Georgia, serif;
  --hp-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hp-ease: cubic-bezier(.2, .7, .2, 1);
  --hp-gutter: 20px;
  --hp-navh: 68px;
}
.hp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp-paw { width: 1em; height: 1em; fill: currentColor; display: inline-block; }
html { scroll-padding-top: 76px; font-synthesis: none; }
body:not([data-top="dark"]) { padding-top: var(--hp-navh); }

/* ── Fortschritt: eine Pfote läuft oben über die Seite ── */
.hp-progress { position: fixed; z-index: 1000; top: 0; left: 0; right: 0; height: 4px; pointer-events: none; }
.hp-progress i { position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--hp-sage), var(--hp-koralle)); transform-origin: 0 50%; transform: scaleX(0); }
.hp-progress .hp-paw { position: absolute; top: -5px; left: 0; font-size: 18px; color: var(--hp-koralle); transform: translateX(-50%); filter: drop-shadow(0 1px 0 #fff); }

/* ── Navigation ── */
.hp-nav, .hp-nav * , .hp-sheet, .hp-sheet * { box-sizing: border-box; }
.hp-nav { position: fixed; z-index: 990; left: 0; right: 0; top: 4px; padding: 8px 0; font-family: var(--hp-body); font-size: 16px; line-height: 1.4;
  background: rgba(244,239,227, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hp-line); color: var(--hp-moss);
  transition: background .35s, box-shadow .35s, padding .35s, color .35s; }
.hp-nav .hp-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--hp-gutter); }
.hp-logo { font-family: var(--hp-display); font-weight: 600; font-size: 1.35rem; text-decoration: none; color: inherit; letter-spacing: -.01em; }
.hp-logo span { color: var(--hp-mauve-deep); transition: color .35s; }
.hp-links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.6rem; font-weight: 600; font-size: .95rem; }
.hp-links a { text-decoration: none; color: inherit; opacity: .92; }
.hp-links a:hover, .hp-links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--hp-koralle); text-decoration-thickness: 2px; }
.hp-cta { display: none; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.2rem; border-radius: 999px; background: #FF7A59; color: #283222; font: 700 .92rem/1.2 var(--hp-body); text-decoration: none; box-shadow: 0 10px 24px -12px rgba(255,122,89, .9);
  transition: transform .25s var(--hp-ease), background .25s; }
.hp-cta:hover { transform: translateY(-2px); background: #FF6A45; }
.hp-burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hp-line); background: #fff; color: inherit; display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0; }
.hp-burger span { width: 18px; height: 2px; background: currentColor; display: block; transition: transform .3s var(--hp-ease), opacity .3s; }
.hp-menu-open .hp-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hp-menu-open .hp-burger span:nth-child(2) { opacity: 0; }
.hp-menu-open .hp-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Seiten mit dunklem Kopfbereich: Navigation liegt zuerst durchsichtig darüber */
body[data-top="dark"] .hp-nav:not(.scrolled) { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; padding: 12px 0; }
body[data-top="dark"] .hp-nav:not(.scrolled) .hp-logo span { color: #D0D3AE; }
body[data-top="dark"] .hp-nav:not(.scrolled) .hp-burger { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
body[data-top="dark"].hp-menu-open .hp-nav { background: rgba(244,239,227, .96); color: var(--hp-moss); box-shadow: 0 1px 0 var(--hp-line); }
body[data-top="dark"].hp-menu-open .hp-nav .hp-logo span { color: var(--hp-mauve-deep); }
body[data-top="dark"].hp-menu-open .hp-nav .hp-burger { border-color: var(--hp-line); background: #fff; }

.hp-sheet { position: fixed; z-index: 980; inset: 0; background: var(--hp-beige); display: grid; align-content: center; justify-items: start; gap: .2rem; padding: 90px var(--hp-gutter) 40px; opacity: 0; pointer-events: none; transform: translateY(-12px); visibility: hidden;
  transition: opacity .35s var(--hp-ease), transform .35s var(--hp-ease), visibility 0s linear .35s; font-family: var(--hp-body); }
.hp-menu-open .hp-sheet { opacity: 1; pointer-events: auto; transform: none; visibility: visible; transition-delay: 0s; }
.hp-sheet a { font-family: var(--hp-display); font-size: 2rem; font-weight: 600; line-height: 1.2; color: var(--hp-moss); text-decoration: none; padding: .35rem 0; }
.hp-sheet a.hp-sheet-cta { margin-top: 1.2rem; font-family: var(--hp-body); font-size: 1rem; font-weight: 700; color: #283222; background: #FF7A59; padding: .9rem 1.5rem; border-radius: 999px; }

/* ── Footer ── */
.hp-foot { background: var(--hp-deep); color: rgba(255, 255, 255, .78); padding: 56px 0 40px; font-family: var(--hp-body); font-size: 16px; line-height: 1.6; position: relative; isolation: isolate; text-align: left; }
.hp-foot, .hp-foot * { box-sizing: border-box; }
.hp-foot::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hp-foot .hp-in { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--hp-gutter); }
.hp-foot-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr 1fr; margin-bottom: 2.2rem; }
.hp-foot-brand { grid-column: 1 / -1; }
.hp-foot .hp-logo { font-size: 1.6rem; color: #fff; display: inline-block; margin-bottom: .5rem; }
.hp-foot .hp-logo span { color: #D0D3AE; }
.hp-foot-claim { font-family: var(--hp-display); font-style: italic; font-size: 1.1rem; color: rgba(255, 255, 255, .86); margin: 0 0 .8rem; max-width: 26em; }
.hp-foot-mail { color: var(--hp-koralle); font-weight: 600; text-decoration: none; }
.hp-foot-mail:hover { text-decoration: underline; }
.hp-foot h4 { font: 700 .74rem/1.2 var(--hp-body); letter-spacing: .14em; text-transform: uppercase; color: #D0D3AE; margin: 0 0 .9rem; }
.hp-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.hp-foot ul a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .92rem; }
.hp-foot ul a:hover { color: #fff; text-decoration: underline; }
.hp-foot-fine { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.4rem; font-size: .8rem; color: rgba(255, 255, 255, .6); max-width: 46em; }

/* ── Blue begleitet dich ── */
.hp-guide { position: fixed; z-index: 970; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: flex-end; gap: 8px; pointer-events: none; font-family: var(--hp-body); }
.hp-guide * { box-sizing: border-box; }
.hp-guide .hp-av { pointer-events: auto; width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); overflow: hidden; cursor: pointer; padding: 0; background: var(--hp-moss); flex: none; transition: transform .3s var(--hp-ease); }
.hp-guide .hp-av:hover { transform: scale(1.08) rotate(-4deg); }
.hp-guide .hp-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-bubble { pointer-events: auto; position: relative; max-width: 196px; background: #fff; color: var(--hp-ink); font-size: .9rem; line-height: 1.35; padding: .7rem .9rem; border-radius: 16px 16px 16px 4px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); margin-bottom: 10px;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 0 100%; transition: opacity .45s var(--hp-ease), transform .45s var(--hp-ease); visibility: hidden; }
.hp-bubble.show { opacity: 1; transform: none; visibility: visible; }
.hp-bubble button { position: absolute; top: -9px; right: -9px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--hp-moss); color: #fff; font-size: .8rem; line-height: 1; cursor: pointer; padding: 0; }
.hp-guide.off .hp-bubble { display: none; }

/* ── Einblenden beim Scrollen ── */
.js .hp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--hp-ease), transform .9s var(--hp-ease); }
.js .hp-reveal.in { opacity: 1; transform: none; }

/* ── Kauf nur mit Rechnungsadresse in Deutschland ── */
.hp-buy { position: fixed; inset: 0; margin: auto; height: fit-content; border: 0; padding: 0; border-radius: 24px; max-width: min(440px, calc(100vw - 32px)); width: 100%; background: var(--hp-beige); color: var(--hp-ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); font-family: var(--hp-body); }
.hp-buy::backdrop { background: rgba(40,50,34, .62); }
.hp-buy-box { padding: 1.7rem 1.5rem 1.5rem; display: grid; gap: .8rem; }
.hp-buy h2 { margin: 0; font: 600 1.55rem/1.2 var(--hp-display); color: var(--hp-moss); }
.hp-buy p { margin: 0; font-size: .98rem; line-height: 1.55; }
.hp-buy label { font-weight: 700; font-size: .85rem; color: var(--hp-moss); }
.hp-buy select { width: 100%; font: inherit; padding: .8rem 1rem; border-radius: 14px; border: 1.5px solid var(--hp-line); background: #fff; color: var(--hp-ink); }
.hp-buy select:focus { outline: 2px solid var(--hp-mauve); outline-offset: 2px; }
.hp-buy-stop { background: var(--hp-mauve-soft); border: 1.5px solid var(--hp-mauve); border-radius: 14px; padding: .75rem 1rem; font-size: .92rem; }
.hp-buy-stop a { color: var(--hp-mauve-deep); font-weight: 700; }
.hp-buy-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .3rem; }
.hp-buy-go, .hp-buy-cancel { min-height: 46px; padding: .6rem 1.3rem; border-radius: 999px; font: 700 .95rem/1.2 var(--hp-body); cursor: pointer; border: 1.5px solid transparent; }
.hp-buy-go { background: var(--hp-mauve); color: #fff; }
.hp-buy-go:hover:not(:disabled) { background: var(--hp-mauve-deep); }
.hp-buy-go:disabled { opacity: .45; cursor: not-allowed; }
.hp-buy-cancel { background: transparent; color: var(--hp-moss); border-color: var(--hp-line); }

/* ── Silvester-Kurs: Hinweis verschwindet ab dem 16. November von selbst ── */
.no-event .hp-event { display: none !important; }

@media (min-width: 760px) { .hp-foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .hp-foot-brand { grid-column: auto; } }
@media (min-width: 900px) {
  :root { --hp-gutter: 40px; }
  .hp-links, .hp-cta { display: inline-flex; } .hp-burger, .hp-sheet { display: none; }
  .hp-bubble { max-width: 250px; font-size: .95rem; }
  .hp-guide { left: 22px; bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hp-nav, .hp-sheet, .hp-bubble, .hp-guide .hp-av, .hp-cta { transition: none !important; }
  .js .hp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
