/*
Theme Name: RDB Infra
Theme URI: https://rdbinfra.nl
Author: RDB Infra
Author URI: https://rdbinfra.nl
Description: Maatwerk WordPress-thema voor RDB Infra, infrastructuur- en hoveniersbedrijf in Zeeland. Specialisaties: tuin & bestrating, en grondwerk (waterleiding, riool en stroomkabels).
Version: 1.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rdb-infra
*/

  :root{
    --red:#C1121F;
    --red-dark:#9c0e19;
    --navy:#102A43;
    --navy-light:#1c3a5e;
    --white:#FFFFFF;
    --gray:#F7F8FA;
    --charcoal:#1D1D1D;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter',sans-serif;
    color:var(--charcoal);
    background:var(--white);
    overflow-x:hidden;
  }
  h1,h2,h3,h4,.font-head{font-family:'Poppins',sans-serif;}
  a{text-decoration:none;color:inherit;}
  ul{list-style:none;}
  img{max-width:100%;display:block;}
  .container{max-width:1200px;margin:0 auto;padding:0 24px;}
  .btn{
    display:inline-flex;align-items:center;gap:8px;
    padding:15px 30px;border-radius:14px;font-weight:600;
    font-size:15px;cursor:pointer;border:none;
    transition:all .3s cubic-bezier(.4,0,.2,1);
    white-space:nowrap;
  }
  .btn-primary{background:var(--red);color:#fff;box-shadow:0 8px 24px rgba(193,18,31,.35);}
  .nav-links a.btn-primary{padding:11px 22px;font-size:13.5px;border-radius:10px;box-shadow:0 4px 14px rgba(193,18,31,.3);}
  .btn-primary:hover{background:var(--red-dark);transform:translateY(-2px);box-shadow:0 12px 28px rgba(193,18,31,.45);}
  .btn-secondary{background:rgba(255,255,255,.12);color:#fff;border:1.5px solid rgba(255,255,255,.5);backdrop-filter:blur(8px);}
  .btn-secondary:hover{background:rgba(255,255,255,.22);transform:translateY(-2px);}
  .btn-outline-navy{background:transparent;color:var(--navy);border:1.5px solid var(--navy);}
  .btn-outline-navy:hover{background:var(--navy);color:#fff;}

  /* progress bar */
  #progress{position:fixed;top:0;left:0;height:3px;background:var(--red);z-index:9999;width:0%;transition:width .1s;}

  /* nav */
  header{
    position:fixed;top:0;left:0;width:100%;z-index:1000;
    padding:22px 0;transition:all .4s cubic-bezier(.4,0,.2,1);
  }
  header.scrolled{
    background:rgba(16,42,67,.92);backdrop-filter:blur(14px);
    padding:14px 0;box-shadow:0 8px 30px rgba(0,0,0,.15);
  }
  nav{display:flex;align-items:center;justify-content:space-between;}
  .logo{font-family:'Poppins';font-weight:800;font-size:22px;color:#fff;letter-spacing:.5px;display:flex;align-items:center;gap:12px;}
  .logo span{color:var(--red);}
  .logo-badge{width:42px;height:42px;border-radius:50%;background:var(--red);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:19px;color:#fff;flex-shrink:0;}
  .nav-links{display:flex;gap:36px;align-items:center;}
  .nav-links a{color:#fff;font-weight:500;font-size:14.5px;position:relative;padding:4px 0;}
  .nav-links a:not(.btn)::after{content:'';position:absolute;bottom:-3px;left:0;width:0;height:2px;background:var(--red);transition:width .3s;}
  .nav-links a:not(.btn):hover::after{width:100%;}
  .burger{display:none;flex-direction:column;gap:5px;cursor:pointer;z-index:1100;}
  .burger span{width:26px;height:2px;background:#fff;border-radius:2px;transition:.3s;}

  /* hero */
  .hero{
    position:relative;height:100vh;min-height:760px;display:flex;align-items:center;
    background:linear-gradient(195deg,#3a4f63 0%,#1c2e42 38%,#0a1722 75%,#060d15 100%);
    overflow:hidden;
  }
  .hero-photo{position:absolute;inset:0;z-index:0;}
  .hero-photo img.rdb-real-img{width:100%;height:100%;object-fit:cover;display:block;}
  .hero-overlay{
    position:absolute;inset:0;z-index:1;
    background:
      linear-gradient(100deg, rgba(8,20,33,.94) 0%, rgba(10,24,40,.55) 48%, rgba(8,20,33,.4) 100%),
      radial-gradient(ellipse 900px 500px at 80% 30%, rgba(255,150,90,.10), transparent 60%),
      radial-gradient(circle at 15% 15%, rgba(193,18,31,.14), transparent 40%);
  }
  .excavator-wrap{position:absolute;right:-5%;bottom:-10%;width:60%;height:100%;z-index:3;opacity:1;pointer-events:none;}
  .excavator-wrap svg{width:100%;height:100%;}
  @media (max-width:900px){.excavator-wrap{opacity:.5;}}
  .hero-grain{position:absolute;inset:0;z-index:2;opacity:.5;mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  }
  .hero-content{position:relative;z-index:4;padding-top:60px;}
  .eyebrow{
    display:inline-flex;align-items:center;gap:10px;color:#fff;font-size:13px;
    font-weight:600;letter-spacing:1.5px;text-transform:uppercase;
    background:rgba(193,18,31,.18);border:1px solid rgba(193,18,31,.5);
    padding:8px 16px;border-radius:30px;margin-bottom:28px;
  }
  .eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--red);animation:pulse 2s infinite;}
  @keyframes pulse{0%,100%{opacity:1;}50%{opacity:.3;}}
  .hero h1{
    font-size:clamp(40px,6vw,76px);color:#fff;font-weight:800;line-height:1.04;
    max-width:780px;letter-spacing:-1.5px;
  }
  .hero h1 em{font-style:normal;color:var(--red);}
  .hero p{
    color:rgba(255,255,255,.82);font-size:clamp(16px,1.6vw,19px);max-width:560px;
    margin-top:24px;line-height:1.6;
  }
  .hero-btns{display:flex;gap:16px;margin-top:40px;flex-wrap:wrap;}
  .scroll-ind{
    position:absolute;bottom:36px;left:50%;transform:translateX(-50%);
    display:flex;flex-direction:column;align-items:center;gap:8px;color:rgba(255,255,255,.6);
    font-size:11px;letter-spacing:2px;text-transform:uppercase;z-index:2;
  }
  .scroll-mouse{width:24px;height:38px;border:2px solid rgba(255,255,255,.5);border-radius:14px;position:relative;}
  .scroll-mouse::after{content:'';position:absolute;top:6px;left:50%;transform:translateX(-50%);width:4px;height:8px;background:#fff;border-radius:3px;animation:scrollDown 1.6s infinite;}
  @keyframes scrollDown{0%{opacity:1;top:6px;}100%{opacity:0;top:20px;}}

  section{padding:120px 0;}
  .section-gray{background:var(--gray);}
  .eyebrow-light{color:var(--red);font-weight:700;letter-spacing:2px;text-transform:uppercase;font-size:13px;margin-bottom:14px;display:block;}
  .section-title{font-size:clamp(28px,3.6vw,44px);font-weight:700;line-height:1.15;color:var(--navy);max-width:640px;}
  .section-sub{color:#5b6b7c;font-size:17px;margin-top:18px;max-width:560px;line-height:1.65;}
  .section-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:24px;margin-bottom:64px;}

  .reveal{opacity:1;transform:none;transition:opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);}
  .js-anim .reveal{opacity:0;transform:translateY(34px);}
  .reveal.in{opacity:1;transform:translateY(0);}

  /* services */
  .services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
  .service-card{
    background:#fff;border-radius:14px;padding:36px 32px;border:1px solid #eceff3;
    transition:all .35s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;
  }
  .service-card::after{content:'';position:absolute;top:-30px;right:-30px;width:110px;height:110px;border-radius:50%;background:rgba(193,18,31,.05);}
  .service-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(16,42,67,.1);}
  .service-icon{
    width:54px;height:54px;border-radius:14px;background:var(--navy);
    display:flex;align-items:center;justify-content:center;margin-bottom:22px;position:relative;z-index:1;
  }
  .service-icon svg{width:25px;height:25px;stroke:#fff;}
  .service-card h3{font-size:19px;font-weight:600;color:var(--navy);margin-bottom:10px;position:relative;z-index:1;}
  .service-card p{font-size:14.5px;color:#697585;line-height:1.65;position:relative;z-index:1;}
  .service-more{
    margin-top:18px;display:inline-flex;align-items:center;gap:6px;color:var(--red);font-weight:700;
    font-size:14px;position:relative;z-index:1;transition:gap .3s;
  }
  .service-more svg{width:15px;height:15px;stroke:var(--red);transition:transform .3s;}
  .service-card:hover .service-more{gap:10px;}
  .service-sub-list{position:relative;z-index:1;display:flex;flex-direction:column;gap:18px;margin-top:16px;}
  .service-sub-item{display:flex;align-items:flex-start;gap:14px;}
  .service-sub-icon{width:38px;height:38px;border-radius:10px;background:rgba(193,18,31,.08);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .service-sub-icon svg{width:17px;height:17px;stroke:var(--red);}
  .service-sub-item h4{font-size:14.5px;font-weight:600;color:var(--navy);margin-bottom:3px;}
  .service-sub-item p{font-size:13px;color:#697585;line-height:1.55;}

  /* about */
  .about-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;}
  .about-img-wrap{position:relative;}
  .about-img{
    border-radius:14px;height:560px;
    background:
      linear-gradient(155deg, rgba(16,42,67,.6), rgba(16,42,67,.25)),
      repeating-linear-gradient(120deg,#2a4a6e 0 3px,#1c3a5e 3px 46px);
    position:relative;overflow:hidden;box-shadow:0 30px 60px rgba(16,42,67,.25);
  }
  .about-img::after{content:'RDB';position:absolute;bottom:30px;right:30px;font-family:'Poppins';font-weight:800;font-size:120px;color:rgba(255,255,255,.07);}
  .about-badge{
    position:absolute;bottom:-28px;left:-28px;background:var(--red);color:#fff;
    padding:26px 30px;border-radius:14px;box-shadow:0 20px 40px rgba(193,18,31,.35);
  }
  .about-badge .n{font-family:'Poppins';font-size:32px;font-weight:800;}
  .about-badge .l{font-size:12.5px;opacity:.9;}
  .about-text p{color:#5b6b7c;font-size:16.5px;line-height:1.75;margin-top:20px;}
  .feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px;}
  .feature-box{background:var(--gray);border-radius:14px;padding:22px;}
  .feature-box svg{width:24px;height:24px;stroke:var(--red);margin-bottom:12px;}
  .feature-box h4{font-size:15px;font-weight:600;color:var(--navy);}
  .check-list{margin-top:32px;display:flex;flex-direction:column;gap:18px;}
  .check-item{display:flex;align-items:center;gap:16px;}
  .check-circle{width:30px;height:30px;border-radius:50%;background:var(--red);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .check-circle svg{width:15px;height:15px;stroke:#fff;}
  .check-item span{font-size:16.5px;font-weight:600;color:var(--navy);}
  .about-badge2{
    position:absolute;bottom:24px;left:24px;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);
    border-radius:14px;padding:18px 22px;display:flex;align-items:center;gap:14px;box-shadow:0 16px 36px rgba(16,42,67,.18);
  }
  .about-badge2 .ic{width:42px;height:42px;border-radius:50%;background:rgba(193,18,31,.1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .about-badge2 .ic svg{width:20px;height:20px;stroke:var(--red);}
  .about-badge2 .n{font-family:'Poppins';font-size:20px;font-weight:800;color:var(--navy);line-height:1;}
  .about-badge2 .l{font-size:12px;color:#697585;margin-top:2px;}

  /* why us */
  .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
  .why-card{
    background:#fff;border:1.5px solid #eceff3;border-radius:14px;padding:26px 24px;
    display:flex;align-items:center;gap:18px;transition:all .3s;
  }
  .why-card:hover{border-color:rgba(193,18,31,.3);box-shadow:0 14px 32px rgba(16,42,67,.08);}
  .why-check{width:42px;height:42px;border-radius:50%;background:rgba(193,18,31,.1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .why-check svg{width:19px;height:19px;stroke:var(--red);}
  .why-card h4{font-size:16.5px;font-weight:700;color:var(--navy);}
  .stat-banner{
    background:var(--navy);border-radius:14px;padding:46px 50px;margin-top:24px;
    display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:left;position:relative;overflow:hidden;
  }
  .stat-banner::before{content:'';position:absolute;top:-60px;right:10%;width:200px;height:200px;border-radius:50%;background:rgba(193,18,31,.1);}
  .stat-banner .sb-num{font-family:'Poppins';font-weight:800;font-size:46px;color:var(--red);position:relative;z-index:1;}
  .stat-banner .sb-label{color:rgba(255,255,255,.65);font-size:14.5px;margin-top:6px;position:relative;z-index:1;}
  @media (max-width:760px){.stat-banner{grid-template-columns:1fr;text-align:center;}.why-grid{grid-template-columns:1fr;}}

  /* projects */
  .filters{display:flex;gap:10px;flex-wrap:wrap;}
  .filter-btn{
    padding:10px 22px;border-radius:30px;border:1.5px solid #e2e6eb;background:#fff;
    font-size:13.5px;font-weight:600;color:#5b6b7c;cursor:pointer;transition:.3s;
  }
  .filter-btn.active,.filter-btn:hover{background:var(--navy);border-color:var(--navy);color:#fff;}
  .masonry{columns:3 280px;column-gap:20px;margin-top:48px;}
  .proj-item{break-inside:avoid;margin-bottom:20px;border-radius:14px;overflow:hidden;position:relative;cursor:pointer;}
  .proj-img{
    width:100%;display:flex;align-items:flex-end;padding:22px;position:relative;
    background:linear-gradient(155deg,#1c3a5e,#0d2238);transition:transform .5s;
  }
  .proj-item:hover .proj-img{transform:scale(1.04);}
  .proj-img::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.65),transparent 55%);}
  .proj-tag{position:relative;z-index:1;color:#fff;}
  .proj-tag .cat{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#ff8a8a;}
  .proj-tag .name{font-family:'Poppins';font-weight:600;font-size:16px;margin-top:4px;}

  /* process */
  .timeline{display:flex;justify-content:space-between;align-items:flex-start;position:relative;margin-top:70px;}
  .timeline::before{content:'';position:absolute;top:30px;left:30px;right:30px;height:2px;background:#e2e6eb;}
  .timeline-line{position:absolute;top:30px;left:30px;height:2px;background:var(--red);width:0%;transition:width 1.4s cubic-bezier(.4,0,.2,1);}
  .step{flex:1;text-align:center;position:relative;z-index:1;padding:0 8px;}
  .step-num{
    width:60px;height:60px;border-radius:50%;background:#fff;border:2px solid var(--red);color:var(--red);
    font-family:'Poppins';font-weight:700;font-size:20px;display:flex;align-items:center;justify-content:center;
    margin:0 auto 18px;transition:.4s;
  }
  .step.active .step-num{background:var(--red);color:#fff;}
  .step h4{font-size:15px;font-weight:600;color:var(--navy);}

  /* reviews */
  .reviews-wrap{position:relative;max-width:760px;margin:0 auto;}
  .review-card{
    background:#fff;border-radius:14px;padding:50px;text-align:left;box-shadow:0 10px 40px rgba(16,42,67,.08);
    display:none;
  }
  .review-card.active{display:block;animation:fadeIn .6s ease;}
  @keyframes fadeIn{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}
  .stars{display:flex;justify-content:flex-start;gap:4px;margin-bottom:24px;}
  .stars svg{width:20px;height:20px;fill:var(--red);stroke:none;}
  .review-text{font-size:21px;color:var(--navy);line-height:1.6;font-weight:700;font-family:'Poppins';}
  .review-author-row{margin-top:30px;display:flex;align-items:center;gap:14px;}
  .review-avatar{width:46px;height:46px;border-radius:50%;background:var(--navy);color:#fff;font-family:'Poppins';font-weight:700;display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0;}
  .review-author{font-weight:700;color:var(--charcoal);font-family:'Inter';font-size:15.5px;}
  .review-role{color:#8a96a3;font-size:13.5px;}
  .review-dots{display:flex;justify-content:center;gap:8px;margin-top:30px;}
  .rdot{width:9px;height:9px;border-radius:50%;background:#dfe3e8;cursor:pointer;transition:.3s;}
  .rdot.active{background:var(--red);width:24px;border-radius:6px;}

  /* CTA */
  .cta-section{background:var(--navy);position:relative;overflow:hidden;text-align:center;}
  .cta-section::before{content:'';position:absolute;top:-100px;left:-100px;width:340px;height:340px;border-radius:50%;background:rgba(193,18,31,.12);}
  .cta-section::after{content:'';position:absolute;bottom:-120px;right:-80px;width:380px;height:380px;border-radius:50%;background:rgba(255,255,255,.04);}
  .cta-section h2{position:relative;z-index:1;color:#fff;font-size:clamp(30px,4.4vw,52px);max-width:760px;margin:0 auto;line-height:1.15;}
  .cta-section .btn{margin-top:38px;position:relative;z-index:1;}

  /* contact */
  .contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;}
  .contact-item{display:flex;gap:18px;margin-bottom:28px;align-items:flex-start;}
  .contact-icon{width:46px;height:46px;border-radius:12px;background:rgba(193,18,31,.1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .contact-icon svg{width:21px;height:21px;stroke:var(--red);}
  .contact-item h4{font-size:14px;color:#8a96a3;font-weight:500;margin-bottom:3px;}
  .contact-item p,.contact-item a{font-size:16px;color:var(--navy);font-weight:600;}
  .form-card{background:var(--gray);border-radius:14px;padding:44px;}
  .form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
  .form-field{margin-bottom:18px;}
  .form-field label{font-size:13px;font-weight:600;color:var(--navy);margin-bottom:8px;display:block;}
  .form-field input,.form-field textarea{
    width:100%;padding:14px 16px;border-radius:10px;border:1.5px solid #e2e6eb;background:#fff;
    font-family:'Inter';font-size:14.5px;transition:.3s;
  }
  .form-field input:focus,.form-field textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 4px rgba(193,18,31,.1);}
  .form-field textarea{resize:vertical;min-height:120px;}

  footer{background:var(--navy);color:#fff;padding:70px 0 28px;}
  .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;margin-bottom:50px;}
  .footer-grid p{color:rgba(255,255,255,.55);font-size:14.5px;margin-top:16px;line-height:1.6;max-width:280px;}
  .footer-grid h5{font-size:14px;font-weight:600;margin-bottom:18px;letter-spacing:.5px;}
  .footer-grid ul li{margin-bottom:11px;}
  .footer-grid ul a{color:rgba(255,255,255,.6);font-size:14px;transition:.3s;}
  .footer-grid ul a:hover{color:var(--red);}
  .social-row{display:flex;gap:12px;margin-top:20px;}
  .social-row a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transition:.3s;}
  .social-row a:hover{background:var(--red);}
  .social-row svg{width:16px;height:16px;stroke:#fff;}
  .footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:26px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:rgba(255,255,255,.45);font-size:13px;}

  /* faq */
  .faq-item{border-bottom:1px solid #e2e6eb;padding:24px 0;cursor:pointer;}
  .faq-q{display:flex;justify-content:space-between;align-items:center;font-weight:600;color:var(--navy);font-size:16.5px;}
  .faq-q svg{width:20px;height:20px;stroke:var(--red);transition:transform .35s;flex-shrink:0;}
  .faq-item.open .faq-q svg{transform:rotate(45deg);}
  .faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease;}
  .faq-item.open .faq-a{max-height:200px;}
  .faq-a p{color:#5b6b7c;font-size:15px;line-height:1.65;padding-top:14px;max-width:680px;}

  /* whatsapp + back to top */
  .float-btn{
    position:fixed;bottom:28px;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;
    cursor:pointer;z-index:900;box-shadow:0 12px 30px rgba(0,0,0,.25);transition:.3s;
  }
  .wa-btn{right:28px;background:#25D366;}
  .wa-btn:hover{transform:scale(1.08);}
  .wa-btn svg{width:28px;height:28px;fill:#fff;}
  .top-btn{right:28px;bottom:96px;background:var(--navy);opacity:0;pointer-events:none;}
  .top-btn.show{opacity:1;pointer-events:auto;}
  .top-btn svg{width:20px;height:20px;stroke:#fff;}

  /* cookie */
  .cookie-banner{
    position:fixed;bottom:0;left:0;width:100%;background:var(--navy);color:#fff;padding:20px 0;z-index:1500;
    transform:translateY(100%);transition:transform .5s cubic-bezier(.4,0,.2,1);
  }
  .cookie-banner.show{transform:translateY(0);}
  .cookie-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;}
  .cookie-inner p{font-size:13.5px;color:rgba(255,255,255,.75);max-width:600px;}
  .cookie-btns{display:flex;gap:12px;}
  .cookie-btns button{padding:10px 22px;border-radius:10px;font-size:13.5px;font-weight:600;cursor:pointer;border:none;}
  .ck-accept{background:var(--red);color:#fff;}
  .ck-decline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3) !important;}

  @media (max-width:1024px){
    .services-grid{grid-template-columns:repeat(2,1fr);}
    .about-grid{grid-template-columns:1fr;gap:50px;}
    .why-grid{grid-template-columns:repeat(2,1fr);}
    .contact-grid{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr 1fr;}
    .masonry{columns:2 240px;}
  }
  @media (max-width:760px){
    .nav-links{position:fixed;top:0;right:-100%;width:78%;height:100vh;background:var(--navy);flex-direction:column;justify-content:center;gap:30px;transition:right .4s cubic-bezier(.4,0,.2,1);}
    .nav-links.open{right:0;}
    .burger{display:flex;}
    .services-grid{grid-template-columns:1fr;}
    .why-grid{grid-template-columns:1fr;}
    .feature-row{grid-template-columns:1fr;}
    .timeline{flex-direction:column;gap:30px;}
    .timeline::before,.timeline-line{display:none;}
    .form-row{grid-template-columns:1fr;}
    .masonry{columns:1;}
    .stat{padding-right:24px;margin-right:24px;}
    .section-head{flex-direction:column;align-items:flex-start;}
    section{padding:80px 0;}
    .footer-grid{grid-template-columns:1fr;}
  }
  @media (prefers-reduced-motion: reduce){
    *{animation:none !important;transition:none !important;}
  }

/* --- RDB Infra: ondersteuning voor zelf geüploade foto's en logo --- */
.rdb-custom-logo img{max-height:42px;width:auto;display:block;}
.about-img.has-photo{background:none;}
.about-img.has-photo::after{display:none;}
.about-img img.rdb-real-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.proj-img.has-photo{background:none;}
.proj-img.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.proj-img.has-photo::before{z-index:1;}
.proj-img .proj-tag{position:relative;z-index:2;}
