/* Demo ERP — voorkant in de stijl van rio-webdesign.nl (tokens uit het RIO huisstijl-handboek) */
@font-face {
  font-family: 'Montserrat Rio';
  src: url('../font/MontserratRio-Bold.otf') format('opentype');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --night_blue: #1b223d;
  --rubine_red: #d80349;
  --rubine_red_light: rgba(216, 3, 73, 0.14);
  --process_blue: #31a7e0;
  --process_blue_light: rgba(49, 167, 224, 0.17);
  --wit: #fcfcfd;
  --accent: var(--rubine_red);
  --bg: var(--wit);
  --fg: var(--night_blue);
  --fg_soft: rgba(27, 34, 61, 0.62);
  --line: rgba(27, 34, 61, 0.10);
  --surface: #fff;
  --surface_2: #f6f7fb;
  --font_display: 'Montserrat Rio', system-ui, sans-serif;
  --font_body: 'Lato', system-ui, sans-serif;
  --radius: 12px;
  --radius_lg: 20px;
  --shadow: 0 1px 0 rgba(27,34,61,.04), 0 4px 14px rgba(27,34,61,.08);
  --shadow_lg: 0 1px 0 rgba(27,34,61,.04), 0 12px 38px rgba(27,34,61,.14);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font_body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font_display); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.3; }
em { font-style: normal; color: var(--accent); }

.eyebrow { font: 600 11px var(--font_display); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px var(--font_display); text-decoration: none; color: #fff; background: var(--night_blue); padding: 1em 2.4em; border-radius: 999px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(27,34,61,.28); }
.btn.accent { background: var(--accent); box-shadow: 0 2px 6px rgba(216,3,73,.32); }
.btn.accent:hover { box-shadow: 0 4px 10px rgba(216,3,73,.4); }
.btn.secondary { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn.secondary:hover { background: var(--fg); color: var(--bg); }
.btn.small { font-size: 13px; padding: .85em 1.8em; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; background: rgba(252,252,253,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.navInner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.navBrand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.navBrand img { height: 34px; width: auto; }
.navBrand span { font: 700 13px var(--font_display); letter-spacing: .08em; text-transform: uppercase; color: var(--fg_soft); padding-left: 14px; border-left: 1px solid var(--line); }
.navLinks { display: flex; gap: 28px; }
.navLinks a { text-decoration: none; font-size: 15px; color: var(--fg_soft); transition: color .2s; }
.navLinks a:hover { color: var(--fg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 190px 0 110px; }
.heroInner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 24px; }
.hero p.lead { font-size: 20px; color: var(--fg_soft); max-width: 34em; margin-bottom: 36px; }
.heroActions { display: flex; flex-wrap: wrap; gap: 14px; }
.heroVisual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.heroCircle { position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 28%, var(--process_blue), var(--night_blue) 72%); opacity: .95; }
.heroMock { position: relative; width: 88%; background: var(--surface); border-radius: var(--radius_lg); box-shadow: var(--shadow_lg); padding: 18px; display: grid; gap: 12px; }
.mockBar { display: flex; gap: 6px; } .mockBar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mockRow { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface_2); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; }
.mockRow strong { font: 700 14px var(--font_display); }
.pill { font: 600 11px var(--font_display); padding: 4px 10px; border-radius: 999px; background: var(--process_blue_light); color: #12709f; }
.pill.red { background: var(--rubine_red_light); color: var(--rubine_red); }

/* Sections */
section { padding: 100px 0; }
section.alt { background: var(--surface_2); }
.sectionHead { max-width: 40em; margin-bottom: 52px; }
.sectionHead h2 { margin: 14px 0 16px; }
.sectionHead p { color: var(--fg_soft); font-size: 19px; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius_lg); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow_lg); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--process_blue_light); color: #12709f; font: 700 18px var(--font_display); margin-bottom: 18px; }
.card:nth-child(3n+2) .ico { background: var(--rubine_red_light); color: var(--rubine_red); }
.card:nth-child(3n) .ico { background: rgba(27,34,61,.1); color: var(--night_blue); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--fg_soft); font-size: 16px; }

.cta { background: var(--night_blue); color: #fff; border-radius: var(--radius_lg); padding: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { color: rgba(255,255,255,.7); margin-top: 8px; }
.cta .btn.secondary { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); } .cta .btn.secondary:hover { background: #fff; color: var(--night_blue); }

footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--fg_soft); font-size: 14px; }
footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { text-decoration: none; } footer a:hover { color: var(--fg); }

@media (max-width: 880px) {
  .heroInner { grid-template-columns: 1fr; } .heroVisual { max-width: 420px; }
  .navLinks { display: none; } .navBrand span { display: none; }
  .hero { padding-top: 140px; } section { padding: 72px 0; } .cta { padding: 36px 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
