/* dgm_section_list (Netzwerk task 20, 2026-11-12, agent S): the styles of both layouts, complete in itself. Copied rule
   for rule from the audited draft file Tools/NetzwerkRedesign/design/assets/groups/nachwuchs.css (selectors and values
   unchanged, nothing redesigned): logos (8734) and school labs (8417), their reduced-motion rule; the token --nw-border
   from netzwerk.css :root, set on the element's frame. */
.frame-type-dgm_section_list { --nw-border: rgb(227 232 236); }
/* as an html element in a section (about.css: the last one has no margin below) */
#crm__widgets#crm__widgets section.dgm-ex-root .frame-type-dgm_section_list:last-child { margin-bottom: 0; }

/* ---------- logos (8734): the five logos of the live element on white tiles ---------- */
.nws-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 0; padding: 0; list-style: none; }
.nws-logos li { margin: 0; }
.nws-logos a { display: grid; place-items: center; height: 120px; padding: 20px 24px; border: 1px solid var(--nw-border); border-radius: 16px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.nws-logos a:hover { border-color: rgb(0 171 227 / .45); box-shadow: 0 16px 34px -24px rgb(0 33 44 / .4); }
.nws-logos a:focus-visible { outline: 2px solid #003e52; outline-offset: 3px; }
.nws-logos img { display: block; width: auto; height: auto; max-width: 100%; max-height: 72px; object-fit: contain; }
@media (max-width: 1023.98px) { .nws-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639.98px) { .nws-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .nws-logos a { height: 96px; padding: 14px; } }

/* ---------- school labs (8417): the states as an index, then a table per state ---------- */
.nws-labs { width: 100%; }
.nws-labs__index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.nws-labs__index li { margin: 0; }
.nws-labs__index a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid rgb(0 171 227 / .3); border-radius: 999px; background: #fff;
  color: #003e52 !important; font: 600 14px/1.2 Theme-Font, Inter, sans-serif; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.nws-labs__index a:hover { border-color: #00abe3; background: rgb(0 171 227 / .06); }
.nws-labs__index a:focus-visible { outline: 2px solid #003e52; outline-offset: 2px; }
.nws-labs__index a.is-empty { border-style: dashed; color: #475569 !important; }
.nws-labs__list { display: grid; gap: 20px; }
.nws-labs__state { padding: 22px 24px 18px; border: 1px solid var(--nw-border); border-radius: 16px; background: #fff; scroll-margin-top: 150px;
  box-shadow: 0 1px 2px rgb(15 34 51 / .04), 0 10px 30px -22px rgb(15 34 51 / .25); }
.nws-labs__h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: #0f172a; font: 700 20px/1.3 Heading-Font, "Inter Tight", Inter, sans-serif; letter-spacing: -.3px; }
.nws-labs__h3 i { color: #00abe3; font-size: 16px; }
.nws-labs__table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 400 15px/1.45 Theme-Font, Inter, sans-serif; color: #334155; }
.nws-labs__table thead th { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--nw-border); color: #475569; font: 700 11px/1.3 Theme-Font, Inter, sans-serif; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.nws-labs__table thead th:nth-child(1) { width: 15%; } .nws-labs__table thead th:nth-child(2) { width: 27%; } .nws-labs__table thead th:nth-child(3) { width: 28%; }
.nws-labs__table thead th:nth-child(4) { width: 13%; } .nws-labs__table thead th:nth-child(5) { width: 17%; }
.nws-labs__table :is(td, tbody th) { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--nw-border); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.nws-labs__table tbody tr:last-child > * { border-bottom: 0; }
.nws-labs__table tbody th { color: #0f172a; font-weight: 700; }
.nws-labs__table a { color: #00abe3; font-weight: 600; text-decoration: none; }
.nws-labs__table a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nws-labs__table a i { font-size: 11px; }
.nws-labs__na { color: #64748b; font-style: italic; }
.nws-labs__empty { margin: 0; color: #475569; font: 400 15px/1.5 Theme-Font, Inter, sans-serif; }
/* phones and small tablets: every lab a block of label and value rows */
@media (max-width: 767.98px) {
  /* the states as one row that scrolls sideways (wrapped rows changed when the web font arrived: layout shift 0.03) */
  .nws-labs__index { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 28px; padding: 2px 20px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .nws-labs__index::-webkit-scrollbar { display: none; }
  .nws-labs__index li { flex: none; }
  .nws-labs__state { padding: 18px 16px 8px; }
  .nws-labs__table, .nws-labs__table tbody, .nws-labs__table tr, .nws-labs__table :is(td, tbody th) { display: block; width: auto; }
  .nws-labs__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nws-labs__table tbody tr { padding: 12px 0; border-bottom: 1px solid var(--nw-border); }
  .nws-labs__table tbody tr:last-child { border-bottom: 0; }
  .nws-labs__table :is(td, tbody th) { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 3px 0; border: 0; }
  .nws-labs__table :is(td, tbody th)::before { content: attr(data-l); color: #475569; font: 700 11px/1.9 Theme-Font, Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
  .nws-labs__table td:empty { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nws-logos a, .nws-labs__index a { transition: none; } }

/* =========== Akademie task P3 (2026-11-13), added; the rules above unchanged =========== */
/* the three P3 layouts use the section's full text width (the frame's own 16 px padding on phones taken away, as the contact panel does) */
#crm__widgets .frame-type-dgm_section_list:has(> :is(.dsl-faq, .dsl-quotes, .dsl-people)) { padding-left: 0; padding-right: 0; }
/* ---------- faq: questions as <details>, open without script; a plus that turns into a minus ---------- */
#crm__widgets .dsl-faq { width: min(100%, 880px); margin: 0; border-top: 1px solid var(--nw-border); }
#crm__widgets .dsl-faq__item { border-bottom: 1px solid var(--nw-border); scroll-margin-top: 140px; }
#crm__widgets .dsl-faq__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 4px 22px 0; cursor: pointer; list-style: none; }
#crm__widgets .dsl-faq__q::-webkit-details-marker { display: none; }
#crm__widgets .dsl-faq__q::marker { content: ""; }
#crm__widgets .dsl-faq__q:focus-visible { outline: 2px solid #003e52; outline-offset: 4px; border-radius: 8px; }
#crm__widgets .dsl-faq__qt { margin: 0; color: #003e52; font: 700 19px/1.4 Heading-Font, "Inter Tight", Inter, sans-serif; letter-spacing: -.01em; text-wrap: pretty; transition: color .2s ease; }
#crm__widgets .dsl-faq__q:hover .dsl-faq__qt { color: #00abe3; }
#crm__widgets .dsl-faq__ic { position: relative; flex: none; width: 32px; height: 32px; margin-top: -2px; border-radius: 50%; background: rgb(0 171 227 / .1); transition: background-color .2s ease; }
#crm__widgets .dsl-faq__ic::before, #crm__widgets .dsl-faq__ic::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #00abe3; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
#crm__widgets .dsl-faq__ic::after { transform: rotate(90deg); }
#crm__widgets .dsl-faq__item[open] .dsl-faq__ic { background: #00abe3; }
#crm__widgets .dsl-faq__item[open] .dsl-faq__ic::before, #crm__widgets .dsl-faq__item[open] .dsl-faq__ic::after { background: #fff; }
#crm__widgets .dsl-faq__item[open] .dsl-faq__ic::after { transform: rotate(0deg); }
#crm__widgets .dsl-faq__a { max-width: 68ch; padding: 0 56px 26px 0; color: #334155; font: 400 16px/1.65 Theme-Font, Inter, sans-serif; text-wrap: pretty; }
#crm__widgets .dsl-faq__a p { margin: 0 0 .7em; }
#crm__widgets .dsl-faq__a p:last-child { margin-bottom: 0; }
#crm__widgets .dsl-faq__a a { color: #00abe3; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 639.98px) {
  #crm__widgets .dsl-faq__q { gap: 16px; padding: 18px 0; }
  #crm__widgets .dsl-faq__qt { font-size: 17px; }
  #crm__widgets .dsl-faq__a { padding: 0 0 22px; }
}

/* ---------- quotes: set like quotes from people (one drawn opening mark above each quote, hidden from screen readers) ---------- */
#crm__widgets .dsl-quotes { columns: 3 300px; column-gap: 24px; width: 100%; margin: 0; padding: 0; list-style: none; }
#crm__widgets .dsl-quote { break-inside: avoid; margin: 0 0 24px; }
#crm__widgets .dsl-quote__fig { display: flex; flex-direction: column; margin: 0; padding: 26px 26px 22px; border: 1px solid var(--nw-border); border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgb(15 34 51 / .04), 0 10px 30px -22px rgb(15 34 51 / .25); }
#crm__widgets .dsl-quote__text { quotes: auto; margin: 0; padding: 0; border: 0; color: #003e52; font: 400 17px/1.6 Theme-Font, Inter, sans-serif; text-wrap: pretty; }
#crm__widgets .dsl-quote__text::before { content: "\201C" / ""; display: block; height: 34px; margin: 0 0 4px -3px; color: #00abe3; font: 800 72px/1 Heading-Font, "Inter Tight", Inter, sans-serif; }
#crm__widgets .dsl-quote__text p { margin: 0 0 .7em; }
#crm__widgets .dsl-quote__text p:last-child { margin-bottom: 0; }
#crm__widgets .dsl-quote__by { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--nw-border); }
#crm__widgets .dsl-quote__pic { flex: none; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: #dff2fa; }
#crm__widgets .dsl-quote__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
#crm__widgets .dsl-quote__who { display: grid; gap: 1px; min-width: 0; }
#crm__widgets .dsl-quote__name { color: #003e52; font: 700 15px/1.35 Heading-Font, "Inter Tight", Inter, sans-serif; }
#crm__widgets .dsl-quote__org { color: #334155; font: 400 14px/1.45 Theme-Font, Inter, sans-serif; }
#crm__widgets .dsl-quote__course { color: #475569; font: 400 13px/1.45 Theme-Font, Inter, sans-serif; }
@media (max-width: 639.98px) {
  #crm__widgets .dsl-quote { margin-bottom: 16px; }
  #crm__widgets .dsl-quote__fig { padding: 22px 20px 18px; }
  #crm__widgets .dsl-quote__text { font-size: 16px; }
}

/* ---------- people: portrait, name, role, text ---------- */
#crm__widgets .dsl-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; width: 100%; margin: 0; padding: 0; list-style: none; }
#crm__widgets .dsl-person { margin: 0; }
#crm__widgets .dsl-person__pic { margin: 0 0 20px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: #dff2fa; }
#crm__widgets .dsl-person__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
#crm__widgets .dsl-person__name { margin: 0; color: #003e52; font: 700 22px/1.25 Heading-Font, "Inter Tight", Inter, sans-serif; letter-spacing: -.01em; }
#crm__widgets .dsl-person__role { margin: 4px 0 12px; color: #475569; font: 600 15px/1.45 Theme-Font, Inter, sans-serif; }
#crm__widgets .dsl-person__bio { color: #334155; font: 400 16px/1.6 Theme-Font, Inter, sans-serif; text-wrap: pretty; }
#crm__widgets .dsl-person__bio p { margin: 0 0 .7em; }
#crm__widgets .dsl-person__bio p:last-child { margin-bottom: 0; }
#crm__widgets .dsl-person__link { margin: 12px 0 0; }
#crm__widgets .dsl-person__link a { color: #00abe3; font: 600 15px/1.4 Theme-Font, Inter, sans-serif; text-decoration: none; }
#crm__widgets .dsl-person__link a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023.98px) {
  #crm__widgets .dsl-people { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  #crm__widgets .dsl-person { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 28px; align-items: start; }
  #crm__widgets .dsl-person__pic { margin: 0; }
}
@media (max-width: 639.98px) {
  #crm__widgets .dsl-person { grid-template-columns: 112px minmax(0, 1fr); gap: 0 18px; }
  #crm__widgets .dsl-person__name { font-size: 19px; }
  #crm__widgets .dsl-person__bio { grid-column: 1 / -1; margin-top: 14px; }
  #crm__widgets .dsl-person__text { display: contents; }
  #crm__widgets .dsl-person__pic { grid-row: 1 / span 3; }
}
@media (prefers-reduced-motion: reduce) {
  #crm__widgets :is(.dsl-faq__qt, .dsl-faq__ic, .dsl-faq__ic::before, .dsl-faq__ic::after) { transition: none; }
}
