/* =====================================================================
   PPDMc v2 – product pages (/digitale-speisekarte, /reservierungssystem, /digitale-stempelkarte).
   Loaded after site.css + pages.css; reuses their components (gd-cards, gd-steps, gd-dark, st-hcard, st-wcard).
   ===================================================================== */
.pp-how { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 56px); align-items: center; }
.pp-link { margin: 16px 0 0; }
.pp-fig { margin: 0; display: flex; justify-content: center; }
.pp-fig__art { display: flex; justify-content: center; padding: 12px; }
/* the hero mock-ups, without their hero offsets and also on phones */
.pp-fig .st-hcard { display: flex; margin: 0; transform: rotate(-3deg); }
.pp-fig .st-wcard { transform: rotate(3deg); }
.pp-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-rel .gd-h3 a { color: var(--tx); text-decoration: none; }
.pp-rel .gd-h3 a::after { content: ' →'; color: var(--acc-h); }
.pp-rel .gd-h3 a:hover { color: var(--acc-h); }
.pp .gd-dark .st-btn--white { box-shadow: none; }
.pp-text { margin: 0; max-width: 60ch; font-size: 17px; line-height: 1.65; color: var(--tx2); }
/* steps: short title in the display font, the sentence below in body text */
.pp .gd-step > p { font-size: 16px; line-height: 1.6; }
/* reservation mock: the chips stay on one line each */
.pp-fig .st-hcard { width: 290px; max-width: 100%; }
.pp-fig .st-hcard__chips { flex-wrap: wrap; }
.pp-fig .st-hcard__chips span { white-space: nowrap; }

/* table plan mock (reservation page) */
.pp-plan { width: 290px; max-width: 100%; padding: 16px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35); transform: rotate(2deg); }
.pp-plan__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 6px 4px 4px; }
.pp-plan__t { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; background: var(--bg); font-size: 11.5px; color: var(--tx3); }
.pp-plan__t--round { border-radius: 50%; }
.pp-plan__t b { font-family: var(--fd); font-size: 19px; font-weight: 600; color: var(--tx); }
.pp-plan__t.is-busy { background: oklch(0.95 0.03 255); box-shadow: inset 0 0 0 1.5px var(--acc); }
.pp-plan__t.is-busy b { color: var(--acc-h); }
.pp-plan__key { display: flex; gap: 16px; padding: 10px 4px 0; font-size: 12px; color: var(--tx3); }
.pp-plan__key span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); vertical-align: -1px; }
.pp-plan__key .is-busy::before { background: oklch(0.95 0.03 255); box-shadow: inset 0 0 0 1.5px var(--acc); }

/* message mock (Stempelkarte page): lock-screen notification */
.pp-msg { width: 290px; max-width: 100%; padding: 22px 14px 40px; border-radius: 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); transform: rotate(-2deg); font-family: -apple-system, 'Helvetica Neue', Helvetica, system-ui, sans-serif; }
.pp-msg__time { font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.92); }
.pp-msg__note { align-self: stretch; display: flex; gap: 10px; padding: 11px 12px; border-radius: 18px; background: rgba(245, 245, 245, 0.86); color: #111; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.pp-msg__ico { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 15px; font-weight: 700; }
.pp-msg__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.4; color: #333; }
.pp-msg__h { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: #111; }
.pp-msg__h small { font-size: 12px; color: #666; white-space: nowrap; }

@media (max-width: 860px) {
  .pp-how, .pp-rel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pp-fig .st-hcard, .pp-fig .st-wcard, .pp-plan, .pp-msg { width: 100%; max-width: 300px; transform: none; }
}
