/* Product sub-page recipes (spending / groups): hero with stage + overlay, CTA callout. */
.pg-hero__meta { display: flex; align-items: center; gap: 14px; }
.pg-hero__meta .ds-pict { --pict: 48px; }
.pg-hero__ticks { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pg-hero .ds-pagehero__text { grid-column: 1 / span 6; }
.pg-hero .ds-pagehero__visual { grid-column: 7 / -1; }
.pg-hero__stage { aspect-ratio: 5 / 4; display: flex; justify-content: center; align-items: flex-start; padding-top: 8%; }
.pg-hero__phone { width: 40%; }
.pg-hero__stage--fold { align-items: center; padding: 5%; }
.pg-hero__fold { width: 92%; }
.pg-hero__card { left: -8%; bottom: 8%; width: min(290px, 56%); padding: 22px; }
.pg-hero__card--split { left: auto; right: -5%; bottom: -8%; width: min(330px, 70%); padding: 18px; }
.pg-hero__stamp { position: absolute; right: -2%; top: -8%; z-index: 3; }
.pg-cta__title { margin: 22px 0 18px; }
.pg-cta__ticks { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.pg-cta .ds-callout { --pi-ground: var(--forest-800); }
@media (max-width: 960px) {
  .pg-hero .ds-pagehero__text, .pg-hero .ds-pagehero__visual { grid-column: 1 / -1; }
  .pg-hero__card, .pg-hero__card--split { position: relative; inset: auto; width: auto; max-width: 340px; margin: -56px 16px 0 auto; }
  .pg-hero__stamp { transform: scale(.75); transform-origin: top right; right: 0; top: -4%; }
}
@media (max-width: 640px) { .ds-hero__margin { display: none; } }

/* groups: features as a numbered ledger list beside a sticky head with a split receipt */
.gp-feat { align-items: start; }
.gp-feat__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; justify-items: start; }
.gp-feat__bon { width: min(320px, 100%); margin-top: 12px; transform: rotate(-1.5deg); }
.gp-feat__bon .ds-receipt { padding: 20px 18px 18px; }
.gp-rows { grid-column: 7 / -1; border-top: 1.5px solid var(--color-heading); }
.gp-row { display: grid; grid-template-columns: 34px 64px 1fr; column-gap: 18px; row-gap: 4px; align-items: start; padding: 26px 0; border-bottom: 1px dashed var(--color-rule-strong); transition: background-color var(--dur-base), padding var(--dur-slow) var(--ease-out); }
.gp-row:hover { background: var(--color-paper); padding-left: 12px; }
.gp-row__n { grid-row: 1 / span 2; padding-top: 4px; font-size: .75rem; color: var(--color-text-muted); }
.gp-row .ds-pict { grid-row: 1 / span 2; }
.gp-row .ds-title { align-self: end; }
.gp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .gp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gp-steps .ds-step .ds-pict { margin-bottom: 4px; }
@media (max-width: 960px) {
  .gp-feat__head, .gp-rows { grid-column: 1 / -1; position: static; }
  .gp-rows { margin-top: 40px; }
  .gp-steps { grid-template-columns: 1fr; row-gap: 40px; }
}
@media (max-width: 480px) { .gp-row { grid-template-columns: 0 56px 1fr; column-gap: 14px; } .gp-row__n { visibility: hidden; } }
.ds-callout .ds-index { color: var(--color-text-inverse-muted); }
.ds-callout .ds-index b { color: var(--color-cta); }
/* live mock: three phones */
.pg-hero__fold.ds-devslot { width: 86%; }
/* hero: single phone (Förderwege) */
.pg-hero__fold.ds-devslot { width: 44%; }
.pg-hero__stage--fold:has(.ds-devslot) { align-items: flex-start; padding-top: 8%; }
