/* ============================================================
   Thomas Buysse — Energiedeskundige
   Aesthetic: architectural blueprint at the coast
   Navy (deep sea) · Amber (sun) · Cream (sand)
   ============================================================ */

:root {
  --navy:      #141a2e;
  --navy-800:  #1b2340;
  --navy-700:  #232c50;
  --amber:     #e0912f;
  --amber-300: #f0ad51;
  --cream:     #f6f1e6;
  --cream-200: #efe7d6;
  --ink:       #171c2c;
  --ink-soft:  #545b6e;
  --line:      rgba(20, 26, 46, 0.12);
  --line-light:rgba(246, 241, 230, 0.16);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Instrument Sans", -apple-system, system-ui, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Shared house mark ---------- */
.brand-mark {
  width: 44px; height: 37px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 4;
  stroke-linejoin: miter;
  stroke-linecap: square;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(20, 26, 46, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}
.brand-text em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--amber-300);
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  font-size: 0.92rem;
  color: rgba(246, 241, 230, 0.78);
  transition: color 0.25s var(--ease);
  position: relative;
}
.site-nav a:not(.nav-cta):hover { color: var(--cream); }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--amber);
  transition: width 0.3s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--amber);
  border-radius: 999px;
  color: var(--amber-300);
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-cta:hover { background: var(--amber); color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: sticky; top: 69px; z-index: 55;
  display: flex; flex-direction: column;
  background: var(--navy-800);
  border-bottom: 1px solid var(--line-light);
  padding: 8px clamp(20px, 5vw, 56px) 20px;
}
.mobile-nav a { padding: 13px 0; color: var(--cream); border-bottom: 1px solid var(--line-light); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-call { color: var(--amber-300) !important; font-weight: 600; }

/* ============================================================
   BLUEPRINT texture (hero + contact)
   ============================================================ */
.blueprint {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 72%);
  opacity: 0.7;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(90% 120% at 88% -10%, rgba(224, 145, 47, 0.16), transparent 55%),
    var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 56px) clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber-300); font-weight: 500;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(224,145,47,0.2); }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 22px 0 24px;
}
h1 em { color: var(--amber-300); font-style: italic; }

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(246, 241, 230, 0.82);
  max-width: 46ch;
}
.lede strong { color: var(--cream); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary {
  background: var(--amber); color: var(--navy);
  box-shadow: 0 12px 30px -12px rgba(224, 145, 47, 0.7);
}
.btn-primary:hover { background: var(--amber-300); transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(224, 145, 47, 0.8); }
.btn-ghost { border: 1px solid var(--line-light); color: var(--cream); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-300); transform: translateY(-2px); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.hero-badges li {
  position: relative; padding-left: 20px;
  font-size: 0.9rem; color: rgba(246, 241, 230, 0.7);
}
.hero-badges li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px;
  border: 1.5px solid var(--amber); border-radius: 50%;
}

/* hero art */
.hero-art { position: relative; display: grid; place-items: center; }
.hero-house {
  width: min(100%, 380px); height: auto; aspect-ratio: 120/100;
  fill: none; stroke: var(--amber);
  stroke-width: 2.4; stroke-linejoin: miter;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: draw 2.4s var(--ease) forwards 0.4s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-art-label {
  margin-top: 18px;
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem; color: rgba(246,241,230,0.62);
  letter-spacing: 0.02em;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.strip {
  background: var(--amber);
  color: var(--navy);
  overflow: hidden;
  border-top: 1px solid rgba(20,26,46,0.15);
  border-bottom: 1px solid rgba(20,26,46,0.15);
}
.strip-track {
  display: flex; align-items: center; gap: 26px;
  white-space: nowrap;
  padding: 14px 0;
  font-family: var(--serif); font-weight: 500; font-size: 1.05rem;
  animation: marquee 26s linear infinite;
}
.strip-track .sep { opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ============================================================
   SECTIONS (light)
   ============================================================ */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px);
}
.section-head { margin-bottom: 48px; }
.kicker {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-bottom: 14px;
}
.kicker.light { color: var(--amber-300); }
h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.02; letter-spacing: -0.02em;
}
h2 em { color: var(--amber); font-style: italic; }

/* WAT */
.wat-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wat-lead p { font-size: 1.08rem; color: var(--ink-soft); max-width: 54ch; }
.wat-lead p + p { margin-top: 18px; }
.wat-lead strong { color: var(--ink); font-weight: 600; }

.score-scale { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.score-scale li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; border-radius: 10px;
  color: #fff; font-weight: 600;
  position: relative; overflow: hidden;
}
.score-scale li b { font-family: var(--serif); font-size: 1.15rem; min-width: 30px; }
.score-scale li span { font-family: var(--sans); font-weight: 500; font-size: 0.82rem; opacity: 0.92; }
.score-scale .s-ap { background: #128a5a; width: 100%; }
.score-scale .s-a  { background: #35a05a; width: 94%; }
.score-scale .s-b  { background: #7bb03e; width: 88%; }
.score-scale .s-c  { background: #c7b52e; width: 82%; color: var(--navy); }
.score-scale .s-d  { background: #e0912f; width: 76%; color: var(--navy); }
.score-scale .s-e  { background: #d9662a; width: 70%; }
.score-scale .s-f  { background: #c4372c; width: 64%; }

/* WERKWIJZE (dark band) */
.werkwijze {
  max-width: none;
  background: var(--navy);
  color: var(--cream);
  padding-left: 0; padding-right: 0;
}
.werkwijze .section-head, .werkwijze .steps {
  max-width: var(--wrap); margin-left: auto; margin-right: auto;
  padding-left: clamp(20px, 5vw, 56px); padding-right: clamp(20px, 5vw, 56px);
}
.werkwijze h2 em { color: var(--amber-300); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  border-top: 2px solid var(--line-light);
  padding-top: 24px;
  position: relative;
}
.step-num {
  font-family: var(--serif); font-size: 3.2rem; line-height: 1;
  color: var(--amber); display: block; margin-bottom: 14px;
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: rgba(246,241,230,0.72); font-size: 0.98rem; }

/* WAAROM */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -24px rgba(20, 26, 46, 0.4);
  border-color: rgba(224,145,47,0.5);
}
.feat-ico {
  width: 34px; height: 34px; margin-bottom: 18px;
  fill: none; stroke: var(--amber); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500;
  transition: color 0.2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--amber); }
.chev { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.chev::before, .chev::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; background: var(--amber);
  transition: transform 0.3s var(--ease);
}
.chev::before { transform: translate(-50%, -50%); }
.chev::after  { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .chev::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details p { padding: 0 4px 26px; color: var(--ink-soft); max-width: 64ch; }

/* ============================================================
   CONTACT (dark)
   ============================================================ */
.contact {
  max-width: none; position: relative;
  background:
    radial-gradient(80% 120% at 15% 0%, rgba(224,145,47,0.16), transparent 55%),
    var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.contact-inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center;
}
.contact h2 { color: var(--cream); }
.contact-lede { margin: 18px 0 26px; color: rgba(246,241,230,0.78); font-size: 1.08rem; max-width: 44ch; }
.price-tag {
  display: inline-block;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem;
  color: var(--amber-300);
  padding: 8px 22px; border: 1px solid var(--amber); border-radius: 999px;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.cc {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 26px;
  background: rgba(246, 241, 230, 0.05);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
a.cc:hover { transform: translateX(4px); border-color: var(--amber); background: rgba(224,145,47,0.08); }
.cc-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-300); }
.cc-value { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--cream); }
.cc-static .cc-value { font-size: 1.05rem; line-height: 1.4; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-800);
  color: rgba(246,241,230,0.7);
  padding: 48px clamp(20px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--line-light);
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.foot-contact a { transition: color 0.2s var(--ease); }
.foot-contact a:hover { color: var(--amber-300); }
.foot-note { flex-basis: 100%; font-size: 0.82rem; color: rgba(246,241,230,0.45); border-top: 1px solid var(--line-light); padding-top: 20px; }

/* ============================================================
   REVEAL animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-house { animation: none; stroke-dashoffset: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; justify-self: start; }
  .hero-house { width: 210px; }
  .hero-art-label { display: none; }
  .wat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .mobile-nav { display: none !important; } }
@media (max-width: 520px) {
  .btn { width: 100%; justify-content: center; }
  .foot-contact { text-align: left; }
}
