/* --- Debit Base v102: Datenschutz & Impressum final legal page cleanup --- */
html.db-v35-legal-active,
html.db-v35-legal-active body{
  background:radial-gradient(circle at 14% 8%,rgba(143,208,255,.24),transparent 22rem),linear-gradient(180deg,#f4faff 0%,#eaf4ff 100%)!important;
}
#debitbase-v35-legal-page{
  width:min(1180px,calc(100vw - clamp(14px,4vw,56px)))!important;
  margin:calc(env(safe-area-inset-top,0px) + 76px) auto max(20px,env(safe-area-inset-bottom,0px))!important;
  padding-bottom:clamp(12px,2vw,24px)!important;
}
#debitbase-v35-legal-page .db-v49-route-hero.db-v27-hero{
  min-height:clamp(178px,23vw,280px)!important;
  border-radius:clamp(24px,3vw,34px)!important;
}
.db-v102-legal-notice{
  display:grid!important;
  gap:4px!important;
  margin:clamp(12px,1.6vw,18px) 0 10px!important;
  padding:clamp(12px,1.8vw,16px)!important;
  border:1px solid rgba(10,83,190,.14)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(241,248,255,.86))!important;
  box-shadow:0 14px 36px rgba(6,50,128,.10)!important;
  color:#082a5d!important;
}
.db-v102-legal-notice strong{font-size:14px!important;font-weight:950!important;letter-spacing:-.02em!important;color:#073c98!important;}
.db-v102-legal-notice span{font-size:13px!important;line-height:1.45!important;font-weight:720!important;color:rgba(8,42,93,.74)!important;}
.db-v102-legal-actions{align-items:center!important;margin:10px 0 clamp(12px,1.5vw,18px)!important;}
.db-v102-legal-actions small{
  flex-basis:100%!important;
  color:rgba(8,42,93,.68)!important;
  font-weight:750!important;
  line-height:1.35!important;
}
.db-v102-legal-grid{gap:clamp(12px,1.6vw,18px)!important;}
.db-v102-legal-card{
  position:relative!important;
  min-height:100%!important;
  padding:clamp(16px,2vw,22px)!important;
  border-radius:26px!important;
  border-color:rgba(24,103,211,.13)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,250,255,.92))!important;
}
.db-v102-legal-card::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:5px!important;
  border-radius:26px 0 0 26px!important;
  background:linear-gradient(180deg,#1677f2,#8fd0ff)!important;
  opacity:.62!important;
}
.db-v35-legal-card h2{overflow-wrap:anywhere!important;}
.db-v35-legal-card p{overflow-wrap:anywhere!important;}
.db-v35-legal-card p a{color:#075bd4!important;font-weight:900!important;text-decoration:none!important;border-bottom:1px solid rgba(7,91,212,.28)!important;}
.db-v102-legal-editing .db-v35-legal-card[data-db35-block],
.db-v102-legal-editing [data-db35-legal-intro]{
  outline:3px solid rgba(22,119,242,.22)!important;
  outline-offset:3px!important;
  caret-color:#073c98!important;
}
.db-v102-legal-editing .db-v35-legal-card[data-db35-block]{
  background:linear-gradient(180deg,#fff,#eef7ff)!important;
}
.db-v102-legal-editing .db-v35-legal-card[data-db35-block]:focus,
.db-v102-legal-editing [data-db35-legal-intro]:focus{
  outline-color:rgba(22,119,242,.52)!important;
}
@media(max-width:760px){
  #debitbase-v35-legal-page{width:min(100vw - 12px,720px)!important;margin-top:calc(env(safe-area-inset-top,0px) + 64px)!important;}
  #debitbase-v35-legal-page .db-v49-route-hero.db-v27-hero{min-height:234px!important;padding:16px!important;border-radius:26px!important;}
  html.db-v35-legal-active .db-v49-route-hero .db-v27-hero-brand img{max-width:min(156px,52vw)!important;max-height:42px!important;}
  html.db-v35-legal-active .db-v49-route-hero .db-v27-hero-brand span{max-width:42vw!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
  html.db-v35-legal-active .db-v49-route-hero .db-v27-hero-copy{padding-right:72px!important;}
  html.db-v35-legal-active .db-v49-route-hero .db-v27-hero-copy h1{font-size:clamp(30px,11vw,44px)!important;}
  html.db-v35-legal-active .db-v49-route-hero .db-v27-hero-copy p{max-width:32ch!important;}
  html.db-v35-legal-active .db-v49-route-hero .db-v27-hero-bear{right:-12px!important;bottom:-16px!important;width:118px!important;opacity:.42!important;}
  .db-v102-legal-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .db-v102-legal-actions button{width:100%!important;min-height:42px!important;}
  .db-v102-legal-actions small{grid-column:1/-1!important;}
  .db-v102-legal-card{border-radius:22px!important;padding:15px!important;}
}
@media(max-width:390px){
  .db-v102-legal-actions{grid-template-columns:1fr!important;}
  html.db-v35-legal-active .db-v49-route-hero .db-v27-hero-copy p{display:none!important;}
}
