/* v1.352 — shared legal-page shell. Scope strictly to Impressum/AGB. */
.we-static-main:has(.we-impressum-page) .we-static-contact-layout,
.we-static-main:has(.we-agb-heading) .we-static-contact-layout{
  width:100%!important;max-width:1160px!important;min-width:0!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:16px!important;padding-right:16px!important;
}
.we-static-main:has(.we-impressum-page) .we-about-copy-grid,
.we-static-main:has(.we-agb-heading) .we-about-copy-grid{
  width:100%!important;max-width:none!important;min-width:0!important;
  display:block!important;margin:0!important;padding:0!important;
}
.we-static-main:has(.we-impressum-page) .we-static-page-content,
.we-static-main:has(.we-agb-heading) .we-static-page-content{
  width:100%!important;max-width:none!important;min-width:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;
}
/* Impressum's old outer content card must not add an extra frame or inset. */
.we-static-main:has(.we-impressum-page) .we-static-page-content>.we-contact-heading-card{display:none!important}
.we-static-main:has(.we-impressum-page) .we-static-page-content>.we-contact-content-card{
  background:transparent!important;border:0!important;box-shadow:none!important;
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
.we-static-main:has(.we-impressum-page) .we-static-page-content .we-static-body{
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;
}
.we-static-main:has(.we-impressum-page) .we-impressum-page,
.we-static-main:has(.we-agb-heading) .we-agb-heading,
.we-static-main:has(.we-agb-heading) .we-agb-card{max-width:none!important;width:100%!important;min-width:0!important}
/* Identical card geometry on both pages. */
.we-static-main .we-impressum-intro,.we-static-main .we-agb-heading{
  min-height:70px;padding:16px 20px!important;border-radius:13px!important;
  margin-bottom:12px!important;
}
.we-static-main .we-impressum-card,.we-static-main .we-agb-card{
  padding:21px 23px!important;border-radius:13px!important;
}
.we-static-main:has(.we-impressum-page) .we-impressum-page{gap:0!important}
@media(max-width:600px){
  .we-static-main:has(.we-impressum-page) .we-static-contact-layout,
  .we-static-main:has(.we-agb-heading) .we-static-contact-layout{
    padding-left:12px!important;padding-right:12px!important;
  }
  .we-static-main .we-impressum-intro,.we-static-main .we-agb-heading{
    min-height:60px;padding:12px 14px!important;border-radius:11px!important;
  }
  .we-static-main .we-impressum-card,.we-static-main .we-agb-card{
    padding:16px!important;border-radius:11px!important;
  }
}
