/* DealBörse Popups – Frontend */
.dbpop{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(6,15,30,.55);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;
  -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.dbpop[hidden]{display:none}
.dbpop.is-open{opacity:1;visibility:visible}
.dbpop-card{position:relative;max-width:480px;width:100%;max-height:90vh;overflow:auto;background:#fff;border-radius:20px;
  padding:34px 30px 30px;box-shadow:0 30px 80px rgba(6,15,30,.35);text-align:center;
  transform:translateY(14px) scale(.98);transition:transform .3s ease}
.dbpop.is-open .dbpop-card{transform:none}
.dbpop-x{position:absolute;top:12px;right:14px;width:34px;height:34px;font-size:24px;line-height:1;color:#64748b;
  background:transparent;border:0;cursor:pointer;border-radius:8px;transition:background .15s ease,color .15s ease}
.dbpop-x:hover{background:rgba(0,0,0,.06);color:#0b1f3a}
.dbpop-badge{display:inline-block;background:var(--dbpop-accent,#E8841F);color:#fff;font-weight:800;font-size:12px;
  letter-spacing:.04em;text-transform:uppercase;padding:5px 12px;border-radius:999px;margin-bottom:14px}
.dbpop-img{display:block;max-width:100%;height:auto;border-radius:12px;margin:0 auto 18px}
.dbpop-title{margin:0 0 10px;font-size:clamp(22px,4vw,28px);font-weight:900;color:#0b1f3a;line-height:1.2}
.dbpop-body{margin:0 0 22px;color:#51606f;font-size:15px;line-height:1.65}
.dbpop-body p:last-child{margin-bottom:0}
.dbpop-btn{display:inline-block;background:var(--dbpop-accent,#E8841F);color:#fff;font-weight:800;text-decoration:none;
  border:0;cursor:pointer;padding:13px 26px;border-radius:12px;font-size:15px;transition:transform .15s ease,filter .15s ease}
.dbpop-btn:hover{color:#fff;transform:translateY(-2px);filter:brightness(1.05)}
@media (max-width:520px){.dbpop-card{padding:28px 20px 24px;border-radius:16px}}
@media (prefers-reduced-motion:reduce){.dbpop,.dbpop-card{transition:none}}
/* Dunkelmodus (System automatisch + manuelle Wahl via data-theme) */
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .dbpop-card{background:#111D33}
  html:not([data-theme="light"]) .dbpop-title{color:#E7EDF5}
  html:not([data-theme="light"]) .dbpop-body{color:#A7B6CC}
  html:not([data-theme="light"]) .dbpop-x{color:#A7B6CC}
  html:not([data-theme="light"]) .dbpop-x:hover{background:rgba(255,255,255,.08);color:#fff}
}
html[data-theme="dark"] .dbpop-card{background:#111D33}
html[data-theme="dark"] .dbpop-title{color:#E7EDF5}
html[data-theme="dark"] .dbpop-body{color:#A7B6CC}
html[data-theme="dark"] .dbpop-x{color:#A7B6CC}
html[data-theme="dark"] .dbpop-x:hover{background:rgba(255,255,255,.08);color:#fff}
