/* productfoto.ai, proefgenerator v1.1.0 (29-09-2026). Alleen geladen op /generator.
   Alle klassen beginnen met pfa-pg- zodat niets botst met de rest van de site. */

/* ---------- Hero ---------- */
.pfa-pg-held { padding-bottom: clamp(120px, 14vw, 170px); }
.pfa-pg-held-binnen { max-width: 920px; margin: 0 auto; padding-top: clamp(36px, 5vw, 70px); text-align: center; }
.pfa-pg-held-binnen .pfa-lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.pfa-pg-beloftes { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pfa-pg-belofte { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 14px; color: #D6D6DB; }
.pfa-pg-belofte-icoon { width: 18px; height: 18px; color: #fff; flex: none; }

/* ---------- Het werkblad ---------- */
.pfa-pg { position: relative; z-index: 2; margin-top: clamp(-120px, -10vw, -80px); padding-bottom: clamp(64px, 8vw, 110px); }
.pfa-pg-raster {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #fff;
  border-radius: 28px;
  padding: clamp(18px, 2.4vw, 30px);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .5), 0 0 0 1px var(--pfa-line);
}
.pfa-pg-invoer { min-width: 0; }
.pfa-pg-stap { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.pfa-pg-stap:not(:first-child) { margin-top: 6px; }
.pfa-pg-nr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pfa-ink); color: #fff; font-size: 13px; font-weight: 750; }

/* Sleepvak */
.pfa-pg-sleep {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 18px;
  border-radius: 18px;
  border: 1.5px dashed #C9C9CE;
  background: var(--pfa-light);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s ease, background-color .2s ease, transform .25s ease;
}
.pfa-pg-sleep:hover, .pfa-pg-sleep-over { border-color: var(--pfa-ink); background: #ECECEE; }
.pfa-pg-sleep-over { transform: scale(1.01); }
.pfa-pg-sleep:focus-within { outline: 2px solid var(--pfa-mute); outline-offset: 3px; }
.pfa-pg-bestand { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 3; }
.pfa-pg-sleep-leeg { display: grid; justify-items: center; gap: 6px; text-align: center; pointer-events: none; }
.pfa-pg-sleep-icoon { width: 34px; height: 34px; color: var(--pfa-ink); margin-bottom: 4px; }
.pfa-pg-sleep-titel { font-weight: 750; font-size: 16px; }
.pfa-pg-sleep-sub { font-size: 13px; color: var(--pfa-mute); }
.pfa-pg-sleep-vol { min-height: 0; border-style: solid; border-color: var(--pfa-line); background: #fff; }
.pfa-pg-bron { position: relative; display: block; width: 100%; margin: 0 auto; border-radius: 10px; overflow: hidden; pointer-events: none; }
.pfa-pg-bron-beeld { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }

/* Scannen en het kader om het product */
.pfa-pg-scan { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.pfa-pg-scan::before {
  content: "";
  position: absolute;
  left: -5%; right: -5%; top: 0;
  height: 2px;
  background: var(--pfa-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 0 22px 8px rgba(17, 17, 18, .16);
}
.pfa-pg-scan::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 17, 18, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 18, .07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.pfa-pg-scannen .pfa-pg-scan { opacity: 1; }
.pfa-pg-scannen .pfa-pg-scan::before { animation: pfa-pg-scan .95s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes pfa-pg-scan { from { top: 0; } to { top: calc(100% - 2px); } }
.pfa-pg-kader {
  position: absolute;
  border: 2px solid var(--pfa-ink);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 9999px rgba(242, 242, 243, .38);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.pfa-pg-kader-zichtbaar { opacity: 1; transform: none; }
.pfa-pg-kader-label { position: absolute; left: 6px; top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--pfa-ink); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pfa-pg-klaar .pfa-pg-kader { box-shadow: 0 0 0 1px rgba(255, 255, 255, .85); }

.pfa-pg-fout { margin: 10px 0 0; font-size: 14px; color: #B42318; }

/* Voorbeelden */
.pfa-pg-voorbeelden { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 26px; }
.pfa-pg-voorbeelden-label { width: 100%; font-size: 13px; color: var(--pfa-mute); }
.pfa-pg-fictief { width: 100%; margin: 4px 0 0; gap: 8px 10px; font-size: 13px; color: var(--pfa-mute); }
.pfa-pg-fictief .pfa-lk-label { padding: 4px 9px; font-size: 9.5px; }
.pfa-pg-voorbeeld {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 13px 4px 4px;
  border: 1px solid var(--pfa-line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 13.5px; font-weight: 650; color: var(--pfa-ink);
  cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pfa-pg-voorbeeld:hover { border-color: var(--pfa-ink); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .35); }
.pfa-pg-voorbeeld-beeld { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--pfa-line); }
.pfa-pg-laden { opacity: .6; pointer-events: none; }

/* Velden */
.pfa-pg-velden { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.pfa-pg-velden .pfa-veld-breed { gap: 8px; }
.pfa-pg-kanaal { margin: 18px 0; }
.pfa-pg-maak { width: 100%; justify-content: center; min-height: 58px; font-size: 16.5px; gap: 10px; }
.pfa-pg-maak-icoon { width: 18px; height: 18px; }
.pfa-pg-maak-klaar:not(:hover) { animation: pfa-pg-roep 2.2s ease-out infinite; }
@keyframes pfa-pg-roep { 0% { box-shadow: 0 0 0 0 rgba(17, 17, 18, .35); } 70% { box-shadow: 0 0 0 14px rgba(17, 17, 18, 0); } 100% { box-shadow: 0 0 0 0 rgba(17, 17, 18, 0); } }
.pfa-pg-klaar .pfa-pg-maak-klaar, .pfa-pg-bezig .pfa-pg-maak-klaar { animation: none; }
.pfa-pg-privacy { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--pfa-mute); }
.pfa-pg-privacy-icoon { width: 16px; height: 16px; flex: none; }

/* ---------- Uitvoer: het donkere scherm met de tegels ---------- */
.pfa-pg-uitvoer { min-width: 0; display: grid; gap: 16px; }
.pfa-pg-scherm { border-radius: 22px; padding: clamp(14px, 1.8vw, 22px); }
.pfa-pg-scherm-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.pfa-pg-status { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; color: #fff; }
.pfa-pg-status-stip { width: 8px; height: 8px; border-radius: 50%; background: #5A5A60; transition: background-color .3s ease; }
.pfa-pg-bezig .pfa-pg-status-stip { background: #fff; animation: pfa-pg-puls 1.2s ease-out infinite; }
.pfa-pg-klaar .pfa-pg-status-stip { background: #4ADE80; }
@keyframes pfa-pg-puls { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.pfa-pg-fases { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.pfa-pg-fase { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; color: #6E6E75; background: rgba(255, 255, 255, .05); transition: color .3s ease, background-color .3s ease; }
.pfa-pg-fase.pfa-actief { color: var(--pfa-ink); background: #fff; }
.pfa-pg-fase.pfa-gedaan { color: #D6D6DB; background: rgba(255, 255, 255, .1); }

.pfa-pg-tegels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 14px); }
.pfa-pg-tegel { display: grid; gap: 8px; min-width: 0; }
.pfa-pg-tegel-vlak {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(110deg, #161618 30%, #222225 45%, #161618 60%);
  background-size: 260% 100%;
  animation: pfa-pg-glim 1.8s linear infinite;
  animation-delay: calc(var(--pfa-pg-i, 0) * 120ms);
}
@keyframes pfa-pg-glim { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.pfa-pg-doek { display: block; width: 100%; height: 100%; opacity: 0; }
.pfa-pg-tegel-klaar .pfa-pg-tegel-vlak { animation: none; background: #fff; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8); }
.pfa-pg-tegel-klaar .pfa-pg-doek { opacity: 1; animation: pfa-pg-ontwikkel .95s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pfa-pg-ontwikkel {
  from { opacity: 0; filter: blur(14px) brightness(1.7); transform: scale(.94); }
  60% { opacity: 1; filter: blur(0) brightness(1.08); }
  to { opacity: 1; filter: none; transform: none; }
}
.pfa-pg-tegel-label { font-size: 12.5px; color: #8C8C92; line-height: 1.3; }
.pfa-pg-tegel-klaar .pfa-pg-tegel-label { color: #C8C8CD; }

/* ---------- Panelen: beeldcheck en titels ---------- */
.pfa-pg-panelen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pfa-pg-paneel { border-radius: 18px; padding: 20px; background: #fff; box-shadow: 0 0 0 1px var(--pfa-line); animation: pfa-pg-in .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pfa-pg-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pfa-pg-paneel-titel { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pfa-pg-paneel-sub { margin: 4px 0 14px; font-size: 13px; color: var(--pfa-mute); }
.pfa-pg-paneel-noot { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--pfa-mute); }
.pfa-pg-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pfa-pg-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; animation: pfa-pg-in .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--pfa-pg-i, 0) * 70ms); }
.pfa-pg-check-icoon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 800; line-height: 1; }
.pfa-pg-check-ok .pfa-pg-check-icoon { background: #E8F6EC; color: #1D6B34; }
.pfa-pg-check-ok .pfa-pg-check-icoon::before { content: "✓"; }
.pfa-pg-check-let .pfa-pg-check-icoon { background: #FFF4E0; color: #9A5B00; }
.pfa-pg-check-let .pfa-pg-check-icoon::before { content: "!"; }
.pfa-pg-check-nee .pfa-pg-check-icoon { background: #FEECEB; color: #B42318; }
.pfa-pg-check-nee .pfa-pg-check-icoon::before { content: "×"; font-size: 16px; }
.pfa-pg-check-info .pfa-pg-check-icoon { background: #EDEDEF; color: #33333A; }
.pfa-pg-check-info .pfa-pg-check-icoon::before { content: "i"; font-family: Georgia, serif; font-style: italic; }
.pfa-pg-check-tekst { display: grid; gap: 1px; font-size: 13.5px; line-height: 1.45; color: var(--pfa-ink2); }
.pfa-pg-check-titel { font-size: 14px; color: var(--pfa-ink); font-weight: 700; }
.pfa-pg-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.pfa-pg-titels { display: grid; gap: 14px; margin-top: 12px; }
.pfa-pg-titelblok { position: relative; padding: 14px; border-radius: 14px; background: var(--pfa-light); }
.pfa-pg-titelblok-tweede { opacity: .85; }
.pfa-pg-titelkop { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; }
.pfa-pg-titelkanaal { font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--pfa-ink2); }
.pfa-pg-titelteller { font-variant-numeric: tabular-nums; color: var(--pfa-mute); font-weight: 650; }
.pfa-pg-te-lang { color: #B42318; }
.pfa-pg-titeltekst { margin: 8px 0 10px; font-size: 15.5px; line-height: 1.45; font-weight: 650; color: var(--pfa-ink); min-height: 1.45em; word-wrap: break-word; }
.pfa-pg-kopieer { font: inherit; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--pfa-line); background: #fff; color: var(--pfa-ink); cursor: pointer; transition: border-color .2s ease; }
.pfa-pg-kopieer:hover { border-color: var(--pfa-ink); }
.pfa-pg-titelmeld { margin: 10px 0 0; padding: 0 0 0 18px; font-size: 12.5px; line-height: 1.5; color: #9A5B00; }

/* ---------- Na afloop: bestellen of downloaden ---------- */
.pfa-pg-acties {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px 24px; border-radius: 20px; background: var(--pfa-light);
  animation: pfa-pg-in .7s cubic-bezier(.2, .7, .2, 1) both;
}
.pfa-pg-acties-tekst { max-width: 520px; }
.pfa-pg-acties-titel { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.pfa-pg-acties-sub { margin: 6px 0 0; font-size: 14px; color: var(--pfa-ink2); }
.pfa-pg-acties .pfa-knoppen { margin: 0; }

/* ---------- Voorproef of echte set ---------- */
.pfa-pg-verschil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.pfa-pg-verschil-kaart { border-radius: var(--pfa-radius); padding: clamp(24px, 3vw, 36px); background: #fff; box-shadow: 0 0 0 1px var(--pfa-line); }
.pfa-pg-verschil-donker { color: #fff; box-shadow: none; background: var(--pfa-dark); }
.pfa-pg-verschil-kop { margin: 0 0 16px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.pfa-pg-verschil-lijst { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.pfa-pg-verschil-lijst li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; color: var(--pfa-ink2); }
.pfa-pg-verschil-lijst li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--pfa-hi); }
.pfa-pg-verschil-donker .pfa-pg-verschil-lijst li { color: #C8C8CD; }
.pfa-pg-verschil-donker .pfa-pg-verschil-lijst li::before { background: #fff; }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 1100px) {
  .pfa-pg-raster { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
  .pfa-pg-panelen { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pfa-pg-raster { grid-template-columns: 1fr; }
  .pfa-pg-verschil { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pfa-pg-raster { border-radius: 22px; }
  .pfa-pg-tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfa-pg-velden { grid-template-columns: 1fr; }
  .pfa-pg-fases { display: none; }
  .pfa-pg-acties { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pfa-pg-tegel-vlak, .pfa-pg-maak-klaar, .pfa-pg-scannen .pfa-pg-scan::before, .pfa-pg-bezig .pfa-pg-status-stip { animation: none !important; }
  .pfa-pg-tegel-klaar .pfa-pg-doek, .pfa-pg-paneel, .pfa-pg-check, .pfa-pg-acties { animation: none; }
}
