/* EIGENKERN V3.9 | Seamless hero + Wächter visual finish.
   Existing media and all live HTML interactions remain unchanged.
   Decorative backdrops never contain claims or source information. */

/* HERO: more visible on-premises / protected data ambience with a true
   soft overlap. The office photo source and interactive proof stay intact. */
.v37-hero-frame{
  background:linear-gradient(111deg,#edf7fa 0%,#deedf3 52%,#d4e4ec 100%)!important;
}
.v37-hero-frame::before{
  width:83%!important;
  opacity:.36!important;
  filter:saturate(.83) contrast(1.035)!important;
  background-position:center 52%!important;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.64) 0%,#000 37%,rgba(0,0,0,.75) 69%,transparent 99%)!important;
  mask-image:linear-gradient(90deg,rgba(0,0,0,.64) 0%,#000 37%,rgba(0,0,0,.75) 69%,transparent 99%)!important;
}
@media(min-width:901px){
  .v37-hero-frame .v19-hero-copy{
    z-index:3!important;
    isolation:isolate;
  }
  .v37-hero-frame .v19-hero-visual{
    z-index:2!important;
    margin-left:-92px!important;
    width:calc(100% + 92px)!important;
    border:0!important;
    background:transparent!important;
  }
  .v37-hero-frame .v19-hero-visual>img{
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.07) 9%,rgba(0,0,0,.40) 22%,rgba(0,0,0,.88) 35%,#000 47%)!important;
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.07) 9%,rgba(0,0,0,.40) 22%,rgba(0,0,0,.88) 35%,#000 47%)!important;
  }
}
@media(min-width:901px) and (max-width:1150px){
  .v37-hero-frame .v19-hero-visual{
    margin-left:-56px!important;
    width:calc(100% + 56px)!important;
  }
  .v37-hero-frame::before{opacity:.31!important}
}
@media(max-width:900px){
  .v37-hero-frame::before{
    width:100%!important;
    opacity:.22!important;
    -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.73),#000 48%,transparent 100%)!important;
    mask-image:linear-gradient(180deg,rgba(0,0,0,.73),#000 48%,transparent 100%)!important;
  }
}
@media(max-width:700px){
  .v37-hero-frame::before{
    opacity:.18!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .v37-hero-frame::before{
    background-image:url("assets/v34/hero-ai-still.webp")!important;
  }
}

/* WÄCHTER: both columns share one deep-navy environment. The graphic softly
   flows into the left side rather than ending at a rectangular panel boundary. */
#sicherheit{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 59% 38%,rgba(18,111,137,.22) 0%,transparent 46%),
    radial-gradient(ellipse at 12% 81%,rgba(35,100,131,.12) 0%,transparent 46%),
    linear-gradient(108deg,#252d37 0%,#1c2d3c 48%,#10293a 100%)!important;
}
#sicherheit::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:70%;
  pointer-events:none;
  z-index:0;
  background:url("assets/v39/waechter-ambient.svg") center center/cover no-repeat;
  opacity:.49;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.35),#000 28%,rgba(0,0,0,.65) 65%,transparent 100%);
  mask-image:linear-gradient(90deg,rgba(0,0,0,.35),#000 28%,rgba(0,0,0,.65) 65%,transparent 100%);
}
#sicherheit .v19-guardian-grid{
  position:relative;
  z-index:1;
  background:none!important;
}
#sicherheit .v19-guardian-copy{
  position:relative;
  z-index:3;
}
#sicherheit .v33-guardian-illustration{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:hidden!important;
}
#sicherheit .v33-guardian-illustration::before{
  content:none!important;
  display:none!important;
}
#sicherheit .v33-guardian-illustration>img{
  display:block;
  width:100%;
  height:auto;
  filter:none!important;
  border:0!important;
}
#sicherheit .v33-guardian-illustration figcaption{
  background:transparent!important;
  border-top:0!important;
}
@media(min-width:901px){
  #sicherheit .v19-guardian-grid{
    gap:0!important;
    grid-template-columns:minmax(0,.90fr) minmax(0,1.10fr)!important;
    align-items:center;
  }
  #sicherheit .v33-guardian-replacement{
    position:relative;
    z-index:2;
    width:calc(100% + 77px)!important;
    margin-left:-77px!important;
  }
  #sicherheit .v33-guardian-illustration>img{
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.14) 10%,rgba(0,0,0,.52) 20%,#000 36%)!important;
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.14) 10%,rgba(0,0,0,.52) 20%,#000 36%)!important;
  }
}
@media(min-width:901px) and (max-width:1100px){
  #sicherheit .v33-guardian-replacement{
    margin-left:-45px!important;
    width:calc(100% + 45px)!important;
  }
}
@media(max-width:900px){
  #sicherheit::before{
    width:100%;
    height:540px;
    opacity:.27;
    background-size:auto 100%;
    background-position:center top;
    -webkit-mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.5) 69%,transparent 100%);
    mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.5) 69%,transparent 100%);
  }
  #sicherheit .v33-guardian-replacement{
    width:100%!important;
    margin:0!important;
  }
  #sicherheit .v33-guardian-illustration>img{
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }
  #sicherheit .v33-guardian-illustration{
    border-radius:9px!important;
  }
}

/* V3.9 final finishing: render the SAME existing real office source as a
   continuous frame layer on desktop. This removes the clipped-edge seam of
   a separately composited figure. The genuine photo remains in the DOM for
   its alt text and mobile responsive usage; the proof panel remains live. */
@media(min-width:901px){
  .v37-hero-frame .v19-hero-grid{position:relative!important;isolation:isolate}
  .v37-hero-frame .v19-hero-grid::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background-image:url("assets/media/hero-german-office-1120.jpg");
    background-repeat:no-repeat;
    background-size:72% auto;
    background-position:right 33%;
    -webkit-mask-image:linear-gradient(90deg,transparent 21%,rgba(0,0,0,.03) 33%,rgba(0,0,0,.34) 46%,rgba(0,0,0,.82) 59%,#000 75%);
    mask-image:linear-gradient(90deg,transparent 21%,rgba(0,0,0,.03) 33%,rgba(0,0,0,.34) 46%,rgba(0,0,0,.82) 59%,#000 75%);
  }
  .v37-hero-frame .v19-hero-visual>img{
    opacity:0!important; /* same source visible through above continuous layer */
  }
  .v37-hero-frame .v19-hero-visual::after{
    display:none!important;content:none!important;
  }
}
