/* MijnDagmap · stijl v2
   Fraunces (zacht, warm) voor koppen, Figtree (modern, vriendelijk) voor tekst.
   Kleuren: blos, salie, boter en pruim. */

@font-face { font-family: "Display"; src: url("fonts/display.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Display"; src: url("fonts/display-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Body"; src: url("fonts/body.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Body"; src: url("fonts/body-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hand"; src: url("fonts/hand.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --base: #FAF7F2;
  --blush: #F5E8E1;
  --blush-deep: #EBCFC2;
  --sage: #DDE5DF;
  --sage-deep: #5E7260;
  --butter: #E9C9A0;
  --plum: #B85C38;
  --plum-dark: #8F4427;
  --ink: #1C1B18;
  --muted: #5C5A55;
  --line: #E8DED6;
  --sheet: #FFFFFF;
  --measure: 38rem;
  --wide: 70rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Body", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.1875rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 0.18em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: var(--measure); }

h1, h2, h3 {
  font-family: "Display", Georgia, serif;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.375rem, 6.2vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.875rem, 4.2vw, 2.625rem); }
h3 { font-size: 1.3125rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.3125rem; color: var(--muted); }

/* Kop */
.top { padding: 1.25rem 0; background: var(--blush); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-family: "Display", serif; font-size: 1.5rem; font-weight: 650; color: var(--plum); text-decoration: none; }
.top a.small { font-size: 1rem; font-weight: 600; color: var(--ink); }

/* Knop */
.btn {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 1.875rem;
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--plum-dark);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--plum-dark); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--plum-dark); }
.btn:focus-visible { outline: 3px solid var(--butter); outline-offset: 4px; }
.btn-note { display: block; margin-top: 1rem; font-size: 1rem; color: var(--muted); }

/* Hero */
.hero { background: var(--blush); padding: 2.5rem 0 5rem; overflow: hidden; }
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { color: var(--ink); }
.hero h1 span { display: block; color: var(--plum); font-style: italic; font-weight: 500; }
.hero .lead { color: var(--ink); max-width: 33rem; }
.cover-wrap { position: relative; }
.cover-wrap::before {
  content: ""; position: absolute; inset: 8% -6% -6% 8%;
  background: var(--sage); border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%;
}
.hero .cover { position: relative; transform: rotate(2deg); box-shadow: 0 24px 48px -16px rgba(143,68,39,.3); border-radius: 8px; overflow: hidden; background: var(--sheet); margin: 0; }

/* Geruststelling */
.easy { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.75rem; }
.easy li { background: var(--sage); border-radius: 14px; padding: 0.9rem 1.1rem 0.9rem 3.1rem; position: relative; font-weight: 600; }
.easy li::before {
  content: ""; position: absolute; left: 1.05rem; top: 50%; width: 1.25rem; height: 1.25rem; margin-top: -0.625rem;
  border-radius: 50%; background: var(--sage-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

/* Secties */
section { padding: 5rem 0; }
.bg-sage { background: var(--sage); }
.bg-blush { background: var(--blush); }
.bg-plum { background: var(--plum); color: #fff; }

/* Hoofdstukken */
.chapters { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; gap: 1.5rem; counter-reset: ch; }
@media (min-width: 700px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .chapters { grid-template-columns: repeat(3, 1fr); } }
.chapters li { counter-increment: ch; background: var(--tint, var(--blush)); border-radius: 20px; padding: 1.25rem 1.25rem 1.5rem; }
.chapters li:nth-child(1) { --tint: #F6E6DD; --dot: #B85C38; }
.chapters li:nth-child(2) { --tint: #E3EAE3; --dot: #5E7260; }
.chapters li:nth-child(3) { --tint: #F2E6E2; --dot: #9A6A5F; }
.chapters li:nth-child(4) { --tint: #E2EAEC; --dot: #4F6B73; }
.chapters li:nth-child(5) { --tint: #F4EADB; --dot: #A0703A; }
.chapters .shot { border-radius: 10px; overflow: hidden; background: var(--sheet); margin-bottom: 1.1rem; box-shadow: 0 8px 20px -12px rgba(42,37,48,.35); }
.chapters h3 { display: flex; align-items: baseline; gap: 0.55rem; margin-bottom: 0.35rem; }
.chapters h3::before {
  content: counter(ch); flex: none; display: inline-grid; place-items: center;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--dot, var(--sage-deep)); color: #fff;
  font-family: "Body", sans-serif; font-size: 0.95rem; font-weight: 700; transform: translateY(-0.1em);
}
.chapters p { color: var(--muted); font-size: 1.0625rem; margin: 0; }

/* Het hart: de brief */
.letter-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 860px) { .letter-grid { grid-template-columns: 1fr 1fr; } }
.letter-grid h2 { color: var(--sage-deep); }
.letter {
  background: var(--sheet);
  padding: 2.5rem 2.25rem 2.75rem;
  border-radius: 6px;
  box-shadow: 0 28px 50px -22px rgba(47,94,78,.45);
  transform: rotate(-1.5deg);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 2.35rem, #EDE6E1 2.35rem, #EDE6E1 calc(2.35rem + 1px));
  background-position: 0 3.1rem;
}
.letter p { font-family: "Hand", "Bradley Hand", cursive; font-size: 1.85rem; line-height: 2.35rem; color: #2F3F5C; margin: 0; }
.letter .sign { text-align: right; margin-top: 0.5rem; }
.letter-caption { font-size: 0.95rem; color: var(--sage-deep); margin-top: 1.5rem; text-align: center; font-weight: 600; }

/* Wie maakt dit */
.maker { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 760px) { .maker { grid-template-columns: 19rem 1fr; gap: 4rem; align-items: start; } .maker .portrait { position: sticky; top: 2rem; } }
.portrait { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--blush); margin: 0; padding: 14px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.maker blockquote { margin: 0; }
.maker .quote { font-family: "Display", serif; font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.3; font-style: italic; color: var(--plum); }
.maker .sig { font-family: "Hand", cursive; font-size: 2rem; line-height: 1.2; color: var(--plum); margin: 1.5rem 0 0.25rem; }
.maker .name { color: var(--muted); font-size: 1rem; font-weight: 600; }

/* Zo werkt het */
.steps { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; gap: 1.5rem; counter-reset: st; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: st; background: var(--sheet); border-radius: 20px; padding: 1.5rem; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sage-deep); color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 1rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.facts { margin: 1.5rem 0 0; padding: 1.25rem 1.5rem; border-radius: 20px; border: 2px dashed var(--sage-deep); color: var(--sage-deep); font-weight: 600; }
.facts ul { margin: 0; padding-left: 1.25rem; }
@media (min-width: 760px) { .facts ul { columns: 2; column-gap: 3rem; } }
.facts li { margin-bottom: 0.35rem; break-inside: avoid; }

/* Vragen */
.faq details { background: var(--sheet); border-radius: 16px; padding: 1.1rem 1.35rem; margin-bottom: 0.75rem; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.125rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--blush); color: var(--plum); font-weight: 600; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--plum); color: #fff; }
.faq details p { margin: 0.75rem 0 0; color: var(--muted); }

/* Slot */
.closing { text-align: center; padding: 6rem 0; }
.closing h2, .closing p { max-width: 32rem; margin-left: auto; margin-right: auto; }
.closing .lead { color: #F8E3D9; }
.closing .btn { background: #fff; color: var(--plum-dark); box-shadow: 0 6px 0 #E6C3B3; }
.closing .btn:hover { box-shadow: 0 4px 0 #E6C3B3; }
.closing .btn:focus-visible { outline-color: #fff; }
.closing .btn-note { color: #F8E3D9; }

/* Voet */
footer { padding: 2.5rem 0 3rem; font-size: 1rem; color: var(--muted); background: var(--base); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
footer a { color: var(--muted); }

/* Beeld nog niet aanwezig */
.ph.missing { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, #fff, #fff 10px, #F6EEE9 10px, #F6EEE9 20px); }
.ph.missing img { display: none; }
.ph.missing::after { content: attr(data-file); font-size: 0.8rem; color: var(--muted); background: var(--sheet); padding: 0.25rem 0.6rem; border-radius: 6px; }
.portrait.ph.missing { aspect-ratio: 4 / 5; }

/* Juridische pagina's */
.legal { padding: 2.5rem 0 5rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.75rem); color: var(--plum); }
.legal h2 { font-size: 1.375rem; margin-top: 2.25rem; }
.legal .meta { color: var(--muted); font-size: 1rem; }
.legal ul { padding-left: 1.25rem; }

/* Zolang productbeelden ontbreken: vakken verbergen zodat de site af oogt */
.shot.ph.missing { display: none; }
.cover-wrap:has(.missing) { display: none; }
