/* Leantec Vastgoedbeheer. Inkt, papier en messing, schreefletter voor koppen, zoals het logo. */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #1f2a36;
  --ink-2: #2b3846;
  --ink-soft: #3d4a58;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #fffefb;
  --text: #1f2a36;
  --muted: #5d6470;
  --line: #ddd7cb;
  --brass: #a07a3c;
  --brass-text: #85632c;
  --brass-light: #d2b27a;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --r: 3px;
  --shadow: 0 1px 2px rgba(31, 42, 54, .06), 0 12px 32px -12px rgba(31, 42, 54, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--text); background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 1rem; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: .6rem 1rem; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------------------------------------------------------------- knoppen */
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btns-center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem;
  border: 1px solid transparent; border-radius: var(--r); font: 600 .98rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line .ic { transition: transform .2s; }
.btn-line:hover .ic { transform: translateX(3px); }
.btn-brass { background: var(--brass-light); color: var(--ink); }
.btn-brass:hover { background: #e0c693; }

/* ---------------------------------------------------------------- ornament en kicker */
.kicker {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem;
  font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
/* lijn, ruitje, lijn */
.orn {
  position: relative; display: block; width: 140px; height: 7px; margin: 1rem auto 1.25rem; color: var(--brass);
  background:
    linear-gradient(currentColor, currentColor) left center / calc(50% - 12px) 1px no-repeat,
    linear-gradient(currentColor, currentColor) right center / calc(50% - 12px) 1px no-repeat;
}
.orn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.orn-left { margin-left: 0; }

/* ---------------------------------------------------------------- kop */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 254, 251, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(31, 42, 54, .35); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }

.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 41px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 600 1.6rem/1 var(--serif); letter-spacing: .01em; }
.logo-sub { margin-top: .32rem; padding-top: .32rem; border-top: 1px solid var(--brass); font: 500 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.logo-light { color: #fff; }
.logo-light .logo-sub { color: rgba(255, 255, 255, .7); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { position: relative; font-weight: 500; text-decoration: none; color: var(--ink-soft); padding: .4rem 0; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transition: transform .2s; }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta { padding: .7rem 1.2rem; }

.burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(31, 42, 54, .035) 119px 120px); pointer-events: none; }
.hero-mark { position: absolute; right: -60px; bottom: -40px; width: 420px; height: 578px; color: var(--ink); opacity: .04; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 16ch; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

.hero-card { padding: 2rem 2rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.hero-card-h { margin: 0; text-align: center; font: 600 1.25rem/1.2 var(--serif); }
.hero-list li + li { border-top: 1px solid var(--line); }
.hero-list a { display: flex; align-items: center; gap: .9rem; padding: .95rem .25rem; text-decoration: none; font-weight: 500; transition: color .2s, padding .2s; }
.hero-list a:hover { color: var(--brass-text); padding-left: .5rem; }
.hero-list .ic { width: 1.4rem; height: 1.4rem; color: var(--brass); }

/* ---------------------------------------------------------------- secties */
.sec { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.sec-paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 3rem; }
.sec-head p:last-child { color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.card { position: relative; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.card::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.card:hover { border-color: #cfc7b7; box-shadow: var(--shadow); }
.card:hover::before, .card:target::before { transform: scaleY(1); }
.card-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.25rem; border-radius: var(--r); background: var(--paper); color: var(--ink); }
.card-ic .ic { width: 26px; height: 26px; }
.card > p { color: var(--muted); }

.checks li { display: flex; gap: .6rem; align-items: flex-start; padding: .3rem 0; }
.checks .ic { width: 1.1rem; height: 1.1rem; margin-top: .3rem; color: var(--brass); }
.checks-lg li { padding: .65rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.checks-lg li:last-child { border-bottom: 0; }

/* werkwijze */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: stap; }
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.step-n { display: block; margin-bottom: .75rem; font: 600 2.4rem/1 var(--serif); color: var(--brass); }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--ink); transform: rotate(45deg); }
.step p { color: var(--muted); margin: 0; }

/* over */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-text p { color: var(--ink-soft); }
.about-panel { padding: 2.25rem; background: var(--ink); color: #fff; border-radius: var(--r); }
.about-panel h3 { margin: 0; font-size: 1.5rem; }
.about-panel .orn { margin: 1rem 0 1rem; color: var(--brass-light); }
.about-panel .ic { color: var(--brass-light); }

/* contact */
.sec-ink { background: var(--ink); color: #fff; }
.sec-ink .kicker { color: var(--brass-light); }
.sec-ink .lead { color: rgba(255, 255, 255, .78); margin-bottom: 2rem; }
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact-card { margin: 0; padding: .5rem 2rem; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); }
.contact-card div { padding: 1.25rem 0; }
.contact-card div + div { border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-card dt { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); }
.contact-card dt .ic { width: 1rem; height: 1rem; }
.contact-card dd { margin: 0; font-size: 1.1rem; }
.contact-card a { text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.contact-card a:hover { text-decoration-color: var(--brass-light); }

/* ---------------------------------------------------------------- tekstpagina's */
.crumbs { display: flex; gap: .5rem; margin-bottom: 1.5rem; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--brass-text); text-underline-offset: 3px; }

.notfound { padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound-code { margin: 0; font: 600 clamp(5rem, 14vw, 8rem)/1 var(--serif); color: var(--ink); }
.notfound .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- voet */
.foot { background: #18212b; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding: 4rem 0 3rem; }
.foot-brand p { max-width: 42ch; margin-top: 1.25rem; }
.foot-h { margin-bottom: .9rem; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); }
.foot-grid a { display: block; padding: .2rem 0; text-decoration: none; }
.foot-grid p a { display: inline; padding: 0; }
.foot-grid a:hover { color: #fff; }
.foot-grid .logo { display: inline-flex; }
.foot-b { border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-b-in { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding: 1.25rem 0; font-size: .875rem; }
.foot-b a { text-decoration: none; }
.foot-b a:hover { color: #fff; }
.credit { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; }

/* ---------------------------------------------------------------- smal */
@media (max-width: 980px) {
  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-card { max-width: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 20px 1.25rem; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px -16px rgba(31, 42, 54, .35); display: none;
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards, .steps, .foot-grid { grid-template-columns: 1fr; }
  .card, .about-panel { padding: 1.5rem; }
  .contact-card { padding: .25rem 1.5rem; }
  .hero-card { padding: 1.5rem 1.25rem 1rem; }
  .hero-mark { width: 260px; height: 358px; right: -70px; }
  .logo-name { font-size: 1.4rem; }
  .btns .btn { flex: 1 1 100%; justify-content: center; }
  .credit { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
