/* ============================================================
 * The Real Barista — Toepassingen-pagina styles
 * Geport van _src/toepassingen.php regel 39-90 + responsive 113-128.
 * ============================================================ */

/* PAGE HERO */
.page-hero {
    padding: 160px 8vw 90px;
    background: var(--charcoal-2);
    position: relative; overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: ''; position: absolute; top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 700px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(138,158,126,.1) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-inner .eyebrow { justify-content: center; color: var(--sage-light); }
.page-hero-inner .eyebrow::before { background: var(--sage); }
.page-hero-inner .display { color: var(--white); font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero-inner .display em { color: var(--sage-light); }
.page-hero-inner .body-text { color: rgba(247,244,238,.6); max-width: 560px; margin: 16px auto 36px; }

/* ANCHOR NAV */
.toep-nav {
    background: var(--white);
    border-bottom: 1px solid var(--cream-mid);
    position: sticky; top: 70px; z-index: 100;
    overflow-x: auto;
}
.toep-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 8vw; display: flex; gap: 0; }
.tn-link {
    flex-shrink: 0; padding: 16px 20px;
    font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--mid);
    transition: color .2s, border-color .2s;
    border-bottom: 2px solid transparent;
    font-weight: 400; white-space: nowrap;
}
.tn-link:hover, .tn-link.active { color: var(--charcoal); border-bottom-color: var(--sage-dark); }

/* TOEPASSING SECTIONS */
.s-toep { padding: 100px 8vw; position: relative; }
.s-toep:nth-of-type(odd)  { background: var(--white); }
.s-toep:nth-of-type(even) { background: var(--cream); }
.toep-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.toep-inner.reverse { direction: rtl; }
.toep-inner.reverse > * { direction: ltr; }
.toep-photo { border-radius: 10px; overflow: hidden; position: relative; }
.toep-photo img { width: 100%; height: 500px; object-fit: cover; border-radius: 10px; transition: transform .5s; }
.toep-photo:hover img { transform: scale(1.03); }
.toep-badge {
    position: absolute; top: 20px; left: 20px;
    background: rgba(26,26,24,.75); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1); border-radius: 6px;
    padding: 8px 14px;
    font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--sage-light); font-weight: 400;
}
.toep-content .eyebrow { margin-bottom: 14px; }
.toep-content .display { margin-bottom: 16px; }
.toep-content .body-text { margin-bottom: 20px; }
.toep-bullets { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.tb { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--charcoal); font-weight: 300; }
.tb::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.toep-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* STATS BAND */
.s-stats { padding: 80px 8vw; background: var(--charcoal-2); position: relative; overflow: hidden; }
.s-stats::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 400px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(138,158,126,.07) 0%, transparent 70%);
    pointer-events: none;
}
.stats-inner { max-width: 1280px; margin: 0 auto; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: rgba(255,255,255,.06);
    border-radius: 10px; overflow: hidden; margin-top: 56px;
}
.stat-item { background: rgba(255,255,255,.03); padding: 40px 32px; text-align: center; }
.stat-num { font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 3.8rem); font-weight: 300; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,244,238,.35); font-weight: 400; }
.stats-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }

/* WERKWIJZE */
.s-werkwijze { padding: 120px 8vw; background: var(--charcoal); }
.werkwijze-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-n { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: rgba(153,160,152,.25); line-height: 1; text-align: right; margin-top: -4px; }
.step-c h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.step-c p { font-size: .87rem; color: rgba(247,244,238,.5); line-height: 1.7; font-weight: 300; }

@media (max-width: 1024px) {
    .toep-inner { grid-template-columns: 1fr; gap: 48px; }
    .toep-inner.reverse { direction: ltr; }
    .toep-photo img { height: 360px; }
    .stats-header { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .werkwijze-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .toep-photo img { height: 280px; }
}
