/* ===========================================================================
   DonnieDoet — inhoudspagina's (hoe het werkt, klopt het, veiligheid)
   Donkere inkt-kop zoals de homepage, daaronder bone. Elke sectie heeft een
   nagebouwd stukje van de échte interface als visual — geen iconen, geen
   opsommingen. Merkregel blijft: bone draagt, paars stuurt, geel beloont.
   =========================================================================== */

/* --------------------------------------------------------------- kleuren */
/* Deze drie tinten worden hieronder overal gebruikt (randen van kaarten, de
   vulling van de mockups, het gele signaalvlak) maar stonden nergens
   gedefinieerd — waardoor elke rand en elk vlak op deze pagina's stilzwijgend
   wegviel. Het zijn dezelfde waarden als in de app, zodat site en programma
   er hetzelfde uitzien. */
:root {
  --rand:      #e6e1d5;   /* rand van kaarten en scheidingslijnen */
  --vlak:      #efe9dd;   /* zachte bone-vulling achter een mockup */
  --geel-rand: #F2C230;   /* accentrand bij een signaal */
}

/* ---------------------------------------------------------------- kop-band */
.pagina-kop {
  background: var(--inkt);
  color: var(--bone);
  padding: 0 0 96px;
}
.pagina-kop .inner { max-width: 900px; }
.kop-eyebrow {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--lichtpaars); margin: 0 0 20px;
}
.pagina-kop h1 {
  margin: 0; font-weight: 900;
  font-size: clamp(36px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -.033em;
  text-wrap: balance; max-width: 18ch;
}
.pagina-kop h1 em { font-style: normal; color: var(--lichtpaars); }
.pagina-kop .kop-lead {
  margin: 24px 0 0; font-size: 18px; line-height: 1.6;
  color: rgba(246, 243, 234, .6); max-width: 52ch; text-wrap: pretty;
}

/* ---------------------------------------------------------------- secties */
/* De body is inkt (vanwege de donkere hero op de homepage); de inhoudsblokken
   op deze pagina's zetten daarom zelf hun bone-achtergrond. */
.blok {
  padding: 88px 0;
  background: var(--bone);
  color: var(--inkt);
}
.blok + .blok { border-top: 1px solid var(--rand); }
.blok-eyebrow {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--paars); margin: 0 0 14px;
}
.blok h2 {
  margin: 0 0 16px; font-weight: 900;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.028em;
  text-wrap: balance; max-width: 20ch;
}
.blok-lead {
  margin: 0 0 40px; font-size: 17.5px; line-height: 1.65;
  color: rgba(36, 28, 61, .68); max-width: 56ch; text-wrap: pretty;
}
.blok p { text-wrap: pretty; }

/* ------------------------------------------------------- kaartraster 2×2 */
.kaarten {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
  align-items: stretch;
}
/* De kaart is een kolom en de visual rekt mee, zodat de titels binnen een rij
   altijd op dezelfde hoogte beginnen — ook als de ene mockup hoger is. */
.kaart { display: flex; flex-direction: column; }
.kaart-visual { flex: 1; }
.kaart-visual {
  background: var(--vlak); border: 1px solid var(--rand); border-radius: 16px;
  padding: 26px 24px; min-height: 210px;
  display: flex; align-items: center; justify-content: center;
}
.kaart h3 { margin: 18px 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.kaart p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(36, 28, 61, .68); }

/* --------------------------------------------- afwisselende brede secties */
.breed {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
.breed.om > .breed-tekst { order: 2; }
.breed-tekst h2 { margin-bottom: 14px; }
.breed-tekst p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.65; color: rgba(36, 28, 61, .72); max-width: 46ch; }
.breed-tekst p:last-child { margin-bottom: 0; }
.breed-visual {
  background: var(--vlak); border: 1px solid var(--rand); border-radius: 18px;
  padding: 30px 28px;
}

/* ======================================================================
   NAGEBOUWDE INTERFACE-ONDERDELEN
   Dit zijn geen plaatjes maar echte HTML — precies zoals ze in de app staan.
   ====================================================================== */

.ui { width: 100%; font-size: 13.5px; }
.ui-kaart {
  background: #fff; border: 1px solid var(--rand); border-radius: 12px;
  padding: 16px 18px; box-shadow: 0 6px 20px rgba(36, 28, 61, .07);
}
.ui-label {
  font-family: ui-monospace, Menlo, monospace; font-size: 9.5px;
  letter-spacing: 1.3px; text-transform: uppercase; color: rgba(36, 28, 61, .45);
  margin-bottom: 9px;
}
.ui-rij {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 7px 0; border-bottom: 1px solid rgba(36, 28, 61, .07);
}
.ui-rij:last-child { border-bottom: none; }
.ui-rij span { color: rgba(36, 28, 61, .6); }
.ui-rij strong { font-family: ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums; font-weight: 600; }

/* het antwoord-in-één-zin, zoals in het kwartaalscherm */
.ui-antwoord {
  border-radius: 12px; padding: 16px 18px; border: 1px solid #fecaca; background: #fef2f2;
}
.ui-antwoord .bedrag { font-size: 19px; font-weight: 800; color: #b91c1c; line-height: 1.3; letter-spacing: -.02em; }
.ui-antwoord .sub {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px;
  color: rgba(36, 28, 61, .5); margin-top: 6px;
}

/* AI-voorstel: geel gemarkeerd veld + bevestigknop */
.ui-voorstel .ui-rij.gemarkeerd strong {
  background: rgba(242, 194, 48, .35); border-radius: 5px; padding: 2px 7px;
}
.ui-voorstel .ui-rij.gemarkeerd em {
  font-style: normal; font-size: 10.5px; color: rgba(36, 28, 61, .5); margin-left: 4px;
}
.ui-knop {
  margin-top: 14px; text-align: center; font-weight: 700; font-size: 13.5px;
  color: var(--bone); background: var(--paars); border-radius: 9px; padding: 10px;
}

/* signaal-kaartje */
.ui-signaal {
  background: #fff; border: 1px solid var(--rand); border-left: 4px solid var(--geel-rand);
  border-radius: 10px; padding: 13px 15px;
}
.ui-signaal + .ui-signaal { margin-top: 12px; border-left-color: var(--paars); }
.ui-signaal .kop {
  font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(36, 28, 61, .5); margin-bottom: 5px;
}
.ui-signaal .tekst { font-size: 13.5px; line-height: 1.5; color: rgba(36, 28, 61, .82); }

/* de drie lagen van het programma */
.lagen { display: flex; flex-direction: column; gap: 10px; }
.laag {
  background: #fff; border: 1px solid var(--rand); border-radius: 11px;
  padding: 14px 16px; position: relative;
}
.laag-nr {
  font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; letter-spacing: 1.2px;
  color: var(--paars); margin-bottom: 4px;
}
.laag strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.laag span { display: block; font-size: 13px; color: rgba(36, 28, 61, .6); margin-top: 3px; line-height: 1.5; }
.laag-pijl { text-align: center; color: rgba(36, 28, 61, .3); font-size: 14px; line-height: 1; }

/* regel met bron — het bewijsstuk */
.ui-regel .waarde {
  font-family: ui-monospace, Menlo, monospace; font-size: 22px; font-weight: 700;
  letter-spacing: -.02em; margin: 2px 0 10px;
}
.ui-bron {
  border-top: 1px dashed var(--rand); padding-top: 10px; margin-top: 4px;
  font-size: 12px; line-height: 1.55; color: rgba(36, 28, 61, .6);
}
.ui-bron a, .ui-bron .link { color: var(--paars); font-weight: 600; text-decoration: none; }
.ui-bron .datum { font-family: ui-monospace, Menlo, monospace; font-size: 11px; }

/* drie controles die op hetzelfde uitkomen */
.controles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.controle {
  background: #fff; border: 1px solid var(--rand); border-radius: 11px;
  padding: 13px 12px; text-align: center;
}
.controle .naam {
  font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(36, 28, 61, .5); margin-bottom: 8px; line-height: 1.4;
}
.controle .uitkomst {
  font-family: ui-monospace, Menlo, monospace; font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.samenkomst {
  margin-top: 12px; text-align: center; padding: 12px;
  background: #eafaf3; border: 1px solid #b7e6ce; border-radius: 11px;
  font-size: 13.5px; color: #146b4a; font-weight: 600;
}

/* datastroom voor de veiligheidspagina */
.stroom { display: flex; flex-direction: column; gap: 8px; }
.stroom-rij {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--rand); border-radius: 11px; padding: 13px 15px;
}
.stroom-rij .plek {
  font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--paars); min-width: 78px;
}
.stroom-rij .wat { font-size: 13.5px; color: rgba(36, 28, 61, .8); }
.stroom-slot {
  display: inline-block; margin-left: auto; font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px; color: rgba(36, 28, 61, .45); white-space: nowrap;
}

/* wachtwoord-transformatie */
.hash { display: flex; flex-direction: column; gap: 9px; }
.hash-vak {
  background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 12px 14px;
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; word-break: break-all;
  line-height: 1.5;
}
.hash-vak .wat {
  display: block; font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(36, 28, 61, .45); margin-bottom: 6px; font-family: ui-monospace, Menlo, monospace;
}
.hash-uit { color: rgba(36, 28, 61, .5); }

/* eerlijk-blok: wat we wel en niet beloven */
.eerlijk { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.eerlijk-kolom {
  background: #fff; border: 1px solid var(--rand); border-radius: 14px; padding: 22px 24px;
}
.eerlijk-kolom.wel { border-top: 3px solid var(--paars); }
.eerlijk-kolom.niet { border-top: 3px solid var(--geel-rand); }
.eerlijk-kolom h3 { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.eerlijk-kolom p { margin: 0 0 11px; font-size: 15px; line-height: 1.6; color: rgba(36, 28, 61, .72); }
.eerlijk-kolom p:last-child { margin-bottom: 0; }

/* slot-cta */
.slot-blok {
  background: var(--inkt); color: var(--bone); text-align: center; padding: 84px 0;
}
.slot-blok h2 {
  margin: 0 auto; font-weight: 900; font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.06; letter-spacing: -.03em; max-width: 16ch; color: var(--bone);
}
.slot-blok p {
  margin: 18px auto 0; max-width: 44ch; font-size: 17px; line-height: 1.6;
  color: rgba(246, 243, 234, .6);
}
.slot-blok .btn-groot { margin-top: 30px; }
.slot-fijn2 {
  margin-top: 14px; font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; color: rgba(246, 243, 234, .4);
}

/* verwijzing naar de andere twee pagina's */
.verder { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.verder a {
  display: block; background: #fff; border: 1px solid var(--rand); border-radius: 14px;
  padding: 22px 24px; text-decoration: none; color: var(--inkt);
}
.verder a:hover { border-color: var(--paars); }
.verder .v-label {
  font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--paars); margin-bottom: 8px;
}
.verder strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 5px; }
.verder span { font-size: 14.5px; color: rgba(36, 28, 61, .65); line-height: 1.55; }

/* --------------------------------------------------------------- mobiel */
@media (max-width: 860px) {
  .kaarten, .eerlijk, .verder { grid-template-columns: 1fr; }
  .breed { grid-template-columns: 1fr; gap: 32px; }
  .breed.om > .breed-tekst { order: 0; }
  .blok { padding: 64px 0; }
  .pagina-kop { padding-bottom: 68px; }
  .controles { grid-template-columns: 1fr; }
}

/* ==========================================================================
   De telefoon met de bon — visual bij "Een foto is genoeg"
   --------------------------------------------------------------------------
   Het echte gebaar van het product: je fotografeert een bonnetje en er komt
   een ingevulde regel uit. Dat laat zich niet vertellen, dus wordt het hier
   getekend — telefoon, bon, pijl, uitkomst.
   ========================================================================== */

.ui-telefoon { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }

.tel-rand {
  width: 132px; padding: 8px 7px 10px; border-radius: 20px;
  background: var(--inkt); box-shadow: 0 6px 18px rgba(36, 28, 61, .18);
}
.tel-scherm {
  position: relative; overflow: hidden;
  border-radius: 12px; background: #fff; padding: 12px 10px 14px;
}

/* Het bonnetje: geen echte tekst nodig, alleen de vorm die je herkent. */
.tel-bon { display: flex; flex-direction: column; gap: 5px; }
.bon-kop {
  font-size: 9px; font-weight: 800; letter-spacing: .09em;
  color: var(--inkt); margin-bottom: 2px;
}
.bon-regel { height: 3px; border-radius: 2px; background: var(--rand); width: 100%; }
.bon-regel.kort { width: 52%; }
.bon-regel.lang { width: 78%; }
.bon-totaal, .bon-btw {
  font-family: ui-monospace, Menlo, monospace; font-size: 8.5px;
  color: var(--inkt); letter-spacing: -.01em;
}
.bon-totaal { margin-top: 6px; font-weight: 700; border-top: 1px dashed var(--rand); padding-top: 5px; }
.bon-btw { color: rgba(36, 28, 61, .6); }

/* Het gele streepje dat over de bon trekt: Donnie die 'm leest. */
.tel-vangst {
  position: absolute; left: 0; right: 0; top: 0; height: 26%;
  background: linear-gradient(180deg, rgba(242, 194, 48, 0) 0%, rgba(242, 194, 48, .45) 100%);
  border-bottom: 1.5px solid var(--geel);
  animation: lezen 2.8s ease-in-out infinite;
}
@keyframes lezen {
  0%, 12%   { transform: translateY(-30%); opacity: 0; }
  25%       { opacity: 1; }
  75%       { transform: translateY(290%); opacity: 1; }
  88%, 100% { transform: translateY(290%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tel-vangst { animation: none; transform: translateY(150%); opacity: .85; }
}

.tel-pijl { font-size: 15px; color: var(--paars); line-height: 1; }
.tel-uitkomst { max-width: 250px; }

@media (max-width: 720px) {
  .tel-rand { width: 104px; }
  .tel-uitkomst { max-width: 100%; }
}

/* ==========================================================================
   Het beginscherm van een telefoon — visual bij "zonder app-store"
   --------------------------------------------------------------------------
   Een rooster van lege app-vakjes met daartussen het echte icoon. De andere
   apps blijven expres naamloos en grijs: het gaat om die ene die eruit springt.
   ========================================================================== */

.ui-beginscherm { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }

.bs-rand {
  width: 186px; padding: 8px 7px 12px; border-radius: 24px;
  background: var(--inkt); box-shadow: 0 10px 26px rgba(36, 28, 61, .2);
}
.bs-scherm {
  border-radius: 18px; padding: 10px 12px 16px;
  background: linear-gradient(165deg, #efe9dd 0%, #e3dbcb 100%);
}
.bs-tijd {
  font-family: ui-monospace, Menlo, monospace; font-size: 9px; font-weight: 700;
  color: rgba(36, 28, 61, .55); text-align: center; margin-bottom: 10px;
}

.bs-rooster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px 9px; }
.bs-app { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bs-vak {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(36, 28, 61, .09); display: block;
}
.bs-naam { display: block; width: 26px; height: 3px; border-radius: 2px; background: rgba(36, 28, 61, .14); }

/* De onze: echt wit vlak, echt icoon, echte naam. */
.bs-donnie .bs-vak {
  background: #fff; box-shadow: 0 2px 6px rgba(36, 28, 61, .18);
  outline: 2px solid var(--paars); outline-offset: 2px;
}
.bs-donnie .bs-vak svg { width: 100%; height: 100%; display: block; }
.bs-naam-echt {
  width: auto; height: auto; background: none; border-radius: 0;
  font-size: 7.5px; font-weight: 700; color: var(--inkt); letter-spacing: -.01em;
  white-space: nowrap;
}

.bs-onder {
  margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 11px;
  color: var(--paars); font-weight: 600;
}

@media (max-width: 720px) {
  .bs-rand { width: 168px; }
  .bs-vak { width: 30px; height: 30px; }
}
