/* Process hero, light theme (Themen brief 21, L3, 2026-11-13): the same hero on a light ground, beside the light loop hero
   (Anwendungen & Kreislaufwirtschaft) and the Werkstoffe hero. Loaded only with tx_dgm_ex_theme = light (frontend.html), on
   top of frontend.css, every rule scoped to .ph--light: layout, sizes and the text block's measures stay those of
   frontend.css; only ground, text colours, chip label, buttons, the callouts and the chips change. The drawing itself is
   assets/light.js. Colours and values follow the loop hero (section-hero-loop/assets/frontend.css). */
.ph--light {
  --ph-ink: #003e52; --ph-text: #0f172a; --ph-muted: #475569;
  color: var(--ph-text);
  background:
    radial-gradient(ellipse 52% 66% at 76% 54%, rgb(255 255 255 / .85), rgb(255 255 255 / 0) 70%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgb(127 216 245 / .22), transparent 70%),
    linear-gradient(160deg, #f6fbfe 0%, #eef8fc 42%, #e4f4fb 74%, #dff2fa 100%);
}
/* the calm field behind the text: the ground's own colour, so the grid fades out under the copy */
.ph--light::after { background: linear-gradient(90deg, rgb(246 251 254 / .8) 0%, rgb(246 251 254 / .5) 30%, rgb(246 251 254 / 0) 50%); }

/* no pulse dot: the pill's first item is now text, which would sit it 0.6 px lower on the line; top keeps every part where
   the dark hero has it */
.ph--light .ph__eyebrow { vertical-align: top; border-color: rgb(0 171 227 / .34); background: rgb(255 255 255 / .72); color: #00475e;
  box-shadow: 0 6px 18px -12px rgb(0 62 82 / .35); }
.ph--light .ph__h1 { color: var(--ph-ink); }
.ph--light .ph__accent { background: linear-gradient(90deg, #007aa8 0%, #00abe3 100%); -webkit-background-clip: text; background-clip: text; filter: none; }
.ph--light .ph__lead { color: var(--ph-muted); }
.ph--light .ph__btn--primary { box-shadow: 0 16px 34px -14px rgb(0 171 227 / .6); }
.ph--light .ph__btn--primary:hover, .ph--light .ph__btn--primary:focus-visible { box-shadow: 0 18px 36px -14px rgb(0 122 168 / .6); }
.ph--light .ph__btn--secondary { border-color: rgb(0 62 82 / .26); background: rgb(255 255 255 / .74); color: var(--ph-ink);
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.ph--light .ph__btn--secondary:hover, .ph--light .ph__btn--secondary:focus-visible { border-color: #00abe3; background: #fff; color: var(--ph-ink); }
.ph--light .ph__btn:focus-visible { outline-color: var(--ph-ink); }

/* the callouts: ink labels, fine ink leaders, white dots with an ink ring (as the loop hero's fields) */
.ph--light .ph__st { --ph-lc: rgb(0 62 82 / .42); color: var(--ph-ink); }
.ph--light .ph__st::after, .ph--light .ph__stack-dot { background: #fff; box-shadow: inset 0 0 0 1px var(--ph-ink); }
.ph--light .ph__stack::before { background: rgb(0 62 82 / .42); }
.ph--light .ph__stack::after { background: linear-gradient(90deg, rgb(0 62 82 / .42) calc(100% - 5px), transparent 0); }
.ph--light .ph__st:hover, .ph--light .ph__st:focus-visible, .ph--light .ph__st.is-hi { color: var(--ph-ink); }
.ph--light .ph__st:hover .ph__st-t, .ph--light .ph__st:focus-visible .ph__st-t, .ph--light .ph__st.is-hi .ph__st-t { text-decoration-color: currentColor; }
.ph--light .ph__st:hover::before, .ph--light .ph__st:focus-visible::before, .ph--light .ph__st.is-hi::before { background: var(--ph-ink); }
.ph--light .ph__st:hover::after, .ph--light .ph__st:focus-visible::after, .ph--light .ph__st.is-hi::after { background: #00abe3; }
/* the others step back by colour, not by opacity: they keep 4.5:1 on the ground */
.ph--light .ph__stations.has-hi .ph__st:not(.is-hi) { opacity: 1; color: #3b6577; }
.ph--light .ph__st:focus-visible { outline-color: var(--ph-ink); }

/* the chips (900 to 1199 and phones) */
.ph--light .ph__chip { border-color: rgb(0 62 82 / .2); background: rgb(255 255 255 / .82); color: var(--ph-ink); }
.ph--light .ph__chip::before { box-shadow: inset 0 0 0 1px var(--ph-ink); }
.ph--light .ph__chip:hover, .ph--light .ph__chip:focus-visible { border-color: #00abe3; background: #fff; color: var(--ph-ink); }
.ph--light .ph__chip:focus-visible { outline-color: var(--ph-ink); }
@media (max-width: 899.98px) {
  .ph--light::after { background: linear-gradient(180deg, rgb(246 251 254 / .6) 0%, rgb(246 251 254 / 0) 60%); }
}

/* light hero (page field tx_dgm_fullscreen_hero = 2, the dark menu): pinned, the blue logo turns white on the blue bar;
   over the hero, search and language buttons with ink icons and a visible border (as the loop hero, scoped to this one) */
body.dgm-page-has-fullscreen-hero-dark:has(.ph--light) .mainmenu.dgm-mainmenu--pinned #logo img { filter: brightness(0) invert(1); }
body.dgm-page-has-fullscreen-hero-dark:has(.ph--light) .mainmenu:not(.dgm-mainmenu--float) .dgm-mainmenu-overlay-actions :is(button[aria-label="Search"], #options-menu) { border: 1px solid rgb(15 23 42 / .28) !important; background: rgb(255 255 255 / .7) !important; color: #0f172a !important; }
body.dgm-page-has-fullscreen-hero-dark:has(.ph--light) .mainmenu:not(.dgm-mainmenu--float) .dgm-mainmenu-overlay-actions :is(button[aria-label="Search"], #options-menu) * { color: #0f172a !important; }
body.dgm-page-has-fullscreen-hero-dark:has(.ph--light) .mainmenu:not(.dgm-mainmenu--float) .dgm-mainmenu-overlay-actions :is(button[aria-label="Search"], #options-menu):hover { border-color: #00abe3 !important; }
