/* Ontwerp 2 "Persoonlijk". Tokens uit de Egeldossier-huisstijl. */
:root {
  --groen: #b3be62; --groen-donker: #7a8442; --groen-licht: #eef0dc;
  --amber: #f99c00; --amber-licht: #fef3c6;
  --tekst: #1c1917; --tekst-2: #57534e; --tekst-3: #a8a29e;
  --bg: #fafaf9; --lijn: #e7e5e4;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--tekst); font-family: 'Lexend', system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
a { color: var(--groen-donker); }
a:hover { color: #5f6a2e; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }

.knop { display: block; background: var(--groen); color: var(--tekst); text-decoration: none; font-size: 19px; font-weight: 700; padding: 17px 0; border-radius: 999px; box-shadow: 0 4px 14px rgba(122,132,66,0.4); text-align: center; }
.knop:hover { background: #a5b053; color: var(--tekst); }
.betaal { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--tekst-3); }
.betaal img { height: 26px; width: auto; border-radius: 6px; }

/* Bedragkeuze: chips vullen samen exact de breedte van de knop */
.bedragen { display: flex; gap: 8px; }
.chip { flex: 1 1 0; text-align: center; padding: 9px 6px; border-radius: 999px; border: 1.5px solid var(--lijn); background: #fff; color: var(--tekst); font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.chip:hover { border-color: var(--groen); color: var(--tekst); }
.chip:hover, .chip:focus-visible { background: var(--groen); border-color: var(--groen); }
.chip[data-bedrag="0"] { flex: 1.6 1 0; }

/* Hero */
.hero { padding: 26px 20px 24px; display: flex; flex-direction: column; gap: 14px; max-width: 480px; margin: 0 auto; }
.polaroid { position: relative; align-self: center; transform: rotate(-2deg); background: #fff; padding: 10px 10px 14px; box-shadow: 0 4px 18px rgba(28,25,23,0.14); border-radius: 4px; }
.polaroid > img { width: 300px; height: 220px; object-fit: cover; object-position: 50% 20%; display: block; }
.polaroid .tape { position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(3deg); width: 90px; height: 24px; background: rgba(254,243,198,0.85); box-shadow: 0 1px 3px rgba(28,25,23,0.15); }
.polaroid .vijftig { position: absolute; top: 18px; left: 18px; font-family: 'Caveat', cursive; font-size: 34px; color: var(--amber); transform: rotate(-4deg); text-shadow: 0 1px 6px rgba(255,255,255,0.8); line-height: 1; }
.hero-tekst { text-align: center; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.hero-tekst h1 { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.5px; }
.hero-tekst h1 .fab { font-family: 'Caveat', cursive; font-weight: 700; font-size: 44px; color: var(--groen-donker); letter-spacing: 0; }
.hero-tekst .intro { font-size: 15px; color: var(--tekst-2); line-height: 1.45; }
.hero-datum { display: none; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; width: 100%; }
.hero-cta .betaal, .cta-blok .betaal { align-self: center; }

/* Teller */
.teller-wrap { padding: 4px 20px 8px; max-width: 480px; margin: 0 auto; }
.teller { background: var(--amber-licht); border-radius: 2px; padding: 18px 20px; transform: rotate(1deg); box-shadow: 0 3px 12px rgba(28,25,23,0.1); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.teller .label { font-family: 'Caveat', cursive; font-size: 24px; color: var(--tekst-2); display: block; line-height: 1; }
.teller .bedrag { font-size: 38px; font-weight: 800; color: var(--amber); line-height: 1.15; display: block; }
.teller .sub { display: block; font-size: 13px; color: var(--tekst-2); }
.teller img { width: 64px; height: 64px; object-fit: contain; }
.bar { height: 8px; background: #fff; border-radius: 999px; overflow: hidden; margin: 6px 0 2px; }
.bar span { display: block; height: 100%; width: 0; background: var(--amber); }
.goal-text { font-size: 13px; color: var(--tekst-2); }

/* Brief */
.brief { padding: 18px 20px 4px; display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 0 auto; }
.brief h2 { font-family: 'Caveat', cursive; font-size: 32px; font-weight: 700; }
.brief p { font-size: 15px; color: var(--tekst-2); }
.brief .groet { font-family: 'Caveat', cursive; font-size: 28px; color: var(--groen-donker); }

/* Fotostrip */
.fotostrip { display: flex; padding: 10px 20px; justify-content: center; }
.fotostrip img { width: 108px; height: 108px; object-fit: cover; border: 6px solid #fff; box-shadow: 0 3px 10px rgba(28,25,23,0.15); }
.fotostrip img:nth-child(1) { transform: rotate(-3deg); }
.fotostrip img:nth-child(2) { transform: rotate(2deg); margin-top: 8px; }
.fotostrip img:nth-child(3) { transform: rotate(-2deg); }

/* Video */
.video-wrap { padding: 12px 20px; max-width: 480px; margin: 0 auto; }
.video { position: relative; border-radius: 4px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 4px 16px rgba(28,25,23,0.12); transform: rotate(1deg); display: block; background: #000; aspect-ratio: 4 / 3; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video .overlay { position: absolute; inset: 0; background: rgba(28,25,23,0.28); display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }
.video .play { width: 84px; height: 84px; border-radius: 999px; background: var(--bg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(28,25,23,0.3); }
.video .play::after { content: ""; width: 0; height: 0; border-left: 28px solid var(--amber); border-top: 17px solid transparent; border-bottom: 17px solid transparent; margin-left: 7px; }
.video .video-label { font-family: 'Caveat', cursive; font-weight: 700; font-size: 26px; color: #fff; text-shadow: 0 1px 6px rgba(28,25,23,0.6); }
.video-play:hover .play { transform: scale(1.06); }

/* Waarom */
.waarom { padding: 10px 20px 4px; display: flex; flex-direction: column; gap: 10px; max-width: 480px; margin: 0 auto; }
.waarom h2 { font-size: 20px; font-weight: 700; }
.waarom p { font-size: 15px; color: var(--tekst-2); }
.waarom a { font-size: 14px; font-weight: 600; }
.waarom h2 + h2, .waarom a + h2 { margin-top: 10px; }
.waarom .groet { font-family: 'Caveat', cursive; font-size: 28px; color: var(--groen-donker); }

/* Praktisch */
.praktisch { margin: 16px auto; background: #fff; border-radius: 4px; padding: 20px; box-shadow: 0 3px 12px rgba(28,25,23,0.08); transform: rotate(-0.6deg); max-width: 440px; width: calc(100% - 40px); }
.praktisch h2 { margin-bottom: 10px; font-family: 'Caveat', cursive; font-size: 30px; font-weight: 700; }
.praktisch dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.praktisch .rij { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--lijn); padding-bottom: 8px; }
.praktisch .rij:last-child { border-bottom: 0; padding-bottom: 0; }
.praktisch dt { color: var(--tekst-3); }
.praktisch dd { margin: 0; font-weight: 600; }
.praktisch dd.volgt { color: var(--tekst-3); }

/* CTA onder */
.cta-onder { padding: 14px 20px 30px; display: flex; flex-direction: column; gap: 10px; text-align: center; max-width: 480px; margin: 0 auto; }
.cta-blok { display: flex; flex-direction: column; gap: 10px; align-items: stretch; width: 100%; }
.cta-onder .vraag { font-family: 'Caveat', cursive; font-size: 30px; }

/* Footer */
footer { background: var(--groen-licht); padding: 26px 20px 180px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
footer img { width: 46px; height: 46px; object-fit: contain; margin: 0 auto; }
footer .mail { font-size: 14px; }
footer .honderd { font-size: 13px; color: var(--tekst-2); }

/* Sticky */
.sticky-doneer { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(250,250,249,0.95); backdrop-filter: blur(6px); border-top: 1px solid var(--lijn); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform 0.3s ease; z-index: 50; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.sticky-doneer.zichtbaar { transform: translateY(0); }
.sticky-doneer .knop { font-size: 16px; padding: 12px 0; box-shadow: none; }
.sticky-doneer .chip { padding: 7px 4px; font-size: 14px; }
.sticky-doneer .betaal { font-size: 12px; }
.sticky-doneer .betaal img { height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .sticky-doneer { transition: none; }
}

@media (min-width: 900px) {
  body { font-size: 16px; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 80px 56px; max-width: 1280px; }
  .polaroid { justify-self: center; transform: rotate(-2.5deg); padding: 14px 14px 18px; }
  .polaroid > img { width: 430px; height: 330px; }
  .polaroid .tape { top: -14px; width: 120px; height: 30px; }
  .polaroid .vijftig { top: 22px; left: 22px; font-size: 44px; }
  .hero-tekst { text-align: left; align-items: flex-start; gap: 16px; margin-top: 0; }
  .hero-datum { display: block; font-family: 'Caveat', cursive; font-size: 34px; color: var(--tekst-2); font-weight: 700; }
  .hero-tekst h1 { font-size: 52px; line-height: 1.05; letter-spacing: -1px; }
  .hero-tekst h1 .fab { font-size: 72px; }
  .hero-tekst .intro { font-size: 18px; max-width: 420px; }
  .hero-tekst .knop { padding: 18px 0; font-size: 21px; }
  .hero-cta { width: 100%; max-width: 420px; margin-top: 12px; }
  .betaal { font-size: 14px; }
  .betaal img { height: 28px; }
  .teller-wrap { display: flex; justify-content: center; max-width: none; }
  .teller { transform: rotate(-1deg); padding: 24px 40px; gap: 28px; }
  .teller .label { font-size: 30px; }
  .teller .bedrag { font-size: 48px; }
  .teller .sub { font-size: 14px; }
  .teller img { width: 84px; height: 84px; }
  .brief { max-width: 640px; padding: 40px 0 8px; gap: 14px; }
  .brief h2 { font-size: 42px; }
  .brief p { font-size: 17px; line-height: 1.7; }
  .brief .groet { font-size: 34px; }
  .fotostrip { gap: 32px; padding: 32px 80px; align-items: center; }
  .fotostrip img { width: 200px; height: 200px; border-width: 10px; }
  .fotostrip img:nth-child(2) { margin-top: 18px; }
  .video-wrap { max-width: 640px; padding: 24px 0; }
  .video .play { width: 100px; height: 100px; }
  .video .video-label { font-size: 32px; }
  .waarom { max-width: 640px; }
  .waarom h2 { font-size: 24px; }
  .waarom p { font-size: 16px; }
  .praktisch { max-width: 560px; margin: 24px auto; padding: 26px 30px; transform: rotate(0.8deg); }
  .praktisch h2 { font-size: 34px; }
  .praktisch dl { font-size: 16px; }
  .cta-onder { padding: 24px 20px 56px; gap: 12px; }
  .cta-onder .vraag { font-size: 38px; }
  .cta-onder { align-items: center; }
  .cta-blok { gap: 12px; width: 100%; max-width: 420px; }
  .cta-blok .knop { padding: 18px 0; font-size: 21px; }
  footer { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 80px; text-align: left; }
  footer img { margin: 0; width: 52px; height: 52px; }
  .sticky-doneer { display: none; }
}
