/* Module2 stylesheet v5 — cache-bust via style.css?v=5 in HTML */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

@font-face {
  font-family: 'Slake';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('uploads/2024/07/slake_regular-webfont.woff') format('woff'),
       url('uploads/2024/07/Slake_Regular.ttf') format('truetype'),
       url('assets/slake_regular.woff') format('woff');
}

@font-face {
  font-family: 'Slake light';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('uploads/2024/07/slake_thin-webfont.woff') format('woff'),
       url('uploads/2024/07/Slake_Thin.ttf') format('truetype');
}

/* ---- CSS-variabelen ---- */
:root {
  --accent: #6EC1E4;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.12);
  --nav-bg: rgba(0,0,0,0.25);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #343434;
  color: #ffffff;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  font-variant-ligatures: no-common-ligatures;
}
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-left h1,
.integration-text h2,
.dev-section h2,
.article-title {
  font-family: 'Slake', 'Roboto', sans-serif;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #343434;
}

/* Top bar: taal + login */
.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 8px 40px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 400;
}
.lang-switcher a { color: #fff; opacity: 0.7; transition: opacity 0.2s; }
.lang-switcher a:hover, .lang-switcher a.active { opacity: 1; }
.lang-switcher span { opacity: 0.3; margin: 0 2px; }

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s;
  font-family: inherit;
  padding: 0;
}
.btn-login:hover { opacity: 1; }

/* Login icon (person silhouette) */
.login-icon {
  width: 16px; height: 16px;
  opacity: 0.8;
}

/* GTranslate widget stijlen */
.gtranslate_wrapper a {
  color: #fff !important;
  opacity: 0.7;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}
.gtranslate_wrapper a:hover { opacity: 1 !important; }
.gtranslate_wrapper a.gt-current-lang {
  opacity: 1 !important;
  color: #fff !important;
}

/* Hoofd nav: logo links, links gecentreerd */
.main-nav {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 12px 40px 16px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  max-width: 280px;
  display: block;
}

/* Fallback logo */
.nav-logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
}
.nav-logo-text .m2-device {
  width: 50px; height: 30px;
  background: #fff;
  border-radius: 4px;
}
.nav-logo-text span {
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 24px;
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; }

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 60px 40px 60px 80px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 112px);
}

.hero-left { max-width: 560px; }

.hero-left h1 {
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 28px;
}

.hero-left p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Cyan primary button */
.btn-cyan {
  display: inline-block;
  background: #6EC1E4;
  color: #fff !important;
  font-size: 14px;
  font-weight: 400;
  padding: 11px 26px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  text-align: center;
}
.btn-cyan:hover { background: #5aadce; }

/* Pink/red button */
.btn-pink {
  display: inline-block;
  background: #c0392b;
  color: #fff !important;
  font-size: 14px;
  font-weight: 400;
  padding: 11px 26px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  text-align: center;
}
.btn-pink:hover { background: #a93226; }

/* Hero right: device + hotspots */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.viewer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s;
  padding: 0;
}
.viewer-link:hover { color: #fff; }
.viewer-icon {
  width: 24px;
  height: 24px;
  background: url('/uploads/2025/08/3d-view-1.svg') center/contain no-repeat;
  flex-shrink: 0;
}

.device-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  width: 100%;
}
.device-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.45));
  max-width: 640px;
}

/* Hotspots op apparaat-foto (1:1 match module2.be Jet Hotspots) */
.hotspots-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
  font-family: inherit;
  outline: none;
}

.hotspot-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  box-sizing: border-box;
  background: #D3466B;
  border-radius: 10px;
  animation: hotspot-swing 2.5s ease-in-out infinite;
  transition: background 0.2s;
}

.hotspot:hover .hotspot-inner,
.hotspot:focus-visible .hotspot-inner {
  background: #c03a5d;
}

.hotspot-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
  display: block;
  flex-shrink: 0;
}

.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #333;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.hotspot:hover .hotspot-tooltip,
.hotspot:focus .hotspot-tooltip,
.hotspot:focus-visible .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@keyframes hotspot-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

/* ============================================================
   FEATURES — "Waarom kiezen voor module2"
   ============================================================ */

.features-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 80px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-body h3 {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}
.feature-body p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  font-weight: 300;
}

/* ============================================================
   VOOR ONTWIKKELAARS
   ============================================================ */

.dev-section {
  padding: 20px 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.dev-section h2 {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 20px;
}

.dev-section ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 32px;
}
.dev-section ul li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  font-weight: 300;
}

.dev-section .center { text-align: center; }

/* ============================================================
   SECTIE SCHEIDSLIJN met pijl
   ============================================================ */

.section-divider {
  position: relative;
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 40px 0;
}

.divider-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #343434;
  padding: 0 6px;
}
.divider-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   INTEGRATIE SECTIE
   ============================================================ */

.integration-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.integration-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}

.integration-text h2 {
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 28px;
}
.integration-text h3 {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}
.integration-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.7;
  font-weight: 300;
}
.integration-text .btn-wrap { margin-top: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 20px;
}
footer a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 300;
  transition: color 0.2s;
}
footer a:hover { color: #fff; }

/* ============================================================
   3D MODAL
   ============================================================ */

.mv-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.mv-modal.open { display: flex; align-items: center; justify-content: center; }
.mv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}
.mv-inner {
  position: relative;
  width: min(90vw, 700px);
  height: min(80vh, 600px);
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
}
.mv-inner model-viewer { width: 100%; height: 100%; }
.mv-loading {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-align: center;
  padding: 40px;
}
.mv-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #ff6b6b;
  font-size: 14px;
  background: rgba(0,0,0,0.6);
  z-index: 3;
}
.mv-close {
  position: absolute;
  top: 12px; right: 16px;
  background: url('/uploads/2025/08/close-1.svg') center/20px 20px no-repeat rgba(255,255,255,0.15);
  border: none;
  color: transparent;
  font-size: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit;
}
.mv-close:hover { background: rgba(255,255,255,0.3); }

/* ============================================================
   SUBPAGINA's — gemeenschappelijke stijlen
   ============================================================ */

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}
.page-content h1 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 32px;
}
.page-content h2 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 36px;
  margin-bottom: 12px;
}
.page-content p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}
.page-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.page-content ul li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px;
  font-weight: 300;
}

/* Formulier stijlen */
.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 48px;
  max-width: 700px;
  margin: 0 auto;
}
.form-card h1 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
}
.form-card .sub {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 36px;
  font-weight: 300;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-group label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
  font-weight: 300;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #6EC1E4; }
.form-group select option { background: #343434; }
.form-group textarea { resize: vertical; min-height: 100px; }
.honey { display: none !important; }
.form-submit { margin-top: 28px; }
.form-submit .btn-cyan { width: 100%; padding: 14px; font-size: 15px; }
#form-feedback { margin-top: 16px; font-size: 14px; min-height: 20px; }
#form-feedback.ok { color: #6EC1E4; }
#form-feedback.err { color: #ff6b6b; }

/* ============================================================
   WAAROM-MODULE2 — cards, timeline, section-sub
   ============================================================ */

.section-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 8px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 28px 24px;
}
.card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.card h3 {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  font-weight: 300;
}

/* Timeline */
.timeline {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}
.tl-item {
  position: relative;
  margin-bottom: 36px;
}
.tl-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.tl-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.tl-item h3 {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}
.tl-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  font-weight: 300;
}

/* ============================================================
   ARTICLE PAGINA'S — waarom-module2, development-aanvraag
   (1:1 match WordPress Elementor layout)
   ============================================================ */

.article-page {
  max-width: 1316px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.article-title {
  font-family: 'Slake', 'Roboto', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  text-align: center;
  color: #fff;
  margin: 50px 0 30px;
}

.article-body {
  width: 85%;
  max-width: 100%;
  margin: 0 auto;
  color: #fff;
}

.article-body--spaced {
  margin-top: 40px;
}

.article-body h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin: 24px 0 8px;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 20px;
}

.article-body h5 {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin: 20px 0 8px;
}

.article-body h5:first-child {
  margin-top: 0;
}

.article-body h6 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  margin: 16px 0 6px;
}

.article-body p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 12px;
}

.article-body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 8px 0 16px;
}

.article-body ul ul {
  margin-top: 6px;
}

.article-body li {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 6px;
}

.article-body strong {
  font-weight: 500;
  color: #fff;
}

.article-body .info-text {
  color: #fff;
}

.highlighted-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}

.highlighted-link:hover {
  opacity: 0.85;
}

.article-signature-label {
  margin-top: 32px;
}

/* Development form sectie */
.form-section {
  width: 85%;
  max-width: 100%;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.form-section-title {
  font-family: 'Slake', 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 28px;
}

.dev-form .form-group {
  margin-bottom: 18px;
}

.dev-form label,
.dev-form .form-label {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
  font-weight: 400;
}

.dev-form .req {
  color: #6EC1E4;
}

.dev-form input[type="text"],
.dev-form input[type="email"],
.dev-form input[type="tel"],
.dev-form textarea {
  width: 100%;
  max-width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  padding: 12px 14px;
  outline: none;
  font-weight: 300;
  display: block;
}

.dev-form input:focus,
.dev-form textarea:focus {
  border-color: #6EC1E4;
}

.dev-form textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.radio-group {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 300;
}

.radio-group input[type="radio"] {
  accent-color: #6EC1E4;
  width: auto;
}

.dev-form .form-submit {
  margin-top: 24px;
}

.dev-form .btn-cyan {
  padding: 12px 32px;
}

.dev-form #form-feedback {
  margin-top: 16px;
  font-size: 14px;
  min-height: 20px;
}

.dev-form #form-feedback.ok { color: #6EC1E4; }
.dev-form #form-feedback.err { color: #ff6b6b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .top-bar { padding: 8px 20px; }
  .main-nav { padding: 12px 20px 14px; grid-template-columns: 1fr; gap: 10px; }
  .nav-links { justify-content: flex-start; flex-wrap: wrap; }
  .nav-links a { padding: 5px 12px; font-size: 12px; }

  .hero { grid-template-columns: 1fr; padding: 40px 20px; min-height: auto; gap: 40px; }
  .hero-left { max-width: 100%; }
  .hero-right { align-items: center; }
  .device-wrap { max-width: 340px; }

  .features-section { padding: 50px 20px; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }

  .dev-section { padding: 20px 20px 40px; }

  .integration-section { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }

  footer { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }

  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }

  .article-page { padding: 0 20px 60px; }
  .article-body,
  .form-section { width: 100%; }
}
