:root {
  --bg: #f4f7f7;
  --surface: #ffffff;
  --surface-2: #edf2f2;
  --text: #15272d;
  --muted: #65777d;
  --line: #d9e2e3;
  --accent: #0d7180;
  --accent-dark: #084b56;
  --accent-soft: #e0f1f3;
  --steel: #476875;
  --aluminium: #798c98;
  --copper: #a95732;
  --ok: #1e7655;
  --ok-soft: #e1f2e9;
  --warn: #996515;
  --warn-soft: #fff1d5;
  --danger: #a23c3c;
  --danger-soft: #f9e2e2;
  --shadow: 0 10px 30px rgba(30, 55, 62, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.52; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.topbar { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px max(24px, calc((100vw - 1240px) / 2)); background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--accent); color: white; font-weight: 800; letter-spacing: .04em; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }
nav { display: flex; gap: 22px; font-size: 14px; font-weight: 650; }
nav a { color: var(--text); }
.page-shell { width: min(1240px, calc(100% - 40px)); margin: 34px auto 60px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px max(24px, calc((100vw - 1240px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; background: var(--surface); }
h1, h2, h3 { line-height: 1.16; margin-top: 0; }
h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.035em; margin-bottom: 14px; }
h2 { font-size: 24px; letter-spacing: -.02em; }
h3 { font-size: 16px; }
p { margin-top: 0; }
small { font-size: 12px; }
.eyebrow { margin-bottom: 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: 44px; border-radius: 24px; background: linear-gradient(120deg, #0d4f5e, #197b8f); color: white; box-shadow: var(--shadow); }
.hero .eyebrow { color: #bce6ed; }
.hero p { max-width: 780px; color: #e4f3f5; font-size: 17px; }
.hero-actions { display: flex; flex-direction: column; min-width: 205px; gap: 10px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-chips span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); font-size: 12px; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.button:hover { text-decoration: none; border-color: var(--accent); }
.button.primary { background: var(--accent); border-color: var(--accent); color: white; }
.hero .button.primary { background: white; border-color: white; color: var(--accent-dark); }
.hero .button:not(.primary) { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: white; }
.button.ghost { background: transparent; }
.button.full { width: 100%; margin-top: 18px; }
.header-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.metrics-six { grid-template-columns: repeat(6, 1fr); }
.metrics article, .panel, .asset-card, .site-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.metrics article { padding: 20px; }
.metrics span, .metrics small { display: block; color: var(--muted); }
.metrics strong { display: block; margin: 5px 0; font-size: 31px; letter-spacing: -.03em; }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 24px; }
.material-card { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; color: var(--text); box-shadow: var(--shadow); }
.material-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-1px); }
.material-card strong, .material-card small { display: block; }
.material-card small { color: var(--muted); }
.material-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 850; font-size: 20px; }
.grid { display: grid; gap: 20px; margin: 20px 0; }
.grid.two-thirds { grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr); }
.panel { padding: 26px; margin: 20px 0; }
.section-heading, .page-header, .detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.page-header { align-items: flex-end; margin-bottom: 24px; }
.page-header h1 { margin-bottom: 6px; }
.page-header p { color: var(--muted); margin-bottom: 0; }
.bar-list { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr 38px; align-items: center; gap: 14px; font-size: 14px; }
.bar-track { height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.bar-fill { height: 100%; border-radius: inherit; background: var(--accent); }
.quality-stat { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.quality-stat strong { font-size: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { padding: 12px 14px; text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
td { padding: 15px 14px; vertical-align: middle; border-bottom: 1px solid var(--line); }
td small { display: block; margin-top: 3px; color: var(--muted); }
.table-link { font-weight: 750; }
.table-thumb { display: block; width: 92px; height: 50px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.badge, .gap-chip, .complete { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 11px; font-weight: 750; white-space: nowrap; }
.material-badge { background: #e6eef0; color: #38545d; }
.confidence-hoch, .complete, .status-in-betrieb { background: var(--ok-soft); color: var(--ok); }
.confidence-mittel, .status-geplant, .status-im-hochlauf, .status-im-bau { background: var(--warn-soft); color: var(--warn); }
.confidence-niedrig, .status-stillgelegt { background: var(--danger-soft); color: var(--danger); }
.gap-chip { margin: 2px; background: var(--warn-soft); color: var(--warn); }
.filters { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 12px; padding: 18px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.filters-seven { grid-template-columns: 2fr repeat(6, 1fr); }
.filters-eight { grid-template-columns: 2fr repeat(7, 1fr); }
.site-filters { grid-template-columns: 3fr 1fr; }
.site-filters-operator { grid-template-columns: 3fr 1fr 1.5fr; }
.filters label { color: var(--muted); font-size: 12px; font-weight: 700; }
.filters input, .filters select { width: 100%; min-height: 42px; margin-top: 5px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--text); font: inherit; }
.filter-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; }
.filter-hint { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.asset-card, .site-card { padding: 20px; overflow: hidden; }
.asset-card h2, .site-card h2 { margin: 14px 0 6px; font-size: 21px; }
.asset-card > p { color: var(--muted); }
.asset-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.asset-site { color: var(--text) !important; font-weight: 700; }
.product-visual { position: relative; display: block; margin: -20px -20px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.product-visual:hover { text-decoration: none; }
.product-visual img { display: block; width: 100%; height: 176px; object-fit: cover; }
.product-visual span { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.91); color: var(--text); font-size: 11px; font-weight: 750; box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.compact-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 0; }
.compact-dl div { padding-top: 10px; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: 12px; font-weight: 700; }
dd { margin: 4px 0 0; font-weight: 650; }
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 700; }
.detail-header { align-items: flex-end; padding: 34px; margin-bottom: 20px; border-radius: 20px; background: #142b33; color: white; }
.detail-header h1 { font-size: clamp(32px, 5vw, 48px); margin: 14px 0 8px; }
.detail-header p, .detail-header a { color: #ccdde1; }
.detail-header-with-image { display: grid; grid-template-columns: minmax(0, 1fr) 280px 190px; align-items: center; }
.detail-product-visual { margin: 0; }
.detail-product-visual img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 13px; border: 1px solid rgba(255,255,255,.18); }
.detail-product-visual figcaption { margin-top: 7px; color: #b8cdd2; font-size: 11px; text-align: center; }
.verification { min-width: 190px; padding: 15px; border-radius: 12px; background: rgba(255,255,255,.08); }
.verification span, .verification small, .verification strong { display: block; }
.verification span, .verification small { color: #b8cdd2; font-size: 12px; }
.verification strong { margin: 5px 0; font-size: 20px; }
.detail-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 22px 0; }
.detail-dl.single { grid-template-columns: 1fr; }
.detail-dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.note { margin-top: 20px; padding: 18px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 8px; }
.note p { margin: 6px 0 0; }
.contact { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact small { color: var(--muted); }
.timeline { position: relative; margin-top: 24px; }
.timeline:before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline article { display: grid; grid-template-columns: 74px 1fr; gap: 36px; position: relative; padding: 0 0 28px; }
.timeline article:before { content: ""; position: absolute; left: 87px; top: 6px; width: 12px; height: 12px; border: 3px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.timeline time { color: var(--muted); font-size: 12px; font-weight: 750; }
.timeline h3 { margin: 8px 0 4px; }
.timeline p { color: var(--muted); }
.source-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.source-list article { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.source-list h3 { margin: 12px 0 6px; }
.source-list p, .source-list small { color: var(--muted); }
.sites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 18px 0; }
.site-stats div { padding: 10px 7px; text-align: center; border-radius: 10px; background: var(--surface-2); }
.site-stats strong, .site-stats span { display: block; }
.site-stats strong { font-size: 21px; }
.site-stats span { color: var(--muted); font-size: 10px; }
.site-card ul { padding-left: 18px; min-height: 94px; }
.site-detail-header { align-items: center; }
.ownership-timeline { display: grid; gap: 14px; margin-top: 20px; }
.ownership-timeline article { display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ownership-period { display: grid; align-content: start; gap: 2px; padding: 12px; border-radius: 10px; background: var(--surface-2); }
.ownership-period span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.ownership-timeline h3 { margin: 10px 0 5px; font-size: 19px; }
.ownership-timeline p { color: var(--muted); margin-bottom: 6px; }
.ownership-timeline small { display: block; margin-top: 5px; color: var(--muted); }
.empty-inline { padding: 24px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface-2); }
.mini-asset-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mini-asset { display: grid; grid-template-columns: 125px 1fr; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--text); background: var(--surface); }
.mini-asset:hover { text-decoration: none; border-color: var(--accent); }
.mini-asset img { width: 125px; height: 82px; object-fit: cover; }
.mini-asset strong, .mini-asset small { display: block; }
.mini-asset small { margin-top: 4px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact-card h3 { margin: 10px 0 3px; }
.contact-card p { margin-bottom: 3px; }
.contact-card > small { color: var(--muted); }
.contact-card.inactive { opacity: .65; }
.source-link { margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 700; }
.empty-state { grid-column: 1 / -1; padding: 50px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; background: var(--surface); }
@media (max-width: 1120px) {
  .metrics-six { grid-template-columns: repeat(3, 1fr); }
  .filters-seven, .filters-eight { grid-template-columns: repeat(4, 1fr); }
  .filters-seven .wide, .filters-eight .wide { grid-column: span 2; }
  .detail-header-with-image { grid-template-columns: minmax(0, 1fr) 220px; }
  .detail-header-with-image .verification { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .filters .wide { grid-column: span 3; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .material-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { position: static; align-items: flex-start; flex-direction: column; }
  nav { width: 100%; gap: 14px; overflow-x: auto; padding-bottom: 2px; }
  .page-shell { width: min(100% - 24px, 1240px); margin-top: 18px; }
  .hero, .page-header, .detail-header, footer { flex-direction: column; align-items: stretch; }
  .hero { padding: 28px; }
  .hero-actions { min-width: 0; }
  .metrics, .metrics-six, .grid.two-thirds, .card-grid, .sites-grid, .source-list, .contact-grid, .mini-asset-grid { grid-template-columns: 1fr; }
  .filters, .filters-seven, .filters-eight, .site-filters, .site-filters-operator { grid-template-columns: 1fr; }
  .filters .wide, .filters-seven .wide, .filters-eight .wide, .filter-actions { grid-column: auto; }
  .filter-actions { justify-content: stretch; }
  .filter-actions .button { flex: 1; }
  .detail-dl { grid-template-columns: 1fr; }
  .detail-header-with-image { display: flex; }
  .detail-product-visual img { height: 180px; }
  .timeline:before { left: 0; }
  .timeline article { grid-template-columns: 1fr; gap: 8px; padding-left: 24px; }
  .timeline article:before { left: -5px; }
  .bar-row { grid-template-columns: 1fr 36px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .ownership-timeline article { grid-template-columns: 1fr; }
  .mini-asset { grid-template-columns: 95px 1fr; }
  .mini-asset img { width: 95px; }
  .header-actions { width: 100%; }
  .header-actions .button { flex: 1; }
}

/* Version 0.5 – Europa und getrennte Rechercheebenen */
.country-chips a { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); color: white; font-size: 12px; font-weight: 700; }
.country-chips a:hover { text-decoration: none; background: rgba(255,255,255,.2); }
.stage-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 24px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); box-shadow: var(--shadow); }
.stage-banner > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; padding: 21px 24px; background: var(--surface); }
.stage-banner .stage-number { grid-row: span 2; min-width: 64px; color: var(--accent); font-size: 34px; font-weight: 850; letter-spacing: -.04em; }
.stage-banner strong, .stage-banner small { display: block; }
.stage-banner small { color: var(--muted); }
.stage-banner.compact > div { grid-template-columns: 1fr; }
.stage-note { margin: 0 0 20px; padding: 20px 22px; border: 1px solid #b8dce1; border-left: 5px solid var(--accent); border-radius: 14px; background: var(--accent-soft); box-shadow: var(--shadow); }
.stage-note strong { display: block; margin-bottom: 5px; color: var(--accent-dark); }
.stage-note p { margin: 0; }
.record-standortprofil { background: #e7e3f7; color: #5e4d91; }
.record-anlage-linie { background: #dfeef1; color: #315f68; }
.filters-ten { grid-template-columns: 2fr repeat(9, minmax(105px, 1fr)); }
.site-filters-europe { grid-template-columns: 3fr 1fr 1fr 1.5fr; }

@media (max-width: 1120px) {
  .filters-ten { grid-template-columns: repeat(4, 1fr); }
  .filters-ten .wide { grid-column: span 2; }
}
@media (max-width: 1000px) {
  .stage-banner { grid-template-columns: 1fr; }
  .site-filters-europe { grid-template-columns: repeat(3, 1fr); }
  .site-filters-europe .wide { grid-column: span 3; }
}
@media (max-width: 720px) {
  .filters-ten, .site-filters-europe { grid-template-columns: 1fr; }
  .filters-ten .wide, .site-filters-europe .wide { grid-column: auto; }
  .stage-banner > div { grid-template-columns: 1fr; }
  .stage-banner .stage-number { grid-row: auto; }
}

/* Version 0.8 – EBS-Branding und Anlagenregister-Pro */
.brand { flex: 0 1 auto; min-width: 0; gap: 16px; }
.brand-logo { display: block; width: 176px; height: 51px; object-fit: contain; object-position: left center; border-radius: 5px; background: #fff; }
.brand-copy { min-width: 0; }
.brand-copy strong { font-size: 17px; letter-spacing: -.015em; white-space: nowrap; }
.brand-copy small { white-space: nowrap; }
@media (max-width: 1180px) {
  .topbar { gap: 18px; }
  .brand-logo { width: 142px; height: 41px; }
  .brand-copy strong { font-size: 15px; }
  nav { gap: 14px; font-size: 13px; }
}
@media (max-width: 860px) {
  .brand-logo { width: 132px; }
  .brand-copy small { display: none; }
}
@media (max-width: 720px) {
  .brand { width: 100%; }
  .brand-logo { width: 155px; height: 45px; }
  .brand-copy small { display: block; }
}

/* Version 1.4 – Weltkarte, technische Anlagenbilder und Datenlücken */
.page-shell { width: min(1440px, calc(100% - 40px)); }
.map-dashboard { margin-bottom: 26px; }
.map-dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 20px; }
.map-dashboard-heading > div:first-child { max-width: 900px; }
.map-dashboard-heading h1 { max-width: 840px; }
.map-dashboard-heading p:not(.eyebrow) { max-width: 900px; color: var(--muted); font-size: 16px; }
.map-heading-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.world-map-layout, .continent-map-layout, .country-map-layout { display: grid; grid-template-columns: minmax(0, 3.15fr) minmax(300px, 1fr); gap: 18px; align-items: stretch; }
.map-stage, .map-side-panel { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.map-stage { position: relative; min-width: 0; overflow: hidden; background: linear-gradient(160deg, #f8fbfb, #eaf2f3); }
.geo-map { display: block; width: 100%; height: auto; min-height: 420px; }
.map-ocean { fill: #e9f3f5; }
.map-graticule { stroke: #b9d0d4; stroke-width: .75; stroke-dasharray: 3 7; opacity: .55; }
.country-shape { stroke: #fff; stroke-width: .75; vector-effect: non-scaling-stroke; transition: filter .15s ease, opacity .15s ease, stroke-width .15s ease; }
.country-shape.no-data { opacity: .42; }
.country-shape.has-data { opacity: .92; }
.country-shape.is-clickable:hover, .country-shape.is-clickable:focus { filter: brightness(.92) saturate(1.2); stroke: #173a43; stroke-width: 1.6; outline: none; }
.is-clickable { cursor: pointer; }
.point-country { stroke: #fff; stroke-width: 2; }
.country-bubble circle { stroke: #fff; stroke-width: 2.2; filter: drop-shadow(0 3px 5px rgba(20,55,63,.2)); }
.country-bubble text { fill: #fff; font-size: 13px; font-weight: 850; pointer-events: none; }
.country-bubble:hover circle, .country-bubble:focus circle { filter: brightness(.88) drop-shadow(0 4px 7px rgba(20,55,63,.32)); }
.country-focus-shape { stroke: var(--continent-color, var(--accent)); stroke-width: 1.7; opacity: .92; }
.site-marker-halo { fill: rgba(255,255,255,.82); stroke: var(--continent-color, var(--accent)); stroke-width: 1.5; }
.site-marker-core { fill: var(--continent-color, var(--accent)); stroke: #fff; stroke-width: 1.5; }
.site-marker:hover .site-marker-core, .site-marker:focus .site-marker-core { fill: var(--accent-dark); }
.point-country-focus { fill: var(--continent-soft, var(--accent-soft)); stroke: var(--continent-color, var(--accent)); stroke-width: 3; stroke-dasharray: 9 8; }
.point-country-label { fill: var(--text); font-size: 22px; font-weight: 850; }
.map-side-panel { padding: 25px; background: linear-gradient(160deg, #fff, #f7fbfb); }
.map-side-panel h2 { margin-bottom: 17px; font-size: 34px; }
.map-side-panel h3 { margin-top: 26px; }
.map-kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.map-kpi-grid div { padding: 12px; border-radius: 12px; background: var(--surface-2); }
.map-kpi-grid strong, .map-kpi-grid span { display: block; }
.map-kpi-grid strong { font-size: 23px; line-height: 1.1; }
.map-kpi-grid span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.map-quality-snapshot { display: grid; gap: 0; margin-top: 19px; border-top: 1px solid var(--line); }
.map-quality-snapshot div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.map-quality-snapshot span { color: var(--muted); font-size: 12px; }
.map-quality-snapshot strong { font-size: 20px; }
.map-source-note { display: block; margin-top: 12px; color: var(--muted); line-height: 1.4; }
.world-map-stage { min-height: 535px; }
.continent-callouts { position: absolute; inset: 0; pointer-events: none; }
.continent-callout { position: absolute; z-index: 2; display: grid; min-width: 154px; max-width: 205px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--continent-color), #fff 48%); border-left: 5px solid var(--continent-color); border-radius: 11px; background: rgba(255,255,255,.91); color: var(--text); box-shadow: 0 8px 20px rgba(27,57,64,.13); pointer-events: auto; backdrop-filter: blur(5px); }
.continent-callout:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 25px rgba(27,57,64,.2); }
.continent-callout strong { font-size: 14px; }
.continent-callout span { font-size: 12px; font-weight: 750; }
.continent-callout small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.continent-nordamerika { left: 4%; top: 12%; }
.continent-suedamerika { left: 26%; top: 61%; }
.continent-europa { left: 47%; top: 10%; }
.continent-afrika { left: 47%; top: 46%; }
.continent-asien { right: 4%; top: 15%; }
.continent-ozeanien { right: 3%; top: 67%; }
.map-legend { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 15px; padding: 8px 12px; border: 1px solid rgba(185,208,212,.75); border-radius: 10px; background: rgba(255,255,255,.9); color: var(--muted); font-size: 11px; backdrop-filter: blur(5px); }
.legend-dot { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 50%; vertical-align: -1px; }
.legend-dot.has-data { background: var(--accent); }
.legend-dot.no-data { background: #cbd6d8; }
.legend-dot.mapped-site { background: #e85f35; border: 2px solid #fff; box-shadow: 0 0 0 1px #e85f35; }
.legend-scale { display: inline-block; width: 31px; height: 9px; margin-right: 5px; border-radius: 999px; vertical-align: 0; }
.scale-low { background: color-mix(in srgb, var(--continent-color, var(--accent)), #fff 74%); }
.scale-high { background: var(--continent-color, var(--accent)); }
.continent-summary-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 15px; }
.continent-summary-card { display: grid; grid-template-columns: 7px minmax(135px, 1.15fr) minmax(240px, 1.7fr) auto; align-items: center; gap: 13px; min-width: 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(100deg, var(--continent-soft), #fff 54%); color: var(--text); box-shadow: var(--shadow); }
.continent-summary-card:hover { text-decoration: none; border-color: var(--continent-color); transform: translateY(-1px); }
.continent-swatch { width: 7px; height: 54px; border-radius: 999px; background: var(--continent-color); }
.continent-summary-card strong, .continent-summary-card small { display: block; }
.continent-summary-card small { color: var(--muted); line-height: 1.35; }
.continent-summary-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.continent-summary-card dl div { min-width: 0; }
.continent-summary-card dt { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.continent-summary-card dd { margin: 2px 0 0; font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-breadcrumb { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.map-breadcrumb a { color: var(--accent-dark); }
.continent-dashboard .eyebrow, .country-dashboard .eyebrow { color: var(--continent-color); }
.continent-map-stage, .country-map-stage { min-height: 610px; }
.country-ranking { display: grid; gap: 2px; }
.country-ranking a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 9px; border-radius: 8px; color: var(--text); }
.country-ranking a:hover { text-decoration: none; background: var(--surface-2); }
.country-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.country-data-card { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(250px, 1.6fr) auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); }
.country-data-card:hover { text-decoration: none; border-color: var(--continent-color, var(--accent)); background: var(--continent-soft, var(--accent-soft)); }
.country-data-card strong, .country-data-card small { display: block; }
.country-data-card small { color: var(--muted); }
.country-data-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.country-data-card dt { color: var(--muted); font-size: 10px; }
.country-data-card dd { margin: 2px 0 0; font-weight: 800; }
.compact-pill-list { display: flex; flex-wrap: wrap; gap: 7px; }
.compact-pill-list span { padding: 6px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 11px; }
.country-quality-note { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin-top: 25px; padding: 14px; border-radius: 12px; background: var(--continent-soft, var(--accent-soft)); }
.country-quality-note strong { grid-row: span 2; font-size: 28px; color: var(--continent-color, var(--accent)); }
.country-quality-note span { color: var(--muted); font-size: 11px; }
.country-quality-note a { font-size: 12px; font-weight: 750; }
.equipment-thumb { object-fit: contain; background: #f5f9f9; }
.product-visual img, .mini-asset img, .detail-product-visual img { object-fit: contain; background: #f5f9f9; }

/* Symbol catalogue */
.symbol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.symbol-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.symbol-card > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-bottom: 1px solid var(--line); background: #f6fafa; }
.symbol-card-body { padding: 19px; }
.symbol-card-body h2 { margin: 5px 0 7px; font-size: 20px; }
.symbol-card-body code { display: inline-block; padding: 4px 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 11px; }
.symbol-count { color: var(--accent); font-size: 12px; font-weight: 800; }
.symbol-card ul { margin: 10px 0 0; padding-left: 18px; }
.symbol-card li { margin: 5px 0; }
.symbol-card li small { display: block; color: var(--muted); }

/* Data quality worklist */
.quality-overview-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.quality-priority-card { display: grid; gap: 2px; padding: 16px; border: 1px solid var(--line); border-top-width: 5px; border-radius: 13px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.quality-priority-card:hover { text-decoration: none; transform: translateY(-1px); }
.quality-priority-card span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.quality-priority-card strong { font-size: 32px; line-height: 1.1; }
.quality-priority-card small { color: var(--muted); }
.priority-critical { border-top-color: #a23c3c; } .priority-high { border-top-color: #d66c2d; } .priority-medium { border-top-color: #c7921c; } .priority-low { border-top-color: #5a8590; } .priority-complete { border-top-color: #1e7655; }
.quality-filters { grid-template-columns: 2.2fr repeat(7, minmax(120px, 1fr)); }
.quality-summary-layout { grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr); }
.gap-ranking { display: grid; gap: 5px; }
.gap-ranking a { display: grid; grid-template-columns: minmax(210px, 1.3fr) 2fr 60px; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; color: var(--text); }
.gap-ranking a:hover { text-decoration: none; background: var(--surface-2); }
.gap-bar { height: 9px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.gap-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--warn), #df9b2f); }
.gap-ranking strong { text-align: right; }
.quality-method-panel dl { margin: 0; }
.quality-method-panel dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.quality-method-panel dt { font-weight: 800; }
.quality-method-panel dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.quality-table { min-width: 1180px; }
.priority-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.priority-kritisch { background: var(--danger-soft); color: var(--danger); } .priority-hoch { background: #fce7dc; color: #aa4f25; } .priority-mittel { background: var(--warn-soft); color: var(--warn); } .priority-gering { background: var(--accent-soft); color: var(--accent-dark); } .priority-vollständig { background: var(--ok-soft); color: var(--ok); }
.completeness { min-width: 115px; }
.completeness > div { height: 7px; margin: 5px 0; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.completeness i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.gap-cell { max-width: 420px; }
.gap-chip { transition: background .15s ease; }
a.gap-chip:hover { text-decoration: none; background: #ffe2ad; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }

@media (max-width: 1260px) {
  .world-map-layout, .continent-map-layout, .country-map-layout { grid-template-columns: minmax(0, 2.4fr) 300px; }
  .continent-summary-strip { grid-template-columns: repeat(2, 1fr); }
  .continent-callout { min-width: 132px; max-width: 168px; padding: 8px 10px; }
  .continent-callout small { display: none; }
  .quality-filters { grid-template-columns: repeat(4, 1fr); }
  .quality-filters .wide { grid-column: span 2; }
}
@media (max-width: 1000px) {
  .map-dashboard-heading { align-items: flex-start; flex-direction: column; }
  .map-heading-actions { justify-content: flex-start; }
  .world-map-layout, .continent-map-layout, .country-map-layout { grid-template-columns: 1fr; }
  .map-side-panel { display: grid; grid-template-columns: minmax(200px, .7fr) 1.5fr; gap: 12px 22px; }
  .map-side-panel > .eyebrow, .map-side-panel > h2 { grid-column: 1; }
  .map-side-panel .map-kpi-grid { grid-column: 2; grid-row: 1 / span 3; }
  .map-side-panel .map-quality-snapshot, .map-side-panel .button, .map-side-panel .map-source-note, .map-side-panel h3, .map-side-panel .country-ranking, .map-side-panel .compact-pill-list, .map-side-panel .country-quality-note { grid-column: 1 / -1; }
  .country-card-grid, .symbol-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-overview-grid { grid-template-columns: repeat(3, 1fr); }
  .quality-summary-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-shell { width: min(100% - 22px, 1440px); }
  .world-map-stage { min-height: 0; }
  .continent-callouts { display: none; }
  .geo-map { min-height: 300px; }
  .map-legend { position: static; margin: 0 10px 10px; }
  .continent-summary-strip, .country-card-grid, .symbol-grid, .quality-overview-grid { grid-template-columns: 1fr; }
  .continent-summary-card { grid-template-columns: 7px 1fr auto; }
  .continent-summary-card dl { grid-column: 2 / -1; }
  .country-data-card { grid-template-columns: 1fr auto; }
  .country-data-card dl { grid-column: 1 / -1; }
  .map-side-panel { display: block; }
  .map-kpi-grid { margin-bottom: 15px; }
  .quality-filters { grid-template-columns: 1fr; }
  .quality-filters .wide { grid-column: auto; }
  .gap-ranking a { grid-template-columns: 1fr 48px; }
  .gap-bar { grid-column: 1 / -1; grid-row: 2; }
  .pagination { flex-wrap: wrap; }
}

/* Version 1.5: multilingual header */
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; }
.main-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.language-switcher { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.language-switcher label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.language-switcher select { min-height: 36px; max-width: 142px; padding: 6px 30px 6px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text); font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.language-switcher select:focus { outline: 3px solid color-mix(in srgb, var(--accent), transparent 75%); border-color: var(--accent); }

@media (max-width: 1180px) {
  .topbar { align-items: flex-start; }
  .topbar-actions { align-items: flex-end; flex-direction: column-reverse; gap: 8px; }
  .main-navigation { justify-content: flex-end; gap: 12px; font-size: 13px; }
}
@media (max-width: 820px) {
  .topbar-actions { width: 100%; align-items: stretch; }
  .main-navigation { justify-content: flex-start; }
  .language-switcher { justify-content: flex-start; }
}

/* Version 1.5: language selector */
.language-switcher { display:flex; align-items:center; gap:8px; margin-left:auto; }
.language-switcher label { color:rgba(255,255,255,.82); font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.language-switcher select { min-width:112px; padding:8px 30px 8px 10px; border:1px solid rgba(255,255,255,.28); border-radius:9px; color:#fff; background:#24535b; font:inherit; cursor:pointer; }
.language-switcher select:focus { outline:2px solid rgba(255,255,255,.55); outline-offset:2px; }
@media (max-width: 1080px) { .topbar { flex-wrap:wrap; } .language-switcher { order:3; width:100%; justify-content:flex-end; margin-top:4px; } }
@media (max-width: 760px) { .language-switcher { justify-content:flex-start; } }

/* Version 1.5: audit flags complement missing-field gaps. */
.quality-flags-panel { margin-top: 18px; }
.quality-flag-chip { background: #edf3f5; border-color: #b9cbd0; color: #294a52; text-decoration: none; }
.quality-flag-chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.flag-cell { min-width: 190px; }
.flag-cell .badge, .gap-cell .badge { margin: 2px 4px 2px 0; white-space: normal; }

/* Version 1.6: distinguish source-backed coordinates from approximate city centroids. */
.site-marker.is-approximate .site-marker-core { fill: #f0a51a; stroke-dasharray: 2 1; }
.site-marker.is-approximate .site-marker-halo { stroke: #f0a51a; stroke-dasharray: 3 2; }
.legend-dot.mapped-site.approximate { background: #f0a51a; box-shadow: 0 0 0 1px #f0a51a; }
.badge.coordinate-approx { background: #fff3cf; color: #805800; border-color: #efc55b; }
.country-site-table td small { display: block; margin-top: .25rem; color: var(--muted); }
.map-kpi-grid small { display: block; font-size: .68rem; margin-top: .2rem; color: var(--muted); }

.map-attribution {
  margin: .35rem 1.2rem .9rem;
  color: var(--muted, #62767b);
  font-size: .74rem;
  line-height: 1.35;
}

/* Version 1.7: operator-family completeness audit */
.completeness-kpis { margin-bottom: 1rem; }
.completeness-filters { grid-template-columns: minmax(280px, 2fr) repeat(2, minmax(180px, 1fr)) auto; }
.completeness-table td strong { display: block; }
.completeness-table td small { display: block; margin-top: .35rem; color: var(--muted); line-height: 1.35; }
.completeness-table th:nth-child(3), .completeness-table th:nth-child(4), .completeness-table th:nth-child(5),
.completeness-table td:nth-child(3), .completeness-table td:nth-child(4), .completeness-table td:nth-child(5) { text-align: center; }
@media (max-width: 980px) { .completeness-filters { grid-template-columns: 1fr 1fr; } .completeness-filters .wide { grid-column: 1 / -1; } }
