Redirect a rejected/dropped connection (via mangle marked packets)

My Setup.
LAN>Hapac2 (running DHCP)+Pihole>SXTlte (doing NAT for Hapac2)>ISP.
Blocking “youtube” (for address list) via L7 + mangle (connection+packet marking) + firewall rules. All in Hapac2. All works.
Request - would like to redirect the rejected connection (keeping the above method), to the raspberry pi running a custom html page.
Any direction is appreciated…