/* Content element dgm_section_hero_table (Tools/NetzwerkRedesign brief 19, 2026-11-12): styles of the hero with photos and round table.
   Copied unchanged from Tools/NetzwerkRedesign/design/assets/heroes/tables.css (the audited html hero); the element template writes the same markup. Keep the two in step
   until phase 2 retires the old file. */
/* Committee directory hero "an einem Tisch" (brief 18): the family text block beside a calm scene of committee work:
   three photographs as cards, a round table seen from above with its ring of seats, a few things of a meeting on it, a
   thread to a smaller table. Markup from design/heroes/tables.php, motion from tables.js. Everything is scoped to .tbh
   (two rules outside it: the html frame that holds .tbh gets full width, and the section pill menu after it overlaps the
   hero by 30px). The text block repeats the Nachwuchs hero (nachwuchs.css .nwh__*) value for value: left edge = the
   1280px box with 64px padding, 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 1024px.
   The scene: a stage of 600 x 500 units (under 1024px 600 x 400), scaled to its box; 1 unit = var(--u). Cards have a
   corner (--x, --y), objects a centre (--cx, --cy); both a width (--w) and a turn (--r) in units. The tables are SVG in
   stage units (one scene per layout, tables.php TBH_GEO). */
.tbh {
  --tbh-pad: 64px; --tbh-top: 168px; --tbh-copy: calc((min(100cqw, 1280px) - 180px) * 7 / 12); --tbh-cw: var(--tbh-copy);
  container: tbh / 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 72% 58%, rgb(255 255 255 / .9), rgb(255 255 255 / 0) 70%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgb(127 216 245 / .2), transparent 70%),
    linear-gradient(160deg, #f6fbfe 0%, #eef8fc 42%, #e4f4fb 74%, #dff2fa 100%);
}
.tbh *, .tbh *::before, .tbh *::after { box-sizing: border-box; }
#crm__widgets .frame:has(> .tbh) { max-width: none; width: auto; margin: 0; padding: 0; }
.tbh a { text-decoration: none; }
.tbh__inner { position: relative; z-index: 3; width: 100%; max-width: 1280px; min-height: 672px; margin: 0 auto; padding: var(--tbh-top) var(--tbh-pad) 64px; pointer-events: none; }
.tbh__copy { position: relative; z-index: 4; width: var(--tbh-copy); max-width: 100%; pointer-events: auto; }
html.nw-fw .tbh__copy { visibility: hidden; }
.tbh__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); }
.tbh__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); }
.tbh__pulse::after { content: ""; position: absolute; inset: -.45rem; border: 1px solid rgb(0 171 227 / .5); border-radius: 999px; animation: tbh-pulse 2.4s ease-out infinite; }
@keyframes tbh-pulse { 0% { opacity: .72; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.8); } }
.tbh__h1 { position: relative; 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: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
.tbh__accent { display: block; margin-top: .12em; padding-bottom: .14em; line-height: 1.14;
  /* the family's gradient (#007aa8 to #00abe3), stretched over 175% of the word: "Gemeinschaftsausschüsse" is longer than
     the family's accents, and ending on full #00abe3 left its last letters at 2.4:1 on the bright ground (now 3:1 or more) */
  background: linear-gradient(90deg, #007aa8 0%, #00abe3 175%) 0 0 / 100% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tbh__acc { position: relative; }
.tbh__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; }
.tbh__lead p { margin: 0; }
.tbh__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.tbh__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; }
.tbh__btn i { display: inline-block; width: 1.1em; font-size: 1rem; text-align: center; }
.tbh__btn--primary { background: #00abe3; color: #fff !important; box-shadow: 0 16px 34px -14px rgb(0 171 227 / .6); }
.tbh__btn--primary:hover, .tbh__btn--primary:focus-visible { background: #007aa8; color: #fff !important; box-shadow: 0 18px 36px -14px rgb(0 122 168 / .6); }
.tbh__btn--secondary { border: 1px solid rgb(0 62 82 / .26); background: rgb(255 255 255 / .74); color: #003e52 !important; }
.tbh__btn--secondary:hover, .tbh__btn--secondary:focus-visible { border-color: #00abe3; background: #fff; color: #003e52 !important; }
.tbh__btn:focus-visible { outline: 2px solid #003e52; outline-offset: 3px; }
.tbh__glow { position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: radial-gradient(circle at calc(50% + min(50cqw, 640px) - 300px) 62%, rgb(127 216 245 / .26), rgb(127 216 245 / 0) 360px); }

/* from 1024px the headline is as wide as its longer line, up to 760px: "Gemeinschaftsausschüsse" stays one line at the
   family size (about 693px at 1440 and up, wider than the 642px text column); the scene keeps that corner free */
@media (min-width: 1024px) { .tbh__h1 { width: max-content; max-width: 760px; } }
/* the marker stroke under the accent word: light tone, drawn once the text shows (html.nw-fw = fonts not yet in) */
.tbh__mark { position: absolute; left: -.06em; right: -.1em; bottom: -.2em; width: calc(100% + .16em); height: .3em; overflow: visible; pointer-events: none; z-index: -1; }
.tbh__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: tbh-draw .75s cubic-bezier(.55, .08, .3, 1) .35s forwards; }
html.nw-fw .tbh__mark path { animation: none; }
@keyframes tbh-draw { to { stroke-dashoffset: 0; } }

/* ---------- the scene ---------- */
.tbh__area { position: absolute; z-index: 2; top: 92px; bottom: 60px; left: var(--tbh-al); right: var(--tbh-ar); container-type: size; display: grid; place-items: center; pointer-events: none; }
.tbh { --tbh-al: calc(max(0px, (100cqw - 1280px) / 2) + 64px + 540px + 40px); --tbh-ar: calc(max(0px, (100cqw - 1280px) / 2) + 24px); }
.tbh__stage { position: relative; width: min(100cqw, 100cqh * 600 / 500); aspect-ratio: 600 / 500; container-type: inline-size; pointer-events: auto; touch-action: auto; }
.tbh__stage > * { --u: calc(100cqw / 600); position: absolute; }
.tbh__card { left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); margin: 0; }
.tbh__cj { position: relative; display: block; padding: calc(4px + .35 * var(--u) * 6); border-radius: 14px; 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; }
.tbh__cj img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; border-radius: 9px; background: #dff2fa; }
.tbh__cs { position: absolute; inset: 6% 4% -2%; border-radius: 18px; transform: rotate(var(--r)); background: rgb(0 33 44 / .26); filter: blur(14px); opacity: .9; will-change: transform, opacity; }
.tbh__card--r { --ar: 4300 / 2900; }
.tbh__card--m { --ar: 2972 / 1994; }
.tbh__card--v { --ar: 1865 / 1260; }
.tbh__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; }
.tbh__oj { display: block; transform: rotate(var(--r)); will-change: transform; }
.tbh__svg { display: block; width: 100%; height: auto; overflow: visible; }
.tbh__svg .k, .tbh__scene .k { stroke: #003e52; stroke-width: 1.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tbh__svg .k.t { stroke-width: 1.2px; }
.tbh__svg .g { vector-effect: non-scaling-stroke; }
.tbh__os { position: absolute; left: 12%; right: 12%; top: 30%; bottom: 6%; border-radius: 50%; background: rgb(0 33 44 / .16); filter: blur(5px); transform: translateY(5px); will-change: transform; }

/* the tables: one SVG scene per layout, in stage units, over the whole stage */
.tbh__scene { left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tbh__scene--m { display: none; }
.tbh__thread { fill: none; stroke: #003e52; stroke-opacity: .3; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.tbh__tspark, .tbh__spark { opacity: 0; fill: #00abe3; stroke: #fff; stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.tbh__talk { fill: none; stroke: #00abe3; stroke-width: 1.3px; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.tbh__ss { fill: rgb(0 33 44 / .16); }
.tbh__dot { stroke: #003e52; stroke-width: 1.3px; vector-effect: non-scaling-stroke; }
.tbh__seat--l .tbh__dot { stroke-width: 1px; }
.tbh__hi { fill: #fff; opacity: .55; }
.tbh__seat--l .tbh__hi { opacity: .8; }
.tbh__halo { fill: #7fd8f5; opacity: 0; }
.tbh__ping { fill: none; stroke: #00abe3; stroke-width: 1.2px; vector-effect: non-scaling-stroke; opacity: 0; }

/* layers: the cards at the back, the tables, the things on the table */
.tbh__card--m { z-index: 1; } .tbh__card--r { z-index: 2; } .tbh__card--v { z-index: 3; }
.tbh__scene { z-index: 4; }
.tbh__o { z-index: 5; }
.tbh__o--tent { z-index: 5; } .tbh__o--agenda { z-index: 6; } .tbh__o--mount { z-index: 6; } .tbh__o--cup { z-index: 7; }

/* ---------- the arrangement (from 1024px, 600 x 500 units) ---------- */
.tbh__card--m { --x: 46; --y: 2; --w: 196; --r: -3.5deg; }
.tbh__card--r { --x: 226; --y: 0; --w: 290; --r: 2deg; }
.tbh__card--v { --x: 448; --y: 168; --w: 146; --r: 4deg; }
.tbh__o--agenda { --cx: 190; --cy: 372; --w: 96; --r: 0deg; }
.tbh__o--tent { --cx: 282; --cy: 326; --w: 64; --r: 0deg; }
.tbh__o--cup { --cx: 352; --cy: 354; --w: 54; --r: 0deg; }
.tbh__o--mount { --cx: 298; --cy: 402; --w: 44; --r: 0deg; }

/* ---------- arrival: a small spring for the cards and things, the seats come to the table one after another ---------- */
@keyframes tbh-in-card { from { opacity: 0; transform: translateY(14px) scale(.95) rotate(2deg); } 22% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes tbh-in-obj { from { opacity: 0; transform: translateY(-10px) scale(.8); } 20% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes tbh-in-seat { from { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes tbh-in-fade { from { opacity: 0; } to { opacity: 1; } }
.tbh__card, .tbh__o { animation: tbh-in-card 1s 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); }
.tbh__o { animation-name: tbh-in-obj; }
.tbh__card--m { animation-delay: .05s; } .tbh__card--r { animation-delay: .15s; } .tbh__card--v { animation-delay: .25s; }
.tbh__o--tent { animation-delay: .95s; } .tbh__o--agenda { animation-delay: 1.03s; } .tbh__o--cup { animation-delay: 1.11s; } .tbh__o--mount { animation-delay: 1.19s; }
.tbh__table > :not(.tbh__seats), .tbh__thread { animation: tbh-in-fade .6s ease-out .3s both; }
.tbh__sj { transform-box: fill-box; transform-origin: center; animation: tbh-in-seat .7s cubic-bezier(.3, 1.5, .5, 1) both; }
.tbh__ss { animation: tbh-in-fade .5s ease-out both; }
/* the seats take their places round the ring, one after another (data-i) */
.tbh__seat[data-i="0"] > * { animation-delay: .5s; } .tbh__seat[data-i="1"] > * { animation-delay: .54s; } .tbh__seat[data-i="2"] > * { animation-delay: .58s; }
.tbh__seat[data-i="3"] > * { animation-delay: .62s; } .tbh__seat[data-i="4"] > * { animation-delay: .66s; } .tbh__seat[data-i="5"] > * { animation-delay: .7s; }
.tbh__seat[data-i="6"] > * { animation-delay: .74s; } .tbh__seat[data-i="7"] > * { animation-delay: .78s; } .tbh__seat[data-i="8"] > * { animation-delay: .82s; }
.tbh__seat[data-i="9"] > * { animation-delay: .86s; } .tbh__seat[data-i="10"] > * { animation-delay: .9s; } .tbh__seat[data-i="11"] > * { animation-delay: .94s; }
.tbh__seat[data-i="12"] > * { animation-delay: .98s; } .tbh__seat[data-i="13"] > * { animation-delay: 1.02s; }

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

/* ---------- widths ---------- */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .tbh { --tbh-copy: min(calc((min(100cqw, 1280px) - 180px) * 7 / 12), 480px); --tbh-al: calc(64px + 480px + 28px); --tbh-ar: 20px; }
}
/* under 1024: text first, then the scene in the flow, on the hero's ground; a stage of 600 x 400 units */
@media (max-width: 1023.98px) {
  .tbh { --tbh-pad: 24px; --tbh-top: 104px; --tbh-copy: 100%; --tbh-cw: min(620px, 100cqw - 2 * var(--tbh-pad)); background: linear-gradient(170deg, #f6fbfe 0%, #eef8fc 50%, #e1f3fa 100%); }
  .tbh__inner { min-height: 0; padding-bottom: 0; }
  .tbh__copy { max-width: 620px; }
  .tbh__glow { display: none; }
  .tbh__area { position: relative; inset: auto; display: block; width: auto; max-width: 620px; margin: 0 auto; padding: 22px 20px 44px; container-type: inline-size; }
  .tbh__stage { width: 100%; aspect-ratio: 600 / 400; }
  .tbh__scene--d { display: none; } .tbh__scene--m { display: block; }
  .tbh__card--m { --x: 8; --y: 18; --w: 190; --r: -3.5deg; }
  .tbh__card--r { --x: 192; --y: 6; --w: 236; --r: 2deg; }
  .tbh__card--v { --x: 432; --y: 30; --w: 158; --r: 4deg; }
  .tbh__o--agenda { --cx: 180; --cy: 296; --w: 92; }
  .tbh__o--tent { --cx: 266; --cy: 255; --w: 62; }
  .tbh__o--cup { --cx: 332; --cy: 282; --w: 52; }
  .tbh__o--mount { --cx: 282; --cy: 324; --w: 42; }
}
@media (max-width: 639.98px) {
  .tbh { --tbh-pad: 20px; --tbh-top: 84px; }
  .tbh__eyebrow { gap: .45rem; margin-bottom: 1rem !important; padding: .28rem .7rem; font-size: .6875rem; letter-spacing: .1em; line-height: 1.45; }
  .tbh__lead { margin-top: 1.25rem; font-size: .95rem; line-height: 1.55; }
  .tbh__buttons { flex-direction: column; align-items: stretch; }
  .tbh__btn { width: 100%; }
  .tbh__area { padding: 16px 10px 34px; }
  .tbh__cj { border-radius: 9px; } .tbh__cj img { border-radius: 6px; }
}
@media (max-width: 399.98px) {
  .tbh__h1 { font-size: 1.52rem; }
}

/* ---------- still: reduced motion (and the slow-device still, class is-still): no arrival, no drawing on ---------- */
@media (prefers-reduced-motion: reduce) {
  .tbh__pulse::after { animation: none; opacity: 0; }
  .tbh__card, .tbh__o, .tbh__mark path, .tbh__sj, .tbh__ss, .tbh__table > *, .tbh__thread { animation: none !important; }
  .tbh__mark path { stroke-dashoffset: 0; }
  .tbh__btn { transition: none; }
}
.tbh.is-still :is(.tbh__card, .tbh__o, .tbh__mark path, .tbh__sj, .tbh__ss, .tbh__table > *, .tbh__thread) { animation: none !important; }
.tbh.is-still .tbh__mark path { stroke-dashoffset: 0; }
.tbh.is-still .tbh__card:hover .tbh__cj, .tbh.is-rm .tbh__card:hover .tbh__cj { box-shadow: 0 0 0 2px #00abe3, 0 1px 2px rgb(0 33 44 / .08); }

/* 2026-11-12, user: this hero's headline "should not be as playful ... as the nachwuchs etc, with the line below it,
   focus more on type face of the original heros we developed for die dgm or for regionalforum". The marker stroke under
   the accent word is off: the headline is plain type, exactly the Regionalforen hero's (same size, weight, gradient). */
.tbh__mark { display: none !important; }



/* ---------- the site header over this bright element (copied from Tools/NetzwerkRedesign/design/assets/netzwerk.css
   "site header", 2026-11-12, scoped to pages that carry the element, as dgm_section_hero_women does; page field
   tx_dgm_fullscreen_hero = 2, the dark menu of a bright hero) ---------- */
/* pinned, the bar is the same blue as on the dark heroes, so the blue logo turns white there (at the top it stays blue on
   the bright ground) */
body.dgm-page-has-fullscreen-hero-dark:has(.tbh) .mainmenu.dgm-mainmenu--pinned #logo img { filter: brightness(0) invert(1); }
/* header over the hero (not pinned): search and language buttons with ink icons and a visible border */
body.dgm-page-has-fullscreen-hero-dark:has(.tbh) .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(.tbh) .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(.tbh) .mainmenu:not(.dgm-mainmenu--float) .dgm-mainmenu-overlay-actions :is(button[aria-label="Search"], #options-menu):hover { border-color: #00abe3 !important; }
