/* ============================================================
   StroomKlasse — Donker premium / luxe stylesheet
   ============================================================ */

:root {
  --bg:        #0d0f12;
  --bg-2:      #14171c;
  --bg-3:      #1b1f26;
  --surface:   #16191f;
  --emerald:   #1abc7b;
  --emerald-d: #14946180;
  --gold:      #d4b66a;
  --gold-soft: #d4b66a40;
  --text:      #e8eaed;
  --text-mut:  #9aa1ab;
  --line:      #d4b66a2e;
  --line-2:    #ffffff12;
  --radius:    14px;
  --maxw:      1180px;
  --shadow:    0 18px 50px -20px rgba(0,0,0,.75);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: .3px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

.gold { color: var(--gold); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-mut);
  margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .4px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), #0f9c63);
  color: #06120c;
  box-shadow: 0 12px 30px -12px var(--emerald);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -12px var(--emerald); }
.btn-ghost {
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  background: transparent;
}
.btn-ghost:hover { background: var(--gold); color: #1a1405; transform: translateY(-3px); }
.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,18,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px var(--emerald));
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.logo-accent { color: var(--gold); }

.main-nav ul { display: flex; gap: 30px; list-style: none; }
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mut);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13,15,18,.96) 0%, rgba(13,15,18,.72) 45%, rgba(13,15,18,.45) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 40%);
}
/* Hero-content deelt dezelfde container/padding als de header (.container),
   zodat de linkerrand van de tekst recht onder het logo uitkomt.
   De leesbare tekstbreedte wordt apart begrensd zonder centrering. */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 24px;
  text-align: left;
}
.hero-content > * { max-width: 760px; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text-mut);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; justify-content: flex-start; }
.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.hero-stats span { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-mut); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 20px; }
.section-intro { color: var(--text-mut); font-size: 1.05rem; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: var(--shadow); }
.feature-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.feature-card h3 { font-size: 1.4rem; margin-bottom: 12px; color: var(--gold); }
.feature-card p { color: var(--text-mut); }

/* ---------- Model grid ---------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.model-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.model-card:hover { transform: translateY(-8px); border-color: var(--gold-soft); box-shadow: var(--shadow); }
.model-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
}
.model-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.model-card:hover .model-img img { transform: scale(1.07); }
.model-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(13,15,18,.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 600;
}
.model-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.model-body h3 { font-size: 1.35rem; margin-bottom: 12px; }
.model-body > p { color: var(--text-mut); font-size: .95rem; margin-bottom: 20px; }
.specs { list-style: none; margin-bottom: 16px; }
.specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: .92rem;
}
.specs li:last-child { border-bottom: none; }
.specs li span { color: var(--text-mut); }
.specs li strong { color: var(--text); text-align: right; font-weight: 600; }
.specs li:last-child strong { color: var(--emerald); }
.model-note {
  margin-top: auto;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .3px;
  opacity: .9;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 18px; }
.split-text > p { color: var(--text-mut); margin-bottom: 28px; }
.benefits { list-style: none; margin-bottom: 32px; }
.benefits li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.benefits li:last-child { border-bottom: none; }
.check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--emerald-d);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.benefits div strong { display: block; margin-bottom: 2px; }
.benefits div { color: var(--text-mut); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--gold-soft); }
.step-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .55;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--text-mut); font-size: .95rem; }

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compare-table th, .compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  font-size: .94rem;
}
.compare-table thead th {
  background: var(--bg-3);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .76rem;
  white-space: nowrap;
}
.compare-table tbody th {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.compare-table tbody tr { transition: background .2s ease; }
.compare-table tbody tr:hover { background: rgba(212,182,106,.06); }
.compare-table tbody td:last-child { color: var(--emerald); font-weight: 600; }
.table-foot { margin-top: 18px; font-size: .82rem; color: var(--text-mut); text-align: center; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq details[open] { border-color: var(--gold-soft); }
.faq summary {
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  font-family: var(--font-body);
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 26px 24px;
  color: var(--text-mut);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,15,18,.9), rgba(13,15,18,.78));
}
.cta-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 18px; }
.cta-content p { color: var(--text-mut); font-size: 1.1rem; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 50px;
  padding: 70px 24px 50px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p, .footer-info p { color: var(--text-mut); font-size: .92rem; max-width: 360px; }
.footer-nav h4, .footer-info h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 11px; }
.footer-nav a { color: var(--text-mut); font-size: .92rem; transition: color .2s ease; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-2); padding: 24px 0; }
.footer-bottom p { text-align: center; color: var(--text-mut); font-size: .85rem; }

/* ---------- Foto bijschrift (caption overlay) ---------- */
.photo-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 26px 16px 12px;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: #fff;
  background: linear-gradient(0deg, rgba(8,9,11,.88) 0%, rgba(8,9,11,.45) 55%, transparent 100%);
  pointer-events: none;
}
.photo-cap::before {
  content: "";
  display: inline-block;
  width: 14px; height: 1px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--gold);
}
.photo-cap--hero {
  top: auto; bottom: 18px; left: auto; right: 24px;
  width: auto;
  padding: 8px 16px;
  border: 1px solid var(--gold-soft);
  border-radius: 50px;
  background: rgba(13,15,18,.6);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.photo-cap--hero::before { background: var(--gold); }

/* ---------- Image fallback (set by JS) ---------- */
.img-failed {
  background: linear-gradient(135deg, var(--bg-3) 0%, #20262e 50%, var(--emerald-d) 130%) !important;
  position: relative;
}
.img-failed::after {
  content: "\26A1";
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: var(--gold);
  opacity: .35;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 74px; right: 0;
    width: min(78vw, 320px);
    height: calc(100vh - 74px);
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    transform: translateX(110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    padding: 36px 30px;
  }
  .main-nav.open { transform: translateX(0); box-shadow: -20px 0 50px rgba(0,0,0,.5); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }

  .section { padding: 72px 0; }
  .hero { min-height: 88vh; }
  .hero-stats { gap: 28px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero-content { padding-left: 18px; padding-right: 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 1.6rem; }
  .feature-card, .step { padding: 30px 24px; }
}

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