/* RF11 site: donker cinematisch */
:root {
  --bg: #0A1D30;
  --bg-deep: #061220;
  --bg-panel: #0F2942;
  --heat: #FF6B35;
  --heat-soft: rgba(255, 107, 53, 0.14);
  --text: #EAF0F6;
  --muted: #93A7BA;
  --line: rgba(255, 255, 255, 0.09);
  --green: #34D399;
  --orange: #FBBF24;
  --red: #F87171;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--heat); color: #fff; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  letter-spacing: 0.35em; color: var(--heat);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4vw;
  transition: background 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(6, 18, 32, 0.82);
  backdrop-filter: blur(14px);
  padding: 0.75rem 4vw;
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em;
}
.nav-brand em { color: var(--heat); font-style: normal; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.04em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: #fff !important;
  background: var(--heat);
  padding: 0.55rem 1.1rem; border-radius: 100px;
  font-weight: 600 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,32,0.55) 0%, rgba(6,18,32,0.15) 40%, rgba(10,29,48,0.96) 100%),
    radial-gradient(120% 90% at 70% 20%, transparent 40%, rgba(6,18,32,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 4vw 14vh;
  max-width: 1100px;
}
.hero-kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--heat); margin-bottom: 1.4rem;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(3rem, 8.5vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
}
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: inline-block; }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--muted); max-width: 520px; line-height: 1.6;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  padding: 0.95rem 1.8rem; border-radius: 100px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-solid { background: var(--heat); color: #fff; }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 107, 53, 0.4); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.28); color: var(--text); }
.btn-ghost:hover { border-color: var(--heat); color: var(--heat); transform: translateY(-2px); }

.hero-scrollhint {
  position: absolute; bottom: 3.2vh; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.35); border-radius: 20px;
}
.hero-scrollhint span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 9px; border-radius: 4px; background: var(--heat);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0% { transform: translate(-50%, 0); opacity: 1; }
  70% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* ---------- USP tellers ---------- */
.usps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.usp {
  padding: 3.2rem 2rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.usp:last-child { border-right: none; }
.usp-num {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.2rem); color: var(--heat);
  letter-spacing: -0.01em;
}
.usp-label { font-size: 0.85rem; color: var(--muted); }

/* ---------- Sectie gemeenschappelijk ---------- */
.section-kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--heat); margin-bottom: 1.2rem;
}
.section-title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.04; letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.section-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 460px; }

/* ---------- Anatomie / exploded view ---------- */
.anatomy {
  position: relative;
  background:
    radial-gradient(90% 70% at 50% 30%, rgba(15, 41, 66, 0.9) 0%, var(--bg) 70%);
  overflow: clip;
}
.anatomy-intro {
  padding: 9rem 4vw 3rem;
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; justify-content: space-between;
}
.anatomy-stage {
  position: relative;
  height: 220vh;
}
.anatomy-canvas {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.anatomy-inner {
  position: relative;
  width: min(62vh, 86vw);
  aspect-ratio: 1 / 1;
}
.anatomy-layer {
  position: absolute;
  transform-origin: center;
  will-change: transform;
}
.anatomy-layer img { width: 100%; height: auto; }

.anatomy-callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute;
  display: flex; align-items: center; gap: 0.7rem;
  opacity: 0;
}
.callout-line {
  width: 42px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--heat));
  position: relative;
}
.callout-line::after {
  content: ''; position: absolute; left: -3px; top: -3px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--heat);
}
.callout-text { display: flex; flex-direction: column; gap: 0.15rem; }
.callout-text strong { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; }
.callout-text span { font-size: 0.74rem; color: var(--muted); }

/* Callout posities (relatief aan de sticky canvas, 100vh) */
.callout[data-layer="1"] { top: 8%;  right: 5%; flex-direction: row-reverse; }
.callout[data-layer="1"] .callout-line { background: linear-gradient(270deg, transparent, var(--heat)); }
.callout[data-layer="1"] .callout-line::after { left: auto; right: -3px; }
.callout[data-layer="2"] { top: 21%; left: 4%; }
.callout[data-layer="3"] { top: 35%; right: 9%; flex-direction: row-reverse; }
.callout[data-layer="3"] .callout-line { background: linear-gradient(270deg, transparent, var(--heat)); }
.callout[data-layer="3"] .callout-line::after { left: auto; right: -3px; }
.callout[data-layer="4"] { top: 47%; right: 4%; flex-direction: row-reverse; }
.callout[data-layer="4"] .callout-line { background: linear-gradient(270deg, transparent, var(--heat)); }
.callout[data-layer="4"] .callout-line::after { left: auto; right: -3px; }
.callout[data-layer="5"] { top: 62%; right: 7%; flex-direction: row-reverse; }
.callout[data-layer="5"] .callout-line { background: linear-gradient(270deg, transparent, var(--heat)); }
.callout[data-layer="5"] .callout-line::after { left: auto; right: -3px; }
.callout[data-layer="6"] { bottom: 13%; left: 5%; }

/* ---------- Alarm simulator ---------- */
.alarm { padding: 9rem 4vw; background: var(--bg-deep); transition: background 0.5s ease; }
.alarm-head { max-width: 1100px; margin: 0 auto 4.5rem; }
.simulator { max-width: 1100px; margin: 0 auto; }
.sim-stage {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center;
}
.sim-visual {
  position: relative; border-radius: 28px; overflow: hidden;
  background: radial-gradient(80% 80% at 50% 40%, var(--zone-bg, #0d2b22) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--line);
  min-height: 460px;
  transition: background 0.5s ease;
}
.sim-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.45s ease;
}
.sim-visual img.active { opacity: 1; }
.sim-panel h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; margin-bottom: 0.8rem; }
.sim-temp {
  font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--zone-color, var(--green)); transition: color 0.4s ease;
}
.sim-temp small { font-size: 1.2rem; font-weight: 500; color: var(--muted); }
.sim-zone {
  display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; padding: 0.4rem 0.9rem; border-radius: 100px; margin: 0.9rem 0 1.2rem;
  color: var(--zone-color, var(--green)); background: var(--zone-soft, rgba(52, 211, 153, 0.12));
  transition: all 0.4s ease;
}
.sim-desc { color: var(--muted); line-height: 1.7; min-height: 5.2em; }
.sim-slider-wrap { margin-top: 2rem; }
.sim-slider {
  width: 100%; appearance: none; -webkit-appearance: none; height: 10px; border-radius: 100px; outline: none;
  background: linear-gradient(90deg, #34D399 0%, #34D399 48.6%, #FBBF24 48.6%, #FBBF24 77.1%, #F87171 77.1%, #F87171 100%);
  cursor: pointer;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 4px solid var(--heat); cursor: grab;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.sim-slider::-moz-range-thumb {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 4px solid var(--heat); cursor: grab;
}
.sim-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 0.6rem; }
.sim-meta {
  margin-top: 1.6rem; padding: 0.9rem 1.1rem; border-left: 2px solid var(--heat);
  background: var(--heat-soft); border-radius: 0 10px 10px 0;
  font-size: 0.82rem; line-height: 1.65; color: var(--text);
}

/* ---------- Benefits ---------- */
.benefits { padding: 0 4vw 9rem; background: var(--bg-deep); }
.benefits-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 20px;
  overflow: clip;
  background: var(--bg-panel);
}
.benefit {
  padding: 2.2rem 1.8rem;
  border-right: 1px solid var(--line);
}
.benefit:last-child { border-right: none; }
.benefit-num {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  color: var(--heat); letter-spacing: 0.15em;
  display: block; margin-bottom: 1rem;
}
.benefit h3 {
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 600;
  margin-bottom: 0.6rem;
}
.benefit p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

.alarm-reality {
  max-width: 1100px; margin: 6rem auto 0;
  position: relative; border-radius: 28px; overflow: hidden;
}
.alarm-reality img { width: 100%; height: min(72vh, 640px); object-fit: cover; }
.alarm-reality figcaption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3rem;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 18, 32, 0.88) 100%);
}
.reality-quote {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.25;
  margin-bottom: 1rem;
}
.reality-sub { color: var(--muted); font-size: 0.95rem; }

/* ---------- Ontwerp ---------- */
.design { padding: 9rem 4vw; }
.design-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center;
}
.design-visual {
  border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.design-text .section-lead { margin-bottom: 2.2rem; }
.design-list { list-style: none; display: flex; flex-direction: column; }
.design-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.design-list li:first-child { border-top: 1px solid var(--line); }
.design-num { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--heat); white-space: nowrap; }
.design-list li span:last-child { color: var(--muted); font-size: 0.88rem; text-align: right; }

/* ---------- Praktijk (pinned horizontal scroll) ---------- */
.praktijk { background: var(--bg-deep); overflow: clip; }
.praktijk-pin {
  height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.praktijk-head {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 4vw;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.praktijk-nav { display: flex; gap: 0.6rem; }
.praktijk-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  font-size: 1.05rem; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.praktijk-nav button:hover:not(:disabled) { border-color: var(--heat); color: var(--heat); }
.praktijk-nav button:disabled { opacity: 0.3; cursor: default; }
.praktijk-track {
  display: flex; gap: 1.4rem;
  padding: 0 4vw;
  will-change: transform;
}
.praktijk-card {
  flex: 0 0 min(440px, 74vw);
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  display: flex; align-items: flex-end;
}
.praktijk-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.praktijk-card:hover img { transform: scale(1.05); }
.praktijk-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,32,0.1) 30%, rgba(6,18,32,0.92) 100%); }
.praktijk-card-body { position: relative; z-index: 1; padding: 1.6rem; }
.praktijk-card-body h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.praktijk-card-body p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.praktijk-card.praktijk-cta {
  background: linear-gradient(150deg, var(--heat) 0%, #d94e1a 100%);
  align-items: center;
}
.praktijk-cta-body { padding: 2rem; position: relative; z-index: 1; }
.praktijk-cta-body h4 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.6rem; color: #fff; }
.praktijk-cta-body p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); line-height: 1.65; margin-bottom: 1.2rem; }
.praktijk-cta-link {
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6); padding-bottom: 2px;
  transition: border-color 0.2s;
}
.praktijk-cta-link:hover { border-color: #fff; }
.praktijk-progress {
  max-width: 1100px; margin: 2.5rem auto 0; padding: 0 4vw;
  height: 2px; background: var(--line); border-radius: 2px;
  position: relative;
}
.praktijk-progress span {
  position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background: var(--heat); border-radius: 2px;
}

/* ---------- Specs ---------- */
.specs { padding: 9rem 4vw; }
.specs-inner { max-width: 860px; margin: 0 auto; }
.specs-table {
  width: 100%; border-collapse: collapse; margin-top: 2.5rem;
}
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:first-child { border-top: 1px solid var(--line); }
.specs-table th {
  text-align: left; font-family: var(--font-head); font-weight: 500;
  font-size: 0.92rem; color: var(--muted);
  padding: 1.15rem 0.5rem; width: 38%;
}
.specs-table td {
  font-size: 0.98rem; font-weight: 500; padding: 1.15rem 0.5rem;
}
.specs-note { margin-top: 2rem; font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* ---------- Contact ---------- */
.contact {
  padding: 9rem 4vw 4rem;
  background:
    radial-gradient(110% 100% at 50% 0%, rgba(255, 107, 53, 0.09) 0%, transparent 55%),
    var(--bg-deep);
  border-top: 1px solid var(--line);
}
.contact-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.contact-title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.03; letter-spacing: -0.02em; margin-bottom: 1.4rem;
}
.contact-lead { color: var(--muted); line-height: 1.7; max-width: 520px; margin: 0 auto 2.6rem; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.contact-meta {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--muted);
  padding-top: 2.2rem; border-top: 1px solid var(--line);
}
.contact-copy { margin-top: 2.5rem; font-size: 0.74rem; color: rgba(147, 167, 186, 0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .usps { grid-template-columns: repeat(2, 1fr); }
  .usp:nth-child(2) { border-right: none; }
  .usp:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sim-stage { grid-template-columns: 1fr; gap: 2rem; }
  .benefits-inner { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(2) { border-right: none; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .design-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .anatomy-intro { padding-top: 6rem; }
}

@media (max-width: 560px) {
  .usps { grid-template-columns: 1fr 1fr; }
  .usp { padding: 2rem 1.2rem; }
  .callout-text span { display: none; }
  .hero-content { padding-bottom: 10vh; }
}
