/* ══════════════════════════════════════════════════
   InnovatieLabPortaal – Greijdanus Stijl
   ══════════════════════════════════════════════════ */

:root {
  --cyan:      #00b4c8;
  --cyan-dark: #009aac;
  --cyan-bg:   #e6f8fa;
  --yellow:    #f5c800;
  --yellow-dk: #e0b400;
  --red:       #e8334a;
  --white:     #ffffff;
  --off:       #f7f7f7;
  --text:      #1a1a1a;
  --text2:     #555;
  --border:    #e0e0e0;
  --radius:    12px;
  --shadow:    0 2px 16px rgba(0,0,0,.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
}

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

/* ── ANNOUNCE BAR ── */
.announce-bar {
  background: var(--red); color: white;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .5rem 2rem; font-size: .82rem; font-weight: 600;
}
.announce-bar a { color: white; text-decoration: none; border: 1px solid rgba(255,255,255,.5); padding: .2rem .7rem; border-radius: 6px; font-size: .78rem; }
.announce-bar a:hover { background: rgba(255,255,255,.2); }
.announce-close { margin-left: auto; background: none; border: none; color: white; cursor: pointer; font-size: 1rem; opacity: .7; }

/* ── HEADER ── */
header { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 300; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.header-inner { display: flex; align-items: stretch; max-width: 100%; }
.logo-area { display: flex; flex-direction: column; justify-content: center; padding: .65rem 2rem; text-decoration: none; }
.header-nav { display: flex; align-items: stretch; margin-left: auto; }
.header-nav a { display: flex; align-items: center; padding: 0 1.1rem; font-size: .83rem; font-weight: 700; color: var(--text2); text-decoration: none; border-left: 1px solid var(--border); transition: all .18s; white-space: nowrap; }
.header-nav a:hover { color: var(--cyan); background: var(--cyan-bg); }
.nav-cyan { background: var(--cyan) !important; color: white !important; }
.nav-cyan:hover { background: var(--cyan-dark) !important; }
.nav-yellow { background: var(--yellow) !important; color: var(--text) !important; }
.nav-yellow:hover { background: var(--yellow-dk) !important; }

/* ── HERO ── */
.hero { background: var(--cyan); position: relative; overflow: hidden; padding: 4rem 2rem 6rem; }
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.15) 1.5px, transparent 1.5px); background-size: 30px 30px; pointer-events: none; }
.hero-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-label { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.35); color: white; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(2.8rem,6vw,4.8rem); line-height: .95; letter-spacing: -.01em; color: white; margin-bottom: 1.25rem; text-transform: uppercase; }
.hl { background: var(--yellow); color: var(--text); padding: 0 .12em; display: inline-block; transform: skewX(-3deg); }
.hero-sub { color: rgba(255,255,255,.9); font-size: 1rem; font-weight: 500; max-width: 480px; margin-bottom: 2rem; line-height: 1.65; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; height: 70px; overflow: hidden; }
.hero-wave svg { width: 100%; height: 100%; }

.hero-card { background: white; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hc-head { background: var(--yellow); padding: 1rem 1.25rem; display: flex; align-items: center; gap: .65rem; }
.hc-ico { font-size: 1.4rem; }
.hc-head strong { display: block; font-size: 1rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; }
.hc-head span { font-size: .72rem; color: rgba(0,0,0,.5); }
.hc-steps {}
.hcs { display: flex; align-items: center; gap: .75rem; padding: .7rem 1.25rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
.hcs:last-child { border-bottom: none; }
.hcs:hover { background: var(--off); }
.hcs-n { width: 28px; height: 28px; border-radius: 8px; background: var(--cyan); color: white; display: grid; place-items: center; font-size: .75rem; font-weight: 800; flex-shrink: 0; }
.hcs div { flex: 1; }
.hcs div strong { display: block; font-size: .88rem; font-weight: 700; color: var(--text); }
.hcs div span { font-size: .74rem; color: var(--text2); }
.hcs i { color: var(--cyan); font-style: normal; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .8rem 1.75rem; border-radius: var(--radius); font-family: 'Barlow', sans-serif; font-weight: 800; font-size: .9rem; cursor: pointer; text-decoration: none; border: none; transition: all .2s; }
.btn-yellow { background: var(--yellow); color: var(--text); }
.btn-yellow:hover { background: var(--yellow-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn-outline-w { background: transparent; color: white; border: 2px solid rgba(255,255,255,.45); }
.btn-outline-w:hover { background: rgba(255,255,255,.15); border-color: white; }

/* ── SECTION ── */
.section { padding: 4rem 2rem; }
.bg-off { background: var(--off); }
.wrap { max-width: 1240px; margin: 0 auto; }
.section-tag { display: inline-block; background: var(--yellow); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .7rem; border-radius: 6px; margin-bottom: .75rem; color: var(--text); }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(1.8rem,4vw,2.6rem); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; margin-bottom: .75rem; }
.section-sub { color: var(--text2); font-size: .95rem; max-width: 580px; font-weight: 500; }

/* ── FINDER ── */
.finder-card { background: white; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; margin-top: 2rem; }
.finder-tabs { display: flex; border-bottom: 2px solid var(--border); background: var(--off); }
.ftab { flex: 1; padding: .9rem; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: .85rem; text-align: center; cursor: pointer; border: none; background: transparent; color: var(--text2); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s; }
.ftab.active { background: white; color: var(--cyan); border-bottom-color: var(--cyan); }
.finder-body { padding: 2rem; }
.finder-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: end; }
.fr2 { grid-template-columns: 1fr auto; }
.ff label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); margin-bottom: .4rem; }
.ff select, .ff input[type=text] {
  width: 100%; padding: .75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius);
  font-family: 'Barlow', sans-serif; font-size: .9rem; font-weight: 600; color: var(--text);
  background: white; appearance: none; cursor: pointer; transition: border-color .18s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23aaa' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
}
.ff input[type=text] { background-image: none; }
.ff select:focus, .ff input:focus { outline: none; border-color: var(--cyan); }
.btn-zoek { background: var(--cyan); color: white; border: none; cursor: pointer; padding: .75rem 1.5rem; border-radius: var(--radius); font-family: 'Barlow', sans-serif; font-weight: 800; font-size: .9rem; white-space: nowrap; transition: all .2s; }
.btn-zoek:hover { background: var(--cyan-dark); transform: translateY(-1px); }

.sug-result { display: none; margin-top: 1.5rem; border: 2px solid var(--cyan); border-radius: var(--radius); background: var(--cyan-bg); overflow: hidden; }
.sug-result.show { display: block; animation: fadeUp .3s ease; }
.sug-top { background: var(--cyan); color: white; padding: 1rem 1.5rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.sug-top .sico { font-size: 2rem; }
.sug-top h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.4rem; text-transform: uppercase; }
.sug-top p { font-size: .82rem; opacity: .85; margin-top: .1rem; }
.match-badge { margin-left: auto; background: var(--yellow); color: var(--text); font-size: .72rem; font-weight: 800; padding: .3rem .75rem; border-radius: 999px; }
.sug-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.sug-col { padding: 1.25rem 1.5rem; border-right: 1px solid rgba(0,180,200,.2); }
.sug-col:last-child { border-right: none; }
.sug-col h4 { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan-dark); margin-bottom: .4rem; }
.sug-col p { font-size: .85rem; color: var(--text2); font-weight: 500; line-height: 1.55; }
.sug-actions { padding: 1rem 1.5rem; border-top: 1px solid rgba(0,180,200,.2); display: flex; gap: .65rem; flex-wrap: wrap; }
.sb-p { background: var(--cyan); color: white; border: none; padding: .6rem 1.25rem; border-radius: 8px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: none; transition: background .18s; display: inline-flex; align-items: center; gap: .3rem; }
.sb-p:hover { background: var(--cyan-dark); }
.sb-s { background: white; color: var(--cyan); border: 2px solid var(--cyan); padding: .55rem 1.15rem; border-radius: 8px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: none; transition: all .18s; display: inline-flex; align-items: center; gap: .3rem; }
.sb-s:hover { background: var(--cyan-bg); }

/* ── CARDS ── */
.cards-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.cards-bar-right { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
.pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.pill { padding: .35rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700; cursor: pointer; border: 2px solid var(--border); background: white; color: var(--text2); transition: all .18s; font-family: 'Barlow', sans-serif; }
.pill.active { background: var(--cyan); border-color: var(--cyan); color: white; }
.pill:hover:not(.active) { border-color: var(--cyan); color: var(--cyan); }
.btn-add { display: flex; align-items: center; gap: .45rem; background: var(--yellow); color: var(--text); padding: .6rem 1.2rem; border-radius: var(--radius); font-weight: 800; font-size: .85rem; cursor: pointer; border: none; font-family: 'Barlow', sans-serif; transition: all .2s; text-decoration: none; }
.btn-add:hover { background: var(--yellow-dk); transform: translateY(-1px); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr)); gap: 1.25rem; }
.card { background: white; border: 2px solid var(--border); border-radius: 18px; overflow: hidden; transition: all .22s; cursor: pointer; position: relative; }
.card:hover { border-color: var(--cyan); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-stripe { height: 8px; }
.card-body { padding: 1.4rem 1.4rem 1rem; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .6rem; }
.card-vak { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); }
.card-diff { font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.d-easy    { background: #d1fae5; color: #065f46; }
.d-medium  { background: #fef3c7; color: #92400e; }
.d-project { background: #ede9fe; color: #5b21b6; }
.card-body h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; margin-bottom: .4rem; }
.card-body p { font-size: .84rem; color: var(--text2); line-height: 1.55; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.4rem; border-top: 1px solid var(--border); }
.card-tags { display: flex; gap: .3rem; flex-wrap: wrap; }
.ctag { background: var(--off); color: var(--text2); font-size: .67rem; font-weight: 700; padding: .15rem .45rem; border-radius: 5px; }
.card-time { font-size: .73rem; color: var(--text2); font-weight: 600; white-space: nowrap; }
.card-hover { position: absolute; bottom: 0; left: 0; right: 0; background: white; border-top: 2px solid var(--border); padding: .75rem 1.4rem; display: flex; gap: .5rem; transform: translateY(100%); transition: transform .22s; }
.card:hover .card-hover { transform: translateY(0); }
.chb { flex: 1; padding: .5rem; border-radius: 8px; font-weight: 700; font-size: .78rem; border: none; cursor: pointer; font-family: 'Barlow', sans-serif; transition: background .15s; }
.chb-p { background: var(--cyan); color: white; }
.chb-p:hover { background: var(--cyan-dark); }
.chb-s { background: var(--off); color: var(--text2); }
.chb-s:hover { background: var(--border); }

.empty-state { grid-column: 1/-1; text-align: center; padding: 3rem 1rem; color: var(--text2); }
.empty-state div { font-size: 3rem; margin-bottom: 1rem; }
.empty-state strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 900; text-transform: uppercase; display: block; margin-bottom: .4rem; }
.empty-state a { color: var(--cyan); font-weight: 700; }

/* ── TPACK ── */
.tpack-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; margin-top: 2rem; }
.tpack-svg { width: 100%; }
.tpack-items { display: flex; flex-direction: column; gap: 1rem; }
.ti { background: white; border-radius: var(--radius); padding: 1.1rem 1.25rem 1.1rem 1.5rem; border-left: 5px solid; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.ti h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.05rem; margin-bottom: .2rem; text-transform: uppercase; }
.ti p { font-size: .85rem; color: var(--text2); }

/* ── FOOTER ── */
footer { background: var(--text); color: rgba(255,255,255,.6); padding: 2.5rem 2rem; position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--cyan), var(--yellow), var(--red)); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-name { color: white; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.2rem; text-transform: uppercase; }
footer p { font-size: .78rem; margin-top: .2rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .82rem; font-weight: 600; transition: color .18s; }
.footer-links a:hover { color: var(--cyan); }

/* ── MODAL ── */
.overlay { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 1.5rem; }
.overlay.open { display: flex; }
.modal { background: white; border-radius: 20px; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: fadeUp .25s ease; }
.modal-hd { padding: 1.4rem 1.75rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: white; z-index: 1; }
.modal-hd h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
.modal-x { width: 32px; height: 32px; border-radius: 50%; background: var(--off); border: none; cursor: pointer; font-size: 1rem; display: grid; place-items: center; color: var(--text2); }
.modal-x:hover { background: var(--border); }
.modal-bd { padding: 1.75rem; }
.d-stripe { height: 8px; border-radius: 20px 20px 0 0; }
.tpr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; margin: 1rem 0; }
.tbox { border-radius: 10px; padding: .9rem; }
.tbox-lbl { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .3rem; }
.tbox p { font-size: .82rem; color: var(--text2); line-height: 1.5; }
.step-list { list-style: none; }
.step-list li { display: flex; gap: .65rem; padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .86rem; color: var(--text2); }
.step-list li:last-child { border-bottom: none; }
.sn { width: 22px; height: 22px; border-radius: 6px; background: var(--cyan); color: white; display: grid; place-items: center; font-size: .7rem; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.loading { text-align: center; padding: 2rem; color: var(--text2); font-weight: 600; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .finder-row { grid-template-columns: 1fr 1fr; }
  .finder-row .btn-zoek, .finder-row:not(.fr2) > *:last-child { grid-column: 1/-1; }
  .sug-cols { grid-template-columns: 1fr; }
  .tpack-grid { grid-template-columns: 1fr; }
  .tpack-svg { max-width: 220px; margin: 0 auto; display: block; }
  .tpr { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .announce-bar { display: none; }
  .header-inner { padding: .6rem 1rem; }
  .header-nav a:not(.nav-cyan):not(.nav-yellow) { display: none; }
  .finder-row { grid-template-columns: 1fr; }
  .fr2 { grid-template-columns: 1fr; }
}
