.service-cards.service-animate .service-detail-card{opacity:0;transform:translateY(28px)}.service-cards.service-animate .service-detail-card.service-visible{opacity:1;transform:none}

/* Bildfüllende Leistungskarten ohne weiße Textkästen. */
.service-gallery>.service-cards{display:grid!important;columns:auto!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:460px!important;gap:18px!important}
.service-gallery .service-detail-card,.service-gallery .service-detail-card:nth-child(n){position:relative!important;display:block!important;width:auto!important;height:460px!important;min-height:0!important;margin:0!important;border:0!important;border-radius:18px!important;overflow:hidden!important;background:#10183c!important;color:#fff!important;box-shadow:none!important;isolation:isolate}
.service-gallery .service-detail-card>button{position:absolute!important;inset:0!important;z-index:2!important;display:block!important;width:100%!important;height:100%!important;padding:0!important;cursor:pointer!important;color:#fff!important}
.service-gallery .service-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.service-gallery .service-image:after{content:""!important;display:block!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(6,12,34,.08) 20%,rgba(6,12,34,.48) 58%,rgba(6,12,34,.96) 100%)!important;transition:background .35s ease!important}
.service-gallery .service-image img{width:100%!important;height:100%!important;object-fit:cover!important;filter:saturate(.88)!important;transition:transform .65s ease,filter .4s ease!important}
.service-gallery .service-number{position:absolute!important;top:20px!important;left:21px!important;margin:0!important;padding:7px 9px!important;border-radius:999px!important;background:rgba(8,17,53,.72)!important;color:#fff!important;backdrop-filter:blur(8px)}
.service-gallery .service-title{position:absolute!important;z-index:3!important;left:24px!important;right:24px!important;bottom:24px!important;padding:0!important;transform:none!important;transition:transform .35s ease!important}
.service-gallery .service-title small{color:#ff8ba0!important;font-size:.74rem!important;line-height:1.3!important}.service-gallery .service-title h3{margin-top:7px!important;color:#fff!important;font-size:clamp(1.55rem,1.9vw,2.15rem)!important;line-height:1.05!important}
.service-gallery .service-detail{position:absolute!important;z-index:4!important;left:24px!important;right:24px!important;bottom:22px!important;display:block!important;background:transparent!important;color:#fff!important;border:0!important;opacity:0!important;transform:translateY(15px)!important;pointer-events:none!important;transition:opacity .3s ease,transform .35s ease!important}
.service-gallery .service-detail>p{max-height:142px!important;margin:0!important;padding:0 5px 0 0!important;overflow:auto!important;color:rgba(255,255,255,.94)!important;font-size:1rem!important;line-height:1.52!important;scrollbar-width:thin}
.service-gallery .service-detail-card:hover,.service-gallery .service-detail-card.revealed{transform:translateY(-6px)!important;box-shadow:0 24px 55px rgba(11,20,57,.18)!important}
.service-gallery .service-detail-card:hover img,.service-gallery .service-detail-card.revealed img{transform:scale(1.045)!important;filter:saturate(1)!important}
.service-gallery .service-detail-card:hover .service-image:after,.service-gallery .service-detail-card.revealed .service-image:after{background:linear-gradient(180deg,rgba(6,12,34,.2),rgba(6,12,34,.64) 42%,rgba(6,12,34,.99) 100%)!important}
.service-gallery .service-detail-card:hover .service-title,.service-gallery .service-detail-card.revealed .service-title{transform:translateY(-166px)!important}
.service-gallery .service-detail-card:hover .service-detail,.service-gallery .service-detail-card.revealed .service-detail{opacity:1!important;transform:none!important}
.service-gallery .service-detail-card button>i{display:none!important}
@media(max-width:1050px){.service-gallery>.service-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.service-gallery>.service-cards{grid-template-columns:1fr!important;grid-auto-rows:420px!important}.service-gallery .service-detail-card,.service-gallery .service-detail-card:nth-child(n){height:420px!important}.service-gallery .service-detail>p{max-height:138px!important;font-size:.95rem!important}.service-gallery .service-detail-card.revealed .service-title{transform:translateY(-160px)!important}}

/* Echte SEO-Verlinkung und dezente Richtungsanzeige. */
.service-gallery .service-detail-card>:is(button,.service-card-link){position:absolute!important;inset:0!important;z-index:2!important;display:block!important;width:100%!important;height:100%!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;text-align:left!important;text-decoration:none!important;cursor:pointer!important}
.service-gallery .service-detail-card>:is(button,.service-card-link):after{content:"\2197\FE0E";font-family:Arial,Helvetica,sans-serif;position:absolute;z-index:5;right:21px;top:20px;color:#fff;font-size:1.45rem;font-weight:400;line-height:1;text-shadow:0 2px 12px rgba(5,11,32,.5);transition:transform .28s ease,color .28s ease}
.service-gallery .service-detail-card:hover>:is(button,.service-card-link):after,.service-gallery .service-detail-card.revealed>:is(button,.service-card-link):after{transform:translate(3px,-3px);color:#ff8297}
.service-gallery .service-detail-card:hover .service-title,.service-gallery .service-detail-card.revealed .service-title{right:24px!important}

/* Auf der Übersicht bleiben die Leistungskacheln bewusst reduziert. */
.service-gallery .service-detail{display:none!important}
.service-gallery .service-detail-card:hover .service-title,
.service-gallery .service-detail-card.revealed .service-title{transform:none!important}

/* Der Ausschnitt des neuen Leistungsbildes zeigt die arbeitenden Hände. */
.services-hero>img{object-position:center 28%}
@media(max-width:720px){.services-hero>img{object-position:center 34%}}

/* SVG-Maske statt Emoji-Glyphe für die Pfeile der Leistungskarten. */
.service-gallery .service-detail-card>:is(button,.service-card-link):after{content:""!important;width:1.25rem;height:1.25rem;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat}
