/* welthandel.net – Deutschlands Außenhandel (Destatis) */
:root{--exp:#0B7A7C;--imp:#E8833A;--sal:#4A5868}
.de-head{background:var(--navy);color:#fff;padding:36px 0 40px}
.de-head .wrap{display:flex;flex-direction:column;gap:10px}
.de-head .crumb{font-size:14px;color:var(--on-navy)}
.de-head .crumb a{color:var(--on-navy);text-decoration:none}
.de-head .crumb a:hover{color:#fff;text-decoration:underline}
.de-head h1{margin:0;font-size:clamp(2rem,4.5vw,3rem);line-height:1.1}
.de-head .lead{margin:0;color:var(--on-navy);font-size:1.05rem;max-width:48rem}
.de-head .stand{margin:0;font-size:13px;color:#9FB0C2}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-top:14px}
.kpi{background:var(--navy-2);border-radius:12px;padding:16px 18px}
.kpi .k-l{font-size:13px;color:var(--on-navy)}
.kpi .k-v{font-family:"Space Grotesk",Inter,sans-serif;font-size:1.7rem;font-weight:700;margin-top:4px}
.kpi .k-s{font-size:13px;color:#9FB0C2;margin-top:2px}
.kpi .up{color:#7FD8C9}.kpi .down{color:#F5B98A}
.de-main{padding:28px 0 72px}
.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}
.tabs button{font:inherit;font-size:15px;font-weight:600;min-height:44px;padding:0 18px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--text);cursor:pointer}
.tabs button:hover{background:#EEF1F5}
.tabs button[aria-selected="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}
.box{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:20px;overflow:hidden}
.box-head{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line)}
.box-head h2{margin:0;font-size:1.15rem;font-family:Inter,sans-serif;letter-spacing:0;font-weight:600}
.controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:14px}
.controls select,.controls input[type=search]{font:inherit;font-size:14px;padding:7px 9px;border:1px solid #A9B6C4;border-radius:8px;background:#fff;color:var(--text)}
.controls label{display:flex;gap:6px;align-items:center;color:var(--muted)}
.seg{display:inline-flex;border:1px solid #A9B6C4;border-radius:8px;overflow:hidden}
.seg button{font:inherit;font-size:14px;font-weight:600;border:0;background:#fff;color:var(--text);padding:7px 14px;cursor:pointer;min-height:36px}
.seg button.on{background:var(--navy);color:#fff}
.btn-dl{font:inherit;font-size:13px;font-weight:600;border:1px solid #A9B6C4;border-radius:8px;background:#fff;padding:7px 12px;cursor:pointer;color:var(--text)}
.btn-dl:hover{background:#EEF1F5}
.chart{padding:12px 12px 4px;min-height:200px}
.chart svg{display:block;width:100%;height:auto;font-family:Inter,sans-serif}
.chart .axis text{fill:var(--muted);font-size:12px}
.chart .axis path,.chart .axis line{stroke:#C8D0DA}
.chart .grid line{stroke:#EEF1F5}
.chart .grid path{display:none}
.legend-inline{display:flex;gap:18px;padding:0 18px 14px;font-size:13px;color:var(--muted)}
.legend-inline i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.c-exp{background:var(--exp)}.c-imp{background:var(--imp)}.c-sal{background:var(--sal)}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:20px}
.two-col .box{margin-bottom:0}
#p-mapwrap{position:relative;height:480px}
#p-map{position:absolute;inset:0;background:#F8FAFC}
.leaflet-container{font-family:Inter,sans-serif}
.map-legend{background:#fff;padding:8px 10px;border-radius:8px;font-size:12px;line-height:1.5;box-shadow:0 1px 4px rgba(0,0,0,.2);max-width:220px}
.map-legend i{display:inline-block;width:14px;height:10px;margin-right:6px;vertical-align:middle;border:1px solid rgba(0,0,0,.08)}
.tt b{display:block;margin-bottom:2px}
.tt .v{font-size:14px;font-weight:600}
.flag{width:20px;height:15px;object-fit:cover;vertical-align:-2px;margin-right:8px;border:1px solid rgba(0,0,0,.12);border-radius:2px}
.noflag{display:inline-block;width:20px;margin-right:8px}
.src{margin:0;padding:12px 18px 16px;font-size:12px;color:var(--muted);line-height:1.6}
.src a{color:var(--teal)}
.hint{padding:0 18px 14px;margin:0;font-size:13px;color:var(--muted)}
.empty{padding:28px;color:var(--muted);text-align:center}
.tabulator{font-size:14px;border:0}
.tabulator .tabulator-header{border-bottom:1px solid var(--line)}
.pos{color:#0B6B5E}.neg{color:#A4441A}
@media (max-width:640px){#p-mapwrap{height:340px}.kpi .k-v{font-size:1.35rem}}
.stack .box{margin-bottom:20px}
.map-legend-row{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;padding:10px 18px 14px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
.map-legend-row b{color:var(--text);font-weight:600}
.map-legend-row i{display:inline-block;width:14px;height:10px;margin-right:5px;vertical-align:middle;border:1px solid rgba(0,0,0,.08)}
.x-desc{padding:12px 18px 0}
#x-filters label{max-width:100%}
#x-filters select{max-width:260px}


.lead-link{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.lead-link:hover{color:var(--orange,#E8833A)}
