/* BER-virtual – Detailseiten (PIREP, Flugzeug …). Präfix dtx-. Benötigt profile-pro.css, pilots-pro.css, pages-pro.css */
.dtx > * + * { margin-top: 20px; }

/* ---------- Kopf ---------- */
.dtx-hero { position: relative; overflow: hidden; border-radius: 18px; background: #3a0a12; color: #fff; }
.dtx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dtx-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(143, 20, 36, .97) 0%, rgba(204, 34, 52, .93) 42%, rgba(224, 71, 90, .55) 66%, rgba(0, 0, 0, .15) 100%); }
.dtx-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: 1; background: linear-gradient(0deg, rgba(10, 10, 14, .5), rgba(10, 10, 14, 0)); }
.dtx-hero-in { position: relative; z-index: 2; padding: 30px 36px 30px; }
.dtx-hero .pbx-eyebrow { color: rgba(255, 255, 255, .82); }
.dtx-hero h1 { margin: 6px 0 12px; font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: #fff; }
.dtx-hero h1 small { font-size: 18px; font-weight: 600; opacity: .85; margin-left: 10px; letter-spacing: 0; }
.dtx-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dtx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dtx-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.dtx-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .75); }
.dtx-chip.is-g::before { background: #3ee49c; box-shadow: 0 0 0 3px rgba(62, 228, 156, .25); }
.dtx-chip.is-o::before { background: #ffc24a; }
.dtx-chip.is-r::before { background: #ff8a98; }
.dtx-chip.is-b::before { background: #7cc0ff; }
.dtx-logo { flex: none; width: 170px; height: 76px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .96); display: grid; place-items: center; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); color: var(--pbx-ink) !important; font-weight: 800; font-size: 20px; }
.dtx-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* Strecke im Kopf */
.dtx-trip { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 1.3fr) minmax(0, 1fr); align-items: center; gap: 22px; padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dtx-apt { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: #fff !important; }
.dtx-apt.is-r { text-align: right; align-items: flex-end; }
.dtx-apt-code { display: inline-flex; align-items: center; gap: 10px; font-size: 34px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.dtx-apt-code .flag-icon { width: 26px; height: 19px; border-radius: 3px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); background-size: cover; }
.dtx-apt-name { font-size: 13.5px; font-weight: 600; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dtx-apt-time { font-size: 12px; opacity: .8; }
.dtx-apt-time b { font-size: 14px; opacity: 1; }
.dtx-path { min-width: 0; }
.dtx-path-top, .dtx-path-bot { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; }
.dtx-path-bot { justify-content: center; font-weight: 600; opacity: .82; font-size: 12px; margin-top: 8px; }
.dtx-track { position: relative; height: 4px; margin-top: 14px; border-radius: 99px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 6px, transparent 6px 11px); }
.dtx-track > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: #fff; }
.dtx-plane { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--pbx-red); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.dtx-plane .pbx-i { width: 16px; height: 16px; transform: rotate(45deg); }

/* ---------- Kennzahlen ---------- */
.dtx-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.dtx-kpis.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dtx-kpi { background: #fff; border: 1px solid var(--pbx-line); border-radius: var(--pbx-r); box-shadow: var(--pbx-shadow); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dtx-kpi > span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; color: var(--pbx-mute); }
.dtx-kpi > span .pbx-i { width: 15px; height: 15px; color: var(--pbx-red); }
.dtx-kpi > b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; display: flex; align-items: center; gap: 10px; min-height: 34px; white-space: nowrap; }
.dtx-kpi > b em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--pbx-mute); }
.dtx-kpi > b .pbx-lr { font-size: 15px; padding: 6px 12px; }
.dtx-kpi > small { font-size: 12px; color: var(--pbx-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtx-score svg { width: 34px; height: 34px; }

/* ---------- Raster ---------- */
.dtx-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.dtx-side { display: grid; gap: 20px; min-width: 0; }
.dtx-main { display: grid; gap: 20px; min-width: 0; }
.dtx-pad0 { padding: 0; }
.dtx-ph { padding: 20px 22px 0; margin-bottom: 4px; }
.dtx .pbx-list a { color: var(--pbx-red); }
.dtx .pbx-list li > b { max-width: 62%; }

.dtx-pilot { padding: 16px 18px; }
.dtx-pilot-a { display: flex; align-items: center; gap: 14px; }
.dtx-pilot-a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dtx-pilot-a b { font-size: 16px; font-weight: 750; }
.dtx-pilot-a em { font-style: normal; font-size: 12.5px; color: var(--pbx-mute); display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtx-pilot-a > .pbx-i { color: var(--pbx-mute); }
.dtx-pilot-a:hover > .pbx-i { color: var(--pbx-red); }
.dtx .plx-ava.is-lg { width: 56px; height: 56px; font-size: 18px; }
.dtx .plx-ava { width: 40px; height: 40px; font-size: 14px; }

.dtx-fuel { height: 12px; border-radius: 99px; background: #e6f4ee; overflow: hidden; }
.dtx-fuel > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #e0475a, #d11f35); }
.dtx-fuel-l { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.dtx-fuel-l > div { display: block; font-size: 12px; color: var(--pbx-mute); font-weight: 600; }
.dtx-fuel-l b { display: block; font-size: 16px; color: var(--pbx-ink); font-weight: 750; margin-top: 2px; }
.dtx-fuel-l .d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dtx-fuel-l .d.u { background: var(--pbx-red); }
.dtx-fuel-l .d.r { background: #8fd3b6; }

.dtx-fares { display: grid; gap: 12px; }
.dtx-fare { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.dtx-fare img { width: 34px; height: 34px; object-fit: contain; }
.dtx-fare span { font-size: 13px; font-weight: 650; display: block; margin-bottom: 5px; }
.dtx-fare i { display: block; height: 6px; border-radius: 99px; background: var(--pbx-soft); overflow: hidden; }
.dtx-fare i b { display: block; height: 100%; background: var(--pbx-red); border-radius: 99px; }
.dtx-fare strong { font-size: 15px; font-weight: 750; white-space: nowrap; }
.dtx-fare strong small { font-size: 11px; color: var(--pbx-mute); font-weight: 600; }

.dtx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dtx-actions form { margin: 0; }

/* Karte */
.dtx-mapc { padding: 0; overflow: hidden; }
.dtx-mapc .pbx-head { padding: 20px 22px 0; margin-bottom: 14px; }
.dtx-map #map { border-top: 1px solid var(--pbx-line); }
.dtx-map .row { margin: 0; }
.dtx-map .row > * { padding: 0; }
.dtx-legend { display: flex; gap: 14px; font-size: 12px; color: var(--pbx-mute); font-weight: 600; }
.dtx-legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: 3px; }
.dtx-rte { padding: 14px 22px 18px; border-top: 1px solid var(--pbx-line); display: flex; gap: 14px; align-items: baseline; }
.dtx-rte code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; color: var(--pbx-ink2); background: none; padding: 0; line-height: 1.7; word-break: break-word; }

/* Reiter */
.dtx-tabs-card { padding-top: 12px; }
.dtx-tabs-card .pbx-tabs { margin-bottom: 18px; }
.dtx-land .slx > .card:last-child, .dtx-land .slx > .row:last-child { margin-bottom: 0 !important; }
.dtx .pgx-skin .card { box-shadow: none !important; }

.dtx-tl { list-style: none; margin: 0; padding: 0 0 0 6px; max-height: 620px; overflow-y: auto; }
.dtx-tl li { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 9px 0 9px 0; font-size: 13.5px; }
.dtx-tl li::before { content: ""; position: absolute; left: 66px; top: 0; bottom: 0; width: 2px; background: var(--pbx-line); }
.dtx-tl li::after { content: ""; position: absolute; left: 62px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #c9ccd6; }
.dtx-tl li.g::after { border-color: var(--pbx-ok); background: var(--pbx-ok); }
.dtx-tl li.r::after { border-color: var(--pbx-red); background: var(--pbx-red); }
.dtx-tl li.b::after { border-color: #4b8fe0; }
.dtx-tl li.g span { font-weight: 700; }
.dtx-tl time { font-weight: 700; color: var(--pbx-mute); font-size: 12.5px; padding-top: 1px; }
.dtx-tl span { padding-left: 16px; color: var(--pbx-ink2); }

.dtx-comments { display: grid; gap: 14px; }
.dtx-comment { display: flex; gap: 12px; }
.dtx-comment b { font-size: 13.5px; }
.dtx-comment small { color: var(--pbx-mute); margin-left: 8px; }
.dtx-comment p { margin: 4px 0 0; padding: 10px 14px; border-radius: 4px 12px 12px 12px; background: var(--pbx-soft); font-size: 13.5px; }

.dtx-fin-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.dtx-fin-top > div { padding: 14px 16px; border-radius: 12px; background: var(--pbx-soft); border: 1px solid var(--pbx-line); display: flex; flex-direction: column; gap: 4px; }
.dtx-fin-top > div.is-bal { background: var(--pbx-ink); border-color: var(--pbx-ink); color: #fff; }
.dtx-fin-top span { font-size: 12px; font-weight: 650; color: var(--pbx-mute); }
.dtx-fin-top b { font-size: 20px; font-weight: 800; }
.dtx-fin-top b.g, .dtx-g { color: #0f8a5b; }
.dtx-fin-top b.r, .dtx-r { color: #c01a2e; }
.dtx-fin-top .is-bal b.g { color: #3ee49c; }
.dtx-fin-top .is-bal b.r { color: #ff8a98; }

/* Flugzeug */
.dtx-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.dtx-spec { padding: 12px 14px; border-radius: 12px; background: var(--pbx-soft); border: 1px solid var(--pbx-line); min-width: 0; }
.dtx-spec span { display: block; font-size: 11.5px; font-weight: 650; color: var(--pbx-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtx-spec b { display: block; font-size: 16px; font-weight: 750; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtx-photo { padding: 0; overflow: hidden; }
.dtx-photo img { display: block; width: 100%; height: auto; }
.dtx-photo figcaption { padding: 10px 16px; font-size: 12px; color: var(--pbx-mute); }
.dtx-cfg { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--pbx-soft); gap: 2px; }
.dtx-cfg i { display: block; height: 100%; }
.dtx-cfg-l { display: grid; gap: 8px; margin-top: 14px; }
.dtx-cfg-l div { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.dtx-cfg-l div span { display: flex; align-items: center; gap: 8px; color: var(--pbx-ink2); }
.dtx-cfg-l div span i { width: 10px; height: 10px; border-radius: 3px; }
.dtx-cfg-l b { font-weight: 750; }
.dtx-maint { display: grid; gap: 14px; }
.dtx-maint-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; font-size: 13px; }
.dtx-maint-row b { font-weight: 700; }
.dtx-maint-row i { display: block; height: 8px; border-radius: 99px; background: var(--pbx-soft); overflow: hidden; }
.dtx-maint-row i u { display: block; height: 100%; border-radius: 99px; text-decoration: none; }
.dtx-maint-row small { color: var(--pbx-mute); white-space: nowrap; }
.dtx .pgx-skin > .card:last-child { margin-bottom: 0; }


/* Statistik / umhüllte Modul-Seiten */
.dtx-grid.is-wide { grid-template-columns: minmax(0, 1fr) 360px; }
.dtx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dtx-two > div > .card, .dtx-two .card { margin-bottom: 0 !important; height: 100%; }
.dtx-flat .row { --bs-gutter-x: 16px; row-gap: 16px; }
.dtx-flat .card { margin-bottom: 16px !important; }
.dtx-flat .card-header, .dtx .pgx-skin .card-header.p-1 { padding: 12px 16px !important; }
.dtx .pgx-skin .card-header h5.m-1 { margin: 0 !important; font-size: 14px !important; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dtx .pgx-skin .card-header h5 .float-end { float: none !important; color: var(--pbx-red); opacity: .8; }
.dtx .pgx-skin .card-footer { padding: 8px 16px !important; }
.dtx .pgx-skin .table-sm > :not(caption) > * > * { padding: 9px 14px; }
.dtx .pgx-skin .table tr:has(> th) th { background: var(--pbx-soft); }
.dtx .pgx-skin .table td a { color: var(--pbx-ink); font-weight: 650; }
.dtx .pgx-skin .table td a:hover { color: var(--pbx-red); }
.dtx-flat .table tr:not(:has(th)) td:first-child { position: relative; padding-left: 44px !important; }
.dtx-flat .table tr:not(:has(th)) td:first-child::before { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--pbx-soft); color: var(--pbx-ink2); }
.dtx-flat .table tr:not(:has(th)):nth-child(2) td:first-child::before { content: "1"; background: linear-gradient(135deg, #f7d774, #d6a419); color: #5a4300; }
.dtx-flat .table tr:not(:has(th)):nth-child(3) td:first-child::before { content: "2"; background: linear-gradient(135deg, #e9ebf0, #b7bcc8); color: #3d414b; }
.dtx-flat .table tr:not(:has(th)):nth-child(4) td:first-child::before { content: "3"; background: linear-gradient(135deg, #f0c39b, #c2804a); color: #4d2a0c; }
.dtx-flat .table td.text-end { font-weight: 750; }

/* Flugsuche */
.dtx-search-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.dtx-search-grid > .pbx-card { position: sticky; top: 90px; }
.dtx .search-form > form > div > div, .dtx .search-form .mb-3 > div:first-child { font-size: 12px; font-weight: 700; color: var(--pbx-ink2); margin-bottom: 6px; }
.dtx .search-form hr { border-color: var(--pbx-line); opacity: 1; }
.dtx .search-form .btn { height: 40px; padding: 0 18px; }
.dtx .search-form .btn-warning { background: #fff; border: 1px solid var(--pbx-line); color: var(--pbx-ink); }
.dtx .search-form .input-group-text { background: var(--pbx-soft); border-color: var(--pbx-line); font-size: 12px; font-weight: 700; border-radius: 10px 0 0 10px; }
.dtx-flights > .row.mb-2:first-child { margin: 0 0 14px !important; }
.dtx-flights > .row.mb-2:first-child > .col { padding: 0; }
.dtx-flights > .row.mb-2:first-child .table, .dtx-sortbar { background: #fff; border: 1px solid var(--pbx-line); border-radius: 12px; padding: 4px 6px; margin-bottom: 14px; overflow-x: auto; }
.dtx-flights > .row.mb-2:first-child th { font-size: 11px !important; letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px !important; background: transparent !important; border: 0 !important; }
.dtx-flights > .row.mb-2:first-child th a { color: var(--pbx-mute) !important; text-decoration: none; }
.dtx-flights > .row.mb-2:first-child th a:hover { color: var(--pbx-red) !important; }
.dtx .flight-block { background: #fff !important; border: 1px solid var(--pbx-line); border-radius: var(--pbx-r) !important; box-shadow: var(--pbx-shadow) !important; padding: 18px 22px !important; margin-bottom: 14px !important; transition: border-color .15s, transform .15s; }
.dtx .flight-block:hover { border-color: #f1b8c0; transform: translateY(-1px); }
.dtx .flight-block h5 { font-weight: 750; letter-spacing: -.01em; }
.dtx .flight-block .text-muted { color: var(--pbx-mute) !important; }
.dtx .flight-block .btn-primary { background: var(--pbx-red); border-color: var(--pbx-red); border-radius: 10px; font-weight: 650; }
.dtx .pagination { justify-content: center; gap: 4px; }
.dtx .page-link { border-radius: 9px !important; border-color: var(--pbx-line); color: var(--pbx-ink2); font-weight: 650; }
.dtx .page-item.active .page-link { background: var(--pbx-red); border-color: var(--pbx-red); color: #fff; }

/* Freeflight */
.dtx-ff { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dtx-ff-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.dtx-ff-form .is-full { grid-column: 1 / -1; }
.dtx-ff-form label { display: block; font-size: 12px; font-weight: 700; color: var(--pbx-ink2); margin-bottom: 6px; }
.dtx-ff-form .input-group-text { background: var(--pbx-soft); border-color: var(--pbx-line); font-weight: 700; font-size: 12.5px; }
.dtx-ff-form .input-group > .form-control, .dtx-ff-form .input-group > .select2-container { flex: 1 1 auto; width: 1% !important; }
.dtx-ff-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--pbx-line); }
.dtx-ff-foot small { color: var(--pbx-mute); }
.dtx-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.dtx-steps li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; font-size: 13.5px; color: var(--pbx-ink2); }
.dtx-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 9px; background: var(--pbx-red-s); color: var(--pbx-red); font-weight: 800; display: grid; place-items: center; }
.dtx-steps b { color: var(--pbx-ink); }
.pbx-btn.disabled { opacity: .45; pointer-events: none; }

/* ---------- Mobil ---------- */
@media (max-width: 1199px) {
  .dtx-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dtx-grid { grid-template-columns: minmax(0, 1fr); }
  .dtx-side { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 767px) {
  .dtx-hero-in { padding: 22px 18px; }
  .dtx-hero h1 { font-size: 30px; }
  .dtx-logo { width: 110px; height: 52px; padding: 8px 10px; }
  .dtx-trip { grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; }
  .dtx-path { grid-column: 1 / -1; grid-row: 2; }
  .dtx-apt-code { font-size: 26px; }
  .dtx-kpis, .dtx-kpis.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dtx-kpi > b { font-size: 20px; }
  .dtx-side { grid-template-columns: minmax(0, 1fr); }
  .dtx-fin-top { grid-template-columns: 1fr; }
  .dtx-rte { flex-direction: column; gap: 4px; }
  .dtx-maint-row { grid-template-columns: 90px minmax(0, 1fr); }
  .dtx-maint-row small { grid-column: 1 / -1; }
}

@media (max-width: 1199px) {
  .dtx-grid.is-wide { grid-template-columns: minmax(0, 1fr); }
  .dtx-search-grid, .dtx-ff { grid-template-columns: minmax(0, 1fr); }
  .dtx-search-grid > .pbx-card { position: static; }
}
@media (max-width: 767px) {
  .dtx-two, .dtx-ff-form { grid-template-columns: minmax(0, 1fr); }
  .dtx .flight-block { padding: 14px !important; }
}

.dtx .pgx-skin .card-header .card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dtx .pgx-skin .card-header .card-title .float-end { float: none !important; margin-left: auto; }
.dtx-flat .row-cols-lg-4 > * { flex: 0 0 50%; max-width: 50%; }
.dtx-two .dtx-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .dtx-flat .row-cols-lg-4 > * { flex: 0 0 100%; max-width: 100%; } .dtx-two .dtx-specs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .dtx-kpis > .dtx-kpi:nth-child(5):last-child { grid-column: 1 / -1; } }
.dtx .pbx-list.dtx-stack li { flex-direction: column; align-items: flex-start; gap: 3px; }
.dtx .pbx-list.dtx-stack li > b { max-width: 100%; white-space: normal; text-align: left; font-weight: 500; font-size: 13.5px; color: var(--pbx-ink2); }
.dtx .pbx-list.dtx-stack li > b b { color: var(--pbx-ink); font-weight: 700; }
.dtx .pbx-list.dtx-stack li > span b { color: var(--pbx-ink); }
/* Umhüllte Modul-Seiten (Welle 2) */
.pgx-wrap > div[style*="min-height"], .pgx-wrap [style*="min-height:940px"], .pgx-wrap [style*="min-height: 940px"] { min-height: 0 !important; }
.pgx-wrap > .row, .pgx-wrap > div > .row { --bs-gutter-x: 20px; }
.pgx-wrap .card { margin-bottom: 20px !important; }
.pgx-wrap .card-header.p-1, .pgx-wrap .card-header { padding: 14px 18px !important; }
.pgx-wrap .card-header h5.m-1, .pgx-wrap .card-header h5, .pgx-wrap .card-header h6 { margin: 0 !important; font-size: 14.5px !important; font-weight: 750 !important; display: flex; align-items: center; gap: 8px; color: var(--pbx-ink) !important; }
.pgx-wrap .card-header h5 .float-end, .pgx-wrap .card-header h6 .float-end { float: none !important; margin-left: auto; color: var(--pbx-red); opacity: .85; }
.pgx-wrap .card-header i { color: var(--pbx-red); }
.pgx-wrap .card-body.p-1, .pgx-wrap .card-body.p-2 { padding: 14px 16px !important; }
.pgx-wrap .card-body.p-0 { padding: 0 !important; }
.pgx-wrap .card-footer { padding: 10px 18px !important; background: var(--pbx-soft) !important; }
.pgx-wrap .table > :not(caption) > * > * { padding: 10px 14px; }
.pgx-wrap .table-sm > :not(caption) > * > * { padding: 8px 12px; }
.pgx-wrap .table thead th, .pgx-wrap .table tr:has(> th + th) > th { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--pbx-mute); font-weight: 700; background: var(--pbx-soft); }
.pgx-wrap .table tbody th, .pgx-wrap .table td.fw-bold { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--pbx-ink2); background: transparent; font-weight: 650 !important; }
.pgx-wrap .table td a, .pgx-wrap .list-group a { color: var(--pbx-ink); font-weight: 650; text-decoration: none; }
.pgx-wrap .table td a:hover { color: var(--pbx-red); }
.pgx-wrap .nav-pills { gap: 6px; flex-wrap: wrap; padding: 4px; background: var(--pbx-soft); border: 1px solid var(--pbx-line); border-radius: 12px; width: fit-content; max-width: 100%; }
.pgx-wrap .nav-pills.flex-column { width: 100%; }
.pgx-wrap .nav-pills .nav-link { padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 650; color: var(--pbx-ink2) !important; background: transparent; margin: 0 !important; }
.pgx-wrap .nav-pills .nav-link:hover { background: #fff; }
.pgx-wrap .nav-pills .nav-link.active { background: var(--pbx-red) !important; color: #fff !important; box-shadow: 0 6px 16px -8px rgba(209, 31, 53, .8); }
.pgx-wrap .nav-pills .nav-link .tab-icon i { color: inherit; }
.pgx-wrap .card:has(> .card-body > .nav-pills:only-child) { background: transparent; border: 0 !important; box-shadow: none !important; }
.pgx-wrap .card:has(> .card-body > .nav-pills:only-child) > .card-body { padding: 0 !important; }
.pgx-wrap .alert { border-radius: 12px; border: 1px solid var(--pbx-line) !important; background: var(--pbx-soft) !important; color: var(--pbx-ink2); }
.pgx-wrap .alert-primary { background: #eef4ff !important; border-color: #d4e3ff !important; color: #1b4fa8; }
.pgx-wrap .list-group-item { border-color: var(--pbx-line); padding: 12px 16px; font-size: 13.5px; }
.pgx-wrap .list-group-item i { color: var(--pbx-red); margin-right: 6px; }
.pgx-wrap .btn { border-radius: 10px; font-weight: 650; }
.pgx-wrap .btn-sm.p-0 { padding: 4px 10px !important; }
.pgx-wrap .btn-warning, .pgx-wrap .btn-info, .pgx-wrap .btn-secondary, .pgx-wrap .btn-outline-info, .pgx-wrap .btn-outline-primary { background: #fff; border: 1px solid var(--pbx-line); color: var(--pbx-ink) !important; }
.pgx-wrap .btn-warning:hover, .pgx-wrap .btn-info:hover, .pgx-wrap .btn-secondary:hover { border-color: #d9d9e6; background: var(--pbx-soft); }
.pgx-wrap .btn-success { background: var(--pbx-ok); border-color: var(--pbx-ok); }
.pgx-wrap .progress { border-radius: 99px; background: var(--pbx-soft); }
.pgx-wrap .card-img, .pgx-wrap .card-img-top { border-radius: 0; }
.pgx-wrap #map, .pgx-wrap .leaflet-container { border-radius: 0 0 14px 14px; }
.pgx-wrap hr { border-color: var(--pbx-line); opacity: 1; }
.pgx-wrap .text-muted { color: var(--pbx-mute) !important; }
.pgx-wrap h5.text-uppercase { display: none; }
.pgx-wrap .badge.bg-success, .pgx-wrap .badge.text-bg-success { background: #e8f6f0 !important; color: #0f8a5b !important; }
.pgx-wrap .badge.bg-warning, .pgx-wrap .badge.text-bg-warning { background: #fff4e0 !important; color: #b46e00 !important; }
.pgx-wrap .badge.bg-danger, .pgx-wrap .badge.text-bg-danger { background: #fdecee !important; color: #c01a2e !important; }
.pgx-wrap .badge.bg-info, .pgx-wrap .badge.bg-primary { background: #eaf3ff !important; color: #1b5fd1 !important; }
.pgx-wrap .badge.bg-secondary, .pgx-wrap .badge.bg-dark { background: var(--pbx-soft) !important; color: var(--pbx-ink2) !important; }
.pgx-wrap .pagination { justify-content: center; gap: 4px; margin: 6px 0 0; }
.pgx-wrap .page-link { border-radius: 9px !important; border-color: var(--pbx-line); color: var(--pbx-ink2); font-weight: 650; }
.pgx-wrap .page-item.active .page-link { background: var(--pbx-red); border-color: var(--pbx-red); color: #fff; }
.dtx-empty { text-align: center; padding: 46px 20px; }
.dtx-empty .pbx-dot { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 14px; background: var(--pbx-red-s); color: var(--pbx-red); display: grid; place-items: center; }
.dtx-empty .pbx-dot .pbx-i { width: 26px; height: 26px; }
.dtx-empty h3 { font-size: 18px; font-weight: 750; margin-bottom: 6px; }
.dtx-empty p { color: var(--pbx-mute); margin: 0 auto 18px; max-width: 440px; }
.dtx-empty .dtx-actions { justify-content: center; }
.dtx-sort a { color: inherit !important; text-decoration: none; }
.dtx-sort a:hover { color: var(--pbx-red) !important; }
.pgx-wrap .card-header .card-title, .dtx .pgx-wrap .card-header .card-title { justify-content: flex-start; }
.pgx-wrap .card-body { overflow-x: auto; }
.pgx-wrap .table tr:has(> th + td) > th { white-space: normal; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--pbx-ink2); background: transparent; font-weight: 650; }
.pgx-wrap .table tr:has(> th + td) > td { white-space: normal; text-align: right; font-weight: 650; }
.pgx-wrap h5.text-uppercase + hr, .pgx-wrap .text-center:has(> h5.text-uppercase) { display: none; }
.pgx-wrap .col-md-12 > h2:first-child, .pgx-wrap .row-sm-12 > h2 { display: none; }
.pgx-wrap .accordion-item { border-color: var(--pbx-line); }
.pgx-wrap .accordion-button { font-weight: 650; font-size: 14px; }
.pgx-wrap .accordion-button:not(.collapsed) { background: var(--pbx-red-s); color: var(--pbx-red); box-shadow: none; }
.pgx-wrap .accordion-button:focus { box-shadow: 0 0 0 4px rgba(209, 31, 53, .08); }
.pgx-wrap .form-check-input:checked { background-color: var(--pbx-red); border-color: var(--pbx-red); }
/* Tracking-System / Download */
.dtx-steps a, .dtx-stack a, .dtx-dlcard a:not(.pbx-btn) { color: var(--pbx-red) !important; font-weight: 650; }
.dtx-steps li > span > b:first-child { font-size: 14px; }
.dtx-dlcard { position: relative; overflow: hidden; background: linear-gradient(150deg, #1d1f27, #14151a); border-color: #14151a; color: #fff; }
.dtx-dlcard::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(209, 31, 53, .55), rgba(209, 31, 53, 0) 70%); }
.dtx-dlcard .pbx-eyebrow { color: rgba(255, 255, 255, .6); }
.dtx-dlcard h3 { color: #fff !important; font-size: 24px; font-weight: 800; margin: 6px 0 2px; }
.dtx-dlcard p { margin: 0 0 16px; color: rgba(255, 255, 255, .65); font-size: 12.5px; }
.dtx-dlcard small { display: block; margin-top: 14px; color: rgba(255, 255, 255, .6); font-size: 12px; position: relative; z-index: 1; }
.dtx-dlcard small a { color: #ff8a98 !important; }
.dtx-dlbtn { width: 100%; justify-content: center; height: 46px; font-size: 14px; position: relative; z-index: 1; }
.dtx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dtx-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--pbx-ink2); }
.dtx-checks li .pbx-i { width: 18px; height: 18px; flex: none; color: var(--pbx-ok); margin-top: 1px; }
@media (max-width: 1199px) { .dtx-grid.is-wide:has(.dtx-dlcard) .dtx-side { order: -1; } }
