/*
Theme Name: Blokpoel FireConsult
Description: One-page website voor Blokpoel FireConsult.
Version: 1.0.1
Text Domain: bfc
*/

:root {
  --navy: #0f1d2e;
  --navy-2: #172a40;
  --ink: #1c2530;
  --muted: #566170;
  --line: #e3e7ec;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --fire: #d9480f;
  --fire-dark: #b53a0a;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fire-dark); }
a:hover { color: var(--fire); }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 29, 46, .96); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; flex-wrap: wrap; padding-block: .4rem; }
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; }
.brand span { color: #ff9a62; }
.nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.nav a { color: #dbe3ec; text-decoration: none; font-size: .98rem; }
.nav a:hover { color: #fff; }
.nav .btn { color: #fff; padding: .55rem 1.1rem; }

.btn { display: inline-block; background: var(--fire); color: #fff; text-decoration: none; font-weight: 600; padding: .85rem 1.5rem; border-radius: 6px; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--fire-dark); color: #fff; }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }

/* hero */
.hero { position: relative; color: #fff; background: var(--navy); isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,19,31,.92) 0%, rgba(10,19,31,.78) 45%, rgba(10,19,31,.35) 100%); }
.hero .wrap { padding-block: clamp(4.5rem, 12vw, 9rem); max-width: 820px; margin-left: max(1.25rem, calc((100% - var(--max)) / 2)); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 600; color: #ffb48a; margin-bottom: 1rem; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; color: #e7edf4; max-width: 640px; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* sections */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.soft { background: var(--soft); }
.section-intro { max-width: 720px; margin-bottom: 2.2rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card .body { padding: 1.3rem 1.4rem 1.5rem; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card.plain { border-left: 4px solid var(--fire); padding: 1.4rem; }
.card.plain { align-self: start; }
.card.plain h3 { margin-top: 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: 10px; width: 100%; }
.values { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.values li { background: var(--soft); border-left: 4px solid var(--fire); padding: .7rem 1rem; font-weight: 600; color: var(--navy); }

.about { grid-template-columns: 340px 1fr; align-items: start; }
.about img { max-width: 340px; }
.chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid var(--line); background: #fff; padding: .35rem .85rem; border-radius: 999px; font-size: .94rem; color: var(--navy); }

/* contact */
.contact { background: var(--navy); color: #dbe3ec; }
.contact h2, .contact h3 { color: #fff; }
.contact a { color: #ffb48a; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 5vw, 4rem); }
.facts { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.facts li { margin-bottom: .6rem; }
.facts strong { color: #fff; display: inline-block; min-width: 6.5rem; }
form.cf { background: var(--navy-2); padding: 1.6rem; border-radius: 10px; }
form.cf label { display: block; font-weight: 600; color: #fff; margin-bottom: .3rem; font-size: .95rem; }
form.cf .row { margin-bottom: 1rem; }
form.cf input[type=text], form.cf input[type=email], form.cf textarea { width: 100%; padding: .75rem .85rem; border-radius: 6px; border: 1px solid #3a5069; background: #fff; font: inherit; color: var(--ink); }
form.cf textarea { min-height: 150px; resize: vertical; }
form.cf .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
form.cf small { display: block; margin-top: .8rem; color: #9fb0c3; font-size: .85rem; }
.notice { padding: .9rem 1.1rem; border-radius: 6px; margin-bottom: 1.2rem; font-weight: 600; }
.notice.ok { background: #e6f4ea; color: #14532d; }
.notice.err { background: #fde8e8; color: #7f1d1d; }

footer.site-footer { background: #0a1320; color: #9fb0c3; font-size: .92rem; padding-block: 1.6rem; }
footer.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 820px) {
  .split, .about, .contact-grid { grid-template-columns: 1fr; }
  .about img { max-width: 260px; }
  .values { grid-template-columns: 1fr; }
  .nav { gap: .9rem; }
  .hero::before { background: linear-gradient(180deg, rgba(10,19,31,.9) 0%, rgba(10,19,31,.78) 100%); }
  .hero .wrap { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav a:not(.btn) { font-size: .92rem; }
  .site-header .wrap { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
