/* ── HORAE B.V. — Gedeelde stijl ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Source+Serif+4:ital,wght@0,300;0,400;1,300&display=swap');

:root {
  --blue:       #1a6bff;
  --blue-dark:  #0f52d9;
  --blue-light: #4d8fff;
  --blue-pale:  #e6f0ff;
  --accent:     #f0a500;
  --text:       #0f1f3d;
  --text-muted: #5a6a8a;
  --white:      #ffffff;
  --grey-light: #f3f7ff;
  --border:     #d6e4ff;
  --footer-bg:  #071535;
  --radius:     8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 2px 20px rgba(26,107,255,.07); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu a { display: flex; align-items: center; gap: .3rem; padding: .55rem .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--text); text-decoration: none; border-radius: 4px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.active { color: var(--blue); background: var(--blue-pale); }
.nav-menu a svg { width: 10px; height: 10px; stroke: currentColor; transition: transform .2s; }
.nav-menu li:hover > a svg { transform: rotate(180deg); }
.nav-menu a.nav-cta { background: var(--blue); color: var(--white) !important; padding: .5rem 1.2rem; border-radius: 4px; }
.nav-menu a.nav-cta:hover { background: var(--blue-dark); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); min-width: 230px; box-shadow: 0 8px 32px rgba(26,107,255,.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s; list-style: none; overflow: hidden; z-index: 200; }
.nav-menu li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: .65rem 1rem; border-radius: 0; font-size: .78rem; text-transform: none; letter-spacing: 0; font-weight: 500; border-bottom: 1px solid var(--border); }
.dropdown li:last-child a { border-bottom: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; border: none; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ── PAGE HEADER (blauw blok bovenaan pagina's) ── */
.page-header { margin-top: 68px; background: var(--blue); position: relative; overflow: hidden; padding: 4rem 2rem 3.5rem; }
.page-header::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.page-header-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,.85); }
.breadcrumb svg { width: 10px; height: 10px; flex-shrink: 0; }
.page-header h1 { font-family: 'Source Serif 4', Georgia, serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300; color: var(--white); letter-spacing: -.3px; animation: fadeUp .5s .1s ease both; }
.page-header p { color: rgba(255,255,255,.65); font-size: .9rem; margin-top: .5rem; animation: fadeUp .5s .2s ease both; }
.new-badge { display: inline-block; background: rgba(240,165,0,.25); border: 1px solid rgba(240,165,0,.5); color: #fcd34d; font-size: .65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: .2rem .7rem; border-radius: 20px; margin-bottom: .75rem; }

/* ── FOOTER ── */
footer { background: var(--footer-bg); color: rgba(255,255,255,.7); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo img { filter: brightness(0) invert(1); height: 28px; }
.footer-brand p { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 280px; margin-top: .75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .6rem; margin-top: .65rem; font-size: .82rem; }
.footer-contact-item svg { width: 14px; height: 14px; stroke: var(--blue-light); flex-shrink: 0; margin-top: 2px; }
.footer-col h4 { font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.3); }
.footer-badge { font-size: .72rem; color: rgba(255,255,255,.3); }
.footer-badge span { color: var(--accent); }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue); color: var(--white); padding: .85rem 1.9rem; border-radius: 4px; font-weight: 700; font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all .2s; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); padding: .85rem 1.9rem; border-radius: 4px; font-weight: 700; font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: all .2s; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-blue { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue); color: var(--white); padding: .8rem 1.75rem; border-radius: 4px; font-weight: 700; font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all .2s; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-white { display: block; text-align: center; background: var(--white); color: var(--blue); padding: .75rem 1.5rem; border-radius: 4px; font-weight: 700; font-size: .78rem; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; transition: all .2s; }
.btn-white:hover { background: var(--accent); color: var(--white); }
.btn-white-sm { background: var(--white); color: var(--blue); padding: .7rem 1.5rem; border-radius: 4px; font-weight: 700; font-size: .78rem; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: all .2s; display: inline-block; }
.btn-white-sm:hover { background: var(--accent); color: var(--white); }

/* ── SIDEBAR (blog & diensten) ── */
.sidebar-card { background: var(--grey-light); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; margin-bottom: 1.25rem; }
.sidebar-card h3 { font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.cta-card { background: var(--blue); border-radius: 10px; padding: 1.5rem; margin-bottom: 1.25rem; }
.cta-card h3 { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.cta-card p { font-size: .75rem; color: rgba(255,255,255,.65); margin-bottom: 1.25rem; line-height: 1.6; }
.recent-list { list-style: none; }
.recent-list li { margin-bottom: .1rem; }
.recent-list a { display: flex; flex-direction: column; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .78rem; font-weight: 600; color: var(--text); text-decoration: none; transition: color .2s; }
.recent-list a:hover { color: var(--blue); }
.recent-list a span { font-size: .7rem; font-weight: 400; color: var(--text-muted); margin-top: .15rem; }
.recent-list li:last-child a { border-bottom: none; }

/* ── ARTICLE BODY ── */
.article-lead { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.1rem; font-style: italic; font-weight: 300; color: var(--text); line-height: 1.75; border-left: 3px solid var(--blue); background: var(--blue-pale); padding: 1.5rem 1.5rem 1.5rem 1.75rem; border-radius: 0 8px 8px 0; margin-bottom: 2.5rem; }
.article-body h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 2rem 0 .75rem; display: flex; align-items: center; gap: .6rem; }
.article-body h4::before { content: ''; width: 4px; height: 1.1em; background: var(--blue); border-radius: 2px; flex-shrink: 0; }
.article-body p { font-size: .9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.article-body ul { list-style: none; margin: .75rem 0 1rem; padding: 0; }
.article-body li { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: .5rem; padding-left: 1.5rem; position: relative; }
.article-body li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.article-cta { background: var(--blue); border-radius: 10px; padding: 1.75rem; margin: 2.5rem 0; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.article-cta div p { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.6; margin: .25rem 0 0; }
.article-cta strong { color: var(--white); font-size: .92rem; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: .25rem; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .nav-menu.open { display: flex; }
  .nav-menu .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; padding-left: 1rem; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .article-cta { flex-direction: column; }
}
