/* INENHOUT — layout A "Ambachtelijk & warm" */

@font-face { font-family: "Lora"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/lora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/lora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #F6F1EA;
  --bg-alt: #EFE6DA;
  --line: #E2D6C6;
  --ink: #2B211A;
  --ink-soft: #4A3B30;
  --muted: #6B5444;
  --accent: #7A4A2A;
  --accent-dark: #5A3A22;
  --dark: #2B211A;
  --darker: #221A14;
  --on-dark: #F6F1EA;
  --on-dark-soft: #D9CBB9;
  --input-line: #C9B49A;
  --error: #A12C1F;
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
a:hover { color: #3B2414; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.lead { color: var(--ink-soft); max-width: 560px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 14px 26px; border-radius: var(--radius); font: inherit; font-weight: 500;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--on-dark); color: var(--ink); font-weight: 600; }
.btn-light:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 68px; height: 68px; }
.brand span { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .06em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 44px; padding: 10px 20px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; max-width: 520px; }
.hero-photo { flex: 1 1 480px; min-width: 0; height: 560px; border-radius: var(--radius); overflow: hidden; background: #C9B49A; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.section-head.split a { font-size: 15px; font-weight: 500; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card { background: var(--bg); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 24px; }
.card h3 { font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 16px; }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 2px solid var(--accent); padding-top: 20px; }
.steps .num { font-family: var(--serif); font-size: 32px; color: var(--accent); margin-bottom: 8px; }
.steps h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.gallery.tall img { height: 380px; }
.gallery a { display: block; color: inherit; text-decoration: none; }
.gallery a:hover img { opacity: .92; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: inherit; font-size: 15px; padding: 10px 18px; min-height: 44px; border: 1.5px solid var(--input-line); background: transparent; color: var(--ink); border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Lightbox */
.lightbox { border: none; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(20, 15, 10, .88); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { color: var(--on-dark); text-align: center; margin-top: 12px; }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--on-dark); color: var(--ink); font-size: 24px; cursor: pointer; }

/* CTA band */
.cta { background: var(--dark); color: var(--on-dark); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 88px; padding-bottom: 88px; }
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.cta p { color: var(--on-dark-soft); }

/* Footer */
.site-footer { background: var(--darker); color: #CDBDA9; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.site-footer a { color: #CDBDA9; }
.site-footer a:hover { color: var(--on-dark); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 80px; height: 80px; }
.footer-brand strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--on-dark); letter-spacing: .06em; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 72px; padding-bottom: 96px; }
.contact-info { flex: 1 1 340px; min-width: 0; }
.contact-info h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; margin-bottom: 20px; }
.contact-info .lead { margin-bottom: 40px; }
.details { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.details dt { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.details dd { margin: 0; font-weight: 500; }
.details dd a { text-decoration: none; }
.contact-photo { height: 440px; border-radius: var(--radius); overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.form-card { flex: 1.4 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 40px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row .field { flex: 1 1 220px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--input-line); border-radius: var(--radius);
  background: #fff; color: var(--ink); min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field input[type="file"] { border-style: dashed; background: #FBF8F3; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); }
.field .err, .form-error { color: var(--error); font-size: 15px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.form-error { background: #FBEDEA; border: 1px solid #E8B9B1; padding: 12px 16px; border-radius: var(--radius); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.check label { font-size: 15px; color: var(--ink-soft); }
.captcha { display: flex; flex-direction: column; gap: 6px; min-height: 78px; }
@media (max-width: 380px) { .g-recaptcha { transform: scale(.9); transform-origin: 0 0; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; font-weight: 600; border: none; min-height: 52px; }

/* Prose pages */
.prose { max-width: 760px; padding-top: 72px; padding-bottom: 96px; }
.prose h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 24px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose ul { margin: 0 0 16px; color: var(--ink-soft); }
.prose .meta { font-size: 15px; color: var(--muted); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 56px; height: 56px; }
  .nav { width: 100%; justify-content: space-between; gap: 8px 16px; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
  .hero-photo { height: 380px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .gallery img, .gallery.tall img { height: 280px; }
  .form-card { padding: 24px; }
  .contact { gap: 40px; padding-top: 40px; }
}
