/* =========================================================
   Trends Raamdecoratie — huisstijl
   ========================================================= */
:root {
  /* Kleuren */
  --linnen: #F6F1EA;      /* achtergrond */
  --zand: #EBE2D6;        /* secties, kaarten */
  --taupe: #8C7B6B;       /* secundaire tekst, details */
  --messing: #B08A4E;     /* accent (decoratief) */
  --messing-donker: #8A6A35; /* accent als tekst op licht */
  --espresso: #2B2622;    /* primair, tekst, knoppen */
  --espresso-2: #3A332E;
  --wit: #FFFDF9;
  --lijn: #DDD2C3;

  /* Typografie */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Maatvoering */
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px -22px rgba(43, 38, 34, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--linnen);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--messing-donker); }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--messing-donker); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--messing); }
.lead { font-size: 1.12rem; color: #5A4F46; max-width: 60ch; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: var(--linnen); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--messing); outline-offset: 3px; border-radius: 4px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--espresso);
  background: var(--espresso); color: var(--linnen);
  font: 500 .98rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--messing-donker); border-color: var(--messing-donker); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--linnen); border-color: var(--espresso); }
.btn--light { background: var(--linnen); color: var(--espresso); border-color: var(--linnen); }
.btn--light:hover { background: var(--messing); border-color: var(--messing); color: var(--espresso); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn--full { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; color: var(--espresso); text-decoration: none; }
.logo svg { height: 48px; width: auto; overflow: visible; }
.logo__slats { stroke: var(--messing); }
.logo__word { font-family: var(--font-display); font-size: 32px; font-weight: 600; fill: currentColor; }
.logo__sub { font-family: var(--font-body); font-size: 10.5px; letter-spacing: 3.6px; fill: var(--taupe); }
.logo--light { color: var(--linnen); }
.logo--light .logo__sub { fill: #CDBFAE; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(246, 241, 234, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--lijn); box-shadow: 0 8px 24px -20px rgba(43,38,34,.4); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { text-decoration: none; font-size: .98rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--messing);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--espresso); margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.2rem; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #5A4F46; font-size: .95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 18px; height: 18px; fill: none; stroke: var(--messing); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero__media { position: relative; }
.arch {
  margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: var(--zand); box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* lamellen-detail: verwijst naar het logo */
.hero__media::before {
  content: ""; position: absolute; inset: -22px -22px auto auto; width: 120px; height: 120px; z-index: -1;
  background: repeating-linear-gradient(to bottom, var(--messing) 0 2px, transparent 2px 14px); opacity: .45;
}
.hero__badge {
  position: absolute; left: -28px; bottom: 42px; display: flex; align-items: center; gap: 14px;
  background: var(--wit); padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.35; color: #5A4F46;
}
.hero__badge-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--espresso); }

/* ---------- USP's ---------- */
.usps { background: var(--espresso); color: var(--linnen); padding: 56px 0; }
.usps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.usp svg { width: 32px; height: 32px; fill: none; stroke: var(--messing); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.usp h3 { font-size: 1.35rem; margin-bottom: .35em; }
.usp p { color: #CDBFAE; font-size: .95rem; margin: 0; }

/* ---------- Secties ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--sand { background: var(--zand); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- Producten ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product { background: var(--wit); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--lijn); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--zand); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.product__body { padding: 24px 26px 28px; }
.product__body p { color: #5A4F46; font-size: .97rem; margin: 0; }

/* ---------- Stappen ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--taupe); }
.step__num { font-family: var(--font-display); font-size: 3rem; font-weight: 500; color: var(--messing-donker); line-height: 1; display: block; margin-bottom: 14px; }
.step p { color: #5A4F46; font-size: .97rem; margin: 0; }

/* ---------- Over ons ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.split__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 6; background: var(--zand); box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text p { color: #5A4F46; }
.quote {
  margin: 1.8rem 0 2rem; padding-left: 22px; border-left: 2px solid var(--messing);
  font-family: var(--font-display); font-style: italic; font-size: 1.7rem; line-height: 1.3; color: var(--espresso);
}

/* ---------- CTA band ---------- */
.band {
  background: var(--espresso-2); color: var(--linnen); padding: clamp(64px, 8vw, 100px) 0; text-align: center; position: relative; overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background: repeating-linear-gradient(to bottom, var(--linnen) 0 1px, transparent 1px 22px);
}
.band__inner { position: relative; max-width: 760px; }
.band h2 { color: var(--linnen); }
.band p { color: #CDBFAE; font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--messing-donker); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--lijn); transition: border-color .2s; }
.contact__list a:hover { border-color: var(--messing); }

.form { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
.opt { color: var(--taupe); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--lijn);
  background: var(--linnen); color: var(--espresso); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--messing); background: var(--wit); box-shadow: 0 0 0 3px rgba(176, 138, 78, .2);
}
.field.has-error input, .field.has-error textarea { border-color: #B4442F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 14px 0 0; font-size: .95rem; min-height: 1.4em; }
.form__status.ok { color: #3E6B3A; }
.form__status.err { color: #B4442F; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: #CDBFAE; padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .logo svg { height: 42px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__nav a { text-decoration: none; color: var(--linnen); font-size: .95rem; }
.footer__nav a:hover { color: var(--messing); }
.footer__copy { margin: 0; font-size: .88rem; }

/* ---------- Reveal-animatie ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .usps__grid, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .logo svg { height: 40px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--linnen); border-bottom: 1px solid var(--lijn); padding: 8px 20px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--lijn); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }

  .hero__grid, .split, .contact { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero__badge { left: 12px; bottom: 24px; }
  .hero__media::before { inset: -14px -10px auto auto; width: 90px; height: 90px; }
  .split__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .products, .usps__grid, .steps, .form__row { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .hero__cta .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
