/* Content element dgm_section_hero_young (task 19, agent B, 2026-11-12): the playful Nachwuchs hero as a TYPO3 element.
   Moved here unchanged from Tools/NetzwerkRedesign/design/assets/heroes/nachwuchs.css (the audited hero of brief 12);
   the element's frontend.html writes the markup design/heroes/nachwuchs.php wrote, class for class. Added at the end:
   the site header rules of netzwerk.css that the hero needs, scoped to pages with .nwh, so the element needs no file
   of the Netzwerk template (sys_template 443). */
/* Nachwuchs hero, playful (brief 12): the family text block beside a small bright world of materials. Markup from
   design/heroes/nachwuchs.php, motion from nachwuchs-next.js. Everything is scoped to .nwh (two rules outside it: the
   html frame that holds .nwh gets full width, and the section pill menu after it overlaps the hero by 30px).
   The text block repeats the Nachwuchs page's hero (54.css .nwy-hero__*) and the bright Themen heroes value for value:
   left edge = the 1280px box with 64px padding (24px from 900 to 1023 and under 900, 20px under 640), eyebrow top 168px
   from 1024px, h1 clamp(1.75rem, 3.65vw, 3.3rem)/1.05 900 -.015em, lead clamp(1.02rem, 1.25vw, 1.18rem)/1.62 max 540px,
   buttons 49.6px radius 10; hero 672px from 900px.
   The scene: a stage of 600 x 500 units (phones 600 x 430), scaled to its box; 1 unit = var(--u). Every thing in it has
   a centre (--cx, --cy) or a corner (--x, --y), a width (--w) and a turn (--r) in units; the script moves them from there. */
.nwh {
  --nwh-pad: 64px; --nwh-top: 168px; --nwh-copy: calc((min(100cqw, 1280px) - 180px) * 7 / 12); --nwh-cw: var(--nwh-copy);
  --nwh-i: #003e52; --nwh-p: #00abe3; --nwh-l: #7fd8f5;
  container: nwh / inline-size;
  position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; margin: 0; color: #0f172a;
  font-family: "Theme-Font", Inter, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 46% 62% at 74% 50%, rgb(255 255 255 / .9), 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%);
}
.nwh *, .nwh *::before, .nwh *::after { box-sizing: border-box; }
#crm__widgets .frame:has(> .nwh) { max-width: none; width: auto; margin: 0; padding: 0; }
.nwh a { text-decoration: none; }
/* bottom padding 64px as the network hero (not 104px as the page's hero today): with the German lead in five lines (its
   font grows to 1.18rem from 1510px) 104px made today's hero 708px tall at 1680 and 1920; 64px keeps the family's 672px */
.nwh__inner { position: relative; z-index: 3; width: 100%; max-width: 1280px; min-height: 672px; margin: 0 auto; padding: var(--nwh-top) var(--nwh-pad) 64px; pointer-events: none; }
.nwh__copy { position: relative; z-index: 4; width: var(--nwh-copy); max-width: 100%; pointer-events: auto; }
html.nw-fw .nwh__copy { visibility: hidden; }
.nwh__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem !important; padding: .4rem .85rem .4rem .7rem;
  border: 1px solid rgb(0 171 227 / .34); border-radius: 999px; background: rgb(255 255 255 / .72); color: #00475e;
  font: 800 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 18px -12px rgb(0 62 82 / .35); }
.nwh__pulse { position: relative; display: inline-flex; width: .5rem; height: .5rem; border-radius: 999px; background: #00abe3; box-shadow: 0 0 14px rgb(0 171 227 / .55); }
.nwh__pulse::after { content: ""; position: absolute; inset: -.45rem; border: 1px solid rgb(0 171 227 / .5); border-radius: 999px; animation: nwh-pulse 2.4s ease-out infinite; }
@keyframes nwh-pulse { 0% { opacity: .72; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.8); } }
.nwh__h1 { max-width: 680px; margin: 0; color: #003e52; font-family: "Heading-Font", "Inter Tight", Inter, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.65vw, 3.3rem); font-weight: 900; line-height: 1.05; letter-spacing: -.015em; text-wrap: balance;
  hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 9 5 4; overflow-wrap: break-word; }
/* the h1 as wide as its longer line (the lines do not change): the doodled arrow starts right of whichever line is longer.
   The accent's gradient keeps the length it has on the page today (the copy column, at most 680px), so its colours stay. */
.nwh__h1 { position: relative; width: fit-content; }
.nwh__accent { display: block; margin-top: .12em; padding-bottom: .14em; line-height: 1.14;
  background: linear-gradient(90deg, #007aa8 0%, #00abe3 100%) 0 0 / min(680px, var(--nwh-cw)) 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* the accent's words carry the marker stroke and the doodled arrow (both drawn paths, aria-hidden) */
.nwh__acc { position: relative; }
.nwh__lead { max-width: 540px; margin-top: 1.5rem; color: #475569; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.62; text-wrap: pretty; }
.nwh__lead p { margin: 0; }
.nwh__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.nwh__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.1rem; padding: .8rem 1.4rem;
  border-radius: 10px; font-size: 1rem; font-weight: 800; letter-spacing: .01em; line-height: 1.2; text-decoration: none;
  transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.nwh__btn i { display: inline-block; width: 1.1em; font-size: 1rem; text-align: center; }
.nwh__btn--primary { background: #00abe3; color: #fff !important; box-shadow: 0 16px 34px -14px rgb(0 171 227 / .6); }
.nwh__btn--primary:hover, .nwh__btn--primary:focus-visible { background: #007aa8; color: #fff !important; box-shadow: 0 18px 36px -14px rgb(0 122 168 / .6); }
.nwh__btn--secondary { border: 1px solid rgb(0 62 82 / .26); background: rgb(255 255 255 / .74); color: #003e52 !important; }
.nwh__btn--secondary:hover, .nwh__btn--secondary:focus-visible { border-color: #00abe3; background: #fff; color: #003e52 !important; }
.nwh__btn:focus-visible { outline: 2px solid #003e52; outline-offset: 3px; }
.nwh__glow { position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: radial-gradient(circle at calc(50% + min(50cqw, 640px) - 300px) 46%, rgb(127 216 245 / .32), rgb(127 216 245 / 0) 340px); }

/* ---------- hand-made touches ---------- */
/* the marker stroke under the accent words: light tone, drawn once the text shows (html.nw-fw = fonts not yet in) */
.nwh__mark { position: absolute; left: -.06em; right: -.1em; bottom: -.2em; width: calc(100% + .16em); height: .3em; overflow: visible; pointer-events: none; z-index: -1; }
.nwh__mark path { fill: none; stroke: #7fd8f5; stroke-width: .15em; stroke-linecap: round; stroke-linejoin: round; vector-effect: none;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: nwh-draw .75s cubic-bezier(.55, .08, .3, 1) .35s forwards; }
/* the doodled loop arrow, from the headline's longer line towards the scene (between the two lines' heights) */
.nwh__arrow { position: absolute; left: calc(100% + .3em); top: .5em; width: 3.4em; height: 2.04em; overflow: visible; pointer-events: none; }
.nwh__arrow path { fill: none; stroke: #00abe3; stroke-width: 2.2px; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: nwh-draw .9s cubic-bezier(.45, .05, .35, 1) 1.05s forwards; }
.nwh__arrow path[data-k="ah"] { animation-duration: .28s; animation-delay: 1.9s; }
html.nw-fw :is(.nwh__mark, .nwh__arrow) path { animation: none; }
@keyframes nwh-draw { to { stroke-dashoffset: 0; } }

/* ---------- the scene ---------- */
/* the area right of the text (desktop), the stage of 600 x 500 units fitted into it and centred */
.nwh__area { position: absolute; z-index: 2; top: 92px; bottom: 60px; left: var(--nwh-al); right: var(--nwh-ar); container-type: size; display: grid; place-items: center; pointer-events: none; }
.nwh { --nwh-al: calc(max(0px, (100cqw - 1280px) / 2) + 64px + 540px + 40px); --nwh-ar: calc(max(0px, (100cqw - 1280px) / 2) + 24px); }
.nwh__stage { --sw: 600; --sh: 500; position: relative; width: min(100cqw, 100cqh * 600 / 500); aspect-ratio: 600 / 500; container-type: inline-size; pointer-events: auto; touch-action: auto; }
.nwh__stage > * { --u: calc(100cqw / 600); position: absolute; }
/* cards: corner and width in units; the inner box carries the turn (and, from the script, lean and lift) */
.nwh__card { left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); margin: 0; }
.nwh__cj { position: relative; display: block; padding: calc(4px + .35 * var(--u) * 6); border-radius: 15px; background: #fff; transform: rotate(var(--r));
  box-shadow: 0 0 0 1px rgb(0 62 82 / .06), 0 1px 2px rgb(0 33 44 / .08); will-change: transform; }
.nwh__cj img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; border-radius: 10px; background: #dff2fa; }
.nwh__cs { position: absolute; inset: 6% 4% -2%; border-radius: 18px; transform: rotate(var(--r)); background: rgb(0 33 44 / .3); filter: blur(14px); opacity: .9; will-change: transform, opacity; }
.nwh__card--t { --ar: 2460 / 1640; }
.nwh__card--p { --ar: 1000 / 1250; }
.nwh__card--d { --ar: 2720 / 1700; }
/* objects: centre and width in units, height from the drawing */
.nwh__o { left: calc((var(--cx) - var(--w) / 2) * var(--u)); top: calc(var(--cy) * var(--u)); width: calc(var(--w) * var(--u)); translate: 0 -50%; display: block; }
.nwh__oj { display: block; transform: rotate(var(--r)); will-change: transform; }
.nwh__svg { display: block; width: 100%; height: auto; overflow: visible; }
.nwh__svg .k { stroke: #003e52; stroke-width: 1.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.nwh__svg .k.f { stroke-width: 1.1px; }
.nwh__svg .k.t { stroke-width: 1.3px; }
.nwh__svg .b { vector-effect: non-scaling-stroke; }
.nwh__spring path { vector-effect: non-scaling-stroke; }
.nwh__fils path { stroke-width: 1.1px; vector-effect: non-scaling-stroke; }
.nwh__fil--0 { stroke-opacity: .5; } .nwh__fil--1 { stroke-opacity: .68; } .nwh__fil--2 { stroke-opacity: .86; }
.nwh__o--plate .nwh__ps { position: absolute; inset: 9% 7% -1% 9%; border-radius: 50%; background: rgb(0 33 44 / .28); filter: blur(12px); will-change: transform; }
.nwh__o--plate .nwh__oj { position: relative; }
/* over the plate the pointer is a small bar magnet held upright (its lower pole is the hot spot); only the disc reacts */
.nwh__plate-svg { pointer-events: none; }
.nwh__plate-svg > circle:first-of-type { pointer-events: auto; cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><g transform='rotate(28 12 27)'><rect x='7.5' y='3' width='9' height='24' rx='2.2' fill='%2300abe3' stroke='%23003e52' stroke-width='1.5'/><path d='M7.5 15h9v9.8a2.2 2.2 0 0 1-2.2 2.2h-4.6a2.2 2.2 0 0 1-2.2-2.2z' fill='%23fff' stroke='%23003e52' stroke-width='1.5'/><path d='M10 6v6' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' opacity='.8'/></g></svg>") 12 27, crosshair; }
/* the Material-Quartett card as a link: a name tag shows on hover and focus */
a.nwh__o--quart { cursor: pointer; border-radius: 8px; }
a.nwh__o--quart:focus-visible { outline: none; }
a.nwh__o--quart:focus-visible .nwh__oj { outline: 2px solid #003e52; outline-offset: 4px; border-radius: 8px; }
.nwh__qtip { position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  border: 1px solid rgb(0 171 227 / .35); border-radius: 999px; background: #fff; color: #003e52; font: 700 13px/1.2 Theme-Font, Inter, sans-serif; white-space: nowrap;
  box-shadow: 0 8px 20px -12px rgb(0 33 44 / .4); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.nwh__qtip i { color: #00abe3; font-size: 11px; }
a.nwh__o--quart:is(:hover, :focus-visible) .nwh__qtip, .nwh.is-q .nwh__qtip { opacity: 1; }

/* layers: things behind the photographs, the photographs, things in front */
.nwh__o--cell, .nwh__o--honey { z-index: 1; }
.nwh__o--plate { z-index: 2; }
.nwh__card--t { z-index: 3; } .nwh__card--p { z-index: 4; } .nwh__card--d { z-index: 5; }
.nwh__o--gear, .nwh__o--spring, .nwh__o--spec, .nwh__o--crystal { z-index: 6; }
.nwh__o--quart { z-index: 7; }

/* ---------- the arrangement (desktop, 600 x 500 units): a diagonal from the text down to the right; the things in
   front lie over the cards' corners, the things behind peek out from under their edges, no face is ever covered ---------- */
.nwh__card--p { --x: 30; --y: 26; --w: 156; --r: -5deg; }
.nwh__card--t { --x: 168; --y: 150; --w: 304; --r: 2.5deg; }
.nwh__card--d { --x: 334; --y: 322; --w: 240; --r: -3deg; }
.nwh__o--plate { --cx: 110; --cy: 386; --w: 184; --r: -8deg; }
.nwh__o--crystal { --cx: 236; --cy: 56; --w: 54; --r: 8deg; }
.nwh__o--cell { --cx: 322; --cy: 122; --w: 94; --r: 0deg; }
.nwh__o--spec { --cx: 446; --cy: 70; --w: 38; --r: 62deg; }
.nwh__o--gear { --cx: 506; --cy: 146; --w: 84; --r: 0deg; }
.nwh__o--honey { --cx: 552; --cy: 300; --w: 66; --r: -6deg; }
.nwh__o--spring { --cx: 318; --cy: 452; --w: 42; --r: -28deg; }
.nwh__o--quart { --cx: 58; --cy: 262; --w: 56; --r: -10deg; }
/* each thing's soft shadow on the ground (its footprint; the script moves and turns it with the thing) */
.nwh__os { position: absolute; left: 14%; right: 14%; top: 22%; bottom: 10%; border-radius: 50%; background: rgb(0 33 44 / .2); filter: blur(7px); transform: translateY(9px) rotate(var(--r)); will-change: transform; }
.nwh__o--spec .nwh__os { left: 28%; right: 28%; top: 6%; bottom: 4%; border-radius: 30%; }
.nwh__o--spring .nwh__os { left: 30%; right: 30%; top: 10%; bottom: 6%; }
.nwh__o--quart .nwh__os { left: 16%; right: 18%; top: 14%; bottom: 8%; border-radius: 14%; }
.nwh__o--crystal .nwh__os { top: 50%; bottom: 4%; }
.nwh__o--cell .nwh__os { top: 30%; bottom: 8%; }
.nwh__qcode { fill: #fff; font: 800 7.4px/1 "Heading-Font", "Inter Tight", Inter, sans-serif; letter-spacing: .02em; }

/* ---------- arrival: a small spring (starts at the first paint; the script hands every remount the same clock) ---------- */
@keyframes nwh-in-card { from { opacity: 0; transform: translateY(16px) scale(.94) rotate(2.5deg); } 22% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes nwh-in-obj { from { opacity: 0; transform: scale(.55) rotate(-14deg); } 18% { opacity: 1; } to { opacity: 1; transform: none; } }
.nwh__card, .nwh__o { animation: nwh-in-card .95s both; animation-timing-function: linear(0, 0.0341, 0.1219, 0.2437, 0.3828, 0.5256, 0.6619, 0.7845, 0.8891, 0.9736, 1.0377, 1.0827, 1.1106, 1.124, 1.1258, 1.1191, 1.1063, 1.09, 1.0722, 1.0543, 1.0375, 1.0227, 1.0103, 1.0005, 0.9932, 0.9882, 0.9853, 0.9841, 0.9843, 0.9854, 0.9872, 0.9893, 0.9916, 0.9938, 0.9959, 0.9977, 1); }
.nwh__o { animation-name: nwh-in-obj; }
.nwh__card--p { animation-delay: .05s; } .nwh__card--t { animation-delay: .17s; } .nwh__card--d { animation-delay: .29s; }
.nwh__o--plate { animation-name: nwh-in-card; animation-delay: .38s; }
.nwh__o--cell { animation-delay: .5s; } .nwh__o--gear { animation-delay: .58s; } .nwh__o--spec { animation-delay: .66s; }
.nwh__o--honey { animation-delay: .74s; } .nwh__o--quart { animation-delay: .82s; } .nwh__o--spring { animation-delay: .9s; } .nwh__o--crystal { animation-delay: .98s; }

/* the section pill menu overlaps the hero's lower edge by 30px (as on the Themen topic pages) */
body:has(.nwh) #crm__widgets .frame-type-menu_subpages { margin-top: -30px; z-index: 41; }

/* ---------- widths ---------- */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .nwh { --nwh-copy: min(calc((min(100cqw, 1280px) - 180px) * 7 / 12), 480px); --nwh-al: calc(64px + 480px + 28px); --nwh-ar: 20px; }
}
@media (min-width: 900px) and (max-width: 1023.98px) {
  .nwh { --nwh-pad: 24px; --nwh-top: 116px; --nwh-copy: 420px; --nwh-al: calc(24px + 420px + 26px); --nwh-ar: 16px; }
}
/* under 900: text first, then the scene in the flow, on the hero's ground; a stage of 600 x 390 units with the three
   photographs as large as the width allows, the plate and three objects (the others rest) */
@media (max-width: 899.98px) {
  .nwh { --nwh-pad: 24px; --nwh-top: 104px; --nwh-copy: 100%; --nwh-cw: min(620px, 100cqw - 2 * var(--nwh-pad)); background: linear-gradient(170deg, #f6fbfe 0%, #eef8fc 50%, #e1f3fa 100%); }
  .nwh__inner { min-height: 0; padding-bottom: 0; }
  .nwh__copy { max-width: 620px; }
  .nwh__glow, .nwh__arrow { display: none; }
  .nwh__area { position: relative; inset: auto; display: block; width: auto; max-width: 640px; margin: 0 auto; padding: 14px 20px 44px; container-type: inline-size; }
  .nwh__stage { width: 100%; aspect-ratio: 600 / 390; }
  .nwh__o--spec, .nwh__o--honey, .nwh__o--spring, .nwh__o--quart { display: none; }
  .nwh__card--t { --x: 135; --y: 10; --w: 330; --r: 2deg; }
  .nwh__card--p { --x: 10; --y: 108; --w: 170; --r: -5deg; }
  .nwh__card--d { --x: 344; --y: 212; --w: 248; --r: -3deg; }
  .nwh__o--plate { --cx: 258; --cy: 318; --w: 128; --r: -8deg; }
  .nwh__o--crystal { --cx: 70; --cy: 52; --w: 50; --r: 8deg; }
  .nwh__o--cell { --cx: 546; --cy: 48; --w: 68; }
  .nwh__o--gear { --cx: 534; --cy: 148; --w: 64; }
}
@media (max-width: 639.98px) {
  .nwh { --nwh-pad: 20px; --nwh-top: 84px; }
  .nwh__eyebrow { gap: .45rem; margin-bottom: 1rem !important; padding: .28rem .7rem; font-size: .6875rem; letter-spacing: .1em; line-height: 1.45; }
  .nwh__lead { margin-top: 1.25rem; font-size: .95rem; line-height: 1.55; }
  .nwh__buttons { flex-direction: column; align-items: stretch; }
  .nwh__btn { width: 100%; }
  /* phones: the scene runs almost to the screen's edges (12px), right under the buttons */
  .nwh__area { padding: 10px 12px 40px; }
  .nwh__cj { border-radius: 10px; } .nwh__cj img { border-radius: 6px; }
}

/* ---------- still: reduced motion (and the slow-device still, class is-still): no arrival, no drawing on, hover and
   focus without movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .nwh__pulse::after { animation: none; opacity: 0; }
  .nwh__card, .nwh__o, .nwh__mark path, .nwh__arrow path { animation: none !important; }
  .nwh__mark path, .nwh__arrow path { stroke-dashoffset: 0; }
  .nwh__btn, .nwh__qtip { transition: none; }
}
.nwh.is-still :is(.nwh__card, .nwh__o, .nwh__mark path, .nwh__arrow path) { animation: none !important; }
.nwh.is-still :is(.nwh__mark path, .nwh__arrow path) { stroke-dashoffset: 0; }
/* hover without movement in a still: the card's frame turns primary */
.nwh.is-still .nwh__card:hover .nwh__cj, .nwh.is-rm .nwh__card:hover .nwh__cj { box-shadow: 0 0 0 2px #00abe3, 0 1px 2px rgb(0 33 44 / .08); }

/* ---------- the site header over this bright element (copied from netzwerk.css "site header", 2026-11-12, scoped to
   pages that carry the element; page field tx_dgm_fullscreen_hero = 2, the dark menu of a bright hero) ---------- */
body.dgm-page-has-fullscreen-hero-dark:has(.nwh) .mainmenu.dgm-mainmenu--pinned #logo img { filter: brightness(0) invert(1); }
body.dgm-page-has-fullscreen-hero-dark:has(.nwh) .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(.nwh) .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(.nwh) .mainmenu:not(.dgm-mainmenu--float) .dgm-mainmenu-overlay-actions :is(button[aria-label="Search"], #options-menu):hover { border-color: #00abe3 !important; }
