/* Kauf-Karte (/preise): kompakte Karte mittig über der unscharfen zuletzt gezeigten Seite.
   Preise, Planbezeichner, Einwilligungen und Paddle-Checkout bleiben unverändert (runtime/public.js). */
html.pz-open, html.pz-open body { overflow: hidden; }
.pz-bg { pointer-events: none; user-select: none; }

.pz-modal {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top, 0px)); padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(8, 10, 16, .38), rgba(3, 4, 7, .82));
  -webkit-backdrop-filter: blur(18px) saturate(118%); backdrop-filter: blur(18px) saturate(118%);
  animation: pzFade .35s var(--ease) both;
}
.pz-card {
  position: relative; width: min(456px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  padding: 26px 30px 20px; border-radius: 26px; outline: none;
  background:
    radial-gradient(110% 55% at 50% -8%, rgba(160, 180, 240, .16), transparent 62%),
    radial-gradient(60% 40% at 100% 100%, rgba(95, 212, 164, .05), transparent 70%),
    linear-gradient(180deg, #12151e 0%, #0a0c12 100%);
  box-shadow: 0 60px 140px -30px rgba(0, 0, 0, .92), 0 0 0 1px rgba(255, 255, 255, .06), inset 0 1px 0 rgba(255, 255, 255, .09);
  animation: pzIn .55s var(--spring) both;
}
.pz-card::-webkit-scrollbar { display: none; }
.pz-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--chrome-edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pz-card svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pzFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pzIn { from { opacity: 0; transform: translateY(14px) scale(.965); } to { opacity: 1; transform: none; } }

.pz-x { position: absolute; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, .02); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.pz-x:hover { color: var(--ink); border-color: var(--line-3); background: rgba(255, 255, 255, .05); }
.pz-x svg { width: 13px; height: 13px; }

.pz-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.pz-brand { display: inline-flex; align-items: center; gap: 9px; font: 500 10px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.pz-brand img { width: 22px; height: 22px; border-radius: 6px; }
.pz-head h2 { margin: 4px 0 0; font-size: 30px; font-weight: 740; font-stretch: 112%; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pz-head p { margin: 0; max-width: 36ch; font-size: 13.5px; line-height: 1.55; color: var(--muted); text-wrap: balance; }

.pz-areas { position: relative; margin: 18px 0 0; padding: 4px 0 0; }
.pz-areas ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pz-areas li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.pz-areas i { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .10), transparent 65%), #0d1018; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 22px -10px rgba(150, 175, 240, .55); animation: pzNode .6s var(--spring) both; animation-delay: calc(.25s + var(--i) * .09s); }
.pz-areas i::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--chrome-edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pz-areas i::after { content: ''; position: absolute; inset: -5px; border-radius: inherit; border: 1px solid rgba(205, 220, 255, .22); opacity: 0; animation: pzPulse 3.2s var(--ease) infinite; animation-delay: calc(1s + var(--i) * .8s); }
.pz-areas svg { width: 18px; height: 18px; stroke-width: 1.5; }
.pz-areas span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font: 500 8.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pz-areas-line { position: absolute; top: 26px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg, rgba(205, 220, 255, .08), rgba(205, 220, 255, .28), rgba(205, 220, 255, .08)); overflow: hidden; }
.pz-areas-line::after { content: ''; position: absolute; top: -1px; bottom: -1px; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); animation: pzRun 3.2s var(--ease) 1s infinite; }
@keyframes pzNode { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes pzPulse { 0% { opacity: 0; transform: scale(.9); } 20% { opacity: 1; } 60%, 100% { opacity: 0; transform: scale(1.18); } }
@keyframes pzRun { from { left: -30%; } to { left: 100%; } }

.pz-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(0, 0, 0, .28); }
.pz-seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--plat); box-shadow: 0 6px 20px -8px rgba(205, 220, 255, .55); transition: transform .4s var(--spring); }
.pz-seg[data-on="monthly"] .pz-seg-thumb { transform: translateX(100%); }
.pz-seg a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; border-radius: 999px; font-size: 13.5px; font-weight: 640; color: var(--ink-2); text-decoration: none; transition: color .25s; }
.pz-seg a.is-on { color: #07080c; }
.pz-seg a:focus-visible { outline: 2px solid var(--plat); outline-offset: 2px; }
.pz-seg em { padding: 2px 7px; border-radius: 999px; background: color-mix(in oklab, var(--ok) 22%, transparent); color: var(--ok); font: 600 10px var(--mono); font-style: normal; letter-spacing: .02em; }
.pz-seg a.is-on em { background: #07080c; color: var(--ok); }

.pz-price { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 16px; text-align: center; }
.pz-amount { display: inline-flex; align-items: baseline; gap: 8px; }
.pz-amount b { font: 760 56px/.95 var(--sans); font-stretch: 92%; letter-spacing: -.045em; font-variant-numeric: tabular-nums; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pz-amount small { font: 500 12px var(--mono); color: var(--muted); }
.pz-amount s { font-size: 13px; color: var(--faint); text-decoration-thickness: 1px; }
.pz-line { font-size: 12.5px; color: var(--muted); }

.pz-perks { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.pz-perks li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.pz-perks svg { width: 14px; height: 14px; margin-top: 1px; color: var(--ok); }

.pz-form { display: flex; flex-direction: column; margin-top: 14px; }
.pz-select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; }
.pz-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 7px; font-size: 10.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.pz-check input[type=checkbox] { width: 17px; height: 17px; border-radius: 5px; margin-top: 1px; }
.pz-check input[type=checkbox]::after { width: 8px; height: 4px; }
.pz-check a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-3); }
.pz-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; margin-top: 8px; padding: 0 24px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #ffffff 0%, #eef1f7 45%, #cdd4e2 100%); color: #07080c; font: 680 15.5px var(--sans); letter-spacing: -.01em; cursor: pointer; overflow: hidden; isolation: isolate; box-shadow: 0 18px 40px -18px rgba(205, 220, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .8); transition: transform .2s var(--ease), box-shadow .25s; }
.pz-cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); transform: translateX(-120%); animation: pzShine 3.6s var(--ease) 1.2s infinite; }
.pz-cta:hover { box-shadow: 0 22px 50px -16px rgba(205, 220, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .9); }
.pz-cta:active { transform: scale(.985); }
.pz-cta:focus-visible { outline: 2px solid var(--plat); outline-offset: 3px; }
.pz-cta:disabled { opacity: .7; cursor: progress; }
.pz-cta b { font-weight: 720; font-variant-numeric: tabular-nums; opacity: .78; }
@keyframes pzShine { 0%, 62% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.pz-msg:not(:empty) { margin: 10px 0 0; font-size: 12.5px; text-align: center; color: var(--ink-2); }
.pz-trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: 11.5px; color: var(--ink-2); }
.pz-trust svg { width: 13px; height: 13px; color: var(--ok); }
.pz-fine { margin: 10px 0 0; font-size: 10px; line-height: 1.55; color: var(--faint); text-align: center; }
.pz-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 10px 0 0; font-size: 11.5px; color: var(--faint); }
.pz-links a { color: var(--muted); text-decoration: none; }
.pz-links a:first-child { color: var(--ink-2); }
.pz-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 480px) {
  .pz-modal { padding: 10px; place-items: end center; }
  .pz-card { padding: 26px 18px 18px; border-radius: 24px; max-height: calc(100dvh - 20px); }
  .pz-head h2 { font-size: 26px; }
  .pz-amount b { font-size: 48px; }
  .pz-perks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pz-areas i { width: 40px; height: 40px; }
  .pz-areas-line { top: 24px; }
  .pz-areas span { font-size: 7.5px; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) {
  .pz-modal, .pz-card, .pz-cta::after, .pz-areas i, .pz-areas i::after, .pz-areas-line::after { animation: none; }
  .pz-seg-thumb { transition: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pz-bg { filter: blur(14px); }
}
