/* Editorial pages: quiet chapter rhythm, explicit surface/text pairs. */
:is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) {
  --editorial-text: #344b60;
  --editorial-green: #286b5d;
  --editorial-amber: #805b25;
  --editorial-purple: #69547d;
}
:is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) .editorial-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) 180px;
  gap: 48px;
  align-items: center;
  padding-block: 16px 8px;
}
:is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) .editorial-heading .lead { max-width: 68ch; font-size: 20px; margin-bottom: 0; }
:is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) .editorial-symbol {
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 58% 42% 38% 62%;
  background: #eee9f2;
  color: #695a80;
  transform: rotate(-5deg);
}
:is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) .editorial-symbol svg { width: 76px; height: 76px; transform: rotate(5deg); stroke-width: 1.3; }
.page-balance .editorial-symbol { background: linear-gradient(120deg,#e5efe9 50%,#f4eddf 50%); color: #466b63; }
.page-location .editorial-symbol { background: #e9edf3; color: #566c89; }
.page-privacy .editorial-symbol { background: #e4eee9; color: #3e7063; }
.page-imprint .editorial-symbol { background: #e7eef3; color: #516c87; }
:is(.page-balance,.page-location) .editorial-jumps { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 28px; padding-block: 12px; border-block: 1px solid var(--line); }
:is(.page-balance,.page-location) .editorial-jumps a { padding-block: 6px; font-size: 14px; font-weight: 550; color: #365c77; text-decoration: none; }
:is(.page-balance,.page-location) .editorial-jumps a:hover { text-decoration: underline; }
:is(.page-balance,.page-location) .section > .wrap > .lead { max-width: 78ch; margin-bottom: 28px; }
:is(.page-balance,.page-location) .section > .wrap > .muted { max-width: 100ch; }
:is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) main :is(a,p,li,dt,dd) { overflow-wrap: anywhere; }
:is(.page-balance,.page-location) .sources { gap: 0; max-width: 1000px; }
:is(.page-balance,.page-location) .sources li { padding-block: 10px; border-bottom: 1px solid var(--line); }
:is(.page-balance,.page-location) .sources a { align-items: flex-start; line-height: 1.6; }
:is(.page-balance,.page-location) .sources .icon { margin-top: 5px; }

/* Bilanz: benefits and costs use muted, equally weighted accents. */
.page-balance { --ok: #286b5d; --err: #805b25; --ok-bg: #e8f1ec; --err-bg: #f6efe2; }
.page-balance .verdict { background: #eef1ed; color: var(--editorial-text); border-radius: 20px; gap: 40px; }
.page-balance .verdict h2,.page-balance .balance strong { color: var(--ink); }
.page-balance .verdict h2 .icon { color: var(--ok); }
.page-balance .balance span { color: var(--muted); }
.page-balance .balance li { background: #ffffffa6; }
.page-balance .balance .plus::before { background: #c9e3d6; }
.page-balance .balance .minus::before { background: #ead9b8; }
.page-balance .balance .neutral::before { background: #e2dbe8; }
.page-balance .legend { padding: 20px 0; border-bottom: 1px solid var(--line); gap: 16px 24px; align-items: flex-start; }
.page-balance .legend > span:not(:first-child) { flex: 1 1 220px; max-width: 340px; line-height: 1.7; }
.page-balance .legend .ev { margin-bottom: 4px; }
.page-balance .ev-belegt { background: #e2eee7; color: #255b4e; border-color: #b9d1c5; }
.page-balance .ev-indiz { background: #e8eef5; color: #355c80; border-color: #c1cfdf; }
.page-balance .ev-offen { background: #efeaf3; color: #66517a; border-color: #cbbfd6; }
.page-balance .procon-cols { gap: 56px; }
.page-balance .procon-cols > div { min-width: 0; gap: 0; }
.page-balance .arg { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 28px 0; }
.page-balance .arg-top { justify-content: flex-start; gap: 12px; }
.page-balance .arg h3 { font-size: 23px; line-height: 1.3; margin-bottom: 12px; }
.page-balance .arg-fact { padding: 8px 12px; background: #eaf1ec; font-size: 16px; border-radius: 6px; }
.page-balance .arg.con .arg-fact { background: #f4eddf; }
.page-balance .arg p { color: var(--editorial-text); font-size: 16px; line-height: 1.7; }
.page-balance .col-head { border-bottom-width: 2px; padding-bottom: 20px; flex-wrap: wrap; }
.page-balance .horizon-foot { gap: 24px; margin-top: 24px; }
.page-balance :is(.counterpoint,.takeaway-box) { background: #ecf0f4; color: var(--editorial-text); border: 0; padding: 28px; border-radius: 16px; }
.page-balance .takeaway-box { background: #eeebf2; }
.page-balance :is(.counterpoint,.takeaway-box) h3 { color: var(--ink); line-height: 1.35; }
.page-balance .takeaway-box h3 .icon { color: var(--editorial-purple); }
.page-balance .cta-band { background: #eaf0f3; padding: 32px; gap: 28px; }
.page-balance .cta-band > div { flex: 1 1 420px; }
.page-balance .cta-band p { max-width: 70ch; color: var(--editorial-text); }
.page-balance .table-wrap { border-radius: 12px; }
.page-balance table { font-size: 16px; line-height: 1.6; }
.page-balance table thead th { background: #edeef1; color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 14px; }
.page-balance .horizon thead th { color: var(--ink); }
.page-balance .horizon td.now,.page-balance .horizon td.later { color: var(--editorial-text); }
.page-balance .horizon th[scope=row] { width: 20%; min-width: 160px; }
.page-balance .groups th[scope=row] { min-width: 170px; }
.page-balance .groups td:last-child { color: var(--editorial-text); }

/* Standort: data, causes, action, and conclusion remain distinct chapters. */
.page-location .answer { background: #eeeaf2; color: var(--editorial-text); border: 0; display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 32px; padding: 32px; }
.page-location .answer h2 { color: var(--ink); margin: 0; font-size: 24px; line-height: 1.3; }
.page-location .answer p { font-size: 19px; line-height: 1.65; }
.page-location .tiles { grid-template-columns: repeat(3,minmax(0,1fr)); background: transparent; gap: 0; padding-block: 12px; }
.page-location .tile { min-width: 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; padding: 20px 28px; gap: 10px; }
.page-location .tile:first-child { padding-left: 0; }
.page-location .tile:last-child { border: 0; padding-right: 0; }
.page-location .tile strong { color: #42657d; }
.page-location .charts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; margin: 28px 0 20px; }
.page-location .chart { min-width: 0; padding: 24px 0; border: 0; border-block: 1px solid var(--line); background: transparent; border-radius: 0; }
.page-location .chart figcaption { min-height: 76px; }
.page-location .chart figcaption strong { font-size: 21px; line-height: 1.35; margin-bottom: 8px; }
.page-location .chart figcaption small { display: block; line-height: 1.5; }
.page-location .chart li { grid-template-columns: 90px minmax(0,1fr) 64px; margin-block: 8px; }
.page-location .bar { background: #e9eef1; border-radius: 4px; }
.page-location .bar span { background: #6e98b4; }
.page-location .chart li:nth-child(2) .bar span { background: #b69b65; }
.page-location .chart li:nth-child(3) .bar span { background: #76a390; }
.page-location .chart li:hover .bar span { filter: brightness(.9); }
.page-location .factors { display: block; margin-top: 32px; border-top: 1px solid var(--line); }
.page-location .factor { display: grid; grid-template-columns: minmax(170px,.8fr) minmax(0,2fr) 260px; gap: 32px; align-items: start; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 28px 0; background: transparent; }
.page-location .factor.highlight { background: transparent; }
.page-location .factor h3 { font-size: 20px; line-height: 1.35; margin: 0; }
.page-location .factor p { grid-column: 2; grid-row: 1; font-size: 16px; line-height: 1.65; color: var(--editorial-text); }
.page-location .factor-scores { grid-column: 3; margin: 0; gap: 20px; justify-content: space-between; }
.page-location .factor-scores small { margin-bottom: 8px; }
.page-location .score-value { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.page-location .dots { gap: 4px; }
.page-location .dots i { width: 13px; height: 13px; border-color: #3b7b69; background: transparent; }
.page-location .dots i.on { background: #3b7b69; }
.page-location .factor-scores div:last-child .dots i { border-color: #806590; background: transparent; }
.page-location .factor-scores div:last-child .dots i.on { background: #806590; }
.page-location .fronts { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 32px; }
.page-location .front { min-width: 0; border: 0; border-top: 3px solid #8faf9f; border-radius: 0; background: transparent; padding: 24px 0 0; }
.page-location .front:nth-child(2) { border-color: #b4a2c0; }
.page-location .front:nth-child(3) { border-color: #c6b084; }
.page-location .front header { grid-template-columns: auto minmax(0,1fr); gap: 8px 12px; margin-bottom: 24px; }
.page-location .front header h3 { font-size: 22px; line-height: 1.3; }
.page-location .front .cat-icon { background: #e7eee9; color: #426d5d; }
.page-location .front:nth-child(2) .cat-icon { background: #eee9f1; color: #715784; }
.page-location .front:nth-child(3) .cat-icon { background: #f2ecdf; color: #7e632e; }
.page-location .front .tempo { background: #f0ece4; color: #715b35; border-color: #ded3c0; font-size: 12px; line-height: 1.5; }
.page-location .front-numbers { gap: 0; margin-bottom: 20px; border-top: 1px solid var(--line); }
.page-location .front-numbers div { flex-wrap: wrap; gap: 2px 12px; padding: 12px 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--line); }
.page-location .front-numbers dd { min-width: 0; font-size: 23px; color: var(--ink); }
.page-location .front-numbers dt { flex: 1 1 160px; color: var(--editorial-text); line-height: 1.5; }
.page-location .front > p,.page-location .front .plain li { color: var(--editorial-text); font-size: 16px; line-height: 1.65; }
.page-location .front h4 { font-size: 14px; color: var(--ink); letter-spacing: 0; text-transform: none; margin: 20px 0 12px; }
.page-location .front .doing li::before { background: #508573; }
.page-location .front .missing li::before { background: #987746; }
/* The global cycle is dark. Reset every inherited light text and gold accent. */
.page-location .cycle-wrap { margin-top: 48px; background: #eaf0f3; color: var(--editorial-text); border-radius: 20px; padding: clamp(24px,3vw,40px); }
.page-location .cycle-wrap h3 { color: var(--ink); font-size: 25px; line-height: 1.3; margin-bottom: 28px; }
.page-location .cycle { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 28px; }
.page-location .cycle li { background: transparent; border-radius: 0; padding: 0; min-width: 0; }
.page-location .cycle .num { width: 32px; height: 32px; margin-bottom: 16px; background: #d4e1e8; color: #294c65; font-size: 14px; }
.page-location .cycle li:not(:last-child)::after { color: #52758a; right: -21px; top: 16px; }
.page-location .cycle p { color: var(--editorial-text); font-size: 16px; line-height: 1.65; }
.page-location .cycle-note { max-width: 100ch; color: var(--editorial-text); border-top: 1px solid #cbd7df; margin-top: 28px; padding-top: 24px; line-height: 1.7; }
.page-location .procon { gap: 40px; margin-top: 28px; }
.page-location .procon > div { background: transparent; border: 0; border-top: 2px solid #8faf9f; border-radius: 0; padding: 24px 0 0; }
.page-location .procon > .con { border-color: #c6b084; }
.page-location .procon .pro h3 { color: #286b5d; }
.page-location .procon .con h3 { color: #805b25; }
.page-location .procon .pro h3 .icon { background: #286b5d; }
.page-location .procon .con h3 .icon { background: #805b25; }
.page-location .procon .plain li { color: var(--editorial-text); line-height: 1.7; }
.page-location .cases { gap: 32px 40px; margin-top: 28px; }
.page-location .case { min-width: 0; background: transparent; border: 0; border-top: 1px solid #c6d2de; border-radius: 0; padding: 24px 0 0; }
.page-location .case-top { flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.page-location .case h3 { font-size: 22px; line-height: 1.35; }
.page-location .case p { font-size: 16px; line-height: 1.7; color: var(--editorial-text); }
.page-location .case-src { align-self: flex-start; align-items: flex-start; line-height: 1.6; }
.page-location .case-src .icon { margin-top: 5px; }
.page-location .counter { margin-top: 28px; }
.page-location .counter li { grid-template-columns: minmax(220px,.8fr) minmax(0,2fr); gap: 40px; padding: 24px 0; }
.page-location .counter li > div { align-content: start; align-items: flex-start; }
.page-location .counter h3 { width: 100%; font-size: 20px; line-height: 1.35; }
.page-location .counter p { max-width: 80ch; color: var(--editorial-text); line-height: 1.7; }
.page-location .qa { gap: 24px; margin-top: 32px; }
.page-location .qa div { background: transparent; border-left: 3px solid #b6a4c4; border-radius: 0; padding: 4px 0 4px 24px; }
.page-location .qa dt { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
.page-location .qa dd { color: var(--editorial-text); line-height: 1.7; }

/* Sources and legal pages: index on the left, a readable document on the right. */
:is(.page-sources,.page-imprint,.page-privacy) .editorial-document { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 56px; align-items: start; }
:is(.page-sources,.page-imprint,.page-privacy) .editorial-nav { display: grid; gap: 0; position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--line); padding-right: 24px; }
:is(.page-sources,.page-imprint,.page-privacy) .editorial-nav strong { font-size: 15px; margin-bottom: 12px; }
:is(.page-sources,.page-imprint,.page-privacy) .editorial-nav a { display: block; padding: 10px 0; font-size: 14px; line-height: 1.5; color: #365c77; text-decoration: none; }
:is(.page-sources,.page-imprint,.page-privacy) .editorial-nav a:hover { text-decoration: underline; }
:is(.page-sources,.page-imprint,.page-privacy) .editorial-reading { min-width: 0; max-width: 780px; }
:is(.page-sources,.page-imprint,.page-privacy) .editorial-reading > section { border: 0; border-top: 1px solid var(--line); padding: 32px 0; margin: 0; }
:is(.page-sources,.page-imprint,.page-privacy) .editorial-reading > section:first-child { padding-top: 0; border: 0; }
:is(.page-sources,.page-imprint,.page-privacy) .editorial-reading h2 { font-size: 26px; margin-bottom: 20px; line-height: 1.35; }
:is(.page-imprint,.page-privacy) .editorial-reading p,:is(.page-imprint,.page-privacy) .editorial-reading li { font-size: 17px; color: var(--editorial-text); line-height: 1.8; }
:is(.page-imprint,.page-privacy) .editorial-reading address { font-size: 18px; color: var(--editorial-text); line-height: 1.8; font-style: normal; }
.page-privacy .editorial-reading #abschnitt-2 { background: #eaf1ec; color: var(--editorial-text); border: 0; border-radius: 16px; padding: 28px; margin-block: 8px 32px; }
.page-privacy .editorial-reading #abschnitt-2 h2 { color: var(--ink); }
.page-privacy .editorial-reading #abschnitt-2 .plain { gap: 12px; }
.page-sources .method-sequence { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.page-sources .method-sequence li { border-top: 2px solid #b6a5c5; padding: 24px 0 16px; }
.page-sources .method-sequence li:nth-child(3n+2) { border-color: #9dbdaf; }
.page-sources .method-sequence li:nth-child(3n) { border-color: #a5bdcc; }
.page-sources .method-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ece7f0; color: #66517a; font-weight: 650; font-size: 14px; margin-bottom: 20px; }
.page-sources .method-sequence h2 { font-size: 21px; line-height: 1.35; margin-bottom: 12px; }
.page-sources .method-sequence p { font-size: 16px; color: var(--editorial-text); line-height: 1.7; }
.page-sources .sources { gap: 0; }
.page-sources .sources li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.page-sources .sources li:last-child { border-bottom: 0; }
.page-sources .sources a { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-size: 16px; line-height: 1.6; }
.page-sources .sources .icon { flex: none; margin-top: 5px; }
.page-sources .callout { background: #f4eee3; color: var(--editorial-text); border: 0; border-left: 3px solid #c2a576; border-radius: 0; margin-top: 24px; line-height: 1.7; }
.page-sources .callout strong { color: #735928; }

@media (max-width:1100px) {
  .page-location .factor { grid-template-columns: minmax(0,1fr) 260px; gap: 16px 32px; }
  .page-location .factor h3 { grid-column: 1; }
  .page-location .factor p { grid-row: 2; grid-column: 1; }
  .page-location .factor-scores { grid-column: 2; grid-row: 1 / 3; }
  .page-location .fronts { grid-template-columns: 1fr; gap: 40px; }
  .page-location .front { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); column-gap: 40px; align-items: start; }
  .page-location .front header,.page-location .front-numbers { grid-column: 1; }
  .page-location .front > p { grid-column: 2; grid-row: 1 / 3; }
  .page-location .front h4,.page-location .front .plain { grid-column: 1 / -1; }
  .page-location .cycle { grid-template-columns: 1fr; gap: 24px; }
  .page-location .cycle li { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 16px; align-items: start; }
  .page-location .cycle .num { margin: 0; }
  .page-location .cycle li:not(:last-child)::after { content: '↓'; right: auto; left: 16px; top: auto; bottom: -23px; transform: translateX(-50%); }
}
@media (max-width:1000px) {
  .page-location .answer { grid-template-columns: 1fr; gap: 16px; }
  :is(.page-sources,.page-imprint,.page-privacy) .editorial-document { grid-template-columns: 200px minmax(0,1fr); gap: 32px; }
  .page-sources .method-sequence { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px) {
  .page-location .charts { grid-template-columns: 1fr; gap: 24px; }
  .page-location .chart figcaption { min-height: 0; }
  .page-location .chart + .chart { border-top: 0; padding-top: 0; }
  .page-balance .procon-cols { gap: 40px; }
}
@media (max-width:760px) {
  .page-location .counter li { grid-template-columns: 1fr; gap: 12px; }
  :is(.page-sources,.page-imprint,.page-privacy) .editorial-document { display: block; }
  :is(.page-sources,.page-imprint,.page-privacy) .editorial-nav { position: static; max-height: none; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 0 24px; }
  :is(.page-sources,.page-imprint,.page-privacy) .editorial-nav strong { width: 100%; margin-bottom: 8px; }
  :is(.page-sources,.page-imprint,.page-privacy) .editorial-nav a { padding: 10px 0; }
}
@media (max-width:680px) {
  :is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) .editorial-heading { grid-template-columns: 1fr; gap: 0; }
  :is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) .editorial-symbol { display: none; }
  :is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) .editorial-heading .lead { font-size: 18px; }
  :is(.page-balance,.page-location) .editorial-jumps { gap: 0 20px; margin-top: 24px; }
  :is(.page-balance,.page-location) .editorial-jumps a { min-height: 44px; display: flex; align-items: center; }
  .page-balance .verdict { padding: 24px; gap: 24px; }
  .page-balance .legend > span:first-child { flex-basis: 100%; }
  .page-balance .legend > span:not(:first-child) { max-width: none; }
  .page-balance .col-head { font-size: 25px; }
  .page-balance :is(.counterpoint,.takeaway-box,.cta-band) { padding: 24px; }
  .page-balance .cta-band .button { width: 100%; justify-content: center; }
  .page-location .answer { padding: 24px; }
  .page-location .tiles { grid-template-columns: 1fr; }
  .page-location .tile,.page-location .tile:first-child,.page-location .tile:last-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .page-location .tile:last-child { border-bottom: 0; }
  .page-location .chart li { grid-template-columns: 74px minmax(0,1fr) 58px; gap: 8px; font-size: 14px; }
  .page-location .factor { display: flex; flex-direction: column; gap: 16px; }
  .page-location .factor-scores { width: 100%; max-width: 300px; order: 2; }
  .page-location .front { display: flex; }
  .page-location .fronts { gap: 32px; }
  .page-location .cycle-wrap { margin-top: 32px; padding: 24px; }
  .page-location .cycle-wrap h3 { font-size: 23px; }
  .page-location .cycle li { gap: 12px; }
  .page-location .procon { gap: 32px; }
  .page-location .qa div { padding-left: 20px; }
  .page-sources .method-sequence { grid-template-columns: 1fr; gap: 16px; }
  .page-sources .method-sequence li { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 12px 16px; padding-block: 20px 8px; }
  .page-sources .method-number { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .page-sources .method-sequence h2 { grid-column: 2; margin: 0; }
  .page-sources .method-sequence p { grid-column: 2; margin: 0; }
  :is(.page-sources,.page-imprint,.page-privacy) .editorial-reading h2 { font-size: 23px; }
  .page-privacy .editorial-reading #abschnitt-2 { padding: 24px; }
}
@media print {
  :is(.page-sources,.page-imprint,.page-privacy) .editorial-nav,
  :is(.page-balance,.page-location) .editorial-jumps,
  :is(.page-balance,.page-location,.page-sources,.page-imprint,.page-privacy) .editorial-symbol { display: none; }
  :is(.page-sources,.page-imprint,.page-privacy) .editorial-document { display: block; }
}
