/* Culiprojects — huisstijl */

:root {
  --radius: 0.5rem;
  --background: #fffbf6;
  --foreground: #1f2a35;
  --card: #ffffff;
  --primary: #b9542b;
  --primary-hover: #a3481f;
  --primary-foreground: #fffbf6;
  --muted: #f7f1ea;
  --muted-foreground: #5f6b77;
  --accent: #e9a24a;
  --accent-foreground: #1d2731;
  --accent-soft: #fbe6d2;
  --destructive: #d32f2f;
  --border: #e7ddd1;
  --input: #d8cbbd;
  --surface: #f9f0e4;
  --success: #1f7a4f;
  --success-soft: #dcf1e5;
  --hero: #18222d;
  --dark: #1b2530;
  --dark-foreground: #f6f0e8;
  --dark-muted: #bdb5aa;
  --dark-border: #3a4652;
  --cta: #db8a5a;
  --cta-foreground: #18222d;
  --wrap: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--primary); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

.i { width: 1rem; height: 1rem; flex-shrink: 0; }
.i-sm { width: .875rem; height: .875rem; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.5rem; padding: 0 1.1rem; border-radius: calc(var(--radius) - 2px);
  font-size: .875rem; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap;
}
.btn-lg { height: 2.875rem; padding: 0 1.6rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; border-color: var(--input); }
.btn-outline:hover { background: var(--muted); }
.btn-hero-outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-hero-outline:hover { background: #fff; color: var(--foreground); }
.btn-cta { background: var(--dark); color: var(--dark-foreground); }
.btn-cta:hover { background: #0f161d; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,251,246,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; justify-content: flex-end; align-items: center; height: 2.25rem; }
.topbar-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; color: var(--muted-foreground); }
.topbar-link:hover { color: var(--primary); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; }
.brand-mark { width: 2.5rem; height: 2.5rem; color: var(--primary); }
.brand-mark-lg { width: 3.5rem; height: 3.5rem; }
.brand-name { font-size: 1.125rem; font-weight: 800; letter-spacing: .04em; }
.nav-desktop { display: none; gap: 1.75rem; }
.nav-desktop a { font-size: .875rem; font-weight: 500; color: var(--muted-foreground); transition: color .15s; }
.nav-desktop a:hover { color: var(--foreground); }
.nav-cta { display: none; }
.menu-toggle { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; border-radius: var(--radius); cursor: pointer; }
.menu-toggle:hover { background: var(--muted); }
.menu-toggle .i { width: 1.25rem; height: 1.25rem; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile { border-top: 1px solid var(--border); background: var(--background); padding: 1rem 1.25rem; display: grid; gap: .25rem; }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { padding: .75rem; border-radius: calc(var(--radius) - 2px); font-size: .875rem; font-weight: 600; }
.nav-mobile a:hover { background: var(--muted); }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* Hero */
.hero { position: relative; min-height: calc(100svh - 7.25rem); overflow: hidden; background: var(--hero); color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(14,21,29,.92) 0%, rgba(14,21,29,.78) 30%, rgba(14,21,29,.55) 60%, rgba(14,21,29,.25) 100%),
  rgba(0,0,0,.55); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: calc(100svh - 7.25rem); padding-top: 5rem; padding-bottom: 5rem; }
.hero-copy { max-width: 48rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-size: .875rem; font-weight: 700; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.75); }
.hero-eyebrow .rule { width: 2.25rem; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(2.25rem, 7vw, 4.5rem); line-height: 1.08; font-weight: 800; text-shadow: 0 3px 6px rgba(0,0,0,.65); }
.hero .amp { color: var(--accent); }
.hero-lead { margin-top: 1.75rem; max-width: 42rem; font-size: 1rem; line-height: 1.75rem; text-shadow: 0 2px 4px rgba(0,0,0,.65); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; }
.hero-actions .btn-primary { box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.hero-scroll { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); display: none; gap: .5rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.75); }
@media (min-width: 640px) {
  .hero-lead { font-size: 1.125rem; line-height: 2rem; }
  .hero-actions { flex-direction: row; }
}
@media (min-width: 768px) { .hero-scroll { display: flex; } }

/* Secties */
.section { padding: 5rem 0; scroll-margin-top: 5rem; }
@media (min-width: 640px) { .section { padding: 7rem 0; } }
.bg-surface { background: var(--surface); }
.bg-dark { background: var(--dark); color: var(--dark-foreground); }
.eyebrow { font-size: .75rem; line-height: 1rem; font-weight: 800; text-transform: uppercase; color: var(--primary); }
.eyebrow-accent { color: var(--accent); }
.section-title { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; font-weight: 800; }
.muted { color: var(--muted-foreground); line-height: 1.75rem; }
.intro { max-width: 42rem; }
.intro .muted { margin-top: 1.25rem; }

.grid-about { display: grid; gap: 3rem; }
.about-body { display: grid; gap: 1.5rem; font-size: 1rem; line-height: 2rem; color: var(--muted-foreground); }
.checks { display: grid; gap: .75rem; padding-top: .75rem; }
.checks li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 700; color: var(--foreground); line-height: 1.4; }
.checks .i, .perks .i { width: 1.25rem; height: 1.25rem; color: var(--primary); }
@media (min-width: 640px) { .about-body { font-size: 1.125rem; } .checks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-about { grid-template-columns: .75fr 1.25fr; gap: 6rem; } }

.cards { margin-top: 3rem; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--background); padding: 1.75rem; transition: background-color .15s; }
.card:hover { background: var(--surface); }
.card-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: calc(var(--radius) - 2px); background: var(--accent-soft); color: var(--primary); }
.card-icon .i { width: 1.25rem; height: 1.25rem; }
.card h3 { margin-top: 1.75rem; font-size: 1.125rem; font-weight: 700; }
.card p { margin-top: .75rem; font-size: .875rem; line-height: 1.5rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.split-intro { display: grid; gap: 2rem; }
.dark-muted { color: var(--dark-muted); line-height: 1.75rem; max-width: 36rem; }
.steps { margin-top: 3.5rem; display: grid; gap: 1rem; }
.steps li { border-top: 1px solid var(--dark-border); padding-top: 1.5rem; padding-bottom: 1rem; }
.step-no { font-size: .875rem; font-weight: 700; color: var(--accent); }
.steps h3 { margin-top: 1.75rem; font-size: 1.125rem; font-weight: 700; }
.steps p { margin-top: .75rem; font-size: .875rem; line-height: 1.5rem; color: var(--dark-muted); }
@media (min-width: 1024px) {
  .split-intro { grid-template-columns: 1fr 1fr; align-items: end; }
  .dark-muted { justify-self: end; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { min-height: 16rem; }
}

.grid-signature { display: grid; gap: 3rem; align-items: center; }
.sig-media { position: relative; min-width: 0; }
.sig-media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius); background: var(--accent-soft); }
.sig-badge { position: absolute; bottom: -1.25rem; right: 1.25rem; background: var(--accent); color: var(--accent-foreground); border-radius: calc(var(--radius) - 2px); padding: 1rem 1.25rem; box-shadow: 0 10px 20px rgba(0,0,0,.15); }
.sig-badge-top { font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.sig-badge-text { margin-top: .25rem; font-size: .875rem; font-weight: 600; }
.lead { margin-top: 1.5rem; font-size: 1.125rem; line-height: 2rem; }
.grid-signature .muted + .muted { margin-top: 1.25rem; }
.text-link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--primary); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .sig-badge { right: 2rem; } }
@media (min-width: 1024px) { .grid-signature { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 5rem; } }

/* Aanvraag */
.grid-request { display: grid; gap: 3rem; }
.grid-request > div:first-child .muted { margin-top: 1.25rem; }
.perks { margin-top: 2.25rem; display: grid; gap: 1rem; font-size: .875rem; font-weight: 600; }
.perks li, .perks a { display: flex; align-items: center; gap: .75rem; }
.perks a:hover { color: var(--primary); }
@media (min-width: 1024px) { .grid-request { grid-template-columns: .72fr 1.28fr; gap: 5rem; } }

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
@media (min-width: 640px) { .form-card { padding: 2.25rem; } }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.field { display: block; font-size: .875rem; font-weight: 600; }
.label { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.req { color: var(--primary); margin-left: .25rem; }
.opt { font-size: .75rem; font-weight: 400; color: var(--muted-foreground); }
.field input, .field select, .field textarea, .file-pick {
  display: flex; width: 100%; min-height: 2.25rem; padding: .375rem .75rem;
  border: 1px solid var(--input); border-radius: calc(var(--radius) - 2px);
  background: transparent; font-size: 1rem; font-weight: 400; outline: none;
}
@media (min-width: 768px) { .field input, .field select, .field textarea, .file-pick { font-size: .875rem; } }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus, .file-pick:focus-within { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--destructive); }
.error { display: block; margin-top: .375rem; font-size: .75rem; font-weight: 500; color: var(--destructive); }
.error:empty { display: none; }
.file-pick { align-items: center; gap: .5rem; cursor: pointer; color: var(--muted-foreground); overflow: hidden; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-error { margin-top: 1.25rem; padding: .75rem 1rem; border-radius: calc(var(--radius) - 2px); background: #fdecea; color: #8a1c1c; font-size: .875rem; }
.js-form > .btn { margin-top: 1.5rem; }
.fineprint { margin-top: 1rem; font-size: .75rem; color: var(--muted-foreground); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { min-height: 24rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.success[hidden] { display: none; }
.success-icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 999px; background: var(--success-soft); color: var(--success); }
.success-icon .i { width: 2rem; height: 2rem; }
.success h3 { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 700; }
.success p { margin-top: .75rem; max-width: 28rem; line-height: 1.75rem; color: var(--muted-foreground); }
.success .btn { margin-top: 1.75rem; }

/* CTA koks */
.section-cta { background: var(--cta); color: var(--cta-foreground); padding: 5rem 0; scroll-margin-top: 5rem; }
@media (min-width: 640px) { .section-cta { padding: 6rem 0; } }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; }
.cta-inner > div { max-width: 48rem; }
.eyebrow-cta { color: rgba(24,34,45,.7); }
.cta-lead { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; line-height: 2rem; color: rgba(24,34,45,.82); }
@media (min-width: 1024px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 3.5rem 0; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--dark-border); }
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--dark-foreground); }
.footer-brand .brand-mark { color: var(--primary); }
.footer-tag { margin-top: 1rem; max-width: 24rem; font-size: .875rem; line-height: 1.5rem; }
.footer-head { font-size: .875rem; font-weight: 700; color: var(--dark-foreground); margin-bottom: 1rem; }
.footer-link { display: flex; align-items: center; gap: .5rem; font-size: .875rem; margin-bottom: .6rem; transition: color .15s; }
.footer-link:hover { color: var(--dark-foreground); }
.footer-bottom { display: flex; flex-direction: column; gap: .5rem; padding-top: 1.5rem; font-size: .75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Dialoog */
.dialog { width: min(42rem, calc(100vw - 2rem)); max-height: 92svh; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); color: var(--foreground); box-shadow: 0 25px 50px rgba(0,0,0,.25); overflow-y: auto; }
.dialog::backdrop { background: rgba(10,15,20,.6); }
.dialog-close { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 1; display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 6px; background: transparent; cursor: pointer; opacity: .7; }
.dialog-close:hover { opacity: 1; background: var(--muted); }
.dialog-head { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1.5rem 3.5rem 1.5rem 1.5rem; }
.dialog-head .card-icon { margin-bottom: .75rem; }
.dialog-head h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.dialog-head p { margin-top: .5rem; font-size: .875rem; line-height: 1.5rem; color: var(--muted-foreground); }
.dialog-form { padding: 1.5rem; }
@media (min-width: 640px) { .dialog-head { padding: 2rem 3.5rem 2rem 2rem; } .dialog-form { padding: 2rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.credits { padding-top: 1rem; font-size: .7rem; opacity: .6; }
