/*
Theme Name: ProSecure Systems – Editierbar
Theme URI: https://prosecure-systems.de/
Author: ProSecure Systems
Description: Editierbare Gutenberg-Version der ProSecure-Systems-Website mit eigenständigen ProSecure-Blöcken.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: prosecure-systems-editable
*/

:root {
  --navy-1000: #020812;
  --navy-950: #030b16;
  --navy-900: #06111f;
  --navy-800: #0a213a;
  --blue-600: #146fd1;
  --blue-500: #2d8fff;
  --blue-400: #61aaff;
  --ink: #0b1728;
  --muted: #657286;
  --line: #e4ebf3;
  --surface: #f7f9fc;
  --white: #fff;
  --container: 1240px;
  --radius: 16px;
  --shadow: 0 20px 55px rgba(8, 35, 65, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; text-rendering: optimizeLegibility; }
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
svg { display: block; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 99999; padding: 10px 16px; color: #fff; background: var(--blue-600); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 50; height: 84px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(2,8,18,.72), rgba(2,8,18,.15)); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand img { width: 48px; height: 56px; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,.18)); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 23px; letter-spacing: -.025em; }
.brand-copy small { margin-top: 7px; color: var(--blue-400); font-size: 10px; font-weight: 800; letter-spacing: .23em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 32px; }
.main-nav a { position: relative; padding: 31px 0 27px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 650; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 18px; height: 2px; background: var(--blue-500); transition: left .2s, right .2s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }
.header-cta { justify-self: end; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 99px; background: #fff; transition: transform .25s, opacity .25s; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; color: #fff; border: 1px solid var(--blue-500); border-radius: 6px; background: linear-gradient(135deg, #1475df, #1b63bb); box-shadow: 0 10px 30px rgba(24,112,218,.25); font-size: 13px; font-weight: 780; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(24,112,218,.36); }
.button-small { min-height: 42px; padding: 9px 18px; }
.button-ghost { border-color: rgba(255,255,255,.52); background: rgba(3,11,22,.36); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.button svg, .text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid rgba(97,170,255,.55); outline-offset: 3px; }

.hero { --hero-image: none; position: relative; min-height: 760px; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(circle at 78% 38%, rgba(43,133,236,.25), transparent 27%), linear-gradient(112deg, #020912 0%, #04111f 52%, #071a2f 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background-image: var(--hero-image); background-repeat: no-repeat; background-position: 82% 50%; background-size: auto 112%; filter: saturate(1.02) contrast(1.03); transform: scale(1.01); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #020912 0%, rgba(2,9,18,.99) 27%, rgba(2,9,18,.83) 46%, rgba(2,9,18,.22) 67%, rgba(2,9,18,.1) 100%), linear-gradient(180deg, rgba(2,8,18,.05), transparent 70%, rgba(2,8,18,.72)); }
.hero-circuit-grid { position: absolute; inset: auto -6% -58px 26%; z-index: -1; height: 48%; opacity: .2; background-image: linear-gradient(rgba(71,145,224,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(71,145,224,.15) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent); transform: perspective(760px) rotateX(70deg) scale(1.75) translateY(30%); transform-origin: bottom; }
.hero-inner { position: relative; min-height: 760px; display: flex; align-items: center; }
.hero-copy { width: min(610px, 50%); padding: 126px 0 70px; }
.eyebrow { margin: 0 0 14px; color: var(--blue-400); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue-600); }
.hero h1 { margin: 0; font-size: clamp(48px, 5.15vw, 74px); line-height: 1.055; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue-400); }
.hero-lead { max-width: 560px; margin: 27px 0 31px; color: rgba(255,255,255,.76); font-size: 18px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.trust-row { margin-top: 52px; display: flex; gap: 32px; }
.trust-row > div { display: flex; align-items: center; gap: 11px; min-width: 0; }
.trust-row svg { width: 29px; height: 29px; flex: 0 0 auto; fill: none; stroke: #fff; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.trust-row span { display: grid; color: rgba(255,255,255,.64); font-size: 11px; line-height: 1.45; }
.trust-row strong { color: #fff; font-weight: 700; }
.hero-card { position: absolute; right: 0; bottom: 47px; width: min(420px, 36vw); display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(3,12,23,.78); box-shadow: 0 20px 55px rgba(0,0,0,.34); backdrop-filter: blur(14px); }
.hero-card svg { width: 34px; height: 34px; flex: 0 0 auto; fill: none; stroke: var(--blue-400); stroke-width: 1.7; }
.hero-card div { display: grid; gap: 4px; }
.hero-card strong { font-size: 14px; }
.hero-card span { color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.55; }

.section { padding: 104px 0; }
.section-heading { max-width: 810px; margin: 0 auto 56px; }
.section-heading.centered { text-align: center; }
.section-heading h2, .region h2, .security-check h2, .cta h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading h2::after { content: ""; display: block; width: 42px; height: 3px; margin: 18px auto 0; border-radius: 99px; background: var(--blue-500); }
.section-heading p:last-child { max-width: 710px; margin: 22px auto 0; color: var(--muted); font-size: 17px; }
.approach { background: linear-gradient(#fff, #f8fafc); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.process-card { position: relative; min-height: 260px; padding: 29px 25px; border: 1px solid #e6edf5; border-radius: var(--radius); background: #fff; box-shadow: 0 10px 35px rgba(10,33,62,.05); transition: transform .25s, box-shadow .25s, border-color .25s; }
.process-card:hover { transform: translateY(-7px); border-color: #bedaff; box-shadow: var(--shadow); }
.icon-box { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 15px; color: var(--blue-600); background: #edf6ff; }
.icon-box svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.process-card .step { position: absolute; top: 28px; right: 26px; color: #c6d1df; font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.process-card h3 { margin: 0 0 9px; font-size: 21px; }
.process-card p { margin: 0; color: var(--muted); font-size: 14px; }
.service-teasers { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 42px; }
.service-teaser { padding: 26px 28px; color: #fff; border: 1px solid rgba(255,255,255,.07); border-radius: 15px; background: linear-gradient(145deg, #0c2139, #071524); box-shadow: 0 15px 35px rgba(6,17,31,.12); }
.service-teaser span { color: var(--blue-400); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.service-teaser h3 { margin: 9px 0 8px; font-size: 20px; }
.service-teaser p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }

.region { position: relative; overflow: hidden; padding: 90px 0; color: #fff; background: linear-gradient(105deg, #06111f, #0a2037); }
.region::before { content: ""; position: absolute; inset: auto 0 0; height: 120px; opacity: .33; background: linear-gradient(150deg, transparent 35%, #030b14 35.2% 46%, transparent 46.2%), linear-gradient(210deg, transparent 45%, #030b14 45.2% 56%, transparent 56.2%); background-size: 520px 130px; }
.region-glow { position: absolute; width: 420px; height: 420px; right: 9%; top: -130px; border-radius: 50%; background: rgba(45,143,255,.17); filter: blur(90px); }
.region-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.region-copy h2 { font-size: clamp(32px,4vw,48px); }
.region-copy h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 20px; background: var(--blue-500); }
.region-copy > p:last-of-type { max-width: 560px; margin: 25px 0; color: rgba(255,255,255,.68); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-400); font-weight: 750; }
.region-map svg { width: 100%; max-height: 340px; overflow: visible; }
.map-outline { fill: rgba(31,110,193,.1); stroke: rgba(97,170,255,.55); stroke-width: 3; stroke-linejoin: round; }
.map-line { fill: none; stroke: rgba(97,170,255,.18); stroke-width: 2; stroke-dasharray: 6 8; }
.map-dot { fill: #fff; stroke: var(--blue-500); stroke-width: 5; filter: drop-shadow(0 0 10px #2d8fff); }
.map-pulse { fill: none; stroke: var(--blue-400); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.2s infinite; }
.map-pulse.delay { animation-delay: 1.1s; }
.region-map text { fill: #fff; font-size: 18px; font-weight: 700; }
@keyframes mapPulse { 0% { transform:scale(.6); opacity:.9 } 100% { transform:scale(2.2); opacity:0 } }

.audiences { background: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.audience { min-height: 210px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 29px 20px; border: 1px solid #e5ebf2; border-radius: 16px; background: #fbfcfe; }
.audience svg { width: 47px; height: 47px; margin-bottom: 21px; color: var(--blue-600); fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.audience strong { font-size: 17px; }
.audience span { margin-top: 8px; color: var(--muted); font-size: 13px; }

.security-check { --shield-image:none; position: relative; overflow: hidden; padding: 105px 0; color: #fff; background: radial-gradient(circle at 15% 20%, rgba(45,143,255,.16), transparent 28%), var(--navy-950); }
.security-check::before { content: ""; position: absolute; left: -180px; bottom: -190px; width: 680px; height: 510px; background: var(--shield-image) center / contain no-repeat; opacity: .08; filter: blur(.2px); pointer-events: none; }
.check-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.check-copy > p:not(.eyebrow) { color: rgba(255,255,255,.67); font-size: 17px; }
.check-list { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); }
.check-list svg { width: 21px; height: 21px; fill: none; stroke: var(--blue-400); stroke-width: 1.7; }
.contact-form { padding: 35px; color: var(--ink); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label:not(.privacy-check):not(.honeypot) { display: grid; gap: 7px; margin-bottom: 15px; color: #26364a; font-size: 13px; font-weight: 750; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 13px; color: var(--ink); border: 1px solid #dce4ee; border-radius: 9px; background: #f8fafc; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { min-height: 125px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(45,143,255,.12); outline: none; }
.contact-form .invalid { border-color: #cc3846; box-shadow: 0 0 0 3px rgba(204,56,70,.1); }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 20px; color: var(--muted); font-size: 12px; }
.privacy-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue-600); }
.privacy-check a { color: var(--blue-600); text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit { border: 0; }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.form-status.is-success { color: #18723b; }
.form-status.is-error { color: #b42332; }

.cta { padding: 48px 0; color: #fff; border-top: 1px solid rgba(255,255,255,.07); background: linear-gradient(105deg, #071525, #0b2744); }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.cta-icon { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid rgba(97,170,255,.15); border-radius: 16px; color: var(--blue-400); background: rgba(45,143,255,.1); }
.cta-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.cta h2 { font-size: clamp(24px,3vw,34px); }
.cta p { margin: 8px 0 0; color: rgba(255,255,255,.62); }

.site-footer { padding: 72px 0 24px; color: #fff; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .8fr .7fr 1.2fr; gap: 42px; }
.footer-brand p, .footer-contact p { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-grid h3 { margin: 0 0 17px; font-size: 13px; }
.footer-grid > div:not(.footer-brand) > a { display: block; margin: 8px 0; color: rgba(255,255,255,.55); font-size: 12px; transition: color .2s; }
.footer-grid > div > a:hover { color: #fff; }
.footer-contact > a { display: flex !important; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; fill: none; stroke: var(--blue-400); stroke-width: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 20px; color: rgba(255,255,255,.34); border-top: 1px solid rgba(255,255,255,.07); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }


.legal-shell { min-height: 100vh; background: var(--surface); }
.legal-hero { --legal-image: none; position: relative; min-height: 410px; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(circle at 78% 42%, rgba(45,143,255,.23), transparent 24%), linear-gradient(112deg, #020912 0%, #061423 56%, #0a213a 100%); }
.legal-hero::before { content: ""; position: absolute; inset: 58px 4vw -92px 46%; z-index: -3; background-image: var(--legal-image); background-repeat: no-repeat; background-position: right center; background-size: min(560px, 52vw) auto; opacity: .68; filter: saturate(1.02) contrast(1.03); -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 18%, #000 42%), linear-gradient(180deg, transparent 0%, #000 14%, #000 85%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 18%, #000 42%), linear-gradient(180deg, transparent 0%, #000 14%, #000 85%, transparent 100%); }
.legal-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #020912 0%, rgba(2,9,18,.98) 33%, rgba(2,9,18,.78) 52%, rgba(2,9,18,.2) 77%, rgba(2,9,18,.05) 100%), linear-gradient(180deg, rgba(2,8,18,.06), transparent 68%, rgba(2,8,18,.54)); }
.legal-circuit-grid { position: absolute; inset: auto -8% -100px 33%; z-index: -1; height: 62%; opacity: .16; background-image: linear-gradient(rgba(71,145,224,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(71,145,224,.16) 1px, transparent 1px); background-size: 58px 58px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 72%, transparent); mask-image: linear-gradient(180deg, transparent, #000 24%, #000 72%, transparent); transform: perspective(720px) rotateX(70deg) scale(1.65) translateY(30%); transform-origin: bottom; }
.legal-hero-inner { position: relative; z-index: 2; width: 100%; padding: 132px 0 74px; }
.legal-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; color: rgba(255,255,255,.52); font-size: 12px; font-weight: 650; }
.legal-breadcrumb a { transition: color .2s; }
.legal-breadcrumb a:hover { color: #fff; }
.legal-breadcrumb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.legal-hero h1 { max-width: 740px; margin: 0; font-size: clamp(48px, 6vw, 72px); line-height: 1.06; letter-spacing: -.045em; }
.legal-hero-intro { max-width: 680px; margin: 22px 0 0; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.7; }

.legal-page { min-height: 50vh; padding: 78px 0 105px; background: radial-gradient(circle at 95% 10%, rgba(45,143,255,.08), transparent 24%), linear-gradient(180deg, #f7f9fc, #fff 48%, #f7f9fc); }
.legal-page + .site-footer, .legal-shell + .site-footer { margin-top: 0; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 34px; }
.legal-sidebar { position: sticky; top: 108px; }
.legal-nav-card { overflow: hidden; border: 1px solid #dfe8f2; border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 18px 45px rgba(8,35,65,.08); backdrop-filter: blur(12px); }
.legal-nav-label { margin: 0; padding: 22px 22px 14px; color: #8793a4; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.legal-nav { display: grid; padding: 0 10px 12px; }
.legal-nav > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 12px; color: #536176; border-radius: 10px; font-size: 14px; font-weight: 730; transition: color .2s, background .2s, transform .2s; }
.legal-nav > a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s; }
.legal-nav > a:hover { color: var(--blue-600); background: #eef6ff; transform: translateX(2px); }
.legal-nav > a:hover svg { transform: translateX(2px); }
.legal-nav > a.current { color: #fff; background: linear-gradient(135deg, #1475df, #1b63bb); box-shadow: 0 9px 22px rgba(20,111,209,.22); }
.legal-contact-box { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; padding: 20px 18px; color: #fff; background: linear-gradient(145deg, #08192c, #0b2744); }
.legal-contact-box > svg { width: 27px; height: 27px; flex: 0 0 auto; fill: none; stroke: var(--blue-400); stroke-width: 1.7; }
.legal-contact-box > div { display: grid; gap: 4px; min-width: 0; }
.legal-contact-box strong { font-size: 12px; }
.legal-contact-box a { color: rgba(255,255,255,.65); font-size: 11px; overflow-wrap: anywhere; }
.legal-contact-box a:hover { color: #fff; }

.legal-card { --legal-card-pad: clamp(34px, 5vw, 58px); max-width: 920px; margin: 0 auto; padding: var(--legal-card-pad); border: 1px solid #e1e9f2; border-radius: 20px; background: #fff; box-shadow: 0 24px 65px rgba(8,35,65,.1); }
.legal-layout .legal-card { width: 100%; max-width: none; margin: 0; }
.legal-card-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: calc(0px - var(--legal-card-pad)) calc(0px - var(--legal-card-pad)) 42px; padding: 19px var(--legal-card-pad); border-bottom: 1px solid #e7edf4; background: linear-gradient(90deg, #f8fbff, #fff); border-radius: 20px 20px 0 0; }
.legal-card-badge { color: var(--blue-600); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.legal-home-link { display: inline-flex; align-items: center; gap: 8px; color: #6b7789; font-size: 12px; font-weight: 720; transition: color .2s; }
.legal-home-link:hover { color: var(--blue-600); }
.legal-home-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.legal-card > h1 { margin: 0 0 28px; font-size: clamp(38px,5vw,56px); letter-spacing: -.04em; }
.legal-content { color: #536176; font-size: 15.5px; line-height: 1.78; }
.legal-content > :first-child { margin-top: 0; }
.legal-content h1, .legal-content h2, .legal-content h3, .legal-content h4 { color: var(--ink); line-height: 1.25; letter-spacing: -.025em; }
.legal-content h1 { margin: 0 0 28px; font-size: clamp(34px, 4vw, 48px); }
.legal-content h2 { position: relative; margin: 48px 0 18px; padding-top: 5px; font-size: clamp(24px, 2.8vw, 31px); }
.legal-content h2::before { content: ""; display: block; width: 38px; height: 3px; margin-bottom: 15px; border-radius: 99px; background: var(--blue-500); }
.legal-content h3 { margin: 32px 0 13px; font-size: 20px; }
.legal-content h4 { margin: 26px 0 10px; font-size: 17px; }
.legal-content p { margin: 0 0 18px; color: #5f6c7e; }
.legal-content ul, .legal-content ol { margin: 0 0 22px; padding-left: 24px; }
.legal-content li { margin: 7px 0; color: #5f6c7e; }
.legal-content strong { color: #17263a; }
.legal-content a { color: var(--blue-600); font-weight: 650; text-decoration: underline; text-decoration-color: rgba(20,111,209,.32); text-underline-offset: 3px; }
.legal-content a:hover { text-decoration-color: currentColor; }
.legal-content hr { height: 1px; margin: 38px 0; border: 0; background: #e5ebf2; }
.legal-content blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--blue-500); border-radius: 0 12px 12px 0; color: #3e5066; background: #f1f7ff; }
.legal-content table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14px; }
.legal-content th, .legal-content td { padding: 13px 14px; text-align: left; border: 1px solid #dfe7f0; }
.legal-content th { color: var(--ink); background: #f3f7fb; }


@media (max-width: 1100px) {
  .main-nav { gap: 19px; }
  .header-cta { display: none; }
  .hero::before { background-position: 78% 50%; background-size: auto 103%; }
  .hero-copy { width: min(620px, 56%); }
  .hero h1 { font-size: clamp(48px,6vw,66px); }
  .trust-row { gap: 20px; }
  .process-grid, .audience-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.3fr repeat(3,1fr); }
  .footer-contact { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { height: 74px; background: rgba(2,9,18,.92); backdrop-filter: blur(14px); }
  html { scroll-padding-top: 76px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 40px; height: 47px; }
  .brand-copy strong { font-size: 19px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 74px 0 auto; display: grid; gap: 0; padding: 12px 20px 22px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(2,9,19,.98); transform: translateY(-125%); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
  .admin-bar .main-nav { inset-block-start: 120px; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav a::after { display: none; }
  .hero { min-height: 930px; }
  .hero::before { background-position: 58% bottom; background-size: auto 59%; }
  .hero::after { background: linear-gradient(180deg, #020912 0%, rgba(2,9,18,.98) 43%, rgba(2,9,18,.56) 63%, rgba(2,9,18,.08) 100%); }
  .hero-inner { min-height: 930px; align-items: flex-start; }
  .hero-copy { width: 100%; padding: 132px 0 390px; }
  .hero-lead { max-width: 640px; }
  .hero-card { left: 50%; right: auto; bottom: 26px; width: min(520px,94%); transform: translateX(-50%); }
  .trust-row { flex-wrap: wrap; }
  .section { padding: 82px 0; }
  .service-teasers { grid-template-columns: 1fr; }
  .region-inner, .check-inner { grid-template-columns: 1fr; gap: 48px; }
  .region-map { order: -1; }
  .cta-inner { grid-template-columns: auto 1fr; }
  .cta .button { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-copy small { letter-spacing: .16em; }
  .hero { min-height: 930px; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 38px; }
  .trust-row > div:last-child { grid-column: 1 / -1; }
  .hero-copy { padding: 120px 0 370px; }
  .hero::before { background-position: 54% bottom; background-size: auto 49%; }
  .hero-card { bottom: 17px; padding: 15px 16px; }
  .section-heading { margin-bottom: 38px; }
  .process-grid, .audience-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 23px 19px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta .button { grid-column: auto; justify-self: stretch; }
  .cta-icon { width: 58px; height: 58px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .legal-card { padding: 28px 22px; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Legal pages: responsive refinements */
@media (max-width: 980px) {
  .legal-hero::before { inset-inline-start: 44%; background-size: min(510px, 64vw) auto; opacity: .54; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .legal-nav-card { display: grid; grid-template-columns: 1fr auto; align-items: stretch; }
  .legal-nav-label { grid-column: 1 / -1; }
  .legal-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .legal-contact-box { width: 290px; margin: 0; }
}

@media (max-width: 820px) {
  .legal-hero { min-height: 380px; }
  .legal-hero::before { inset: 72px -50px -90px 31%; background-size: 450px auto; opacity: .38; }
  .legal-hero::after { background: linear-gradient(90deg, #020912 0%, rgba(2,9,18,.96) 58%, rgba(2,9,18,.55) 100%), linear-gradient(180deg, transparent, rgba(2,8,18,.58)); }
  .legal-hero-inner { padding: 124px 0 68px; }
  .legal-hero h1 { font-size: clamp(43px, 9vw, 60px); }
  .legal-hero-intro { max-width: 560px; font-size: 16px; }
  .legal-page { padding: 55px 0 82px; }
  .legal-nav-card { grid-template-columns: 1fr; }
  .legal-contact-box { width: auto; }
}

@media (max-width: 560px) {
  .legal-hero { min-height: 355px; }
  .legal-hero::before { inset: 84px -94px -52px 22%; background-size: 380px auto; opacity: .27; }
  .legal-breadcrumb { margin-bottom: 28px; }
  .legal-hero-inner { padding: 112px 0 56px; }
  .legal-hero h1 { font-size: 41px; }
  .legal-hero-intro { margin-top: 17px; font-size: 14px; }
  .legal-page { padding: 38px 0 66px; }
  .legal-nav { grid-template-columns: 1fr; }
  .legal-card { padding: 29px 21px; border-radius: 15px; }
  .legal-card-header { align-items: flex-start; margin: -29px -21px 32px; padding: 17px 21px; border-radius: 15px 15px 0 0; }
  .legal-home-link { font-size: 11px; }
  .legal-content { font-size: 14.5px; }
  .legal-content h2 { margin-top: 39px; font-size: 24px; }
  .legal-content h3 { font-size: 19px; }
  .legal-content table { display: block; overflow-x: auto; }
}

/* Editable theme additions */
.editable-homepage > .wp-block-prosecure-hero,
.editable-homepage > .wp-block-prosecure-approach,
.editable-homepage > .wp-block-prosecure-region,
.editable-homepage > .wp-block-prosecure-audiences,
.editable-homepage > .wp-block-prosecure-security-check,
.editable-homepage > .wp-block-prosecure-cta { margin: 0; }
.main-nav-list { display: flex; align-items: center; justify-content: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.main-nav li { margin: 0; padding: 0; }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: #fff; }
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { left: 0; right: 0; }
@media (max-width: 820px) {
  .main-nav-list { display: grid; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav li a { display: block; }
}
