.energy-intelligence-page {
  --energy-navy: #10213a;
  --energy-blue: #1f5f9f;
  --energy-cyan: #5aa6d8;
  --energy-orange: #d97912;
  --energy-green: #168b63;
}

.energy-intelligence-page .energy-shell { grid-template-columns: minmax(0, 1fr); padding-left: 12px; }
.energy-intelligence-page .employee-app-sidebar { position: fixed; left: 18px; top: 104px; z-index: 920; width: 270px; max-height: calc(100vh - 124px); overflow: auto; transform: translateX(-118%); opacity: 0; pointer-events: none; transition: transform 220ms ease, opacity 220ms ease; }
.energy-intelligence-page.landkarte-sidebar-open .employee-app-sidebar { transform: translateX(0); opacity: 1; pointer-events: auto; }
.energy-intelligence-page .employee-app-sidebar .employee-sidebar-card { padding-top: 76px; }
.energy-intelligence-page .employee-app-main { border: 0; background: transparent; box-shadow: none; overflow: visible; }
.energy-intelligence-page .energy-primary-button { color: #fff; background: linear-gradient(180deg, #5d95ce, #2f6eae); }
.energy-hero { min-height: auto; margin-bottom: 18px; }
.energy-hero .widmann-map-copy { min-height: 250px; }
.energy-hero .landkarte-head-side > img { width: 140px; height: 140px; object-fit: contain; }

.energy-thesis-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 18px; }
.energy-decision-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); gap: 16px; margin-bottom: 18px; }
.energy-card, .energy-calculator, .energy-scenario-section { border: 1px solid rgba(31, 95, 159, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.78); box-shadow: 0 14px 34px rgba(16, 33, 58, 0.07); }
.energy-card { padding: 20px; }
.energy-card h2, .energy-section-head h2 { margin: 2px 0 8px; color: var(--energy-navy); font-size: clamp(1.35rem, 2vw, 2rem); }
.energy-card h3 { margin: 0; color: var(--energy-navy); }
.energy-card p, .energy-section-head p { color: #52637d; line-height: 1.55; }
.energy-eyebrow { margin: 0; color: var(--energy-orange) !important; font-size: 0.76rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }

.energy-flow { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.energy-flow li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(235, 244, 253, 0.72); }
.energy-flow li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--energy-blue); font-weight: 900; }
.energy-flow strong, .energy-flow small { display: block; }
.energy-flow strong { color: var(--energy-navy); }
.energy-flow small { margin-top: 2px; color: #64748b; }

.energy-container-figure { display: flex; flex-direction: column; justify-content: space-between; margin: 0; overflow: hidden; }
.energy-container-stage { position: relative; left: 50%; width: 100vw; max-width: 100vw; margin: 0 0 18px; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: translateX(-50%); }
.energy-container-figure img { display: block; width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; background: transparent; }
.energy-container-figure figcaption { width: min(1600px, 100%); display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 12px clamp(18px, 4vw, 64px) 4px; border: 0; background: transparent; }
.energy-container-figure figcaption strong { color: var(--energy-navy); }
.energy-container-figure figcaption span { color: #64748b; }

.energy-calculator, .energy-scenario-section { margin-bottom: 18px; padding: 20px; }
.energy-section-head, .energy-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.energy-section-head { margin-bottom: 18px; }
.energy-section-head p { margin: 4px 0 0; }
.energy-assumption-badge, .energy-card-head > span { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; color: #92530d; background: #fff4df; font-size: 0.78rem; font-weight: 800; }
.energy-calculator-grid { display: grid; grid-template-columns: minmax(390px, 0.78fr) minmax(0, 1.22fr); gap: 16px; align-items: start; }
.energy-input-card { display: grid; gap: 14px; padding: 16px; }
.energy-input-card fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 14px; border: 1px solid rgba(31, 95, 159, 0.13); border-radius: 14px; }
.energy-input-card legend { padding: 0 7px; color: var(--energy-navy); font-weight: 900; }
.energy-input-card label { display: grid; align-content: start; gap: 5px; color: #41516a; font-size: 0.78rem; font-weight: 800; }
.energy-input-card label span { color: #718096; font-size: 0.68rem; font-weight: 700; }
.energy-input-card input, .energy-input-card select { width: 100%; min-width: 0; height: 42px; padding: 0 11px; border: 1px solid rgba(31, 95, 159, 0.18); border-radius: 11px; color: var(--energy-navy); background: linear-gradient(180deg, #eef4fb, #e3ebf5); font: inherit; box-shadow: inset 0 2px 5px rgba(16, 33, 58, 0.08); }
.energy-input-card input:focus, .energy-input-card select:focus { outline: 2px solid rgba(31, 95, 159, 0.28); border-color: var(--energy-blue); }

.energy-results-column { display: grid; gap: 14px; }
.energy-result-hero { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; padding: 18px; border: 1px solid rgba(31, 95, 159, 0.18); border-radius: 18px; background: linear-gradient(125deg, rgba(226, 240, 255, 0.95), rgba(255, 248, 240, 0.92)); }
.energy-result-hero span { color: #53647d; font-size: 0.82rem; font-weight: 900; text-transform: uppercase; }
.energy-result-hero strong { grid-row: span 2; color: var(--energy-navy); font-size: clamp(2rem, 4vw, 3.5rem); }
.energy-result-hero p { margin: 0; color: #52637d; }
.energy-result-hero.is-positive { border-color: rgba(22, 139, 99, 0.34); background: linear-gradient(125deg, rgba(226, 247, 239, 0.96), rgba(245, 251, 255, 0.92)); }
.energy-result-hero.is-warning { border-color: rgba(217, 121, 18, 0.35); }
.energy-result-hero.is-negative { border-color: rgba(190, 47, 66, 0.28); background: linear-gradient(125deg, rgba(255, 237, 240, 0.96), rgba(248, 250, 252, 0.92)); }
.energy-result-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.energy-result-grid article { min-width: 0; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; border: 1px solid rgba(31, 95, 159, 0.13); border-radius: 14px; background: rgba(255, 255, 255, 0.85); }
.energy-result-grid span { color: #64748b; font-size: 0.7rem; font-weight: 800; }
.energy-result-grid strong { color: var(--energy-navy); font-size: clamp(1.05rem, 1.6vw, 1.55rem); overflow-wrap: anywhere; }
.energy-result-grid small { color: #8491a4; font-size: 0.67rem; }

.energy-comparison-card { box-shadow: none; }
.energy-comparison-bars { display: grid; gap: 14px; margin-top: 16px; }
.energy-comparison-bars label { display: flex; justify-content: space-between; gap: 12px; color: #53647d; font-size: 0.78rem; }
.energy-comparison-bars i { display: block; height: 12px; margin-top: 6px; overflow: hidden; border-radius: 999px; background: #e3ebf5; }
.energy-comparison-bars u { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--energy-blue), var(--energy-cyan)); transition: width 320ms ease; }
.energy-comparison-bars div:last-child u { background: linear-gradient(90deg, #d97912, #efb15f); }

.energy-capex-section { margin-bottom: 18px; }
.energy-capex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.energy-capex-card { min-width: 0; padding: 18px; border: 1px solid rgba(31, 95, 159, 0.16); border-radius: 16px; background: rgba(255, 255, 255, 0.84); box-shadow: 0 12px 28px rgba(16, 33, 58, 0.06); }
.energy-capex-card.is-scale { border-color: rgba(31, 95, 159, 0.34); background: linear-gradient(135deg, rgba(235, 244, 253, 0.92), rgba(255, 255, 255, 0.90)); }
.energy-capex-card header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.energy-capex-card header span { color: #718096; font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }
.energy-capex-card header h3 { margin: 3px 0 0; color: var(--energy-navy); font-size: 1.35rem; }
.energy-capex-card header > strong { color: var(--energy-blue); font-size: clamp(1.35rem, 2.2vw, 2.15rem); text-align: right; overflow-wrap: anywhere; }
.energy-capex-card dl { display: grid; gap: 0; margin: 16px 0 0; }
.energy-capex-card dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid rgba(31, 95, 159, 0.11); }
.energy-capex-card dt { color: #64748b; font-size: 0.76rem; font-weight: 800; }
.energy-capex-card dd { margin: 0; color: var(--energy-navy); font-size: 0.82rem; font-weight: 900; text-align: right; }
.energy-capex-note { margin: 14px 0 0; padding: 11px 13px; border-left: 3px solid var(--energy-orange); border-radius: 0 10px 10px 0; color: #53647d; background: rgba(255, 244, 223, 0.72); font-size: 0.8rem; line-height: 1.5; }

.energy-scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.energy-scenario-grid article { padding: 16px; border: 1px solid rgba(31, 95, 159, 0.13); border-radius: 15px; background: rgba(255, 255, 255, 0.8); }
.energy-scenario-grid article:nth-child(2) { border-color: rgba(31, 95, 159, 0.34); box-shadow: 0 10px 25px rgba(31, 95, 159, 0.10); }
.energy-scenario-grid header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.energy-scenario-grid h3 { margin: 0; color: var(--energy-navy); }
.energy-scenario-grid header span { color: #64748b; font-size: 0.72rem; }
.energy-scenario-grid strong { display: block; margin: 16px 0 4px; color: var(--energy-navy); font-size: 1.8rem; }
.energy-scenario-grid p { margin: 0; color: #64748b; }

.energy-check-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.energy-check-list li { padding: 10px 12px; border-left: 3px solid var(--energy-blue); border-radius: 0 10px 10px 0; background: rgba(235, 244, 253, 0.66); color: #53647d; }
.energy-check-list b { color: var(--energy-navy); }
.energy-pilot-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.energy-pilot-facts div { padding: 13px; border-radius: 13px; background: rgba(235, 244, 253, 0.72); }
.energy-pilot-facts span, .energy-pilot-facts b { display: block; }
.energy-pilot-facts span { color: #64748b; font-size: 0.72rem; }
.energy-pilot-facts b { margin-top: 4px; color: var(--energy-navy); font-size: 1.1rem; }
.energy-assumption-table-card { margin-bottom: 8px; }
.energy-assumption-table-card .employee-table-shell { margin-top: 16px; }

.energy-modal { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 20px; background: rgba(16, 33, 58, 0.45); backdrop-filter: blur(8px); }
.energy-modal[hidden] { display: none; }
.energy-modal > section { position: relative; width: min(680px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; padding: 28px; border: 1px solid rgba(31, 95, 159, 0.18); border-radius: 22px; background: #fff; box-shadow: 0 30px 80px rgba(16, 33, 58, 0.24); }
.energy-modal h2 { margin: 4px 0 12px; color: var(--energy-navy); }
.energy-modal [data-energy-modal-body] { color: #52637d; line-height: 1.58; }
.energy-modal [data-energy-modal-body] ul { padding-left: 20px; }
.energy-modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 1px solid rgba(31, 95, 159, 0.18); border-radius: 50%; color: var(--energy-navy); background: #fff; font-size: 1.2rem; cursor: pointer; }
.energy-modal-actions { display: flex; justify-content: flex-end; margin-top: 18px; }

@media (max-width: 1280px) {
  .energy-result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .energy-calculator-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .energy-intelligence-page .employee-app-main { padding: 4px; }
  .energy-hero .widmann-map-copy { min-height: auto; }
  .energy-hero .landkarte-head-side > img { width: 94px; height: 94px; }
  .energy-thesis-grid, .energy-decision-grid, .energy-scenario-grid { grid-template-columns: 1fr; }
  .energy-capex-grid { grid-template-columns: 1fr; }
  .energy-section-head, .energy-card-head { align-items: stretch; flex-direction: column; }
  .energy-input-card fieldset { grid-template-columns: 1fr; }
  .energy-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .energy-result-hero { grid-template-columns: 1fr; }
  .energy-result-hero strong { grid-row: auto; }
  .energy-pilot-facts { grid-template-columns: 1fr 1fr; }
  .energy-assumption-table-card { overflow: hidden; }
  .energy-capex-card header { align-items: flex-start; flex-direction: column; }
  .energy-capex-card header > strong { text-align: left; }
  .energy-container-figure figcaption { align-items: flex-start; flex-direction: column; gap: 3px; }
}
