/* V3110 — Mobile homepage is an action dashboard, not a shrunken desktop page. */
.drd-mobile-home-title{display:none}

@media (max-width:760px){
  /* Compact header. Everything else is reachable through the hamburger menu. */
  body.home .site-header{position:relative!important;min-height:64px!important;background:#030303!important}
  body.home .header-inner{height:64px!important;min-height:64px!important;padding-top:0!important;padding-bottom:0!important}
  body.home .brand img,body.home .brand .custom-logo{width:150px!important;max-width:150px!important;max-height:48px!important}
  body.home .menu-toggle{width:44px!important;height:44px!important;flex-basis:44px!important;padding:9px!important;margin-left:auto!important}
  body.home .main-nav{top:64px!important;max-height:calc(100dvh - 64px)!important}

  /* Small clean Rotterdam banner only. No baked-in desktop CTA row / duplicate logo. */
  body.home .drd-hero529{
    display:block!important;
    height:122px!important;
    min-height:122px!important;
    margin:0!important;
    overflow:hidden!important;
    background:#000!important;
    border:0!important;
  }
  body.home .drd-hero529-bg{
    display:block!important;
    inset:0!important;
    background-image:linear-gradient(to bottom,rgba(0,0,0,.03),rgba(0,0,0,.12) 64%,#030303 100%),url('../img/skyline-cinematic-sharp.webp')!important;
    background-size:cover!important;
    background-position:center 57%!important;
    background-repeat:no-repeat!important;
  }
  body.home .drd-hero529 .drd-hit,
  body.home .drd-hero529 .drd-whatsapp-cta,
  body.home .drd-hit-call,
  body.home .drd-hit-quote{display:none!important}

  /* One clear identity line; no sales paragraph underneath it on phone. */
  body.home .drd-mobile-home-title{
    display:block!important;
    padding:15px 0 10px!important;
    margin:0!important;
    background:#030303!important;
  }
  body.home .drd-mobile-home-title .container{width:calc(100% - 24px)!important}
  body.home .drd-mobile-home-title p{
    margin:0!important;
    text-align:center!important;
    color:#f2eee7!important;
    font-size:13px!important;
    font-weight:800!important;
    letter-spacing:.22em!important;
    line-height:1.3!important;
  }

  /* Exactly seven primary mobile choices. */
  body.home .drd-mobile-primary-actions{
    display:block!important;
    padding:0 0 14px!important;
    margin:0!important;
    background:#030303!important;
    border:0!important;
  }
  body.home .drd-mobile-primary-actions .container{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.home .drd-mobile-action{
    appearance:none!important;
    -webkit-appearance:none!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    min-height:76px!important;
    margin:0!important;
    padding:12px 12px 11px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-start!important;
    text-align:left!important;
    border:1px solid rgba(169,127,51,.58)!important;
    border-radius:11px!important;
    background:linear-gradient(180deg,#0b0b0b,#050505)!important;
    color:#fff!important;
    box-shadow:none!important;
    text-decoration:none!important;
    font-family:inherit!important;
  }
  body.home .drd-mobile-action::after{display:none!important;content:none!important}
  body.home .drd-mobile-action small{
    display:block!important;
    margin:0 0 5px!important;
    color:#a97f33!important;
    font-size:7px!important;
    font-weight:800!important;
    letter-spacing:.12em!important;
    line-height:1.25!important;
  }
  body.home .drd-mobile-action strong{
    display:block!important;
    margin:0!important;
    color:#f2eee7!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:17px!important;
    font-weight:700!important;
    line-height:1.05!important;
  }
  body.home .drd-mobile-action>span{display:none!important}
  body.home .drd-mobile-action.is-whatsapp{
    border-color:rgba(185,141,60,.78)!important;
    background:
      radial-gradient(circle at 8% 0%,rgba(37,211,102,.07),transparent 42%),
      linear-gradient(180deg,#0d0d0c 0%,#060606 100%)!important;
  }
  body.home .drd-mobile-action.is-whatsapp small{color:#c49a4a!important}
  body.home .drd-mobile-action.is-whatsapp strong{color:#f7f2e9!important}
  body.home .drd-mobile-action.is-primary{
    background:linear-gradient(180deg,#b98d3c,#936c27)!important;
    border-color:#d4ad63!important;
  }
  body.home .drd-mobile-action.is-primary small{color:#17120b!important}
  body.home .drd-mobile-action.is-primary strong{color:#080808!important}
  body.home .drd-mobile-action.is-urgent{border-color:rgba(212,173,99,.86)!important}
  body.home .drd-mobile-dakassistent{
    grid-column:1/-1!important;
    min-height:72px!important;
    align-items:center!important;
    text-align:center!important;
    background:linear-gradient(90deg,#070707,#11100d,#070707)!important;
    border-color:#a97f33!important;
    cursor:pointer!important;
  }
  body.home .drd-mobile-dakassistent small,
  body.home .drd-mobile-dakassistent strong{text-align:center!important;width:100%!important}
  body.home .drd-mobile-dakassistent strong{color:#d8b267!important;font-size:19px!important}

  /* The separate floating DakAssistent would make eight choices; hide only on mobile homepage. */
  body.home .drd-ai-open{display:none!important}

  /* Old navigation tiles and the long introductory sales copy are not part of the phone start screen. */
  
  body.home .drd-home-seo-intro{display:none!important}

  /* The phone homepage continues with proof, not another wall of navigation/text. */
  body.home .drd-authority-v2539,
  body.home .drd-v2542-proof,
  body.home .drd-trust-section,
  body.home .drd-home-focus,
  body.home .drd-revenue-services,
  body.home .services,
  body.home .emergency-section,
  body.home .heritage,
  body.home .authority-band,
  body.home .drd-full-workarea,
  body.home .drd-home-faq,
  body.home .drd-specialist-routes{display:none!important}

  /* Proof/project blocks that remain should start immediately after the seven buttons. */
  body.home .drd-proof-first-v3000{padding-top:34px!important}
  body.home .drd-proof-first-v3000 .section-head p{display:none!important}
  body.home .drd-evidence-first-v3100{padding-top:42px!important;padding-bottom:42px!important}

  /* No permanent bottom action bar on homepage: the seven buttons already do that job. */
  body.home .mobile-actions{display:none!important}
  body.home{padding-bottom:0!important}
}

@media (max-width:390px){
  body.home .drd-hero529{height:108px!important;min-height:108px!important}
  body.home .drd-mobile-primary-actions .container,
  body.home .drd-mobile-home-title .container{width:calc(100% - 18px)!important}
  body.home .drd-mobile-action{min-height:72px!important;padding:10px!important}
  body.home .drd-mobile-action strong{font-size:16px!important}
}

/* V3111 — definitive phone homepage: the start page IS the dashboard.
   Anything beyond the seven primary actions is reached via Projecten or the hamburger menu. */
@media (max-width:760px){
  body.home .drd-proof-first-v3000,
  body.home .drd-evidence-first-v3100,
  body.home main#main > section:not(.drd-hero529):not(.drd-mobile-home-title):not(.drd-mobile-primary-actions){
    display:none!important;
  }
  body.home .drd-mobile-primary-actions{
    padding-bottom:max(28px,env(safe-area-inset-bottom))!important;
    min-height:0!important;
    display:flex!important;
    align-items:flex-start!important;
  }
  body.home .drd-mobile-primary-actions .container{
    align-self:flex-start!important;
  }
  body.home footer.site-footer,
  body.home .site-footer{display:none!important}
}
@media (max-width:390px){
  body.home .drd-mobile-primary-actions{
    min-height:0!important;
  }
}

/* V3113 — Luxury mobile dashboard. Exact seven agreed actions, premium black/gold treatment. */
@media (max-width:760px){
  body.home .site-header{
    border-bottom:1px solid rgba(169,127,51,.34)!important;
    box-shadow:0 12px 30px rgba(0,0,0,.32)!important;
  }
  body.home .drd-hero529{
    height:116px!important;
    min-height:116px!important;
    border-bottom:1px solid rgba(169,127,51,.18)!important;
  }
  body.home .drd-hero529-bg{
    background-image:
      linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.04) 50%,rgba(3,3,3,.88) 100%),
      url('../img/skyline-cinematic-sharp.webp')!important;
    background-position:center 58%!important;
    filter:saturate(.9) contrast(1.04)!important;
  }
  body.home .drd-mobile-home-title{
    padding:17px 0 14px!important;
    background:linear-gradient(180deg,#030303 0%,#050505 100%)!important;
  }
  body.home .drd-mobile-home-title p{
    font-size:12.5px!important;
    letter-spacing:.28em!important;
    color:#f5f0e8!important;
    text-shadow:0 1px 12px rgba(255,255,255,.05)!important;
  }
  body.home .drd-mobile-primary-actions{
    min-height:0!important;
    padding:0 0 max(24px,env(safe-area-inset-bottom))!important;
    background:
      radial-gradient(circle at 50% 4%,rgba(169,127,51,.08),transparent 35%),
      linear-gradient(180deg,#050505 0%,#020202 100%)!important;
  }
  body.home .drd-mobile-primary-actions .container{
    width:calc(100% - 28px)!important;
    gap:10px!important;
  }
  body.home .drd-mobile-action{
    position:relative!important;
    overflow:hidden!important;
    min-height:84px!important;
    padding:14px 14px 13px!important;
    border:1px solid rgba(185,141,60,.66)!important;
    border-radius:16px!important;
    background:
      linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,0) 38%),
      linear-gradient(180deg,#0c0c0c 0%,#050505 100%)!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.035),
      0 8px 24px rgba(0,0,0,.25)!important;
  }
  body.home .drd-mobile-action:before{
    content:""!important;
    position:absolute!important;
    left:14px!important;
    right:14px!important;
    top:0!important;
    height:1px!important;
    background:linear-gradient(90deg,transparent,rgba(225,185,101,.52),transparent)!important;
    pointer-events:none!important;
  }
  body.home .drd-mobile-action small{
    margin-bottom:7px!important;
    color:#bc9142!important;
    font-size:7px!important;
    letter-spacing:.16em!important;
  }
  body.home .drd-mobile-action strong{
    color:#f7f2e9!important;
    font-size:18px!important;
    line-height:1.08!important;
    letter-spacing:-.015em!important;
  }
  body.home .drd-mobile-action.is-primary{
    background:
      linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,0) 38%),
      linear-gradient(135deg,#d3a34d 0%,#b18235 48%,#8e6624 100%)!important;
    border-color:#e0b766!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 10px 28px rgba(169,127,51,.18)!important;
  }
  body.home .drd-mobile-action.is-primary small{color:#2a1d08!important}
  body.home .drd-mobile-action.is-primary strong{color:#0a0907!important}
  body.home .drd-mobile-action.is-tool{
    background:
      radial-gradient(circle at 10% 0%,rgba(169,127,51,.08),transparent 44%),
      linear-gradient(180deg,#0d0d0c 0%,#060606 100%)!important;
  }
  body.home .drd-mobile-action.is-urgent{
    border-color:rgba(224,183,102,.92)!important;
    background:linear-gradient(180deg,#100d08 0%,#060504 100%)!important;
  }
  body.home .drd-mobile-action.is-maintenance{
    background:linear-gradient(180deg,#0b0b0a 0%,#050505 100%)!important;
  }
  body.home .drd-mobile-dakassistent{
    grid-column:1/-1!important;
    min-height:88px!important;
    border-radius:17px!important;
    border-color:#b98d3c!important;
    background:
      radial-gradient(circle at 50% -30%,rgba(213,173,92,.18),transparent 55%),
      linear-gradient(90deg,#050505 0%,#12100b 50%,#050505 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 10px 30px rgba(0,0,0,.35)!important;
  }
  body.home .drd-mobile-dakassistent small{color:#a97f33!important}
  body.home .drd-mobile-dakassistent strong{
    color:#ddb86d!important;
    font-size:22px!important;
    letter-spacing:-.01em!important;
  }
  body.home .menu-toggle{
    border-color:rgba(169,127,51,.7)!important;
    background:linear-gradient(180deg,#0d0d0d,#070707)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  }
}
@media (max-width:390px){
  body.home .drd-hero529{height:104px!important;min-height:104px!important}
  body.home .drd-mobile-primary-actions{
    min-height:0!important;
  }
  body.home .drd-mobile-primary-actions .container{width:calc(100% - 20px)!important;gap:8px!important}
  body.home .drd-mobile-action{min-height:78px!important;padding:12px!important;border-radius:14px!important}
  body.home .drd-mobile-action strong{font-size:16.5px!important}
  body.home .drd-mobile-dakassistent{min-height:82px!important}
  body.home .drd-mobile-dakassistent strong{font-size:20px!important}
}

/* V3115 — Mobile Polish Final */
@media (max-width:760px){
  /* Premium dashboard rhythm: call + WhatsApp, full-width quote, tools, service, full-width assistant. */
  body.home .drd-mobile-primary-actions .container{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:10px!important;
    align-content:start!important;
  }
  body.home .drd-mobile-primary-actions .drd-mobile-action:nth-child(3){
    grid-column:1 / -1!important;
    min-height:90px!important;
  }
  body.home .drd-mobile-primary-actions .drd-mobile-dakassistent{
    grid-column:1 / -1!important;
  }
  body.home .drd-mobile-action{
    min-width:0!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
  body.home .drd-mobile-action strong{
    max-width:100%!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:manual!important;
  }

  /* Safer mobile headlines on all internal pages: no clipping on long Dutch service names. */
  body:not(.home) main h1,
  body:not(.home) .entry-title,
  body:not(.home) .page-title,
  body:not(.home) .hero h1,
  body:not(.home) [class*="hero"] h1{
    font-size:clamp(38px,11.5vw,58px)!important;
    line-height:.98!important;
    letter-spacing:-.035em!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    hyphens:auto!important;
  }

  /* Floating DakAssistent on inner pages: smaller, lower and less intrusive above the bottom action bar. */
  body:not(.home) .drd-ai-open{
    right:12px!important;
    left:auto!important;
    bottom:calc(82px + env(safe-area-inset-bottom))!important;
    width:min(258px,calc(100vw - 28px))!important;
    min-height:52px!important;
    padding:7px 11px!important;
    border-radius:999px!important;
  }
  body:not(.home) .drd-ai-open-icon{
    flex:0 0 34px!important;
    width:34px!important;
    height:34px!important;
    font-size:19px!important;
  }
  body:not(.home) .drd-ai-open-copy b{
    font-size:13.5px!important;
    line-height:1.08!important;
  }
  body:not(.home) .drd-ai-open-copy small,
  body:not(.home) .drd-ai-open-copy em{
    display:none!important;
  }

  /* More breathing room above the fixed mobile actions on content pages. */
  body:not(.home) main#main{padding-bottom:118px!important}
}

@media (max-width:390px){
  body.home .drd-mobile-primary-actions .container{gap:8px!important}
  body.home .drd-mobile-primary-actions .drd-mobile-action:nth-child(3){min-height:84px!important}
  body:not(.home) main h1,
  body:not(.home) .entry-title,
  body:not(.home) .page-title,
  body:not(.home) .hero h1,
  body:not(.home) [class*="hero"] h1{
    font-size:clamp(34px,11vw,48px)!important;
  }
  body:not(.home) .drd-ai-open{
    width:min(232px,calc(100vw - 24px))!important;
    right:10px!important;
  }
}

/* Mobile content must remain readable and reachable beyond the action cards. */
@media (max-width:760px){
  body.home #main #drd-home-introduction .split{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
  body.home #main #drd-home-introduction h1{font-size:clamp(30px,8vw,38px)!important;line-height:1.15!important;word-break:normal;hyphens:manual}
  body.home #main #drd-home-introduction h2{font-size:clamp(28px,7.5vw,36px)!important;line-height:1.15!important}
  body.home #main #drd-home-projects{display:block!important;padding:36px 0!important}
  body.home #main #drd-home-projects .drd-proof-grid-v3000{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  html body.home footer.site-footer{display:block!important}
  body.home #main .drd-mobile-primary-actions{min-height:0!important}
  body.home #main .drd-mobile-action small{display:block!important;font-size:10px!important;line-height:1.4!important;letter-spacing:.06em!important}
  body.home #main .drd-mobile-action strong{font-size:clamp(16px,4.5vw,21px)!important;line-height:1.2!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:manual!important}
}
