/* Website Jooske Jacobs – ontwerp "Koraal & Crème". Kleuren staan als variabelen in de pagina (Instellingen → Kleurthema). */

@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-600-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/dm-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #FBF4EA; --ink: #2B2320; --accent: #E4573D; --deep: #B23A24; --muted: #5A4A42; --soft: #F6CDB6; --band: #F6E3D5; --line: #E8D6C6;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.center .intro, .center .lead { margin-left: auto; margin-right: auto; }

/* typografie */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.display-sm { font-size: clamp(38px, 5vw, 64px); line-height: 1.06; }
.display em, .h1 em { color: var(--accent); font-style: italic; }
.h1, .h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0 0 16px; }
.h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.08; }
.h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.1; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700; color: var(--deep); }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; margin: 26px 0 34px; }
.intro { color: var(--muted); max-width: 620px; margin: 0 0 44px; }
.prose { color: var(--muted); }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.2; margin: 1.6em 0 0.5em; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 23px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose-figure { margin: 2em 0; }
.prose-figure img { border-radius: 16px; width: 100%; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink); margin: 1.5em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 28px; border-radius: 999px; background: var(--deep); color: #fff; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid var(--deep); cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--deep); border-color: var(--deep); }
.btn-sm { min-height: 44px; padding: 10px 22px; }
.btn-lg { padding: 18px 34px; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 700; color: var(--deep); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* header */
.adminbar { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; align-items: center; padding: 8px 20px; background: var(--ink); color: var(--bg); font-size: 14px; }
.adminbar a { color: var(--soft); font-weight: 700; }
.adminbar-draft { margin-right: auto; background: var(--accent); color: #fff; padding: 2px 10px; border-radius: 999px; font-weight: 700; }
.site-header { position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 28px; font-weight: 500; }
.site-nav > a:not(.btn) { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current] { border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 48px; height: 48px; cursor: pointer; border-radius: 12px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; padding: 16px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,.12); }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 12px; border: 0; border-radius: 10px; }
  .site-nav > a[aria-current] { background: var(--bg); }
  .site-nav .btn { margin-top: 8px; }
}

/* secties */
.section { padding: 104px 0; }
.section-tight { padding: 40px 0; }
.bg-white { background: #fff; }
.bg-soft { background: var(--band); }
.bg-dark { background: var(--ink); color: var(--bg); }
.bg-dark .h2, .bg-dark .display { color: var(--bg); }
.bg-dark .intro, .bg-dark .lead, .bg-dark .prose { color: color-mix(in srgb, var(--bg) 82%, transparent); }
.bg-dark .eyebrow, .bg-dark .text-link { color: var(--soft); }
.bg-none + .bg-none, .bg-white + .bg-white, .bg-soft + .bg-soft { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-head .h2 { margin: 0; }

/* hero */
.hero { padding: 40px 0 104px; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero-inner.no-image .hero-text { max-width: 860px; }
.hero-media { flex: 1 1 380px; min-width: 0; position: relative; display: flex; justify-content: center; }
.hero-img { position: relative; width: 440px; max-width: 100%; object-fit: cover; border-radius: 24px; }
.shape-arch .hero-img { border-radius: 230px 230px 24px 24px; }
.shape-none .hero-img { height: auto; }
.hero-circle { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--soft); top: 8%; left: 50%; transform: translateX(-50%); }
.hero-badge { position: absolute; bottom: -18px; left: 4%; background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: 0 10px 30px rgba(43,35,32,.12); font-size: 15px; max-width: 280px; }
.hero-badge strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }

/* kaarten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card { background: var(--bg); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.bg-none .card, .bg-soft .card { background: #fff; }
.card h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; }
.card p { margin: 0; color: var(--muted); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--deep); display: inline-flex; align-items: center; justify-content: center; }
.card-meta { font-weight: 700; color: var(--ink) !important; margin-top: 6px !important; }
.card-link { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--deep); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-dark { background: var(--ink) !important; color: var(--bg); }
.card-dark p { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.card-dark .card-meta { color: var(--bg) !important; }
.card-dark .card-icon { background: var(--accent); color: #fff; }
.card-dark .card-link { color: var(--soft); }

/* foto met tekst */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 72px; }
.split-reverse { flex-direction: row-reverse; }
.split-media { flex: 0 1 460px; min-width: 0; }
.split-media img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.split-media.shape-arch img { border-radius: 230px 230px 24px 24px; }
.split-text { flex: 1 1 420px; min-width: 0; }

/* content */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { background: #fff; border-radius: 20px; overflow: hidden; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(43,35,32,.1); }
.post-card-media { display: block; }
.post-card-media img { width: 100%; object-fit: cover; }
.post-card-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--soft); font-family: var(--serif); font-size: 24px; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.post-card-title { font-size: 21px; line-height: 1.3; font-weight: 700; }
.tag { font-size: 13px; font-weight: 700; color: var(--deep); text-transform: uppercase; letter-spacing: .1em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.chips a { padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.chips a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.empty { color: var(--muted); }
.post { padding-bottom: 72px; }
.post .lead { max-width: none; }
.post-cover { margin: 8px auto 48px; }
.post-cover img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.post-video { margin-bottom: 40px; }
.post-body { font-size: 18px; }

/* faq, citaat, afbeelding */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 19px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq .prose { padding-bottom: 20px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 28px; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; margin: 0; }
.quote figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; color: var(--muted); }
.quote-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.image-block { margin: 0 auto; }
.image-block img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.image-block figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; text-align: center; }

/* formulier */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-intro { flex: 1 1 320px; }
.form, .form-success { flex: 1.4 1 460px; min-width: 0; background: #fff; border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; flex: 1 1 200px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.form input:not([type=checkbox]), .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 48px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form input[type=file] { background: #fff; border-style: dashed; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--deep); flex: none; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }
.form-errors { background: #FDECEA; color: #8A1C12; border-radius: 14px; padding: 14px 18px; }
.form-errors p, .form-errors ul { margin: 0; }
.form-success { align-items: flex-start; color: var(--ink); }
.form-success svg { color: #fff; background: var(--deep); border-radius: 50%; padding: 10px; width: 48px; height: 48px; }
.form-success p { font-size: 19px; margin: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 16px 0 72px; }
  .hero-inner, .split { gap: 44px; }
  .card, .form, .form-success { padding: 26px; }
  .lead { font-size: 18px; }
}
