/* InfinitCare — Gedeelde stylesheet */
/* Aanpassen hier werkt direct op alle pagina's */

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

:root {
  --ic-blue: #3d71a1;
  --ic-blue-dark: #2d5c88;
  --ic-blue-deep: #1b5080;
  --ic-blue-light: #93bfe5;
  --ic-blue-pale: #ddeaf5;
  --ic-red: #f84b62;
  --ic-red-dark: #d62940;
  --ic-white: #ffffff;
  --ic-surface: #efedee;
  --ic-text: #444444;
  --ic-heading: #222222;
  --ic-muted: #666666;
  --ic-meta: #919191;
  --ic-border: #e1e1e1;
  --ic-radius: 12px;
}

/* ── Basis ── */
body { font-family: 'Open Sans', 'HelveticaNeue', Helvetica, Arial, sans-serif; font-size: 14px; color: var(--ic-text); background: var(--ic-white); line-height: 1.65; }
a { color: inherit; text-decoration: none; }

/* ── Navigatie ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ic-border); padding: 0 2rem; display: flex; align-items: center; gap: 2rem; height: 94px; }
.nav-logo { display: flex; align-items: center; }
.nav-links { display: flex; gap: 0; margin-left: auto; align-items: center; }
.nav-links a { padding: 6px 14px; font-size: 14px; color: var(--ic-muted); border-radius: 6px; transition: all 0.15s; }
.nav-links a:hover { color: var(--ic-text); background: var(--ic-surface); }
.nav-cta { margin-left: 12px; background: var(--ic-red) !important; color: white !important; padding: 7px 18px !important; border-radius: 8px !important; font-weight: 500 !important; }
.nav-cta:hover { background: var(--ic-red-dark) !important; }

/* ── Footer ── */
footer { background: var(--ic-blue-dark); color: white; padding: 60px 80px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand-name { font-weight: 600; font-size: 18px; color: var(--ic-blue-light); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 240px; }
.footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 8px; transition: color 0.15s; }
.footer-col a:hover { color: var(--ic-blue-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.35); }

/* ── Gedeelde componenten ── */
.section-tag { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--ic-blue); margin-bottom: 12px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.6rem,2.5vw,2.2rem); color: var(--ic-heading); line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--ic-muted); max-width: 560px; line-height: 1.7; }
.btn-primary { background: var(--ic-red); color: white; padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; display: inline-block; transition: background 0.15s, transform 0.1s; font-family: inherit; text-decoration: none; }
.btn-primary:hover { background: var(--ic-red-dark); transform: translateY(-1px); }
.btn-white { background: white; color: var(--ic-heading); padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; border: none; cursor: pointer; font-family: inherit; transition: opacity 0.15s; width: fit-content; }
.btn-white:hover { opacity: 0.9; }

/* ── Page hero (subpagina's) ── */
.page-hero { background: linear-gradient(135deg,#1b5080 0%,#2d5c88 55%,#3d71a1 100%); color: white; padding: 60px 80px; }
.page-hero .breadcrumb, .breadcrumb { font-size: 13px; opacity: 0.6; margin-bottom: 16px; }
.page-hero .breadcrumb a, .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb span, .breadcrumb span { margin: 0 6px; opacity: 0.4; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.15; margin-bottom: 12px; }
.page-hero p { font-size: 15px; opacity: 0.75; max-width: 620px; line-height: 1.7; }
.page-body { max-width: 1100px; margin: 0 auto; padding: 60px 80px; }

/* ── Artikel pagina's ── */
.article-hero { background: linear-gradient(135deg,#1b5080 0%,#2d5c88 55%,#3d71a1 100%); color: white; padding: 60px 80px; }
.article-cat { display: inline-block; background: rgba(255,255,255,0.15); border-radius: 20px; padding: 4px 14px; font-size: 12px; font-weight: 500; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.article-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.15; margin-bottom: 12px; }
.article-date { font-size: 14px; opacity: 0.6; }
.article-body { max-width: 760px; margin: 0 auto; padding: 60px 80px; }
.article-body p { color: var(--ic-muted); line-height: 1.85; margin-bottom: 20px; font-size: 15px; }
.article-cta { background: var(--ic-blue-pale); border-radius: var(--ic-radius); padding: 28px 32px; margin: 40px 0; }
.article-cta p { color: var(--ic-blue-dark); margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ic-blue); font-size: 14px; font-weight: 500; margin-bottom: 32px; }
.back-link::before { content: '←'; }

/* ── Blog overzicht ── */
.post-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--ic-border); border-radius: var(--ic-radius); overflow: hidden; margin-bottom: 48px; transition: box-shadow 0.2s; text-decoration: none; color: inherit; }
.post-featured:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.post-featured-img { min-height: 260px; overflow: hidden; background: var(--ic-blue-pale); }
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.post-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--ic-blue); margin-bottom: 10px; }
.post-featured-body h3 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--ic-heading); line-height: 1.25; margin-bottom: 12px; }
.post-featured-body p { color: var(--ic-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.post-date { font-size: 12px; color: var(--ic-meta); }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ic-blue); font-weight: 500; }
.read-more::after { content: '→'; transition: transform 0.15s; }
.post-featured:hover .read-more::after { transform: translateX(3px); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card { border: 1px solid var(--ic-border); border-radius: var(--ic-radius); overflow: hidden; transition: all 0.2s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.blog-card-img { height: 180px; overflow: hidden; background: var(--ic-surface); flex-shrink: 0; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 14px; font-weight: 600; color: var(--ic-heading); line-height: 1.45; margin: 6px 0 8px; flex: 1; }
.blog-card-body .post-date { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ic-border); }
.blog-img { height: 180px; overflow: hidden; background: var(--ic-surface); flex-shrink: 0; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 20px; }
.blog-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--ic-blue); margin-bottom: 8px; }
.blog-card h3 { font-size: 15px; font-weight: 500; color: var(--ic-heading); line-height: 1.4; margin-bottom: 8px; }
.blog-date { font-size: 12px; color: var(--ic-muted); }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn { background: var(--ic-surface); border: 1px solid var(--ic-border); border-radius: 20px; padding: 6px 16px; font-size: 13px; color: var(--ic-muted); cursor: pointer; transition: all 0.15s; font-family: inherit; }
.filter-btn:hover, .filter-btn.active { background: var(--ic-blue); border-color: var(--ic-blue); color: white; }

/* ── Homepage specifiek ── */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; overflow: hidden; }
.hero-left { padding: 80px 60px 80px 80px; display: flex; flex-direction: column; justify-content: center; background: var(--ic-white); }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--ic-blue-pale); color: var(--ic-blue-dark); font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 20px; margin-bottom: 24px; width: fit-content; letter-spacing: 0.3px; text-transform: uppercase; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--ic-red); border-radius: 50%; }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem,3.5vw,3rem); line-height: 1.15; color: var(--ic-heading); margin-bottom: 20px; letter-spacing: -0.5px; }
.hero h1 em { font-style: italic; color: var(--ic-blue); }
.hero-sub { font-size: 17px; color: var(--ic-muted); line-height: 1.65; margin-bottom: 36px; max-width: 420px; }
.hero-actions { display: flex; gap: 12px; align-items: center; }
.btn-outline { background: transparent; color: var(--ic-text); padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 400; cursor: pointer; border: 1px solid var(--ic-border); transition: all 0.15s; font-family: inherit; display: flex; align-items: center; gap: 6px; }
.btn-outline:hover { border-color: var(--ic-blue); color: var(--ic-blue); }
.hero-right { overflow: hidden; background: #f0f4f8; }
section { padding: 80px; }
.target-section { background: var(--ic-surface); }
.target-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.target-card { background: var(--ic-white); border-radius: var(--ic-radius); border: 1px solid var(--ic-border); padding: 28px; transition: box-shadow 0.2s, transform 0.2s; }
.target-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.target-icon { width: 44px; height: 44px; background: var(--ic-blue-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.target-icon svg { width: 22px; height: 22px; stroke: var(--ic-blue-dark); fill: none; stroke-width: 1.8; }
.target-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--ic-heading); }
.target-card p { font-size: 14px; color: var(--ic-muted); line-height: 1.6; }
.learn-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ic-blue); font-weight: 500; margin-top: 14px; }
.learn-more::after { content: '→'; transition: transform 0.15s; }
.target-card:hover .learn-more::after { transform: translateX(3px); }
.platform-section { background: var(--ic-white); }
.platform-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; margin-top: 48px; }
.platform-modules { display: flex; flex-direction: column; gap: 16px; }
.module-group { border: 1px solid var(--ic-border); border-radius: var(--ic-radius); overflow: hidden; }
.module-group-header { background: var(--ic-surface); padding: 14px 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--ic-muted); border-bottom: 1px solid var(--ic-border); display: flex; align-items: center; gap: 8px; }
.module-group-header .dot { width: 8px; height: 8px; border-radius: 50%; }
.module-list { padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.module-chip { background: var(--ic-white); border: 1px solid var(--ic-border); border-radius: 6px; padding: 6px 12px; font-size: 13px; color: var(--ic-text); cursor: pointer; transition: all 0.15s; }
.module-chip:hover { border-color: var(--ic-blue); color: var(--ic-blue); background: var(--ic-blue-pale); }
.module-detail { background: var(--ic-blue-dark); border-radius: var(--ic-radius); padding: 36px; color: white; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; }
.module-detail-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; margin-bottom: 12px; }
.module-detail h3 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; margin-bottom: 16px; line-height: 1.2; }
.module-detail p { font-size: 14px; opacity: 0.75; line-height: 1.7; margin-bottom: 24px; flex: 1; }
.module-detail-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.module-feature { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: 0.85; }
.module-feature::before { content: ''; width: 5px; height: 5px; background: var(--ic-red); border-radius: 50%; flex-shrink: 0; }
.diensten-section { background: var(--ic-surface); }
.diensten-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 48px; }
.dienst-card { background: var(--ic-white); border-radius: var(--ic-radius); border: 1px solid var(--ic-border); padding: 32px; transition: all 0.2s; display: flex; flex-direction: column; }
.dienst-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); border-color: var(--ic-blue); }
.dienst-number { font-family: 'DM Serif Display', serif; font-size: 2.5rem; color: var(--ic-blue-pale); line-height: 1; margin-bottom: 16px; }
.dienst-card h3 { font-size: 17px; font-weight: 600; color: var(--ic-heading); margin-bottom: 10px; }
.dienst-card p { font-size: 14px; color: var(--ic-muted); line-height: 1.65; flex: 1; }
.portaal-section { background: var(--ic-blue-dark); color: white; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; padding: 80px; }
.portaal-section .section-title { color: white; }
.portaal-section .section-tag { color: var(--ic-blue-light); }
.portaal-section .section-sub { color: rgba(255,255,255,0.65); max-width: 480px; }
.portaal-features { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.portaal-feature { display: flex; gap: 14px; align-items: flex-start; }
.portaal-feature-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.portaal-feature-icon svg { width: 18px; height: 18px; stroke: #93bfe5; fill: none; stroke-width: 1.8; }
.portaal-feature-text h4 { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.portaal-feature-text p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.blog-section { background: var(--ic-white); }
.security-section { background: var(--ic-blue-pale); }
.security-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.security-card { background: white; border-radius: var(--ic-radius); padding: 24px; border: 1px solid rgba(45,92,136,0.15); }
.security-card svg { width: 28px; height: 28px; stroke: var(--ic-blue-dark); fill: none; stroke-width: 1.5; margin-bottom: 12px; }
.security-card h4 { font-size: 14px; font-weight: 600; color: var(--ic-heading); margin-bottom: 6px; }
.security-card p { font-size: 13px; color: var(--ic-muted); line-height: 1.5; }
.cta-section { background: var(--ic-white); text-align: center; padding: 80px; border-top: 1px solid var(--ic-border); }
.cta-actions { display: flex; gap: 12px; justify-content: center; }

/* ── Subpagina componenten ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; margin: 32px 0; }
.card { background: var(--ic-white); border: 1px solid var(--ic-border); border-radius: var(--ic-radius); padding: 28px; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.card-icon { width: 44px; height: 44px; background: var(--ic-blue-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon svg { width: 22px; height: 22px; stroke: var(--ic-blue-dark); fill: none; stroke-width: 1.8; }
.highlight-box { background: var(--ic-blue-pale); border-radius: var(--ic-radius); padding: 28px 32px; margin: 32px 0; }
.dark-section { background: var(--ic-blue-dark); color: white; border-radius: var(--ic-radius); padding: 40px; margin: 40px 0; }
.dark-section h2, .dark-section h3 { color: white; font-family: 'DM Serif Display', serif; }
.dark-section p { color: rgba(255,255,255,0.75); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin: 32px 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 6px 0 6px 28px; position: relative; color: var(--ic-muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ic-blue); font-weight: 700; }
