/* TheNextReview — gedeelde stijl voor subpagina's (integraties).
   Zelfde design-tokens als index.html, zodat de site één geheel blijft. */

:root {
    --brand: #B8845C;
    --brand-dark: #9A6D47;
    --brand-light: #D4A87C;
    --brand-bg: #FDF6F0;
    --brand-bg-alt: #FAF0E6;
    --cream: #FFFCF8;
    --white: #FFFFFF;
    --text: #2D2319;
    --text-secondary: #6B5B4E;
    --text-muted: #9B8E82;
    --border: #EDE4DA;
    --border-light: #F5EDE5;
    --green: #2E7D4F;
    --green-bg: #E8F5ED;
    --red: #C53030;
    --shadow-sm: 0 1px 3px rgba(45,35,25,0.06);
    --shadow-md: 0 4px 16px rgba(45,35,25,0.08);
    --shadow-lg: 0 12px 40px rgba(45,35,25,0.1);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream); color: var(--text); line-height: 1.6;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }

/* ── NAV ──
   LET OP: scope op #navbar, NIET op de kale `nav`-selector. De pagina bevat ook een
   <nav class="crumb"> (kruimelpad); die kreeg anders óók position:fixed en legde zich
   over de header heen, waardoor het menu onzichtbaar werd. */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center;
    backdrop-filter: blur(16px); background: rgba(255,252,248,0.85);
    border-bottom: 1px solid var(--border-light); transition: all 0.3s ease;
}
#navbar.scrolled { padding: 0.7rem 2rem; box-shadow: var(--shadow-sm); }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 40px; max-width: 180px; object-fit: contain; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.btn-nav {
    background: var(--brand); color: #fff !important; padding: 0.6rem 1.3rem;
    border-radius: 999px; font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
}
.btn-nav:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-nav-login { color: var(--text) !important; font-weight: 600; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── PAGE SHELL ── */
.page { padding-top: 76px; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 2rem; }
.section-label {
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--brand); font-weight: 700; margin-bottom: 0.8rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-label.center { justify-content: center; }
.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; line-height: 1.2; margin-bottom: 1rem;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }

/* ── BREADCRUMB ── */
.crumb { position: static; display: block; padding: 1.6rem 0 0; font-size: 0.82rem; color: var(--text-muted); background: none; border: none; backdrop-filter: none; }
.crumb a { color: var(--brand); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ── HERO ── */
.ipage-hero { padding: 2rem 0 3rem; background: linear-gradient(180deg, var(--brand-bg) 0%, var(--cream) 100%); }
.ipage-hero .wrap { text-align: center; }
.lockup { display: inline-flex; align-items: center; gap: 1.2rem; margin-bottom: 1.4rem; }
.lockup img { height: 44px; width: auto; object-fit: contain; }
.lockup .x { font-size: 1.3rem; color: var(--text-muted); }
.badge {
    display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
    padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1rem;
    background: var(--white); border: 1px solid var(--border); color: var(--brand);
}
.badge[data-status="live"] { background: var(--green-bg); border-color: #CDE8D6; color: var(--green); }
.badge[data-status="brein"] { background: var(--brand-bg-alt); border-color: #EFD9C2; color: var(--brand-dark); }
.ipage-hero h1 {
    font-family: 'DM Serif Display', serif; font-weight: 400;
    font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.15; margin: 0.3rem auto 1rem; max-width: 800px;
}
.ipage-intro { font-size: 1.08rem; color: var(--text-secondary); max-width: 720px; margin: 0 auto; line-height: 1.75; }
.cta-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.btn-primary {
    display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
    padding: 0.85rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
    transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
    display: inline-block; background: var(--white); color: var(--text); text-decoration: none;
    padding: 0.85rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
    border: 1px solid var(--border); transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ── KPI ── */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.6rem 0; }
.kpi { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.kpi-v { font-family: 'DM Serif Display', serif; font-size: 1.9rem; line-height: 1; color: var(--brand); }
.kpi-l { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.5rem; line-height: 1.35; }

/* ── SECTIONS ── */
.block { padding: 3rem 0; }
.block.alt { background: var(--white); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.block-head { text-align: center; margin-bottom: 2rem; }
.block-head .section-subtitle { max-width: 700px; margin: 0 auto; }
.lead { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; max-width: 760px; margin: 0 auto; text-align: center; }

/* ── FLOW ── */
.flow { list-style: none; display: grid; gap: 0.9rem; max-width: 760px; margin: 0 auto; }
.flow li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.flow .step { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.flow h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.flow p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ── FEATURE CARDS ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: all 0.2s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card .ico { font-size: 1.5rem; display: block; margin-bottom: 0.6rem; }
.card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.closing { text-align: center; max-width: 720px; margin: 2rem auto 0; color: var(--text-secondary); font-size: 1rem; line-height: 1.75; font-style: italic; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.2rem 1.2rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; padding: 1rem 2rem 1rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0.8rem; font-size: 1.3rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.7; padding-bottom: 1.1rem; }

/* ── OVERVIEW CARDS ── */
.ov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ov-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.8rem; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.ov-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-light); }
.ov-logo { height: 38px; width: auto; object-fit: contain; }
.ov-cat { font-size: 0.76rem; color: var(--text-muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ov-card h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.4rem; }
.ov-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; flex: 1; }
.ov-link { color: var(--brand); font-weight: 600; font-size: 0.9rem; }

/* ── FINAL CTA ── */
.final { text-align: center; margin: 3rem auto; padding: 3rem 2rem; background: linear-gradient(180deg, var(--brand-bg) 0%, var(--brand-bg-alt) 100%); border-radius: var(--radius-lg); max-width: 1060px; }
.final h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.6rem; }
.final p { color: var(--text-secondary); }

/* ── SITEMAP FOOTER ── */
footer { border-top: 1px solid var(--border); background: var(--white); padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1060px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-brand-col .footer-logo { height: 32px; width: auto; margin-bottom: 0.8rem; }
.footer-tagline { color: var(--text-secondary); font-size: 0.86rem; line-height: 1.6; margin-bottom: 1rem; max-width: 260px; }
.footer-contact { color: var(--text-muted); font-size: 0.82rem; line-height: 1.8; }
.footer-contact a { color: var(--brand); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-col h3 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
    max-width: 1060px; margin: 2.5rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--border-light);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
    color: var(--text-muted); font-size: 0.8rem;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    #navbar .nav-links { display: none; }
    #navbar .nav-links.open {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(255,252,248,0.98); padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); gap: 1rem;
    }
    .mobile-menu-btn { display: flex; }
    .cards, .ov-grid { grid-template-columns: 1fr 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}
@media (max-width: 620px) {
    .wrap { padding: 0 1.2rem; }
    .kpis { grid-template-columns: 1fr 1fr; }
    .cards, .ov-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .lockup img { height: 34px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
