/* Bilder durchgehen (Sam, 11.11.2026): alle Fotos schwarz-weiß mit Architekten-Raster; Videos bleiben farbig */
main img:is([src$=".jpg"],[src$=".jpeg"],[src$=".webp"],[src$=".png"]){filter:grayscale(1) contrast(1.04)}
/* Raster über Foto-Flächen (wie .rz in den Kachel-Rastern): Abschnitts-Fotos, Fallbeispiele, Hintergründe, Beratungskarten, Kopfbilder */
:where(.kp-ws figure, .kp-ws .kp-ph, .kp-isplit figure, .kp-fall figure, .kp-dark .kp-ph, .bz-top figure, .ec-person figure, .hero figure, .t4 figure, .ap figure){position:relative}
:is(.kp-ws figure, .kp-ws .kp-ph, .kp-isplit figure, .kp-fall figure, .kp-dark .kp-ph, .bz-top figure, .ec-person figure, .hero figure, .t4 figure, .ap figure):has(> img:is([src$=".jpg"],[src$=".webp"],[src$=".png"]))::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;border-radius:inherit;
  background-image:linear-gradient(rgba(47,163,163,.42) 2px,transparent 2px),linear-gradient(90deg,rgba(47,163,163,.42) 2px,transparent 2px),linear-gradient(rgba(47,163,163,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(47,163,163,.16) 1px,transparent 1px);
  background-size:96px 96px,96px 96px,24px 24px,24px 24px;background-position:center}
@media (max-width:900px){:is(.kp-ws figure, .kp-ws .kp-ph, .kp-isplit figure, .kp-fall figure, .kp-dark .kp-ph, .bz-top figure, .ec-person figure, .hero figure, .t4 figure, .ap figure)::after{background-size:64px 64px,64px 64px,16px 16px,16px 16px}}
/* Animation in der Kachel: kein Raster darüber */
.rz.rz-anim::after{display:none}
.rz.rz-anim{aspect-ratio:2/1}
/* Startseite: Reiter-Animationen füllen die Bildfläche */
.st-panel-pic.st-anim{position:relative;background:#EEF3F2}
/* Seitenende „Bereit für Ihre digitale Steuer-Architektur?“: Schrift dunkel, damit sie auf hellem Glas lesbar bleibt */
.scene-end .frame h2,.scene-end .frame .h,.scene-end .frame-title,.scene-end h2{color:#111!important}
/* Startseite Handy: Kachel mit Team-Zeichnung zeigt die ganze Figur (Kopf nicht abschneiden) */
@media (max-width:760px){.mz-tile .alt-p img{left:50%!important;width:auto!important;height:92%!important;max-width:100%;object-fit:contain!important;object-position:50% 100%!important;transform:translateX(-50%)!important}}
/* Fotos u-01…u-14 haben das Raster schon im Bild (Sams Wunsch 11.11.2026) – hier nicht noch einmal darüberlegen */
:is(.kp-ws figure, .kp-ws .kp-ph, .kp-isplit figure, .kp-fall figure, .kp-dark .kp-ph, .bz-top figure, .ec-person figure, .hero figure, .t4 figure, .ap figure):has(> img:is([src*="/pick/u-"],[src*="/pick/z-"]))::after{content:none}
/* Fotos/Zeichnungen mit fest eingebautem tuerkisem Raster bzw. tuerkisen Akzenten: nicht grau faerben */
main img:is([src*="/pick/u-"],[src*="/pick/z-"]){filter:none}
/* Startseite, Kachel „01 / 50+“: Person beginnt unter der Zahl, Kopf frei (Nouras Fehlerprotokoll #16) */
.alt-c .alt-p img{top:50px!important;bottom:auto!important;height:calc(100% - 64px)!important}
.alt-c .alt-cnt{z-index:2}
