/* MFA Tillehus - huisstijl 2026 */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter.woff2') format('woff2-variations'), url('/assets/fonts/inter.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/bricolage-grotesque.woff2') format('woff2-variations'), url('/assets/fonts/bricolage-grotesque.woff2') format('woff2'); }

:root {
    --ground: #F7F7F4;
    --surface: #FFFFFF;
    --ink: #16241F;
    --ink-2: #3D4A45;
    --muted: #56635E;
    --line: #E3E3DC;
    --accent: #1F4FA3;
    --accent-ink: #FFFFFF;
    --stone: #D9D2C3;
    --sage: #C9D3CC;
    --dark-line: #3A4B44;
    --dark-field: #1E2E28;
    --dark-muted: #C9D6CF;
    --radius: 28px;
    --display: 'Bricolage Grotesque', system-ui, sans-serif;
    --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.section { padding: 96px 0; }
.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.kop { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: -.03em; }
.kop-rij { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.kop-rij p { margin: 0; max-width: 440px; color: var(--ink-2); }
.link-streep { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 14px 28px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { color: var(--accent-ink); filter: brightness(1.1); }
.btn-licht { background: var(--surface); color: var(--ink); border-color: #D6D6CE; }
.btn-donker { background: var(--ink); color: #FFFFFF; }
.btn-donker:hover { color: #FFFFFF; }
.btn-wit { background: #FFFFFF; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 247, 244, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; }
.brand-naam { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-weight: 500; font-size: 16px; }
.site-nav a { text-decoration: none; }
.site-nav a.active { color: var(--accent); }
.taalwissel { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-decoration: none; font-weight: 600; }
.taalwissel img { border-radius: 4px; box-shadow: 0 0 0 1px var(--line); transition: transform .15s; }
.taalwissel:hover img { transform: scale(1.08); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font: inherit; cursor: pointer; }

/* Hero */
.hero { padding: 72px 0 48px; }
.hero-rij { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.hero-tekst { flex: 1 1 520px; min-width: 0; }
.hero-tekst h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -.035em; }
.hero-intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-intro p { margin: 0; font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-raster { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.foto { position: relative; overflow: hidden; border-radius: var(--radius); background-color: var(--sage); }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto-steen { background-color: var(--stone); }
.hero-hoofd { grid-column: span 2; min-height: 440px; }
.hero-kolom { display: flex; flex-direction: column; gap: 16px; }
.hero-kolom .foto { flex: 1; min-height: 212px; }
.adreskaart { flex: 1; min-height: 212px; border-radius: var(--radius); background: var(--ink); color: #FFFFFF; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.adreskaart span:first-child { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9FB4AA; }
.adreskaart address { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.2; }

/* Activiteiten */
.chips { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 0 64px; margin: 0; list-style: none; }
.chips li { padding: 12px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tegel { border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 300px; }
.tegel h3, .tegel-split h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; }
.tegel p { margin: 0; }
.tegel-accent { background: var(--accent); color: #FFFFFF; }
.tegel-accent p { color: #DCE6F7; }
.tegel-donker { background: var(--ink); color: #FFFFFF; }
.tegel-donker p { color: var(--dark-muted); }
.tegel-split { grid-column: span 2; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-wrap: wrap; }
.tegel-split > .foto { flex: 1 1 280px; min-height: 300px; border-radius: 0; }
.tegel-split > div:not(.foto) { flex: 1 1 280px; padding: 36px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.tegel-split p { margin: 0; color: var(--ink-2); }

/* Vaste gebruikers */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-rij { display: flex; flex-wrap: wrap; gap: 48px; }
.band-rij > div:first-child { flex: 1 1 340px; min-width: 0; }
.band-rij > div:first-child p:last-child { margin: 20px 0 0; color: var(--ink-2); max-width: 400px; }
.gebruikers { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gebruikers li { padding: 24px; border-radius: 20px; background: var(--ground); display: flex; flex-direction: column; gap: 4px; }
.gebruikers strong { font-family: var(--display); font-size: 22px; }
.gebruikers span { color: var(--muted); }

/* Berichten */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 20px; }
.post-card-img img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); }
.post-card-body { display: flex; flex-direction: column; gap: 10px; }
.post-card time, .post time { font-size: 14px; font-weight: 600; color: var(--muted); }
.post-card-titel { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; line-height: 1.15; }
.post-card-titel a { text-decoration: none; }
.post-card p { margin: 0; color: var(--ink-2); }
.pagination-wrap { margin-top: 48px; }

/* Enkel bericht en pagina */
.post h1, .pagina h1 { margin: 8px 0 32px; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.post-hero { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; }
.prose { font-size: 18px; line-height: 1.7; }
.prose h2, .prose h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 1.6em 0 .5em; }
.prose img { border-radius: 20px; margin: 1.5em 0; }
.prose a { color: var(--accent); }
.terug { display: inline-block; margin-top: 40px; font-weight: 600; }

/* Contact */
.contactblok { border-radius: 36px; background: var(--ink); color: #FFFFFF; padding: 56px; display: flex; flex-wrap: wrap; gap: 48px; }
.contactblok > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contactblok p { margin: 0; color: var(--dark-muted); }
.contactblok a { color: #FFFFFF; }
.contactgegevens { display: flex; flex-direction: column; gap: 6px; }
.contact-form { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--dark-muted); }
.contact-form .breed { grid-column: span 2; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--dark-line); background: var(--dark-field); color: #FFFFFF; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { grid-column: span 2; justify-self: start; }
.form-error { margin: 0; color: #FFB4A8; font-size: 14px; font-weight: 500; }
.form-status { padding: 20px 24px; border-radius: 16px; background: var(--dark-field); color: #FFFFFF; }
.hp { position: absolute; left: -9999px; }

/* Nieuwsbrief */
.nb-form { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-form input[type=email] { flex: 1 1 220px; font: inherit; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.nb-form button { font: inherit; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--ink); color: #FFFFFF; cursor: pointer; }
.nb-small, .nb-status, .nb-error { font-size: 14px; color: var(--muted); }

/* Video */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.video-card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.video-card img { border-radius: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { margin: 0 0 12px; font-family: var(--display); font-size: 18px; color: var(--ink); }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--muted); }
.footer-onder { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Smal scherm */
@media (max-width: 860px) {
    .hero-raster, .bento, .post-grid, .gebruikers, .footer-grid, .video-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-hoofd, .tegel-split { grid-column: auto; }
    .hero-hoofd { min-height: 300px; }
    .contactblok { padding: 32px 24px; }
    .contact-form { grid-template-columns: minmax(0, 1fr); }
    .contact-form .breed, .contact-form .btn { grid-column: auto; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0 12px; }
    .site-nav.open { display: flex; }
    .section { padding: 64px 0; }
}
