/* ============================================================================
   RBCONCEPTS — websites en procesautomatisering
   Licht, modern, conversiegericht. Vanilla, geen dependencies.
   ============================================================================ */

:root {
  --accent:       #6366f1;   /* indigo */
  --accent-2:     #8b5cf6;   /* violet */
  --accent-deep:  #4f46e5;
  --accent-soft:  #eef0fe;
  --grad:         linear-gradient(120deg, #6366f1, #8b5cf6);

  --ink:          #0f1222;
  --ink-soft:     #5b6172;
  --bg:           #ffffff;
  --bg-soft:      #f6f7fb;
  --line:         #ebecf3;
  --white:        #ffffff;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  --radius:       20px;
  --radius-sm:    13px;
  --shadow:       0 30px 60px -28px rgba(40, 40, 90, 0.28);
  --shadow-sm:    0 14px 34px -18px rgba(40, 40, 90, 0.22);
  --container:    1160px;
}

/* ============================================================ RESET ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.13; letter-spacing: -.02em; color: var(--ink); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================ BUTTONS ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .97rem;
  padding: .78rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(99,102,241,.65); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(99,102,241,.7); }
.btn--soft { background: var(--white); color: var(--accent-deep); border-color: var(--line); }
.btn--soft:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-sm); }

/* ============================================================ HEADER ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(40,40,90,.3); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; font-size: .95rem; font-weight: 800; flex: none; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .55rem .9rem; border-radius: 999px; font-weight: 500; font-size: .96rem; color: var(--ink-soft); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__cta { background: var(--ink); color: #fff !important; font-weight: 600; padding: .6rem 1.2rem !important; font-family: var(--font-display); }
.nav__cta:hover { background: #1d2236 !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 9px; }
.nav-toggle span { width: 25px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================ HERO ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }
.hero__glow { position: absolute; top: -200px; right: -120px; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(139,92,246,.28), transparent 60%), radial-gradient(circle at 70% 60%, rgba(99,102,241,.22), transparent 60%);
  filter: blur(20px); z-index: 0; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero__copy h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -.03em; margin: 1.2rem 0; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2.2rem; }
.hero__points li { position: relative; padding-left: 1.7rem; color: var(--ink); font-weight: 500; font-size: .95rem; }
.hero__points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.hero__points li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.pill { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--accent-deep); background: var(--accent-soft); padding: .4rem 1rem; border-radius: 999px; }
.pill--dark { color: #fff; background: rgba(255,255,255,.16); }

/* ---- HERO ILLUSTRATIE ---- */
.hero__art { position: relative; min-height: 420px; }
.browser { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.browser__bar { display: flex; gap: 7px; padding: 13px 16px; background: #fbfbfe; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e1e2ee; }
.browser__bar i:nth-child(1) { background: #ff6b6b; }
.browser__bar i:nth-child(2) { background: #ffc44d; }
.browser__bar i:nth-child(3) { background: #4ad295; }
.browser__body { padding: 20px; }
.bb-hero { height: 96px; border-radius: 12px; background: var(--grad); margin-bottom: 16px; opacity: .92; }
.bb-row { display: flex; gap: 10px; margin-bottom: 10px; }
.bb-row span { height: 12px; border-radius: 6px; background: #ececf4; flex: 1; }
.bb-row span.w40 { flex: 0 0 40%; }
.bb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.bb-cards div { height: 60px; border-radius: 10px; background: #f1f1f9; border: 1px solid var(--line); }

.chip { position: absolute; display: flex; align-items: center; gap: .65rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--shadow-sm); }
.chip strong { display: block; font-family: var(--font-display); font-size: .9rem; }
.chip small { color: var(--ink-soft); font-size: .8rem; }
.chip__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #e7faf0; color: #1ba968; font-size: .9rem; flex: none; }
.chip__ico--bolt { background: var(--accent-soft); color: var(--accent-deep); }
.chip--1 { left: -28px; bottom: 48px; }
.chip--2 { right: -20px; top: 30px; }

.float-a { animation: floatY 6s ease-in-out infinite; }
.float-b { animation: floatY 5s ease-in-out infinite .4s; }
.float-c { animation: floatY 7s ease-in-out infinite .8s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================ WAARDESTRIP ============================================================ */
.valuestrip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.valuestrip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 1.8rem; }
.vs { padding-left: 1rem; border-left: 3px solid var(--accent); }
.vs span { display: block; font-family: var(--font-display); font-weight: 700; }
.vs small { color: var(--ink-soft); font-size: .88rem; }

/* ============================================================ SECTIES ============================================================ */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__intro { color: var(--ink-soft); font-size: 1.1rem; margin-top: .9rem; }

/* ============================================================ DIENSTEN ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__ico { width: 60px; height: 60px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 1.4rem; }
.feature__ico svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.55rem; margin-bottom: .7rem; }
.feature p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.ticks { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.ticks li { position: relative; padding-left: 1.9rem; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 7px; height: 4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks--light li { color: rgba(255,255,255,.95); }
.ticks--light li::before { background: rgba(255,255,255,.2); }
.ticks--light li::after { border-color: #fff; }
.link-arrow { font-family: var(--font-display); font-weight: 600; color: var(--accent-deep); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ============================================================ WERKWIJZE ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ============================================================ TARIEVEN ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured { border-color: transparent; box-shadow: var(--shadow); outline: 2px solid var(--accent); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .8rem; padding: .35rem 1rem; border-radius: 999px; white-space: nowrap; }
.plan__name { font-size: 1.4rem; }
.plan__desc { color: var(--ink-soft); font-size: .95rem; margin-top: .3rem; min-height: 2.6em; }
.plan__price { display: flex; align-items: baseline; gap: .5rem; margin: 1rem 0 1.4rem; }
.plan__price .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; letter-spacing: -.03em; }
.plan__price .amount::before { content: "€"; font-size: 1.4rem; font-weight: 700; vertical-align: super; margin-right: 2px; }
.plan__price .per { color: var(--ink-soft); font-size: .92rem; }
.plan__list { display: grid; gap: .65rem; margin-top: 1.6rem; }
.plan__list li { position: relative; padding-left: 1.8rem; font-size: .96rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.plan__list li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 7px; height: 3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ============================================================ MAATWERK ============================================================ */
.custom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; background: linear-gradient(135deg, #16182b, #2a2350); border-radius: 28px; padding: clamp(2.2rem, 5vw, 3.4rem); color: #fff; }
.custom__copy h2 { color: #fff; margin: 1rem 0; }
.custom__copy p { color: rgba(255,255,255,.82); margin-bottom: 1.4rem; }
.custom__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 1.8rem; }
.custom__label { font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: #c9c4f7; text-transform: uppercase; letter-spacing: .08em; }
.custom__price { display: flex; align-items: baseline; gap: .5rem; margin: .6rem 0 .9rem; }
.custom__price .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; }
.custom__price .amount::before { content: "€"; font-size: 1.3rem; vertical-align: super; margin-right: 2px; }
.custom__price .per { color: rgba(255,255,255,.7); font-size: .9rem; }
.custom__note { color: rgba(255,255,255,.82); font-size: .95rem; }
.custom__div { height: 1px; background: rgba(255,255,255,.16); margin: 1.3rem 0; }
.custom__small { color: rgba(255,255,255,.65); font-size: .88rem; }

/* ============================================================ FAQ ============================================================ */
.faq { display: grid; gap: .9rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.4rem; transition: box-shadow .25s, border-color .25s; }
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: var(--accent-soft); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.15rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .25s; }
.faq__plus::before { left: 0; top: 8px; width: 18px; height: 2.5px; }
.faq__plus::after { left: 8px; top: 0; width: 2.5px; height: 18px; }
.faq__item[open] .faq__plus::after { transform: scaleY(0); }
.faq__item p { color: var(--ink-soft); padding-bottom: 1.2rem; margin-top: -.2rem; }

/* ============================================================ CONTACT ============================================================ */
.contact-section { background: var(--bg-soft); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.2rem; align-items: start; }
.contact__copy h2 { margin-bottom: 1rem; }
.contact__copy > p { color: var(--ink-soft); margin-bottom: 1.8rem; }
.contact__list { display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: .9rem; }
.contact__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); flex: none; font-size: 1.05rem; }
.contact__list a:hover { color: var(--accent-deep); }

.contact__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; font-family: inherit; font-size: 1rem; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfbfe; transition: border-color .2s, box-shadow .2s; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(99,102,241,.14); }
.field textarea { resize: vertical; }
.form-note { margin-top: 1rem; font-size: .9rem; color: var(--accent-deep); background: var(--accent-soft); padding: .85rem 1.05rem; border-radius: var(--radius-sm); }
.form-note--error { color: #b42318; background: #fdecea; }

/* ============================================================ FOOTER ============================================================ */
.site-footer { background: #0f1222; color: rgba(255,255,255,.66); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.brand--light { color: #fff; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 280px; font-size: .95rem; }
.site-footer__col h4 { color: #fff; font-family: var(--font-display); font-size: .95rem; margin-bottom: 1.05rem; }
.site-footer__col a, .site-footer__col span { display: block; margin-bottom: .55rem; font-size: .95rem; transition: color .2s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

/* ============================================================ REVEAL ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.duo .feature:nth-child(2), .pricing .plan:nth-child(2), .contact__form { transition-delay: .1s; }
.pricing .plan:nth-child(3) { transition-delay: .2s; }
.steps .step:nth-child(2) { transition-delay: .1s; }
.steps .step:nth-child(3) { transition-delay: .2s; }
.steps .step:nth-child(4) { transition-delay: .3s; }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__art { min-height: 360px; max-width: 460px; }
  .duo, .pricing, .contact, .custom { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .valuestrip__inner { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .plan--featured { order: -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: stretch; gap: .3rem; background: #fff; padding: 5.5rem 1.4rem 2rem; box-shadow: var(--shadow); transform: translateX(100%); transition: transform .3s ease; z-index: 40; }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: .9rem 1rem; }
  .nav__cta { text-align: center; margin-top: .4rem; }
  .nav-toggle { display: flex; z-index: 45; }
  .steps, .valuestrip__inner, .field-row, .site-footer__grid { grid-template-columns: 1fr; }
  .chip--1 { left: 0; }
  .chip--2 { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
