/* inki-pdf - de visuele uitleg op de homepage: een telefoon met echte schermen
   uit de app die meebeweegt met de stappen ernaast. Alle kleuren en maten
   komen uit stijl.css. Zonder JavaScript staat elke stap met zijn eigen
   schermafdruk onder de tekst; met JavaScript wordt het één telefoon. */

.uitleg-held { padding: 72px 0 40px; }
.uitleg-held .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.uitleg-held h1 { max-width: 14ch; }
.uitleg-held h1 em { font-style: normal; color: var(--violet); }
.uitleg-held .sub { margin-top: 24px; font-size: 21px; }
.uitleg-held .acties { display: flex; flex-wrap: wrap; gap: 14px; }
.uitleg-held .noot { color: var(--zacht); font-size: 15px; margin: 18px 0 0; }
.uitleg-held .vinkjes { justify-content: flex-start; margin-top: 30px; }
.held-telefoons { position: relative; min-height: 560px; }
.held-telefoons .telefoon { position: absolute; width: min(270px, 52%); }
.held-telefoons .telefoon:nth-child(1) { left: 2%; top: 0; transform: rotate(-4deg); z-index: 1; }
.held-telefoons .telefoon:nth-child(2) { right: 0; top: 52px; transform: rotate(3deg); z-index: 2; }

/* De telefoon: een omlijsting rond een echte schermafdruk */
.telefoon { background: var(--druif); border-radius: 40px; padding: 9px; box-shadow: 0 30px 70px rgba(45, 33, 69, .22), 0 2px 0 var(--rand); }
.telefoon .scherm { position: relative; border-radius: 32px; overflow: hidden; background: var(--ivoor); aspect-ratio: 585 / 1266; }
.telefoon img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Het scrollverhaal */
.uitleg { padding: 40px 0 72px; }
.uitleg-kop { text-align: center; margin-bottom: 40px; }
.uitleg-kop .sub { margin-inline: auto; margin-bottom: 0; }
.verhaal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 72px; align-items: start; }
.stappenlijst { display: grid; gap: 0; }
.xstap { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; opacity: .38; transition: opacity .3s; }
.xstap:first-child { min-height: 62vh; }
.xstap.actief { opacity: 1; }
.xstap .xnr { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lavendel); color: var(--violet); font: 800 18px var(--kop); margin-bottom: 18px; transition: background .3s, color .3s; }
.xstap.actief .xnr { background: var(--violet); color: var(--wit); }
.xstap h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: 14px; }
.xstap p { color: var(--zacht); font-size: 19px; max-width: 46ch; margin: 0; }
.xstap .tip { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--violet); background: var(--lavendel); padding: 6px 12px; border-radius: 10px; width: fit-content; }
.xstap .mob { display: none; margin: 26px 0 0; }

.podium { position: sticky; top: 96px; align-self: start; display: grid; justify-items: center; gap: 22px; padding-top: 8px; }
.podium .telefoon { width: min(310px, 100%); }
.podium .scherm img { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .45s ease, transform .6s ease; }
.podium .scherm img.aan { opacity: 1; transform: none; }
.podium .stip { position: absolute; z-index: 3; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 3px solid var(--mango); background: rgba(255, 201, 91, .22); pointer-events: none; opacity: 0; transition: left .5s ease, top .5s ease, opacity .3s; }
.podium .stip.aan { opacity: 1; animation: stip 1.8s ease-in-out infinite; }
.podium .stip.klein { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
@keyframes stip { 0%, 100% { transform: scale(.88); box-shadow: 0 0 0 0 rgba(255, 201, 91, .55); } 55% { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(255, 201, 91, 0); } }
.voortgang { display: flex; gap: 7px; }
.voortgang button { width: 26px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: var(--rand); cursor: pointer; transition: background .3s, width .3s; }
.voortgang button.aan { background: var(--violet); width: 40px; }
.podium .onderschrift { margin: 0; font-size: 14px; color: var(--zacht); text-align: center; min-height: 1.5em; }

/* Echt scherm als bewijs: een korte band onder het verhaal */
.echt-noot { text-align: center; color: var(--zacht); font-size: 15px; margin: 8px 0 0; }
.uitleg .acties { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

@media (max-width: 900px) {
  .uitleg-held { padding: 40px 0 24px; }
  .uitleg-held .wrap { grid-template-columns: 1fr; gap: 28px; }
  .held-telefoons { min-height: 440px; }
  .held-telefoons .telefoon { width: min(210px, 46%); }
  .verhaal { grid-template-columns: 1fr; gap: 0; }
  .podium { display: none; }
  .xstap, .xstap:first-child { min-height: 0; padding: 30px 0; opacity: 1; }
  .xstap p { font-size: 18px; }
  .xstap .mob { display: block; }
  .xstap .mob .telefoon { width: min(250px, 72%); margin-inline: auto; }
}
