.dbpt{--ink:#18354b;--blue:#0082bc;--line:#d9e7ef;--muted:#6b8394;--soft:#f3f8fb;color:var(--ink);font-family:inherit;width:100%;max-width:100%;margin:18px auto 35px}.dbpt *{box-sizing:border-box}.dbpt-top{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px;flex-wrap:wrap}.dbpt-eyebrow{font-size:11px;letter-spacing:1.5px;line-height:1.6;color:var(--blue);font-weight:800}.dbpt h2{font-size:clamp(25px,3vw,36px)!important;margin:6px 0 5px!important;color:var(--ink)!important;font-weight:800!important;line-height:1.2!important}.dbpt-top p{margin:0!important;color:var(--muted);font-size:14px}.dbpt-week{display:inline-flex;background:#e6f6fe;color:#027aab;border:1px solid #c8e6f6;border-radius:99px;padding:8px 16px;font-weight:750;white-space:nowrap}.dbpt-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;background:var(--soft);border:1px solid var(--line);border-radius:16px 16px 0 0}.dbpt-search-label{flex:1 1 250px;margin:0!important}.dbpt input.dbpt-search,.dbpt select.dbpt-filter,.dbpt button.dbpt-export{height:42px!important;min-height:42px!important;border:1px solid #cadde8!important;border-radius:10px!important;background:#fff!important;padding:9px 13px!important;font:inherit!important;font-size:14px!important;box-shadow:none!important;color:var(--ink)!important}.dbpt input.dbpt-search{width:100%!important}.dbpt select.dbpt-filter{flex:0 1 240px}.dbpt button.dbpt-export{flex:0 0 auto;color:var(--blue)!important;font-weight:700!important;cursor:pointer}.dbpt button.dbpt-export:hover{background:#e7f6fc!important}.dbpt .dbpt-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px;background:#fff;max-height:min(75vh,850px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a5c6d8 transparent}.dbpt .dbpt-scroll:focus-visible{outline:3px solid #93d4ef}.dbpt table.dbpt-table{border-collapse:separate!important;border-spacing:0!important;width:100%!important;min-width:1020px!important;table-layout:auto!important;margin:0!important;background:#fff!important}.dbpt .dbpt-table thead th{position:sticky!important;top:0!important;z-index:3!important;background:#eaf5fa!important;color:#526f83!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.6px;font-weight:800!important;border-bottom:1px solid var(--line)!important;padding:16px 15px!important;text-align:left!important;white-space:nowrap!important}.dbpt .dbpt-table thead th:first-child{left:0;z-index:5!important}.dbpt .dbpt-table tbody th,.dbpt .dbpt-table tbody td{padding:16px 15px!important;border:0!important;border-bottom:1px solid #ebf2f6!important;white-space:nowrap!important;vertical-align:middle!important;font-size:13px!important;color:var(--ink)!important;background:#fff!important;text-align:left!important}.dbpt .dbpt-table tbody th{font-weight:800!important;position:sticky;left:0;z-index:2;min-width:150px}.dbpt .dbpt-table tbody tr:nth-child(even) td,.dbpt .dbpt-table tbody tr:nth-child(even) th{background:#f8fbfd!important}.dbpt .dbpt-table tbody tr:hover td,.dbpt .dbpt-table tbody tr:hover th{background:#ecf8fd!important}.dbpt .dbpt-table thead button{background:transparent!important;border:0!important;padding:0!important;font:inherit!important;color:inherit!important;cursor:pointer!important;white-space:nowrap!important;box-shadow:none!important;text-transform:inherit!important;letter-spacing:inherit!important}.dbpt .dbpt-table thead button span{color:#9cafbc}.dbpt .dbpt-table thead button:focus-visible{outline:2px solid var(--blue);outline-offset:5px}.dbpt .dbpt-number{font-variant-numeric:tabular-nums}.dbpt .dbpt-price{font-weight:800!important;font-size:15px!important}.dbpt .dbpt-category,.dbpt .dbpt-status{display:inline-block;background:#e9f5fc;color:#137bab;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:700}.dbpt .dbpt-status.ok{background:#ecf8f1;color:#137746}.dbpt .dbpt-status.warning{background:#fff1e0;color:#ad6825}.dbpt .dbpt-status.muted{background:#f1f4f6;color:#708392}.dbpt .dbpt-change.up{color:#079954;font-weight:800}.dbpt .dbpt-change.down{color:#e03634;font-weight:800}.dbpt .dbpt-change.neutral{color:#90a0ab;font-weight:700}.dbpt .dbpt-position{height:9px;min-width:112px;width:130px;background:linear-gradient(90deg,#b0d6c0,#f1dfb6,#f0b8b8);border-radius:10px;position:relative;margin:0 6px 5px}.dbpt .dbpt-position span{position:absolute;top:50%;width:15px;height:15px;background:#1d394e;border:2px solid #fff;box-shadow:0 0 0 1px #678398;border-radius:50%;transform:translate(-50%,-50%)}.dbpt .dbpt-position-label{font-size:11px;color:#73899b}.dbpt .dbpt-muted{color:#94a5b2}.dbpt-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 3px;color:var(--muted);font-size:12px}.dbpt-mobile-hint{display:none}.dbpt-disclaimer{font-size:12px!important;color:#75889a!important;line-height:1.6!important;margin:7px 0!important}.dbpt-disclaimer a{color:var(--blue)}.dbpt-error{border:1px solid #d4e7f1;border-radius:12px;padding:18px;background:#f5fbfe}.dbpt [hidden]{display:none!important}@media(max-width:760px){.dbpt-toolbar{padding:10px}.dbpt-search-label{flex:1 1 100%}.dbpt select.dbpt-filter{flex:1 1 55%}.dbpt button.dbpt-export{flex:1 1 auto}.dbpt-mobile-hint{display:inline}.dbpt .dbpt-scroll{max-height:620px}.dbpt .dbpt-table tbody th,.dbpt .dbpt-table tbody td{padding:13px 11px!important}.dbpt .dbpt-table thead th{padding:13px 11px!important}}@media print{.dbpt-toolbar,.dbpt-mobile-hint{display:none!important}.dbpt .dbpt-scroll{overflow:visible!important;max-height:none!important}.dbpt table.dbpt-table{min-width:0!important}.dbpt .dbpt-table tbody th,.dbpt .dbpt-table tbody td,.dbpt .dbpt-table thead th{font-size:9px!important;padding:6px!important}.dbpt .dbpt-table tbody th,.dbpt .dbpt-table thead th:first-child{position:static!important}}

/* 1.1 – Metallgruppen prominent als Filter */
.dbpt .dbpt-groups{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 14px;background:#fff;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.dbpt .dbpt-group-btn{display:inline-flex!important;align-items:center;gap:8px;border-radius:999px!important;padding:8px 13px!important;border:1px solid #d4e6ee!important;background:#f8fbfd!important;color:#39677f!important;font-size:12px!important;font-weight:750!important;line-height:1.3!important;box-shadow:none!important;cursor:pointer!important;white-space:nowrap!important}
.dbpt .dbpt-group-btn:hover{border-color:#83bfdc!important;background:#eaf7fc!important}
.dbpt .dbpt-group-btn.is-active{background:#0082bc!important;color:#fff!important;border-color:#0082bc!important}
.dbpt .dbpt-group-count{display:inline-flex;justify-content:center;align-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:#e6f2f8;color:#17658a;font-size:11px;font-variant-numeric:tabular-nums}
.dbpt .dbpt-group-btn.is-active .dbpt-group-count{background:#ffffff36;color:#fff}
.dbpt .dbpt-group-btn:focus-visible{outline:3px solid #8bd3f1;outline-offset:2px}
@media(max-width:760px){.dbpt .dbpt-groups{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:10px}.dbpt .dbpt-group-btn{flex:0 0 auto!important}}
@media print{.dbpt .dbpt-groups{display:none!important}}


/* 1.2 – Hinweistext als Kachel/Banner */
.dbpt .dbpt-banner{margin:0 0 18px;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#f7fbfd 0%,#eef7fb 100%);box-shadow:0 10px 26px rgba(0,130,188,.06)}
.dbpt .dbpt-banner-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px}
.dbpt .dbpt-banner-icon{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0082bc;color:#fff;font-size:18px;font-weight:800;flex:0 0 34px}
.dbpt .dbpt-banner-head h3{margin:0!important;color:var(--ink)!important;font-size:20px!important;line-height:1.2!important;font-weight:800!important}
.dbpt .dbpt-banner-head p{margin:4px 0 0!important;color:var(--muted)!important;font-size:14px!important}
.dbpt .dbpt-banner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.dbpt .dbpt-banner-item{padding:13px 14px;border-radius:14px;background:#ffffffd9;border:1px solid #dcebf3;display:flex;flex-direction:column;gap:5px;min-width:0}
.dbpt .dbpt-banner-item strong{font-size:12px;letter-spacing:.4px;text-transform:uppercase;color:#4f6f83}
.dbpt .dbpt-banner-item span{font-size:14px;line-height:1.55;color:var(--ink)}
.dbpt .dbpt-banner-note{margin-top:14px;padding:12px 14px;border-radius:12px;background:#fff6de;border:1px solid #f0dfab;color:#6e5630;font-size:13px;line-height:1.55;font-weight:600}
@media(max-width:760px){.dbpt .dbpt-banner{padding:15px}.dbpt .dbpt-banner-grid{grid-template-columns:1fr}.dbpt .dbpt-banner-head h3{font-size:18px!important}}
@media print{.dbpt .dbpt-banner{box-shadow:none!important;background:#fff!important}}


/* v1.3: All rows visible – no scroll area within price table. */
.dbpt .dbpt-scroll{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  overflow-y:visible!important;
  overflow-x:visible!important;
}
.dbpt table.dbpt-table{width:100%!important;min-width:0!important;}
.dbpt .dbpt-table thead th{position:sticky!important;top:0!important;}

/* On narrow pages, present all 14 metals as readable stacked cards, not an 8-column table that needs horizontal scrolling. */
@media (max-width:1100px){
  .dbpt .dbpt-scroll{border:0!important;background:transparent!important;}
  .dbpt table.dbpt-table,.dbpt .dbpt-table tbody{display:block!important;width:100%!important;min-width:0!important;}
  .dbpt .dbpt-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
  .dbpt .dbpt-table tbody tr:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0 0 12px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff!important;box-shadow:0 6px 18px rgba(19,48,66,.04);}
  .dbpt .dbpt-table tbody th,.dbpt .dbpt-table tbody td{display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;position:static!important;left:auto!important;min-width:0!important;padding:4px 0!important;white-space:normal!important;overflow-wrap:anywhere!important;border:0!important;background:transparent!important;}
  .dbpt .dbpt-table tbody tr:nth-child(even) td,.dbpt .dbpt-table tbody tr:nth-child(even) th,.dbpt .dbpt-table tbody tr:hover td,.dbpt .dbpt-table tbody tr:hover th{background:transparent!important;}
  .dbpt .dbpt-table tbody th:first-child{grid-column:1/-1;border-bottom:1px solid #e8f0f5!important;padding-bottom:10px!important;font-size:17px!important;}
  .dbpt .dbpt-table tbody td::before{font-size:10px;line-height:1.4;font-weight:800;letter-spacing:.35px;text-transform:uppercase;color:#72899a;}
  .dbpt .dbpt-table tbody td:nth-child(2)::before{content:'Metallgruppe';}
  .dbpt .dbpt-table tbody td:nth-child(3)::before{content:'Preis je kg';}
  .dbpt .dbpt-table tbody td:nth-child(4)::before{content:'Zur Vorwoche';}
  .dbpt .dbpt-table tbody td:nth-child(5)::before{content:'12-Monats-Tief';}
  .dbpt .dbpt-table tbody td:nth-child(6)::before{content:'12-Monats-Hoch';}
  .dbpt .dbpt-table tbody td:nth-child(7)::before{content:'Preisposition';}
  .dbpt .dbpt-table tbody td:nth-child(8)::before{content:'Handelsstatus';}
  .dbpt .dbpt-position{max-width:100%;}
  .dbpt .dbpt-mobile-hint{display:inline;}
}
@media (max-width:520px){
  .dbpt .dbpt-table tbody tr:not([hidden]){padding:14px;gap:8px 10px;}
  .dbpt .dbpt-table tbody td:nth-child(2),.dbpt .dbpt-table tbody td:last-child{grid-column:1/-1;}
  .dbpt .dbpt-table tbody td{font-size:12px!important;}
  .dbpt .dbpt-table tbody td::before{font-size:9px;}
}
@media print{
  .dbpt .dbpt-table thead{position:static!important;clip-path:none!important;width:auto!important;height:auto!important;display:table-header-group!important;}
  .dbpt table.dbpt-table{display:table!important;}
  .dbpt .dbpt-table tbody{display:table-row-group!important;}
  .dbpt .dbpt-table tbody tr:not([hidden]){display:table-row!important;box-shadow:none!important;}
  .dbpt .dbpt-table tbody th,.dbpt .dbpt-table tbody td{display:table-cell!important;}
  .dbpt .dbpt-table tbody td::before{display:none!important;}
}


/* 1.4: Sticky heading during DOCUMENT scrolling, regardless of Impreza ancestor overflow. */
.dbpt.dbpt-fixed-head-enabled .dbpt-table thead th{position:static!important;}
.dbpt-floating-head{position:fixed;z-index:9990;display:none;pointer-events:auto;overflow:hidden;background:#eaf5fa;border:1px solid #d9e7ef;border-radius:0 0 10px 10px;box-shadow:0 7px 18px rgba(16,53,78,.12);box-sizing:border-box;}
.dbpt-floating-table{border-collapse:separate!important;border-spacing:0!important;margin:0!important;background:#eaf5fa!important;}
.dbpt-floating-table thead th{position:static!important;box-sizing:border-box!important;padding:16px 15px!important;text-align:left!important;color:#526f83!important;font-size:11px!important;white-space:nowrap!important;text-transform:uppercase!important;letter-spacing:.6px!important;font-weight:800!important;border:0!important;border-bottom:1px solid #d9e7ef!important;background:#eaf5fa!important;}
.dbpt-floating-table thead button{font:inherit!important;color:inherit!important;background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;white-space:nowrap!important;cursor:pointer!important;text-transform:inherit!important;letter-spacing:inherit!important;}
.dbpt-floating-table thead button span{color:#9cafbc;}
@media(max-width:1100px){.dbpt-floating-head{display:none!important;}}
@media print{.dbpt-floating-head{display:none!important;}}


/* 1.5 – Fixierte Such- und Filterleiste über dem Tabellenkopf */
.dbpt-floating-filters{position:fixed;z-index:9991;display:none;box-sizing:border-box;border:1px solid #d9e7ef;border-radius:14px 14px 0 0;box-shadow:0 8px 24px rgba(16,53,78,.14);background:#fff;overflow:hidden;}
.dbpt-floating-filters .dbpt-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px!important;margin:0!important;background:#f3f8fb!important;border:0!important;border-radius:0!important;}
.dbpt-floating-filters .dbpt-search-label{flex:1 1 200px;margin:0!important;}
.dbpt-floating-filters .dbpt-search{width:100%!important;}
.dbpt-floating-filters .dbpt-filter{flex:0 1 240px;}
.dbpt-floating-filters .dbpt-search,.dbpt-floating-filters .dbpt-filter,.dbpt-floating-filters .dbpt-export{height:42px!important;min-height:42px!important;border:1px solid #cadde8!important;background:#fff!important;border-radius:10px!important;color:#18354b!important;padding:8px 12px!important;font:inherit!important;font-size:14px!important;}
.dbpt-floating-filters .dbpt-export{color:#0082bc!important;font-weight:700!important;cursor:pointer;}
.dbpt-floating-filters .dbpt-groups{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0!important;padding:9px 12px!important;background:#fff;border-top:1px solid #e5eef3!important;}
.dbpt-floating-filters .dbpt-group-btn{display:inline-flex!important;gap:7px;align-items:center;border-radius:999px!important;padding:7px 11px!important;border:1px solid #d4e6ee!important;background:#f8fbfd!important;color:#39677f!important;font-size:12px!important;font-weight:750!important;cursor:pointer!important;box-shadow:none!important;}
.dbpt-floating-filters .dbpt-group-btn.is-active{background:#0082bc!important;border-color:#0082bc!important;color:#fff!important;}
.dbpt-floating-filters .dbpt-group-count{background:#e6f2f8;color:#17658a;border-radius:20px;padding:1px 6px;font-size:11px;}
.dbpt-floating-filters .dbpt-group-btn.is-active .dbpt-group-count{background:#ffffff36;color:#fff;}
.dbpt-floating-filters input:focus-visible,.dbpt-floating-filters select:focus-visible,.dbpt-floating-filters button:focus-visible{outline:2px solid #0082bc;outline-offset:1px;}
@media(max-width:1100px){.dbpt-floating-filters{display:none!important;}}
@media print{.dbpt-floating-filters{display:none!important;}}
