/* Projektübersicht und Projektdetailseiten (Entwurf W, Mischa 08.11.2026, Aufbau nach Push Refresh /work).
   Bilder sind echte Bildschirmfotos. Formsprache wie die Startseite: Switzer, monochrom, Knöpfe 8 px, Karten 4 px, Boxen 8 px. */

/* ---------- Übersicht projekte.html ---------- */
.po { padding: 110px 0 140px; }
.po-titel { margin-top: 18px; max-width: 16em; font-weight: 500; font-size: clamp(40px, 22px + 3.3vw, 66px); line-height: 1.04; letter-spacing: -0.038em; text-wrap: balance; }
.po-satz { margin-top: 22px; max-width: 38em; font-size: clamp(17px, 15px + 0.35vw, 20px); line-height: 1.5; font-weight: 480; color: var(--fg-2); text-wrap: pretty; }
.po-filter-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 36px; }
.po-filter-reihe { display: flex; align-items: center; gap: 14px; min-width: 0; }
.po-filter-art { flex: none; width: 64px; font-size: 13px; font-weight: 500; color: var(--fg-2); }
.po-filter { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.po-filter-kn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--linie); background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--fg); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.po-filter-kn span { font-size: 12.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.po-filter-kn:hover { background: var(--karte); }
.po-filter-kn[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.po-filter-kn[aria-pressed="true"] span { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.po-filter-kn:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.po-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 16px; margin-top: 48px; }
.po-karte { display: flex; flex-direction: column; color: var(--fg); }
.po-karte[hidden] { display: none; }
/* echtes Bildschirmfoto auf grauer Fläche, unten angeschnitten */
.po-bild { display: block; aspect-ratio: 16 / 10; padding: 6% 6% 0; overflow: hidden; border-radius: 4px; background: var(--karte); }
.po-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 6px 6px 0 0; box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 8%, transparent), 0 24px 60px -30px rgba(0, 0, 0, 0.4); transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
a.po-karte:hover .po-bild img { transform: translateY(-6px); }
.po-text { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.po-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.po-kopf b { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; }
.po-hinweis { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--fg-2); white-space: nowrap; transition: color 160ms ease; }
a.po-karte:hover .po-hinweis { color: var(--fg); }
.pj-raus { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
.po-branche { font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.po-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.po-tags span { height: 26px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 4px; border: 1px solid var(--linie); font-size: 12.5px; font-weight: 500; color: var(--fg-2); }
.po-katalog { margin-top: 64px; font-size: 15px; color: var(--fg-2); }
.po-katalog a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--linie); text-underline-offset: 3px; }

/* ---------- Detailseite projekt-*.html: links feste Projektdaten, rechts Bilder und Funktionen ---------- */
.pjd { padding: 64px 0 130px; }
.pjd-raster { display: grid; grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.pjd-seite { position: sticky; top: 96px; display: flex; flex-direction: column; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: none; padding-bottom: 8px; }
.pjd-seite::-webkit-scrollbar { display: none; }
.pjd-zurueck { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--fg-2); transition: color 160ms ease; }
.pjd-zurueck::before { content: "←"; margin-right: 7px; }
.pjd-zurueck:hover { color: var(--fg); }
.pjd-name { margin-top: 26px; font-size: 15px; font-weight: 600; }
.pjd-seite h1 { margin-top: 10px; font-weight: 500; font-size: clamp(28px, 16px + 1.4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.pjd-intro { margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.pjd-fakten { margin: 26px 0 0; border-top: 1px solid var(--linie); }
.pjd-fakten > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linie); font-size: 14px; line-height: 1.45; }
.pjd-fakten dt { color: var(--fg-2); }
.pjd-fakten dd { margin: 0; }
.pjd-fakten a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--linie); text-underline-offset: 3px; transition: text-decoration-color 160ms ease; }
.pjd-fakten a:hover { text-decoration-color: var(--fg); }
.pjd-seite .knoepfe { flex-wrap: wrap; margin-top: 26px; }
.pjd-inhalt { min-width: 0; }
.pjd-titel { margin: 0; }
.pjd-block { margin-top: 104px; }
.pjd-block > h2, .pjd-block .kopfzeile h2 { font-weight: 500; font-size: clamp(26px, 18px + 1.2vw, 36px); line-height: 1.1; letter-spacing: -0.03em; }
.pjd-block > p { margin-top: 16px; max-width: 40em; font-size: 17px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.pjd-block .kopfzeile { margin: 0; padding: 0; border: 0; align-items: center; }
.ls-kette.pjd-kette { margin-top: 36px; padding-top: 0; --abst: 40px; }
/* Bühne für echte Bildschirmfotos: Desktop als Fenster, Handy mit Rahmen, unten angeschnitten */
.pjd-buehne { display: flex; align-items: flex-end; justify-content: center; gap: 18px; margin-top: 24px; padding: 32px 32px 0; border-radius: 8px; background: var(--karte); overflow: hidden; }
.pjd-titel .pjd-buehne { margin-top: 0; padding: 40px 40px 0; }
.pjd-geraet img { display: block; width: 100%; }
.pjd-desktop { flex: 1; min-width: 0; overflow: hidden; border-radius: 6px 6px 0 0; box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 8%, transparent), 0 24px 60px -30px rgba(0, 0, 0, 0.4); }
.pjd-handy { flex: none; width: min(230px, 36%); aspect-ratio: 390 / 640; overflow: hidden; border: 7px solid #0b0b0c; border-bottom: 0; border-radius: 30px 30px 0 0; background: #0b0b0c; }
.pjd-handy img { height: 100%; object-fit: cover; object-position: top center; border-radius: 22px 22px 0 0; }
.pjd-buehne-mix .pjd-handy { position: relative; z-index: 1; width: 25%; margin-left: -14%; }
.pjd-buehne-handys { gap: 28px; }
/* Funktionen */
.pjd-f { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--linie); }
.pjd-block > h2 + .pjd-f { margin-top: 32px; }
.pjd-f-nr { font-size: 13px; font-weight: 500; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.pjd-f h3 { margin-top: 8px; font-size: clamp(21px, 16px + 0.6vw, 26px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.pjd-f-satz { margin-top: 10px; max-width: 40em; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.pjd-technik { margin-top: 20px; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.pjd-technik summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 15px; font-weight: 500; cursor: pointer; }
.pjd-technik summary::-webkit-details-marker { display: none; }
.pjd-technik[open] .faq-zeichen::after { transform: rotate(0deg); }
.pjd-technik p { padding: 0 0 16px; max-width: 42em; font-size: 15.5px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.pjd-katalog { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--fg-2); text-decoration: underline; text-decoration-color: var(--linie); text-underline-offset: 3px; transition: color 160ms ease; }
.pjd-katalog:hover { color: var(--fg); }
/* alle Funktionen: dezente Liste mit Links in den Katalog */
.pjd-alle { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; }
.pjd-alle a { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--linie); font-size: 13px; line-height: 1.3; color: var(--fg-2); transition: color 160ms ease, border-color 160ms ease; }
.pjd-alle a:hover { color: var(--fg); border-color: color-mix(in srgb, var(--fg) 30%, transparent); }
.pjd-block .faq-liste { margin-top: 24px; }
.po-raster.pjd-weitere { margin-top: 24px; }
.pjd-start { padding-top: 140px; }

@media (max-width: 1080px) {
  .pjd-raster { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .pjd-seite { position: static; max-height: none; overflow: visible; }
  .ls-kette.pjd-kette { margin-left: 0; }
}
@media (max-width: 719.98px) {
  .po { padding: 56px 0 96px; }
  .po-filter-block { margin-top: 28px; gap: 14px; }
  .po-filter-reihe { display: block; }
  .po-filter-art { display: block; width: auto; margin-bottom: 8px; }
  .po-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .po-filter::-webkit-scrollbar { display: none; }
  .po-filter-kn { flex: none; }
  .po-raster { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 32px; }
  .po-kopf b { font-size: 19px; }
  .pjd { padding: 32px 0 88px; }
  .pjd-seite h1 { font-size: 30px; }
  .pjd-intro { font-size: 15.5px; }
  .pjd-block { margin-top: 72px; }
  .pjd-block > p, .pjd-f-satz { font-size: 15.5px; }
  .pjd-buehne, .pjd-titel .pjd-buehne { padding: 18px 18px 0; gap: 12px; }
  .pjd-handy { border-width: 5px; border-radius: 22px 22px 0 0; }
  .pjd-handy img { border-radius: 17px 17px 0 0; }
  .pjd-buehne-handys .pjd-handy { width: 46%; }
  .pjd-buehne-mix .pjd-handy { width: 30%; margin-left: -18%; }
  .po-raster.pjd-weitere { grid-template-columns: minmax(0, 1fr); }
  .pjd-start { padding-top: 96px; }
}
/* alle Funktionen eingeklappt: dezent für Besucher, im Code vollständig für Google und KI */
.pjd-alle-klapp { margin-top: 20px; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.pjd-alle-klapp summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 15px; font-weight: 500; cursor: pointer; }
.pjd-alle-klapp summary::-webkit-details-marker { display: none; }
.pjd-alle-klapp[open] .faq-zeichen::after { transform: rotate(0deg); }
.pjd-alle-klapp .pjd-alle { margin: 4px 0 18px; }
.pjd-alle a { display: inline-block; } /* inline-flex zerlegte Einträge mit umbruchfesten Wörtern in Spalten */
.pjd-live { white-space: nowrap; }
.pjd-fakten .pj-raus { display: inline-block; margin-left: 2px; } /* SVGs sind global Block-Elemente, der Pfeil soll hinter dem Link stehen */

/* Übersicht (Mischa 09.11.): heller Kopf mit Filter, darunter schwarz die Projekte als Reihen wie auf der Startseite */
.po { padding-bottom: 72px; }
.po-liste { padding: 96px 0 140px; }
.po-liste .pj[hidden] { display: none; }
.po-liste .po-katalog { margin-top: 72px; color: var(--fg-2); }
.po-liste .po-katalog a { color: var(--fg); }
@media (max-width: 719.98px) { .po { padding-bottom: 48px; } .po-liste { padding: 56px 0 96px; } }
/* Hinweis unter dem Filter (Mischa 09.11.): Seite ist neu, weitere Projekte folgen */
.po-hinweis { display: flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 14px; color: var(--fg-2); }
.po-hinweis i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); animation: po-puls 1.8s ease-in-out infinite; }
@keyframes po-puls { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .po-hinweis i { animation: none; } }
@media (max-width: 719.98px) { .po-hinweis { align-items: flex-start; font-size: 13.5px; line-height: 1.45; } .po-hinweis i { margin-top: 6px; } }
.po-hinweis span { min-width: 0; white-space: normal; text-wrap: pretty; }
