/* T.O.M. Projektübersicht – Code-Mockups (Dirk 04.11.). 1em = 1 % der Mockup-Breite via Container-Query-Einheit. Klassen pu-. */
.pum { --sl: #37474F; --bg: #F5F5F5; --ln: #E0E0E0; --tx: #263238; --mu: #78909C; --g: #43A047; --o: #FB8C00; --b: #1E88E5;
  container-type: inline-size; position: relative; width: 100%; overflow: hidden; font-family: "Roboto", "Inter", system-ui, sans-serif; color: var(--tx); text-align: left; line-height: 1.25; }
.pum-desk { aspect-ratio: 1.6; }
.pum * { box-sizing: border-box; }
.pu-s { position: absolute; inset: 0; font-size: 1.3cqi; background: var(--bg); display: flex; flex-direction: column; }
.pu-s.pu-pad { padding: 2.4em 2.8em; gap: 1.6em; }
.pu-i { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pum b { font-weight: 600; }
/* Kopfleiste */
.pu-top { display: flex; align-items: center; gap: 1.6em; height: 5em; padding: 0 2.4em; background: var(--sl); color: #fff; flex: none; }
.pu-top > b { font-size: 1.6em; font-weight: 600; margin-right: auto; }
.pu-mand { display: inline-flex; align-items: center; gap: .4em; font-size: 1.15em; }
.pu-user { display: inline-flex; align-items: center; gap: .8em; } .pu-user small { font-size: .95em; opacity: .7; }
.pu-user i { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: #c5f74f; color: var(--sl); font-size: 1em; font-style: normal; font-weight: 700; }
.pu-main { display: grid; grid-template-columns: 26% 1fr; min-height: 0; flex: 1; }
/* Projektliste */
.pu-list { display: flex; flex-direction: column; gap: .9em; padding: 1.4em 1.2em; background: #fafafa; border-right: .1em solid var(--ln); overflow: hidden; }
.pu-field { display: flex; align-items: center; gap: .6em; padding: .8em 1em; border-radius: .5em; background: #fff; box-shadow: inset 0 0 0 .1em var(--ln); color: var(--mu); font-size: 1.05em; white-space: nowrap; overflow: hidden; }
.pu-field.sel { color: var(--tx); justify-content: flex-start; } .pu-field.sel .pu-i:last-child { margin-left: auto; }
.pu-list .pu-ol { display: grid; margin: .4em -1.2em 0; padding: 0; list-style: none; }
.pu-list .pu-li { display: grid; gap: .15em; padding: .75em 1.2em .75em 1.6em; border-left: .45em solid var(--c); font-size: 1.05em; }
.pu-list .pu-li[data-stripe] { border-image: repeating-linear-gradient(45deg, #1E88E5 0 .4em, #43A047 .4em .8em) 1; }
.pu-list .pu-li small { font-size: .9em; color: var(--mu); } .pu-list .pu-li b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pu-list .pu-li.on { background: #eceff1; }
/* Akte */
.pu-akte { display: flex; flex-direction: column; gap: 1em; padding: 0 2.4em 2em; min-width: 0; }
.pu-tabs { display: flex; gap: 2.2em; border-bottom: .1em solid var(--ln); font-size: 1.1em; color: var(--mu); white-space: nowrap; overflow: hidden; }
.pu-tabs span { padding: 1.1em 0 .9em; } .pu-tabs span.on { color: var(--tx); font-weight: 600; box-shadow: inset 0 -.2em 0 var(--sl); }
.pu-card { padding: 1.4em 1.6em; border-radius: .9em; background: #fff; box-shadow: 0 .1em .4em rgba(38,50,56,.08); }
.pu-status { display: flex; align-items: center; gap: .7em; font-size: 1.15em; } .pu-status b { margin-left: .4em; color: var(--g); }
.pu-dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; } .pu-dot.g { background: var(--g); }
.pum .pu-h6 { margin: .4em 0 0; font-size: 1.2em; font-weight: 600; }
.pum .pu-h5 { display: flex; align-items: baseline; gap: .8em; margin: 0 0 1em; font-size: 1.45em; font-weight: 600; } .pum .pu-h5 small { font-size: .7em; font-weight: 400; color: var(--mu); }
.pu-row { display: flex; gap: 1em; } .pu-row > * { flex: 1; } .pu-row > .s { flex: .55; }
.pu-f { display: grid; gap: .25em; padding: .7em 1em; border-radius: .5em; background: #fff; box-shadow: inset 0 0 0 .1em var(--ln); min-width: 0; }
.pu-f small { font-size: .8em; color: var(--mu); } .pu-f span { font-size: 1.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pu-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.pu-kpis > div { display: grid; gap: .3em; padding: 1em 1.2em; border-radius: .7em; background: #fff; box-shadow: inset 0 0 0 .1em var(--ln); }
.pu-kpis small { font-size: .9em; color: var(--mu); } .pu-kpis b { font-size: 1.7em; font-weight: 700; }
.pu-kpis .hi { background: #e8f5e9; box-shadow: none; } .pu-kpis .hi b { color: #2e7d32; }
/* Pillen */
.pu-pill { display: inline-block; padding: .3em .8em; border-radius: 99em; font-size: .9em; font-style: normal; font-weight: 600; white-space: nowrap; }
.pu-pill.g { background: #e8f5e9; color: #2e7d32; } .pu-pill.o { background: #fff3e0; color: #e65100; } .pu-pill.b { background: #e3f2fd; color: #1565c0; } .pu-pill.n { background: #eceff1; color: #546e7a; }
/* Nachträge */
.pu-nt { display: grid; }
.pu-nt .pu-r { display: grid; grid-template-columns: 3.4em 1fr auto 7.5em 2em; align-items: center; gap: 1em; padding: .85em 0; border-top: .1em solid var(--ln); font-size: 1.15em; }
.pu-nt small { color: var(--mu); } .pu-nt b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pu-nt span { text-align: right; font-weight: 600; } .pu-nt i { color: var(--mu); }
.pu-sum { display: flex; justify-content: space-between; align-items: center; margin-top: 1em; padding: 1em 1.4em; border-radius: .7em; background: var(--g); color: #fff; font-size: 1.3em; }
.pu-sum span b { font-weight: 700; } .pu-sum > b { font-size: 1.3em; font-weight: 700; }
.pu-note { margin: .9em 0 0; font-size: 1.1em; color: var(--mu); } .pu-note b { color: var(--tx); }
/* Anschriften */
.pu-adr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; flex: 1; }
.pu-adr { align-items: start; } .pu-adr .pu-card { display: flex; flex-direction: column; gap: .5em; padding: 1em; }
.pu-map { display: block; width: 100%; height: auto; border-radius: .6em; margin-bottom: .6em; }
.pu-adr small { display: flex; align-items: center; gap: .6em; font-size: 1em; color: var(--mu); } .pu-adr b { font-size: 1.25em; } .pu-adr span { font-size: 1.05em; color: var(--mu); }
.pu-adr code { display: inline-flex; align-items: center; gap: .4em; margin-top: .6em; font: 500 .95em/1.2 ui-monospace, "Geist Mono", monospace; color: var(--tx); }
/* Bürgschaften */
.pu-two { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.6em; flex: 1; }
.pu-meter { height: .9em; border-radius: 99em; background: #eceff1; overflow: hidden; } .pu-meter i { display: block; height: 100%; border-radius: inherit; background: var(--o); }
.pu-warn { display: flex; align-items: center; gap: .5em; margin: .7em 0 1.4em; font-size: 1.05em; color: #e65100; }
.pu-tb { display: grid; width: 100%; font-size: 1.15em; } .pu-tb .tr { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr; align-items: center; border-bottom: .1em solid var(--ln); } .pu-tb .tr > span { padding: .75em .4em; } .pu-tb .tr > span:nth-child(2) { text-align: right; padding-right: 1.4em; } .pu-tb .tr > span:last-child { text-align: right; }
.pu-tb .tr.th > span { padding: .6em .4em; font-size: .85em; font-weight: 500; color: var(--mu); }
.pu-tb .tr.sum { font-weight: 700; border-bottom: 0; }
/* Destatis */
.pu-act { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-top: 1.2em; } .pu-act .pu-warn { margin: 0; }
.pu-btn { display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.4em; border-radius: .6em; background: var(--sl); color: #fff; font-size: 1.1em; font-weight: 600; white-space: nowrap; }
/* Köpfe */
.pu-h { margin: 0 !important; } .pu-team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4em; flex: 1; align-content: start; }
.pu-p { display: flex; gap: 1.2em; align-items: center; }
.pu-p > i { display: grid; place-items: center; flex: none; width: 4.6em; height: 4.6em; border-radius: 50%; background: var(--c); color: #fff; font-size: 1.3em; font-style: normal; font-weight: 700; }
.pu-p div { display: grid; gap: .3em; min-width: 0; } .pu-p small { font-size: 1em; color: var(--mu); } .pu-p b { font-size: 1.35em; }
.pu-p span { display: flex; align-items: center; gap: .5em; font-size: 1.05em; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* schwebende Karte im Kopf (statt Handy) */
.pu-float { display: grid; gap: 8px; width: 100%; padding: 16px 18px; border-radius: 16px; background: #fff; color: #263238; font-family: "Roboto", "Inter", system-ui, sans-serif; box-shadow: 0 30px 50px -26px rgba(11,15,6,.55), 0 0 0 1px rgba(38,50,56,.06); }
.pu-float small { font-size: 11px; color: #78909C; } .pu-float b { font-size: 26px; font-weight: 700; color: #2e7d32; line-height: 1; }
.pu-float span { display: block; height: 8px; border-radius: 99px; background: #e8f5e9; overflow: hidden; } .pu-float span i { display: block; height: 100%; background: #43A047; border-radius: inherit; }
.pu-float em { font-size: 12px; font-style: normal; color: #546e7a; }

/* Destatis-Karte füllt die Fläche, Zahlen gut lesbar */
.pu-s.pu-pad > .pu-card:only-child { flex: 1; display: flex; flex-direction: column; } .pu-s.pu-pad > .pu-card:only-child .pu-tb { font-size: 1.35em; } .pu-s.pu-pad > .pu-card:only-child .pu-act { margin-top: auto; }
