/* =========================================================
   IMPRINT – Content only (NAV comes from site.css)
   ========================================================= */

*, *::before, *::after{ box-sizing:border-box; }
html, body{ overflow-x:hidden; }

body.page-template-template-imprint,
body.page-template-template-imprint-php{
  overflow-x:hidden;
}

/* Escape theme container */
.db-legal-page{
  width:100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  min-height:100vh !important;
  padding:20px !important;

  background: transparent !important;
  color: inherit !important;

  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

/* active state: Imprint in rechter Nav fett (wie active) */
body.page-template-template-imprint .db-home-links .db-nav-imprint,
body.page-template-template-imprint-php .db-home-links .db-nav-imprint{
  font-weight:700 !important;
}

.db-legal-center{
  width:100% !important;
  display:flex !important;
  justify-content:center !important;
}

.db-legal-stack{
  width: min(700px, calc(100vw - 40px)) !important;
  padding-top: 160px !important;
  padding-bottom: 90px !important;
}

.db-legal-title{
  margin:0 0 28px 0 !important;
  font-size:14px !important;
  font-weight:700 !important;
}

.db-legal-text h2{
  margin: 26px 0 10px 0 !important;
  font-size:14px !important;
  font-weight:700 !important;
}

.db-legal-text p{
  margin:0 0 14px 0 !important;
}

.db-legal-text a{
  color: inherit !important;
  text-decoration: none !important;
}
.db-legal-text a:hover{ opacity:.75 !important; }

/* MOBILE */
@media (max-width:640px){
  .db-legal-stack{
    padding-top: 110px !important;
    padding-bottom: 70px !important;
  }
}
