/* einspunktvier – Portfolio: Filter nach Leistung, Raster aller Projekte. Kopf und Fuß aus projekt.css */

/* Dunkler Seitenkopf (Werte wie der frühere Projekt-Kopf) */
.seitenkopf { background: var(--dunkelblau); color: var(--weiss); }
.seitenkopf__innen {
  max-width: var(--inhalt-max); margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--rand) clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 16px;
}
.seitenkopf__label { margin: 0; font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.seitenkopf__name {
  margin: 0; font-weight: 900; font-size: clamp(42px, 7.2vw, 112px); line-height: .94; letter-spacing: -0.045em; text-wrap: balance;
  hyphens: auto; overflow-wrap: break-word;
}
.seitenkopf__text {
  margin: 8px 0 0; max-width: 780px;
  font-weight: 300; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, .86); text-wrap: pretty;
}

/* Filter erscheinen nur mit JavaScript; ohne sind alle Projekte sichtbar */
.pfilter__hinweis {
  display: none; margin: clamp(10px, 1.4vw, 18px) 0 0;
  font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .66);
}
.js .pfilter__hinweis { display: block; }
.pfilter { display: none; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.js .pfilter { display: flex; }
.pfilter__knopf {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 0; background: transparent; color: var(--weiss);
  font-weight: 500; font-size: 14px; line-height: 1.2; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.pfilter__knopf:hover { border-color: var(--weiss); }
.pfilter__knopf span { font-weight: 300; opacity: .72; }
.pfilter__knopf[aria-pressed="true"] { background: var(--weiss); color: var(--dunkelblau); border-color: var(--weiss); }

.pliste {
  max-width: var(--inhalt-max); margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--rand) 0;
}
.pliste__kopf {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: clamp(18px, 2vw, 28px);
}
.pliste__raster {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(10px, 1.2vw, 18px);
}
.pliste__raster li[hidden] { display: none; }
.pliste__projekt { display: flex; flex-direction: column; gap: 14px; color: var(--dunkelblau); }
.pliste__bild {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hellgrau);
  transition: transform .35s var(--kurve), box-shadow .35s ease;
}
.pliste__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Projektlogo: oben rechts bündig, weiß, mit leichtem Verlauf von oben für helle Fotos. Höhe wie bei den Partnerlogos */
.pliste__logoflaeche { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(12, 42, 61, .5), rgba(12, 42, 61, 0) 38%); }
.pliste__bild img.pliste__logo {
  inset: clamp(12px, 1.4vw, 20px) clamp(12px, 1.4vw, 20px) auto auto; width: auto; max-width: 45%;
  object-fit: contain; object-position: right top; filter: brightness(0) invert(1);
}
.pliste__projekt:hover .pliste__bild { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12, 42, 61, .18); }
.pliste__text { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.pliste__zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pliste__zeile svg { display: block; flex: none; }
.pliste__name { font-weight: 900; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.1; letter-spacing: -0.02em; }
.pliste__leistungen { font-weight: 300; font-size: 14px; color: rgba(12, 42, 61, .72); }
