/* Pipsst
   Built along Apple's HIG (via the apple-design skill):
   - Liquid Glass only on the floating functional layer: nav bar, launch banner, and the app UI inside the demo.
     Content sits on opaque surfaces (liquid-glass.md › The two layers).
   - Brand colour only on primary actions and status; the red panda carries the colour in the content.
   - Opaque fallbacks for Reduce Transparency, stronger edges for Increase Contrast, no motion for Reduce Motion.
   Contrast (WCAG): text 15.5:1 light / 19.3:1 dark, secondary 4.7:1 / 6.6:1, white on accent 5.2:1, dark on accent 7.4:1. */
:root {
  --surface: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #c2410c;
  --on-accent: #ffffff;
  --hairline: rgba(0, 0, 0, 0.08);
  --glass-fill: rgba(255, 255, 255, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.7);
  --glass-blur: blur(24px) saturate(1.4);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Hiragino Sans", "PingFang SC", "Apple SD Gothic Neo", "Noto Sans", sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", var(--font);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #000000;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #ff8f4d;
    --on-accent: #1d1d1f;
    --hairline: rgba(255, 255, 255, 0.12);
    --glass-fill: rgba(36, 36, 38, 0.72);
    --glass-edge: rgba(255, 255, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--text); --hairline: currentColor; --glass-fill: var(--card); --glass-edge: var(--text); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1.0625rem/1.55 var(--font); color: var(--text); background: var(--surface); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; text-align: center; margin-bottom: 1.1em; }
h3 { font-size: 1.1875rem; font-weight: 700; }
p { margin: 0 0 1em; }
/* Japanese and Chinese: break headlines between phrases, not inside words. */
:lang(ja) :is(h1, h2, h3), :lang(zh-Hans) :is(h1, h2, h3), :lang(ko) :is(h1, h2) { word-break: auto-phrase; }
:lang(ko) { word-break: keep-all; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* Functional layer: Liquid Glass approximation. */
.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 0.5px var(--hairline), var(--shadow);
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .scroll-edge { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card); }
}
/* Scroll edge effect: content fades and blurs where it meets the bar. */
.scroll-edge {
  position: fixed; inset: 0 0 auto; height: 88px; z-index: 9; pointer-events: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
}

/* Content layer: opaque surfaces. */
.surface { background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 0.5px var(--hairline), var(--shadow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.5em; border-radius: 999px;
  font-weight: 700; text-decoration: none; color: var(--on-accent); background: var(--accent);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }
.btn-small { min-height: 36px; padding: 0.4em 1.1em; font-size: 0.9375rem; }
.btn-plain { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1.5px var(--hairline); }
@media (prefers-contrast: more) { .btn-plain { box-shadow: inset 0 0 0 2px var(--text); } }

.ph-banner {
  position: relative; z-index: 11;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.25em 0.75em;
  width: fit-content; max-width: calc(100% - 32px); margin: 12px auto 0; padding: 0.5em 1.1em;
  border-radius: 999px; font-size: 0.9375rem; text-align: center;
}
.ph-link { font-weight: 700; text-underline-offset: 3px; }

.nav {
  position: sticky; top: 10px; z-index: 10;
  display: flex; align-items: center; gap: 20px;
  max-width: 1080px; margin: 10px auto 0; padding: 8px 8px 8px 14px; border-radius: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font: 800 1.15rem var(--font-display); text-decoration: none; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.nav nav a:hover { color: var(--text); background: var(--hairline); }
.lang { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.lang select { font: inherit; font-size: 0.9375rem; color: var(--text); background: transparent; border: 0; min-height: 36px; padding: 0 4px; cursor: pointer; }
.lang select option { color: initial; }

main, .footer { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0 8px; }

.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; padding: 72px 0 24px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.75em; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 34em; }
.cta { margin: 28px 0 12px; }
.meta { color: var(--muted); font-size: 0.9375rem; }

/* The signature: a tiny desktop where someone calls you, and Pip peeks in. */
.demo { margin: 0; cursor: pointer; }
.screen {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 20px;
  background: linear-gradient(140deg, #5c8cdb 0%, #b993d3 48%, #f4a77c 100%);
  box-shadow: 0 0 0 0.5px var(--hairline), 0 24px 60px rgba(0, 0, 0, 0.18);
}
.menubar {
  display: flex; justify-content: flex-end; align-items: center; height: 26px; padding: 0 14px;
  font-size: 0.75rem; font-weight: 600; color: #1d1d1f;
  background: rgba(255, 255, 255, 0.42); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.menubar-right { display: flex; gap: 12px; }
/* Simulated app UI is functional layer, so it is glass, in its light appearance like over a bright wallpaper. */
.screen .glass { --glass-fill: rgba(255, 255, 255, 0.68); --glass-edge: rgba(255, 255, 255, 0.75); color: #1d1d1f; }
.player { position: absolute; left: 7%; top: 17%; width: 50%; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; }
.cover { flex: none; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #ff9a5a, #c2457a); }
.player-text { display: grid; gap: 1px; font-size: 0.8125rem; min-width: 0; }
.state { display: flex; align-items: center; gap: 6px; color: #515154; }
.state .paused { display: none; font-weight: 700; color: #b23a0a; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.eq i { width: 3px; background: currentColor; border-radius: 2px; animation: eq 0.9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -0.3s; }
.eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { from { height: 3px; } to { height: 11px; } }

.pip-wrap { position: absolute; right: 0; bottom: 5%; height: 62%; display: flex; align-items: center; transform: translateX(102%); transition: transform 0.6s cubic-bezier(0.2, 1.25, 0.4, 1); }
.pip { position: relative; height: 100%; width: auto; transition: opacity 0.2s, transform 0.35s; transform-origin: bottom right; }
.pip-wave { position: absolute; right: 0; top: 0; opacity: 0; }
.bubble {
  display: grid; gap: 4px; max-width: 210px; margin-right: -8px; margin-bottom: 30%;
  padding: 11px 15px; border-radius: 18px; font: 600 0.875rem/1.35 var(--font-display);
  opacity: 0; transform: scale(0.92); transition: opacity 0.3s 0.3s, transform 0.3s 0.3s;
}
.bubble em { font-style: normal; font-weight: 500; color: #515154; }
.demo.called .pip-wrap { transform: translateX(0); }
.demo.called .bubble { opacity: 1; transform: scale(1); }
.demo.called .eq, .demo.called .playing { display: none; }
.demo.called .paused { display: inline; }
.demo.waving .pip-neutral { opacity: 0; }
.demo.waving .pip-wave { opacity: 1; transform: rotate(-3deg); }
.demo figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 0.875rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pip-wrap, .pip, .bubble, .btn { transition: none; }
  .eq i { animation: none; height: 8px; }
}


.privacy { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 48px 0 0 48px; overflow: hidden; }
.privacy > div { padding-bottom: 44px; }
.privacy h2 { text-align: left; margin-bottom: 0.4em; }
.privacy-pip { width: 200px; display: block; }
.checks { list-style: none; padding: 0; margin: 0 0 1.25em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--text); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(0.2em + 4px); width: 5px; height: 9px; border: solid var(--card); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.note { color: var(--muted); font-size: 0.9375rem; max-width: 40em; margin: 0; }


.price { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; }
.price .btn { margin-top: auto; }
.price-main { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.amount { font: 800 3rem/1 var(--font-display); color: var(--text) !important; margin: 0.1em 0 0.4em; }
.badge { position: absolute; top: -12px; right: 22px; padding: 0.25em 0.85em; border-radius: 999px; font-size: 0.8125rem; font-weight: 800; color: var(--on-accent); background: var(--accent); }
.fine { text-align: center; color: var(--muted); font-size: 0.875rem; margin-top: 22px; }

.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { padding: 0 22px; border-radius: 18px; }
.faq summary { cursor: pointer; min-height: 56px; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.footer { text-align: center; padding-top: 88px; padding-bottom: 48px; color: var(--muted); }
.footer img { width: 88px; }
.footer p:first-of-type { font: 700 1.0625rem var(--font-display); color: var(--text); }
.footer nav { display: flex; justify-content: center; gap: 8px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 40px; }
  .nav nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 600px) {
  main, .footer { padding: 0 16px; }
  .nav { margin: 10px 16px 0; gap: 8px; }
  .brand span { display: none; }
  .privacy { grid-template-columns: 1fr; padding: 28px 24px 0; }
  .privacy > div { padding-bottom: 0; }
  .privacy-pip { width: 150px; justify-self: end; }
  .bubble { max-width: 140px; font-size: 0.75rem; padding: 8px 11px; }
  .player { width: 68%; }
  .section { padding-top: 64px; }
}

/* Second action next to the main button: a quiet text link, not a second coloured button. */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta-alt { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Demo: try it with your own name. */
.try { margin-top: 16px; padding: 14px 16px; }
.try label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 8px; }
.try-row { display: flex; gap: 8px; }
.try input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 12px; font: inherit;
  color: var(--text); background: var(--surface); border: 1px solid var(--hairline);
}
.try .btn { min-height: 44px; }

/* Feature blocks: text and a small screen, alternating sides. */
.features { display: grid; gap: 96px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature h2, .privacy h2 { text-align: left; font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 0.4em; }
.feature .lead { font-size: 1.125rem; }
.screen.mini { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 28px; }
.popover { width: min(300px, 100%); padding: 16px; border-radius: 18px; }
.pop-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-display); }
.pop-head img { border-radius: 7px; }
.dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.25); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 5px 11px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
.player.big { position: static; width: min(320px, 100%); padding: 14px; }
.state .paused.on { display: inline; }
.pause-ico { margin-left: auto; display: inline-flex; gap: 4px; }
.pause-ico i { width: 5px; height: 18px; border-radius: 2px; background: #1d1d1f; }
.notice { position: absolute; top: 14%; left: 8%; display: flex; gap: 10px; align-items: center; max-width: 62%; padding: 12px 16px; border-radius: 16px; font: 600 0.875rem/1.3 var(--font-display); }
.mini-pip { position: absolute; right: 0; bottom: 4%; height: 70%; width: auto; }
.states { gap: 14px; align-content: center; }
.state-row { display: flex; align-items: center; gap: 14px; width: min(280px, 100%); padding: 12px 16px; border-radius: 14px; font-size: 1.3rem; }
.note-off { opacity: 0.3; }
.bar { margin-left: auto; width: 44px; height: 26px; border-radius: 999px; background: rgba(0, 0, 0, 0.15); position: relative; }
.bar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.bar.on { background: #34c759; }
.bar.on::after { left: 21px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { padding: 26px; }
.tile p { color: var(--muted); margin: 0; }

/* Privacy numbers. */
.stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 8px 0 24px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font: 800 2.4rem/1 var(--font-display); }
.stats dt { color: var(--muted); font-size: 0.9375rem; margin-top: 4px; }

/* One plan, price in the button. */
.pricing .lead { margin-bottom: 40px; }
.price { max-width: 400px; margin: 0 auto; }
.once { color: var(--muted); margin-top: -0.3em; }
.price .checks { margin: 8px 0 24px; }
.btn-wide { width: 100%; }
.regular { font-size: 1.6rem; font-weight: 700; color: var(--muted); margin-right: 12px; vertical-align: middle; }
.launch { margin: 12px 0 0; font-size: 0.875rem; color: var(--muted); text-align: center; width: 100%; }
.pricing > .center { margin-top: 20px; }

/* Closing note from Pip. */
.pip-note { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; max-width: 760px; margin: 0 auto; padding: 40px; }
.pip-note img { width: 160px; }
/* Pip lebt: Er atmet ganz ruhig und blinzelt ab und zu, mal einmal, mal doppelt. Kein Hin-und-her-Wackeln.
   Das Blinzeln ist ein zweites Bild mit geschlossenen Augen (tools/pip_blink.py), das kurz darüberliegt. */
.pip-avatar { position: relative; display: block; transform-origin: 50% 100%; animation: pip-breathe 4.2s ease-in-out infinite; }
.pip-avatar img { display: block; }
.pip-avatar .pip-eyes-closed { position: absolute; inset: 0; opacity: 0; animation: pip-blink 5.2s step-end infinite; }
@keyframes pip-breathe {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(1.006, 1.018); }
}
@keyframes pip-blink {
  0%, 100% { opacity: 0; }
  38% { opacity: 1; }
  41% { opacity: 0; }
  86% { opacity: 1; }
  88.5% { opacity: 0; }
  91% { opacity: 1; }
  93.5% { opacity: 0; }
}
.pip-note h2 { text-align: left; margin-bottom: 0.6em; }
.pip-note p { font-family: var(--font-display); font-size: 1.125rem; color: var(--muted); }
.pip-note p:first-of-type, .pip-note .sign { color: var(--text); font-weight: 700; }
.pip-note .btn { margin-top: 8px; }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-text { order: 0; }
  .features { gap: 64px; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; }
  .pip-note { grid-template-columns: 1fr; padding: 28px 24px; }
  .pip-note img { width: 110px; }
  .stats dd { font-size: 2rem; }
  .notice { max-width: 70%; font-size: 0.75rem; }
}

/* Offline promise, visible right under the headline. */
.offline { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.offline li {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px 0 11px; border-radius: 999px;
  font-weight: 700; font-size: 0.9375rem; background: var(--card); box-shadow: 0 0 0 0.5px var(--hairline), var(--shadow);
}
.offline svg { color: var(--accent); flex: none; }
.wifi-off { display: inline-flex; color: #1d1d1f; opacity: 0.75; }
.offline-tag { position: absolute; left: 7%; bottom: 8%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; }
@media (max-width: 600px) { .offline-tag { font-size: 0.6875rem; padding: 4px 9px; } .offline li { font-size: 0.875rem; } }
.offline a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.offline a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mb-icon { display: block; width: 18px; height: 18px; }
.mb-state { width: 32px; height: 32px; }

/* Real app views from `Pipsst --render`. */
.shots { position: relative; padding-bottom: 40px; }
.shot { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 0 0.5px var(--hairline), 0 24px 60px rgba(0, 0, 0, 0.18); }
.shot-ears { position: absolute; right: -12px; bottom: 0; width: 78%; border-radius: 16px; }
@media (max-width: 600px) { .shot-ears { right: 0; width: 90%; } }
.shots { padding-bottom: 64px; }
.shot-note { position: absolute; left: 0; bottom: 0; margin: 0; font-size: 0.8125rem; color: var(--muted); }
.shot-ears { bottom: 28px; }

/* Scroll-Animationen
   Inhalte steigen beim Hereinscrollen sanft auf, Bilder gleiten von ihrer Seite herein, Listen folgen gestaffelt.
   Nur Opacity, Transform und Filter, damit es auf jedem Mac flüssig bleibt. Ohne JavaScript oder mit
   „Bewegung reduzieren“ bleibt alles sofort sichtbar: Versteckt wird nur, wenn main.js `reveal-ready` setzt. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 28px), 0) scale(var(--reveal-scale, 1));
  filter: blur(4px);
  transition: opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
  transition-delay: calc(var(--reveal-order, 0) * 60ms);
  will-change: opacity, transform;
}
.reveal-ready [data-reveal="side"] { --reveal-y: 0; --reveal-x: calc(var(--reveal-side, 1) * 48px); --reveal-scale: 0.96; }
.reveal-ready [data-reveal="pop"] { --reveal-y: 12px; --reveal-scale: 0.94; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* Dünne Leiste oben zeigt, wie weit man gescrollt hat. */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0));
}
/* Die Leiste oben bekommt beim Scrollen etwas mehr Tiefe. */
.nav { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.nav.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
/* Hero: Die Demo rückt beim Weiterscrollen leicht nach hinten, der Text zieht etwas schneller nach oben. */
.hero .demo .screen { transform: translate3d(0, calc(var(--hero, 0) * -24px), 0) scale(calc(1 - var(--hero, 0) * 0.05)); transform-origin: 50% 100%; }
.hero > :first-child { transform: translate3d(0, calc(var(--hero, 0) * -40px), 0); opacity: calc(1 - var(--hero, 0) * 0.35); }
/* Pip im Abschluss winkt einmal, wenn der Brief ins Bild kommt. */
.pip-note.is-visible .pip-avatar img:first-child { animation: pip-hello 1.2s 0.4s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes pip-hello {
  0% { transform: translateY(18px) rotate(-6deg); }
  45% { transform: translateY(-6px) rotate(4deg); }
  70% { transform: translateY(0) rotate(-2deg); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .scroll-progress { display: none; }
  .hero .demo .screen, .hero > :first-child { transform: none; opacity: 1; }
  .pip-note.is-visible .pip-avatar img:first-child, .pip-avatar, .pip-avatar .pip-eyes-closed { animation: none; }
}

/* Hero auf einen Blick: das Versprechen „ohne Kreditkarte“ direkt unter dem Knopf, Voraussetzungen leise darunter. */
.hero .meta-key { margin-top: 12px; font-weight: 600; color: var(--text); }
.hero .offline { margin-top: 20px; }
.hero .meta-fine { font-size: 0.8125rem; opacity: 0.85; }
.ph-banner[hidden] { display: none; }
/* Der Kauf-Link tritt zurück, damit „ohne Kreditkarte“ unter dem Knopf zuerst ins Auge fällt. */
.hero .cta-alt { font-weight: 500; color: var(--muted); text-decoration-thickness: 1px; }
/* Pip schaut genau am rechten Kartenrand herein: Bild bündig rechts, die Karte schneidet ab. */
.privacy { padding-right: 0; }
.privacy-pip { justify-self: end; margin-right: 0; }
