/* Ökosystem (Blickführung 2026-09, Befund OEKO-01):
   Bühne mit dem Haus als Motiv → zwei Erklärblöcke mit je drei Geräten auf
   wechselnder Fläche → Handlung. Grafiken tragen nur Achsen und Zustände,
   jede Karte ist als Ganzes verlinkt (Link liegt auf der Überschrift). */

/* ---------- Bühne ---------- */
.oeko-hero{padding:56px 0 48px}
.oeko-hero-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  grid-template-areas:"titel titel" "lead motiv";column-gap:48px;align-items:end}
.oeko-hero-titel{grid-area:titel;font-size:clamp(38px,4.2vw,58px);line-height:1.08;margin:0}
.oeko-hero-motiv{grid-area:motiv;margin:8px 0 0}
.oeko-hero-motiv img{display:block;width:100%;height:auto}
.oeko-hero-lead{grid-area:lead;align-self:start;margin:28px 0 0;font-size:19px;line-height:1.6;
  color:var(--ink-600);max-width:38ch}

/* ---------- Erklärblöcke ---------- */
.oeko-block{padding:72px 0 80px}
.oeko-block-titel{margin:0 0 28px}
.oeko-karten{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.oeko-karte{position:relative;scroll-margin-top:110px}
.flaeche-alabaster .oeko-karte{border-color:rgba(26,35,48,.06)}
.oeko-karte .botschaft-visual{padding:14px 16px 6px}
.oeko-karte .botschaft-text{padding:20px 24px 24px}
.oeko-karte .botschaft-text h3{font-size:22px;line-height:1.22;letter-spacing:-.02em;margin:0 0 10px}
.oeko-karte .botschaft-text p:not(.oeko-geraet){font-size:17px;line-height:1.6;margin:0}

/* Gerätename in Sektorfarbe — das einzige Label über der Überschrift (E-4). */
.oeko-geraet{margin:0 0 6px;font-size:13px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}
.oeko-geraet-pv{color:var(--pv-text)}.oeko-geraet-batt{color:var(--batt-text)}
.oeko-geraet-wp{color:var(--wp-text)}.oeko-geraet-wb{color:var(--wb-text)}.oeko-geraet-home{color:var(--home-text)}

/* Ganze Karte klickbar: der Link der Überschrift spannt sich über die Karte. */
.oeko-karte h3 a{color:var(--ink-900)}
.oeko-karte h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:1}
.oeko-karte h3 a:hover{text-decoration:none}
.oeko-karte:hover h3 a{color:var(--batt-text)}
.oeko-karte:focus-within{outline:2px solid var(--wb-core);outline-offset:3px}
.oeko-karte h3 a:focus-visible{outline:none}

/* ---------- Handlung ---------- */
.oeko-cta-aktion{align-items:center}
.oeko-cta-link{color:var(--auf-dunkel);font-weight:600;font-size:16px;min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 6px}
.oeko-cta-link:hover{color:var(--auf-dunkel);text-decoration:underline;text-underline-offset:4px}

/* ---------- Schmaler ---------- */
@media (max-width:1100px){
  .oeko-karten{gap:16px}
  .oeko-karte .botschaft-text{padding:18px 20px 22px}
}
@media (max-width:980px){
  .oeko-hero-grid{grid-template-columns:1fr;grid-template-areas:"titel" "motiv" "lead";column-gap:0}
  .oeko-hero-motiv{max-width:680px;margin:18px auto 0;width:100%}
  .oeko-hero-lead{margin:14px 0 0;max-width:60ch}
  .oeko-karten{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .oeko-hero{padding:36px 0 44px}
  .oeko-hero-titel{font-size:clamp(32px,8.6vw,44px)}
  .oeko-hero-lead{font-size:17px}
  .oeko-block{padding:52px 0 56px}
  .oeko-block-titel{margin-bottom:20px}
  .oeko-karten{grid-template-columns:1fr}
  /* Die schmalen Grafiken passen ohne seitliches Schieben (styles.css erzwingt dort 420 px). */
  .seite-oekosystem .oeko-karte .botschaft-visual{overflow:visible;padding-bottom:6px}
  .seite-oekosystem .oeko-karte .botschaft-visual svg{min-width:0}
  .oeko-cta-aktion{flex-direction:column;align-items:flex-start;gap:6px}
}
@media (prefers-reduced-motion:reduce){.oeko-karte,.oeko-karte:hover{transform:none;transition:none}}
.seite-oekosystem .site-footer{margin-top:0}
