/* DO3L Marketing Groeiscan v4 — Echte lightbox modal */

/* Variabelen beschikbaar voor ALLE plugin-elementen */
.do3l-teaser, .do3l-overlay, .do3l-trigger, .do3l-modal {
  --navy:#1A2B4A; --navy-deep:#0F1C32; --orange:#E8672A; --orange-h:#CF5820;
  --orange-light:#FDF0E8; --orange-mid:#F28347; --green:#1A7A52; --green-light:#EAF4EE;
  --red:#C0392B; --amber:#D17B20; --text:#1E1E1E; --text-muted:#5A5A5A;
  --text-faint:#A0A0A0; --border:#E0DDD8; --border-mid:#C8C4BC;
  --bg:#F6F5F2; --bg-card:#FFFFFF; --bg-subtle:#F0EEE9;
  --r:6px; --rlg:12px; --max:700px;
  font-family:'Open Sans',sans-serif;
}

/* ── TEASER ── */
.do3l-teaser { background:var(--navy); border-radius:12px; padding:52px 40px 44px; }
.do3l-teaser .teaser-eyebrow { display:block; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--orange); margin-bottom:14px; }
.do3l-teaser .teaser-title   { font-family:'Raleway',sans-serif; font-size:34px; font-weight:800; color:#fff !important; line-height:1.15; margin-bottom:16px; }
.do3l-teaser .teaser-sub     { font-size:15px; color:rgba(255,255,255,.72); line-height:1.7; margin-bottom:28px; max-width:560px; }
.do3l-teaser .teaser-pillars { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:32px; }
.do3l-teaser .tp             { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:20px; padding:6px 16px; font-size:12px; font-weight:600; color:rgba(255,255,255,.75); }
.do3l-btn-primary            { display:inline-flex; align-items:center; gap:8px; padding:14px 32px; background:#E8672A; background:var(--orange,#E8672A); color:#fff; border:none; border-radius:6px; border-radius:var(--r,6px); font-family:'Open Sans',sans-serif; font-size:14px; font-weight:700; letter-spacing:.04em; cursor:pointer; text-transform:uppercase; transition:background .15s,transform .1s; }
.do3l-btn-primary:hover      { background:#CF5820; background:var(--orange-h,#CF5820); transform:translateY(-1px); }

/* ── OVERLAY (achtergrond) ── */
.do3l-overlay {
  display:none;
  position:fixed; inset:0; z-index:999999;
  background:rgba(10,18,35,.75);
  backdrop-filter:blur(3px);
  overflow-y:auto;
  padding:32px 16px;
}
.do3l-overlay.do3l-open { display:flex; align-items:flex-start; justify-content:center; }

/* ── MODAL ── */
.do3l-modal {
  background:var(--bg); border-radius:16px;
  width:100%; max-width:740px;
  margin:auto; position:relative;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  overflow:hidden;
  animation:do3lModalIn .25s ease;
}
@keyframes do3lModalIn { from{opacity:0;transform:translateY(20px) scale(.97)} to{opacity:1;transform:none} }

/* Modal header */
.do3l-modal .dlb-header       { background:#0F1C32; position:relative; height:64px; }
.do3l-modal .logo-wrap        { position:absolute; left:20px; top:50%; transform:translateY(-50%); display:flex; align-items:center; text-decoration:none; max-width:55%; overflow:hidden; }
.do3l-modal .logo-img         { height:30px; width:auto; max-width:150px; display:block; }
.do3l-modal .logo-text        { font-family:'Raleway',sans-serif; font-weight:800; font-size:18px; color:#fff; white-space:nowrap; }
.do3l-modal .dlb-header-right { position:absolute; right:16px; top:50%; transform:translateY(-50%); display:flex; flex-direction:row; align-items:center; gap:8px; }
.do3l-modal .lang-toggle      { display:flex; gap:2px; background:rgba(255,255,255,.08); border-radius:5px; padding:3px; }
.do3l-modal .lang-btn         { padding:4px 12px; border-radius:4px; border:none; background:transparent; color:rgba(255,255,255,.5); font-size:11px; font-family:'Open Sans',sans-serif; font-weight:700; cursor:pointer; text-transform:uppercase; transition:all .15s; }
.do3l-modal .lang-btn.active  { background:var(--orange); color:#fff; }
.do3l-modal .dlb-close        { width:34px; height:34px; border-radius:50%; border:none; background:rgba(255,255,255,.1); color:rgba(255,255,255,.7); font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; line-height:1; }
.do3l-modal .dlb-close:hover  { background:rgba(255,255,255,.2); color:#fff; }

/* Modal body */
.do3l-modal .dlb-body { }

/* Steps */
.do3l-modal .do3l-step        { display:none; }
.do3l-modal .do3l-step.active { display:block; animation:do3lFadeUp .22s ease; }
@keyframes do3lFadeUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

/* Page body in modal */
.do3l-modal .page-body { max-width:var(--max); margin:0 auto; padding:32px 32px 40px; }

/* Progress */
.do3l-modal .progress-wrap  { margin-bottom:22px; }
.do3l-modal .progress-meta  { display:flex; justify-content:space-between; margin-bottom:8px; }
.do3l-modal .progress-cat   { font-family:'Raleway',sans-serif; font-size:12px; font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:.07em; }
.do3l-modal .progress-pct   { font-size:12px; color:var(--text-faint); }
.do3l-modal .progress-track { height:4px; background:var(--border); border-radius:2px; overflow:hidden; }
.do3l-modal .progress-fill  { height:100%; background:var(--orange); border-radius:2px; transition:width .4s; }

/* Categorie header */
.do3l-modal .cat-header     { margin-bottom:22px; padding-bottom:14px; border-bottom:2px solid var(--navy); }
.do3l-modal .cat-step-label { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--orange); margin-bottom:5px; }
.do3l-modal .cat-title      { font-family:'Raleway',sans-serif; font-size:20px; font-weight:800; color:var(--navy); margin-bottom:3px; }
.do3l-modal .cat-sub        { font-size:13px; color:var(--text-muted); }

/* Vragen */
.do3l-modal .question-block { margin-bottom:20px; }
.do3l-modal .question-text  { font-size:14px; font-weight:600; color:var(--navy); margin-bottom:9px; line-height:1.5; }
.do3l-modal .options        { display:flex; flex-direction:column; gap:6px; }
.do3l-modal .opt-btn        { display:flex; align-items:flex-start; gap:11px; padding:10px 13px; border:1.5px solid var(--border); border-radius:var(--r); background:var(--bg-card); cursor:pointer; text-align:left; transition:all .15s; font-family:'Open Sans',sans-serif; }
.do3l-modal .opt-btn:hover  { border-color:var(--orange-mid); background:var(--orange-light); }
.do3l-modal .opt-btn.selected { border-color:var(--orange); background:var(--orange-light); }
.do3l-modal .opt-radio      { width:16px; height:16px; border-radius:50%; border:2px solid var(--border-mid); flex-shrink:0; margin-top:2px; display:flex; align-items:center; justify-content:center; transition:all .15s; }
.do3l-modal .opt-btn.selected .opt-radio { border-color:var(--orange); background:var(--orange); }
.do3l-modal .opt-btn.selected .opt-radio::after { content:''; width:5px; height:5px; border-radius:50%; background:#fff; }
.do3l-modal .opt-label      { font-size:13px; color:var(--text); line-height:1.4; }
.do3l-modal .nav-row        { display:flex; justify-content:space-between; align-items:center; margin-top:24px; padding-top:18px; border-top:1px solid var(--border); }

/* Buttons */
.do3l-modal .btn-primary  { display:inline-flex; align-items:center; gap:7px; padding:12px 26px; background:var(--orange); color:#fff; border:none; border-radius:var(--r); font-family:'Open Sans',sans-serif; font-size:13px; font-weight:700; letter-spacing:.04em; cursor:pointer; text-transform:uppercase; transition:background .15s,transform .1s; text-decoration:none; }
.do3l-modal .btn-primary:hover  { background:var(--orange-h); transform:translateY(-1px); }
.do3l-modal .btn-secondary{ display:inline-flex; align-items:center; gap:6px; padding:10px 18px; background:transparent; color:var(--text-muted); border:1.5px solid var(--border-mid); border-radius:var(--r); font-family:'Open Sans',sans-serif; font-size:13px; font-weight:600; cursor:pointer; transition:all .15s; }
.do3l-modal .btn-secondary:hover { border-color:var(--navy); color:var(--navy); background:var(--bg-subtle); }

/* Lead capture */
.do3l-modal .lc-card    { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--rlg); padding:28px; }
.do3l-modal .lc-eyebrow { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--orange); margin-bottom:7px; }
.do3l-modal .lc-title   { font-family:'Raleway',sans-serif; font-size:22px; font-weight:800; color:var(--navy); margin-bottom:9px; line-height:1.2; }
.do3l-modal .lc-sub     { font-size:13px; color:var(--text-muted); margin-bottom:22px; line-height:1.65; }
.do3l-modal .form-field  { margin-bottom:13px; }
.do3l-modal .form-label  { display:block; font-size:11px; font-weight:700; color:var(--navy); margin-bottom:5px; text-transform:uppercase; letter-spacing:.06em; }
.do3l-modal .form-input  { width:100%; padding:10px 13px; border:1.5px solid var(--border-mid); border-radius:var(--r); background:var(--bg-card); color:var(--text); font-size:14px; font-family:'Open Sans',sans-serif; outline:none; transition:border-color .15s; }
.do3l-modal .form-input:focus { border-color:var(--orange); box-shadow:0 0 0 3px rgba(232,103,42,.12); }
.do3l-modal .form-input::placeholder { color:var(--text-faint); }
.do3l-modal .privacy-note { font-size:11px; color:var(--text-faint); margin-top:12px; line-height:1.6; }

/* Resultaten */
.do3l-modal .results-header  { background:var(--navy); border-radius:var(--rlg); padding:24px; margin-bottom:20px; display:flex; align-items:center; gap:20px; }
.do3l-modal .score-circle    { width:80px; height:80px; border-radius:50%; background:rgba(255,255,255,.08); border:3px solid var(--orange); display:flex; flex-direction:column; align-items:center; justify-content:center; flex-shrink:0; }
.do3l-modal .score-num       { font-family:'Raleway',sans-serif; font-size:28px; font-weight:800; color:#fff; line-height:1; }
.do3l-modal .score-denom     { font-size:10px; color:rgba(255,255,255,.45); margin-top:2px; }
.do3l-modal .score-verdict   { font-family:'Raleway',sans-serif; font-size:19px; font-weight:700; color:#fff; line-height:1.2; margin-bottom:5px; }
.do3l-modal .score-sub-label { font-size:12px; color:rgba(255,255,255,.5); }
.do3l-modal .spider-section  { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--rlg); padding:20px; margin-bottom:20px; }
.do3l-modal .section-title   { font-family:'Raleway',sans-serif; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; color:var(--navy); padding-bottom:9px; margin-bottom:14px; border-bottom:2px solid var(--navy); }
.do3l-modal .spider-layout   { display:flex; align-items:center; gap:24px; }
.do3l-modal .spider-right    { flex:1; display:flex; flex-direction:column; gap:7px; }
.do3l-modal .legend-item     { display:flex; align-items:center; gap:8px; }
.do3l-modal .legend-bar-wrap { flex:1; height:4px; background:var(--border); border-radius:3px; overflow:hidden; }
.do3l-modal .legend-bar-fill { height:100%; border-radius:3px; transition:width .7s; }
.do3l-modal .legend-name     { font-size:10px; font-weight:600; color:var(--text-muted); width:110px; flex-shrink:0; line-height:1.3; }
.do3l-modal .legend-score    { font-family:'Raleway',sans-serif; font-size:12px; font-weight:700; min-width:32px; text-align:right; }
.do3l-modal .sw-grid         { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:16px; }
.do3l-modal .sw-card         { border-radius:var(--r); padding:12px 14px; }
.do3l-modal .sw-card.strength{ background:var(--green-light); border-left:3px solid var(--green); }
.do3l-modal .sw-card.weakness{ background:var(--orange-light); border-left:3px solid var(--orange); }
.do3l-modal .sw-label        { font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; margin-bottom:7px; }
.do3l-modal .sw-card.strength .sw-label { color:var(--green); }
.do3l-modal .sw-card.weakness .sw-label { color:var(--orange); }
.do3l-modal .sw-item         { font-size:11px; color:var(--text); line-height:1.45; margin-bottom:4px; padding-left:11px; position:relative; }
.do3l-modal .sw-item::before { content:'›'; position:absolute; left:0; font-weight:800; }
.do3l-modal .sw-card.strength .sw-item::before { color:var(--green); }
.do3l-modal .sw-card.weakness .sw-item::before { color:var(--orange); }
.do3l-modal .section-title-md{ font-family:'Raleway',sans-serif; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; color:var(--navy); padding-bottom:9px; margin-bottom:14px; border-bottom:2px solid var(--navy); }
.do3l-modal .result-cards    { display:flex; flex-direction:column; gap:10px; margin-bottom:24px; }
.do3l-modal .result-card     { background:var(--bg-card); border:1px solid var(--border); border-left:4px solid; border-radius:var(--r); padding:14px 16px; }
.do3l-modal .result-card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:7px; }
.do3l-modal .result-cat-name { font-family:'Raleway',sans-serif; font-size:11px; font-weight:800; color:var(--navy); text-transform:uppercase; letter-spacing:.05em; }
.do3l-modal .result-score-val{ font-family:'Raleway',sans-serif; font-size:17px; font-weight:800; }
.do3l-modal .result-bar-track{ height:3px; background:var(--border); border-radius:2px; overflow:hidden; margin-bottom:9px; }
.do3l-modal .result-bar-fill { height:100%; border-radius:2px; transition:width .8s; }
.do3l-modal .result-advice   { font-size:12px; color:var(--text-muted); line-height:1.6; background:var(--bg-subtle); padding:9px 12px; border-radius:var(--r); border-left:3px solid var(--orange); }
.do3l-modal .text-analysis   { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--rlg); padding:20px; margin-bottom:20px; }
.do3l-modal .text-analysis p { font-size:13px; color:var(--text-muted); line-height:1.75; margin-bottom:10px; }
.do3l-modal .highlight-text  { color:var(--navy); font-weight:600; }
.do3l-modal .cta-block       { background:var(--navy); border-radius:var(--rlg); padding:24px 28px; display:flex; gap:20px; align-items:center; }
.do3l-modal .cta-text        { flex:1; }
.do3l-modal .cta-eyebrow     { font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--orange); margin-bottom:7px; }
.do3l-modal .cta-title       { font-family:'Raleway',sans-serif; font-size:18px; font-weight:800; color:#fff; line-height:1.25; margin-bottom:7px; }
.do3l-modal .cta-sub         { font-size:12px; color:rgba(255,255,255,.65); line-height:1.65; }
.do3l-modal .cta-action      { flex-shrink:0; }
.do3l-modal .do3l-footer     { background:var(--navy-deep); padding:16px 24px; text-align:center; font-size:11px; color:rgba(255,255,255,.3); border-radius:0 0 16px 16px; }
.do3l-modal .do3l-footer a   { color:rgba(255,255,255,.45); text-decoration:none; }
.do3l-modal .do3l-footer a:hover { color:var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width:768px) {
  .do3l-overlay { padding:16px 12px; }
  .do3l-teaser  { padding:36px 24px 32px; border-radius:8px; }
  .do3l-teaser .teaser-title { font-size:26px; }
  .do3l-modal .page-body { padding:24px 20px 32px; }
  .do3l-modal .cat-title { font-size:18px; }
}
@media (max-width:580px) {
  .do3l-overlay { padding:12px 8px; }
  .do3l-modal { border-radius:12px; }
  .do3l-teaser .teaser-title  { font-size:22px; }
  .do3l-teaser .teaser-pillars{ display:none; }
  .do3l-modal .dlb-header     { height:56px; padding:0 14px; flex-wrap:nowrap; }
  .do3l-modal .logo-img       { height:28px; max-width:130px; }
  .do3l-modal .lang-btn       { padding:3px 8px; font-size:10px; }
  .do3l-modal .dlb-close      { width:30px; height:30px; font-size:16px; }
  .do3l-modal .page-body      { padding:20px 16px 28px; }
  .do3l-modal .results-header { flex-direction:column; align-items:flex-start; gap:14px; }
  .do3l-modal .spider-layout  { flex-direction:column; }
  .do3l-modal .sw-grid        { grid-template-columns:1fr; }
  .do3l-modal .cta-block      { flex-direction:column; }
  .do3l-modal .cta-action     { width:100%; }
  .do3l-modal .cta-action .btn-primary { width:100%; justify-content:center; }
  .do3l-modal .nav-row        { flex-wrap:wrap; gap:8px; }
  .do3l-modal .nav-row .btn-primary,
  .do3l-modal .nav-row .btn-secondary { width:100%; justify-content:center; }
}

/* ── TRIGGER KNOP ── */
.do3l-trigger { padding: 8px 0; }

/* ── STAP 0 INTRO IN MODAL ── */
.do3l-modal .dlb-hero          { background: var(--navy); padding: 36px 32px 28px; text-align: left; }
.do3l-modal .dlb-hero .hero-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.do3l-modal .dlb-hero h1       { font-family: 'Raleway', sans-serif; font-size: 30px; font-weight: 800; color: #fff !important; line-height: 1.2; margin-bottom: 12px; }
.do3l-modal .dlb-hero p        { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.7; max-width: 560px; }
.do3l-modal .dlb-hero > *      { max-width: var(--max); margin-left: 0; margin-right: auto; display: block; text-align: left; }
