/* Teamboard (/team/): dunkles Organigramm. Farben je Fachgebiet über --c, Bewegung nur transform/opacity/stroke. */
.teamboard-page { background: #0a1220; }
/* Kopfzeile auf der dunklen Seite: dunkles Glas, helle Schrift */
.teamboard-page .site-header { background: rgba(10, 18, 32, .72); border-bottom-color: rgba(255,255,255,.06); }
.teamboard-page .site-header.is-scrolled { background: rgba(10, 18, 32, .88); border-bottom-color: rgba(255,255,255,.08); }
.teamboard-page .logo { color: #fff; }
.teamboard-page .nav a:not(.btn) { color: rgba(255,255,255,.72); }
@media (hover: hover) and (pointer: fine) { .teamboard-page .nav a:not(.btn):hover { color: #fff; } }
.teamboard-page .nav .btn { background: #fff; color: #0a1220; border-color: #fff; }
.teamboard-page .nav-toggle span { background: #fff; }
.pq-tb {
  --tb-bg: #0a1220; --tb-bg2: #0e1829; --tb-card: rgba(255, 255, 255, .045); --tb-line: rgba(255, 255, 255, .09);
  --tb-ink: #eef2f8; --tb-muted: #9aa7bd; --tb-accent: #9fc0e3;
  background: var(--tb-bg); color: var(--tb-ink); overflow: hidden;
}
.pq-tb a { color: inherit; }

/* Kopf */
.pq-tb-hero { position: relative; padding: 120px 0 72px;
  background: radial-gradient(900px 480px at 78% -10%, rgba(70, 113, 159, .38), transparent 70%), radial-gradient(700px 420px at 0% 110%, rgba(239, 90, 155, .12), transparent 70%); }
.pq-tb-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }
.pq-tb-hero .wrap { position: relative; z-index: 1; }
.pq-tb-crumbs { font-size: 14px; color: var(--tb-muted); margin-bottom: 44px; }
.pq-tb-crumbs a { color: var(--tb-muted); }
.pq-tb-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tb-accent); margin: 0 0 18px; }
.pq-tb-hero h1 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.035em; margin: 0; color: #fff; max-width: 14ch; }
.pq-tb-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #c4cede; max-width: 58ch; margin: 28px 0 0; }
.pq-tb-stats { display: flex; gap: 44px; margin: 48px 0 0; flex-wrap: wrap; }
.pq-tb-stats dt { font-size: 13px; color: var(--tb-muted); }
.pq-tb-stats dd { margin: 4px 0 0; font-size: 44px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }

/* Organigramm */
.pq-tb-org { position: relative; padding: 32px 0 112px; }
.pq-tb-org .wrap { position: relative; }
.pq-tb-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.pq-tb-wires path { fill: none; stroke: var(--c, var(--tb-accent)); stroke-width: 1.5; stroke-linecap: round; opacity: .55; transition: opacity 300ms ease; }
.pq-tb-wires path.is-dim { opacity: .08; }
.pq-tb-root { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; width: fit-content; margin: 0 auto 88px; padding: 16px 28px 16px 16px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 20px 60px rgba(0,0,0,.35), 0 0 80px rgba(70,113,159,.25); }
.pq-tb-root-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; background: #26395b; display: grid; place-items: center; box-shadow: 0 0 0 3px #0a1220, 0 0 0 5px var(--tb-accent); }
.pq-tb-root-photo img { width: 100%; height: 100%; object-fit: cover; }
.pq-tb-root-photo span { font: 400 40px/1 "Oreichalkon", Georgia, serif; color: #fff; }
.pq-tb-root-org { margin: 0; font: 400 15px/1 "Oreichalkon", Georgia, serif; letter-spacing: .12em; color: var(--tb-accent); }
.pq-tb-root-name { margin: 6px 0 2px; font-size: 24px; letter-spacing: -.01em; color: #fff; }
.pq-tb-root-title { margin: 0; font-size: 14px; color: var(--tb-muted); }

.pq-tb-filter { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 48px; }
.pq-tb-filter button { border: 0; border-radius: 999px; padding: 8px 16px; font: 500 14px/1.2 var(--sans); color: var(--tb-muted); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--tb-line); cursor: pointer; transition: background 200ms ease, color 200ms ease, transform 120ms ease; }
.pq-tb-filter button:hover { color: var(--tb-ink); }
.pq-tb-filter button:active { transform: scale(.96); }
.pq-tb-filter button.is-on { background: #fff; color: #0a1220; box-shadow: none; }

.pq-tb-branches { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 56px 24px; }
.pq-tb-branch { --c: #9fc0e3; transition: opacity 300ms ease, filter 300ms ease; }
.pq-tb-branch:nth-child(8n+2) { --c: #ef5a9b; } .pq-tb-branch:nth-child(8n+3) { --c: #f7c948; } .pq-tb-branch:nth-child(8n+4) { --c: #6fd3a8; }
.pq-tb-branch:nth-child(8n+5) { --c: #b79cff; } .pq-tb-branch:nth-child(8n+6) { --c: #ff9b6b; } .pq-tb-branch:nth-child(8n+7) { --c: #5cc8ff; } .pq-tb-branch:nth-child(8n+8) { --c: #e8e3d8; }
.pq-tb-branch.is-dim { opacity: .22; filter: saturate(.3); }
.pq-tb-role { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: #fff;
  background: color-mix(in srgb, var(--c) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); }
.pq-tb-role-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); flex: none; }
.pq-tb-role-n { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--c); font-variant-numeric: tabular-nums; }
.pq-tb-people { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid color-mix(in srgb, var(--c) 35%, transparent); display: flex; flex-direction: column; gap: 10px; }
.pq-tb-person, .pq-tb-open { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border: 0; border-radius: 16px; text-align: left; text-decoration: none; cursor: pointer;
  background: var(--tb-card); box-shadow: inset 0 0 0 1px var(--tb-line); color: var(--tb-ink); font: inherit; overflow: hidden; transition: transform 200ms cubic-bezier(.23,1,.32,1), box-shadow 200ms ease; }
.pq-tb-person::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 200ms ease;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.pq-tb-person:hover::before { opacity: 1; }
.pq-tb-person:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.pq-tb-person:active { transform: scale(.98); }
.pq-tb-person:focus-visible, .pq-tb-open:focus-visible, .pq-tb-filter button:focus-visible { outline: 2px solid var(--tb-accent); outline-offset: 2px; }
.pq-tb-avatar { position: relative; width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #1b2a44; box-shadow: 0 0 0 2px var(--tb-bg), 0 0 0 3.5px var(--c); }
.pq-tb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pq-tb-avatar > span { font-size: 22px; font-weight: 600; color: #fff; }
.pq-tb-avatar--open { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 60%, transparent); color: var(--c); font-size: 26px; font-weight: 300; }
.pq-tb-open { background: transparent; box-shadow: inset 0 0 0 1px var(--tb-line); border: 1px dashed transparent; }
.pq-tb-open:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.pq-tb-person-text { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pq-tb-person-text strong { font-size: 16px; color: #fff; }
.pq-tb-person-text span { font-size: 13px; color: var(--tb-muted); }
.pq-tb-person-text small { font-size: 12px; color: var(--c); }

/* Einblenden beim Scrollen (nur mit JavaScript, sonst sofort sichtbar) */
.pq-tb.js .pq-tb-branch { opacity: 0; transform: translateY(18px); }
.pq-tb.js .pq-tb-branch.is-in { opacity: 1; transform: none; transition: opacity 600ms cubic-bezier(.23,1,.32,1) calc(var(--i) * 70ms), transform 600ms cubic-bezier(.23,1,.32,1) calc(var(--i) * 70ms), filter 300ms ease; }
.pq-tb.js .pq-tb-branch.is-in.is-dim { opacity: .22; }

/* Abschluss */
.pq-tb-cta { padding: 96px 0 120px; text-align: center; border-top: 1px solid var(--tb-line);
  background: radial-gradient(700px 300px at 50% 0%, rgba(70, 113, 159, .25), transparent 70%); }
.pq-tb-cta h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.03em; margin: 0 0 16px; color: #fff; }
.pq-tb-cta p { color: #c4cede; font-size: 18px; max-width: 52ch; margin: 0 auto 32px; }

/* Steckbrief */
.pq-tb-dlg { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 24px)); color: var(--tb-ink); }
.pq-tb-dlg::backdrop { background: rgba(5, 9, 16, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pq-tb-dlg[open] { animation: pq-tb-pop 320ms cubic-bezier(.23,1,.32,1) both; }
.pq-tb-dlg-box { position: relative; background: #111c30; border-radius: 24px; padding: 28px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.5); max-height: 86vh; overflow: auto; }
.pq-tb-dlg-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pq-tb-dlg-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.pq-tb-avatar--big { width: 88px; height: 88px; }
.pq-tb-dlg h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; color: #fff; }
.pq-tb-dlg-head p { margin: 4px 0 0; color: var(--c, var(--tb-accent)); font-weight: 600; font-size: 14px; }
.pq-tb-dlg-about { color: #d3dbe7; font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.pq-tb-dlg-facts { margin: 0 0 16px; font-size: 14px; }
.pq-tb-dlg-facts div { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--tb-line); }
.pq-tb-dlg-facts dt { color: var(--tb-muted); min-width: 96px; }
.pq-tb-dlg-facts dd { margin: 0; }
.pq-tb-dlg-projects { margin: 0 0 16px; padding-left: 18px; color: #d3dbe7; font-size: 14px; line-height: 1.6; }
.pq-tb-dlg-link { font-weight: 600; color: var(--tb-accent) !important; }
@keyframes pq-tb-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* Schmal: senkrechter Baum */
@media (max-width: 720px) {
  .pq-tb-hero { padding: 96px 0 48px; }
  .pq-tb-stats { gap: 28px; }
  .pq-tb-stats dd { font-size: 34px; }
  .pq-tb-root { margin: 0 0 36px; border-radius: 22px; width: 100%; }
  .pq-tb-root-photo { width: 64px; height: 64px; }
  .pq-tb-filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 28px; padding: 0 var(--gutter); scrollbar-width: none; }
  .pq-tb-filter button { flex: none; }
  .pq-tb-wires { display: none; }
  .pq-tb-branches { grid-template-columns: 1fr; gap: 28px; padding-left: 18px; border-left: 1px solid var(--tb-line); margin-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pq-tb.js .pq-tb-branch { opacity: 1; transform: none; }
  .pq-tb-dlg[open] { animation: none; }
  .pq-tb-wires path { transition: none; }
}

/* Team-Vorschau auf der Startseite: dunkles Band direkt nach der Scroll-Geschichte, Mini-Organigramm */
.pq-tbp { background: #0a1220; color: #eef2f8; padding: 112px 0; border-top: 1px solid rgba(255,255,255,.06);
  background-image: radial-gradient(800px 400px at 85% 10%, rgba(70,113,159,.3), transparent 70%); }
.pq-tbp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.pq-tbp .pq-tb-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9fc0e3; margin: 0 0 16px; }
.pq-tbp h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.03em; color: #fff; margin: 0 0 20px; }
.pq-tbp-text p:not(.pq-tb-eyebrow) { color: #c4cede; font-size: 18px; line-height: 1.6; margin: 0 0 32px; max-width: 46ch; }
.pq-tbp-btn { background: #fff !important; color: #0a1220 !important; border-color: #fff !important; }
.pq-tbp-chart { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; padding: 32px 24px; border-radius: 28px;
  background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow 250ms ease, transform 250ms cubic-bezier(.23,1,.32,1); }
.pq-tbp-chart:hover { box-shadow: inset 0 0 0 1px rgba(159,192,227,.35), 0 30px 80px rgba(0,0,0,.35); }
.pq-tbp-chart:active { transform: scale(.99); }
.pq-tbp-lead { display: flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pq-tbp-lead strong { display: block; color: #fff; font-size: 17px; }
.pq-tbp-lead small { color: #9aa7bd; font-size: 13px; }
.pq-tbp-face { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: #1b2a44; box-shadow: 0 0 0 2px #0a1220, 0 0 0 3.5px #9fc0e3; }
.pq-tbp-face--lead { width: 60px; height: 60px; }
.pq-tbp-face img { width: 100%; height: 100%; object-fit: cover; }
.pq-tbp-face > span { color: #fff; font-weight: 600; font-size: 20px; }
.pq-tbp-stem { width: 1px; height: 36px; background: linear-gradient(#9fc0e3, rgba(159,192,227,.2)); }
.pq-tbp-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 14px; padding-top: 18px; border-top: 1px solid rgba(159,192,227,.25); width: 100%; }
.pq-tbp-member { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; text-align: center; }
.pq-tbp-member strong { font-size: 14px; color: #fff; }
.pq-tbp-member small { font-size: 12px; line-height: 1.25; color: #9aa7bd; }
.pq-tbp-member--role .pq-tbp-face { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(159,192,227,.45); }
.pq-tbp-member--role .pq-tbp-face > span { color: #9fc0e3; font-weight: 300; font-size: 22px; }
@media (max-width: 900px) {
  .pq-tbp { padding: 72px 0; }
  .pq-tbp-grid { grid-template-columns: 1fr; gap: 36px; }
  .pq-tbp-member { width: 76px; }
}
