/* New Energy Future — hoofdstijlblad */

/* Kleurenpalet afgeleid van het NEF-logo: koningsblauw paneel/batterij,
   groen dak/stekker, gele zon */
:root {
  --navy: #1e2a70;        /* donker logoblauw */
  --navy-light: #2b3990;  /* logoblauw */
  --green: #3fa037;       /* logogroen */
  --green-dark: #2e7d28;
  --teal: #2b3990;        /* linkkleur = logoblauw */
  --sun: #f2c200;         /* zonnegeel, spaarzaam als accent */
  --bg: #f6f8fa;
  --card: #ffffff;
  --text: #243342;
  --muted: #5c6b7a;
  --line: #e1e7ec;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(30, 42, 112, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.65rem; margin-bottom: 0.6em; }
h3 { font-size: 1.18rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; }
ul, ol { margin: 0 0 1em 1.3em; }
li { margin-bottom: 0.35em; }
a { color: var(--teal); }
a:hover { color: var(--green-dark); }

/* ---------- Header / navigatie ----------
   Witte balk zodat het kleurige NEF-logo goed uitkomt */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--green);
  box-shadow: 0 2px 8px rgba(30, 42, 112, 0.12);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 62px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.97rem;
  font-weight: 500;
}
.site-nav a:hover { background: #eef1f9; color: var(--navy-light); }
.site-nav a.active { color: #fff; background: var(--navy-light); }
.site-nav a.btn-nav {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  margin-left: 6px;
}
.site-nav a.btn-nav:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.4rem;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  padding: 72px 0 80px;
}
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero p.lead {
  font-size: 1.2rem;
  max-width: 640px;
  color: #d9e6ee;
  margin-bottom: 1.6em;
}
.hero .btn { margin-right: 12px; margin-bottom: 10px; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  padding: 44px 0;
}
.page-hero h1 { color: #fff; font-size: 1.9rem; }
.page-hero p { color: #d9e6ee; max-width: 700px; margin: 0.4em 0 0; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.65); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Secties & kaarten ---------- */
.section { padding: 56px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 760px; color: var(--muted); margin-bottom: 2em; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { display: flex; align-items: center; gap: 10px; }
.card .icon {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 9px;
  background: #ebf5e7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card .icon svg { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; text-decoration: none; }

/* Productblokken */
.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.product h3 { font-size: 1.3rem; }
.product .tagline { color: var(--muted); font-style: italic; margin-bottom: 1em; }
.product .doclinks {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px dashed var(--line);
  font-size: 0.95rem;
}
.product .doclinks strong { color: var(--navy); }

/* Specificatietabel */
table.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.5em;
  font-size: 0.95rem;
  background: #fff;
}
table.spec th, table.spec td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
table.spec th { background: var(--navy); color: #fff; font-weight: 600; }
table.spec tr:nth-child(even) td { background: #f4f6fb; }

/* Documentenlijst */
.doc-group { margin-bottom: 2.2em; }
.doc-list { list-style: none; margin: 0; }
.doc-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.doc-list li::before { content: "📄"; }
.doc-list li.web::before { content: "🌐"; }
.doc-list a { font-weight: 600; text-decoration: none; }
.doc-list .doc-note { color: var(--muted); font-size: 0.88rem; }

/* Stappen */
.steps { counter-reset: stap; list-style: none; margin-left: 0; }
.steps li {
  counter-increment: stap;
  position: relative;
  padding: 0 0 18px 58px;
  margin: 0;
}
.steps li::before {
  content: counter(stap);
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { color: var(--navy); }

/* USP-balk */
.usp-bar { background: var(--navy); color: #dde3f5; padding: 18px 0; }
.usp-bar .container { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; font-size: 0.97rem; }
.usp-bar span::before { content: "✔ "; color: var(--sun); font-weight: 700; }

/* Schema (SVG-diagram) */
.schema { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 1.5em 0; }
.schema svg { width: 100%; height: auto; display: block; }

/* CTA-band */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--teal) 100%);
  color: #fff;
  text-align: center;
  padding: 48px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e2efe8; max-width: 620px; margin: 0 auto 1.4em; }

/* ---------- Formulier ---------- */
form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 5px; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #c4ced6;
  border-radius: 7px;
  font: inherit;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c3cae8;
  padding: 44px 0 28px;
  margin-top: 0;
  font-size: 0.94rem;
}
.site-footer .grid-3 { gap: 36px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.7em; }
.site-footer a { color: #9fd6a0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid #32407f;
  margin-top: 30px;
  padding-top: 18px;
  text-align: center;
  color: #93a0d0;
  font-size: 0.85rem;
}

/* ---------- Responsief ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.9rem; }
}

@media (max-width: 680px) {
  .grid-3, .grid-2, form .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 75px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(30, 42, 112, 0.15);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero { padding: 48px 0 56px; }
}
