/* Shared styling voor SEO-landing-pages onder fieldopsapp.nl/.
   Statische HTML voor max indexability — geen React-render nodig.
   Houdt look-and-feel gelijk aan WebsitePage.jsx (DM Sans + brand colors). */

:root {
  --bg: #f8f9fb;
  --white: #fff;
  --text: #1e293b;
  --muted: #64748b;
  --dim: #94a3b8;
  --border: #e2e8f0;
  --blue: #0284c7;
  --blue-dark: #0369a1;
  --blue-light: #e0f2fe;
  --green: #16a34a;
  --green-light: #dcfce7;
  --orange: #ea580c;
  --red: #dc2626;
}

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.nav-links a { font-size: 14px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover { color: var(--white) !important; text-decoration: none !important; box-shadow: 0 4px 14px rgba(2,132,199,.25); }

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

.hero {
  padding: 80px 32px 60px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  max-width: 20ch;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white) !important;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(2,132,199,.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(2,132,199,.35); color: var(--white) !important; text-decoration: none; }

.section { padding: 60px 32px; border-bottom: 1px solid var(--border); }
.section.alt { background: var(--white); }
.section-eyebrow {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 720px;
}
.section h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card .icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }

ul.bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
ul.bullet-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
ul.bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
  font-size: 16px;
}

.cta-block {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  margin: 50px 0;
}
.cta-block h2 { color: var(--white); margin-bottom: 12px; }
.cta-block p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 24px; font-size: 16px; }
.cta-block .hero-cta {
  background: var(--white);
  color: var(--blue) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.cta-block .hero-cta:hover { color: var(--blue-dark) !important; }

footer.foot {
  background: var(--text);
  color: rgba(255,255,255,0.85);
  padding: 50px 32px 30px;
  font-size: 14px;
}
footer.foot .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
footer.foot h4 { color: var(--white); margin-bottom: 14px; font-size: 14px; font-weight: 700; }
footer.foot ul { list-style: none; padding: 0; margin: 0; }
footer.foot ul li { margin-bottom: 8px; }
footer.foot a { color: rgba(255,255,255,0.65); }
footer.foot a:hover { color: var(--white); text-decoration: none; }
footer.foot .copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; color: var(--dim); }

/* ─── Blog: article-typography ─────────────────────────────────────────── */

.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.article-meta {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.article-meta .dot { color: var(--border); }

.article-prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  padding: 40px 0 60px;
}
.article-prose p {
  margin-bottom: 22px;
  color: var(--text);
}
.article-prose h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 48px 0 16px;
  line-height: 1.2;
  scroll-margin-top: 80px;
}
.article-prose h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}
.article-prose strong { color: var(--text); font-weight: 700; }
.article-prose ul, .article-prose ol { margin: 12px 0 22px 24px; }
.article-prose li { margin-bottom: 8px; }
.article-prose blockquote {
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
  color: var(--text);
  font-style: italic;
}
.article-prose code {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
}
.article-prose a { font-weight: 600; }
.article-prose a:hover { text-decoration: underline; }

.article-toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 28px 0 40px;
}
.article-toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.article-toc ol {
  list-style-position: inside;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.article-toc li { margin-bottom: 6px; }
.article-toc a { color: var(--text); font-weight: 500; }

.article-callout {
  background: linear-gradient(135deg, rgba(2,132,199,0.08), rgba(22,163,74,0.05));
  border: 1px solid var(--blue-light);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 32px 0;
}
.article-callout strong { display: block; margin-bottom: 6px; color: var(--blue-dark); }

/* Article hero — kleinere variant van .hero zonder grote H1 */
.article-hero {
  padding: 60px 32px 30px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.article-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
  max-width: 22ch;
}
.article-hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

/* "Meer lezen" cards op blog-index en onderaan articles */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 30px 0 60px;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: border-color 0.15s, transform 0.15s;
  text-decoration: none !important;
}
.related-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.related-card .tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.related-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--text); line-height: 1.3; }
.related-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* Mobile tweaks */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 16px; }
  .hero { padding: 50px 24px 40px; }
  .section { padding: 40px 24px; }
  .container { padding: 0 24px; }
  .article-container { padding: 0 24px; }
  .article-prose { font-size: 16px; padding: 30px 0 40px; }
  .article-prose h2 { font-size: 24px; margin: 36px 0 14px; }
  .article-prose h3 { font-size: 19px; }
  .article-hero { padding: 40px 24px 24px; }
}
