/* ============================================================
   QiPRO Management & Consultancy — stylesheet
   Merk-kleuren: bosgroen #1F6E45 + bordeaux #9C2B25 (afgeleid van het logo)
   ============================================================ */

:root {
  --green: #1f6e45;
  --green-dark: #16543a;
  --green-700: #103f29;
  --maroon: #9c2b25;
  --maroon-dark: #7d201c;
  --ink: #15201a;
  --ink-soft: #44514a;
  --bg: #ffffff;
  --bg-alt: #f4f8f3;
  --bg-dark: #122016;
  --line: #e2e9e1;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 10px 30px rgba(18, 32, 22, 0.08);
  --shadow-lg: 0 18px 50px rgba(18, 32, 22, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; background: var(--green); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 1000;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 650; font-size: 0.98rem;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: all 0.18s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--green); color: #fff; font-weight: 800; font-size: 0.95rem;
}
.brand-name { font-size: 1.2rem; letter-spacing: 0.02em; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-tagline {
  font-size: 12.5px; line-height: 1.18; font-weight: 600; color: var(--green-dark);
  padding-left: 12px; margin-left: 1px; border-left: 1px solid var(--line);
}
@media (max-width: 480px) {
  .brand-logo { height: 32px; }
  .brand-tagline { display: none; }
}

.nav-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.nav-menu a {
  color: var(--ink-soft); font-weight: 600; font-size: 0.96rem;
  padding: 8px 14px; border-radius: 8px;
}
.nav-menu a:hover { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.nav-cta { background: var(--green); color: #fff !important; }
.nav-cta:hover { background: var(--green-dark) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2.5px; background: var(--ink);
  border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(31,110,69,0.55), transparent 60%),
    radial-gradient(800px 500px at 0% 120%, rgba(31,110,69,0.25), transparent 55%),
    linear-gradient(135deg, #0f1c13 0%, #143020 55%, #0c1810 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(600px 400px at 70% 20%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(64px, 12vw, 130px) 24px clamp(56px, 10vw, 110px); max-width: 900px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700;
  color: var(--maroon); margin: 0 0 14px;
}
.eyebrow.light { color: #8fd9ab; }
.hero h1 { margin-bottom: 22px; }
.hero .accent { color: #7fd0a1; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,0.86); max-width: 640px; }
.hero-spec { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin: 18px 0 28px; }
.hero-spec strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; }
.muted { color: var(--ink-soft); font-size: 0.96rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.check-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 30px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel { background: linear-gradient(180deg, #fff, var(--bg-alt)); }

.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service .service-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(31,110,69,0.12); color: var(--green-dark); font-size: 1.4rem; margin-bottom: 16px;
}
.service { display: flex; flex-direction: column; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 16px; }
.service-link { margin-top: auto; font-weight: 650; font-size: 0.92rem; color: var(--green-dark); }
.service-link:hover { color: var(--green-700); }
.card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.service:hover, .project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.project .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--green-700); background: rgba(31,110,69,0.12);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 14px;
}
.project h3 { margin-bottom: 8px; }
.project p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Contact ---------- */
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2 { color: #fff; }
.contact-lead { color: rgba(255,255,255,0.8); max-width: 420px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8fd9ab; }
.contact-list a { color: #fff; }

.contact-form { color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,110,69,0.18); }
.field textarea { resize: vertical; }
.field-check { display: flex; gap: 10px; align-items: flex-start; }
.field-check input { width: auto; margin-top: 4px; }
.field-check label { font-weight: 400; font-size: 0.88rem; color: var(--ink-soft); }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1810; color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.site-footer .brand-name { color: #fff; font-weight: 800; font-size: 1.1rem; }
.site-footer .muted { color: rgba(255,255,255,0.55); margin: 4px 0 0; font-size: 0.88rem; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.site-footer nav a:hover { color: #fff; }
.copyright { font-size: 0.85rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 12px; border-radius: 8px; }
  .nav-cta { text-align: center; margin-top: 6px; }
}
@media (max-width: 560px) {
  .grid-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Subpagina's (diensten) ---------- */
.subhero { position: relative; color: #fff; overflow: hidden; }
.subhero-inner { position: relative; z-index: 1; padding: clamp(48px, 8vw, 84px) 24px clamp(40px, 6vw, 64px); max-width: 820px; }
.breadcrumb { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0 0 14px; }
.breadcrumb a { color: #8fd9ab; }
.subhero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0; }

.prose { max-width: 760px; }
.prose p { font-size: 1.06rem; color: var(--ink-soft); }
.prose p strong, .prose p b { color: var(--ink); }
.prose .lead { font-size: 1.18rem; color: var(--ink); }

.role-line { color: var(--maroon); font-weight: 700; font-size: 0.98rem; margin: -4px 0 16px; }
.clients { margin: 34px 0 0; text-align: center; color: var(--ink-soft); font-size: 0.92rem; }

.facts { list-style: none; margin: 16px 0 0; padding: 0; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts li span { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-dark); font-weight: 700; }

.cta-band { background: var(--bg-alt); border-top: 1px solid var(--line); }
.cta-band .container { text-align: center; padding-top: clamp(48px, 7vw, 72px); padding-bottom: clamp(48px, 7vw, 72px); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 22px; }
.back-link { display: inline-block; margin-top: 28px; font-weight: 600; }

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