.nhtc-kacheln{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;position:relative;z-index:1;height:clamp(460px,calc(100vh - 205px),695px)}
.nhtc-kacheln--1{grid-template-columns:1fr}
.nhtc-kacheln--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.nhtc-kacheln--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.nhtc-kacheln--5,.nhtc-kacheln--6{grid-template-columns:repeat(3,minmax(0,1fr))}
.nhtc-kacheln--5 .nhtc-kachel:last-child{grid-column:span 2}
.nhtc-kacheln--7 .nhtc-kachel:last-child{grid-column:span 2}
.nhtc-kacheln a.nhtc-kachel{position:relative;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;padding:0 16px 18%;background:linear-gradient(160deg,#e30613,#7d0009);text-decoration:none}
.nhtc-kacheln .nhtc-kachel__bild{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .5s ease}
.nhtc-kacheln .nhtc-kachel::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.55));pointer-events:none}
.nhtc-kacheln .nhtc-kachel__knopf{position:relative;z-index:1;min-width:min(220px,100%);padding:13px 18px 9px;border-radius:12px;background:#b0202a;margin:0;color:#fff;font-size:26px;line-height:1.1;text-transform:uppercase;text-align:center;transition:background-color .2s}
.nhtc-kacheln .nhtc-kachel:hover .nhtc-kachel__bild{transform:scale(1.05)}
.nhtc-kacheln .nhtc-kachel:hover .nhtc-kachel__knopf{background:#e30613}
.nhtc-kacheln a.nhtc-kachel:focus-visible{outline:4px solid #fff;outline-offset:-8px}

/* Tablet und Handy: zwei Kacheln nebeneinander */
@media(max-width:991px){
.nhtc-kacheln{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(200px,38vh,340px);height:auto;gap:6px}
.nhtc-kacheln--1{grid-template-columns:1fr}
.nhtc-kacheln .nhtc-kachel:last-child{grid-column:auto}
.nhtc-kacheln--odd .nhtc-kachel:last-child{grid-column:1/-1}
.nhtc-kacheln a.nhtc-kachel{padding:0 8px 10px}
.nhtc-kacheln .nhtc-kachel__knopf{width:100%;min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;padding:9px 6px 5px;font-size:clamp(20px,5.6vw,26px);line-height:1}
}
@media(prefers-reduced-motion:reduce){.nhtc-kacheln *{transition:none!important}.nhtc-kacheln .nhtc-kachel:hover .nhtc-kachel__bild{transform:none}}

/* Handy: kleine, ruhige Karten mit Abstand */
@media(max-width:600px){
.nhtc-kacheln{grid-auto-rows:136px;gap:12px;padding:12px 16px 0}
.nhtc-kacheln a.nhtc-kachel{padding:0;border-radius:12px}
.nhtc-kacheln .nhtc-kachel::after{inset:25% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.8))}
.nhtc-kacheln .nhtc-kachel__knopf,.nhtc-kacheln .nhtc-kachel:hover .nhtc-kachel__knopf{display:block;min-height:0;padding:8px 12px 9px;border-radius:0;background:none;border-bottom:3px solid #e30613;font-size:23px;line-height:1.1;text-align:left;text-transform:none}
}

/* PC: flacher, Menü schmaler als die Kacheln */
@media(min-width:1201px){
.nhtc-kacheln{height:clamp(380px,min(36vw,calc(100vh - 215px)),560px)}
.nhtc-kacheln a.nhtc-kachel{padding-bottom:32%}
.nhtc-kacheln .nhtc-kachel::after{content:none}
body.home #masthead .tm-container-for-header{width:1054px;max-width:1054px}
body.home #masthead #site-navigation ul.mega-menu > li.mega-menu-item > a.mega-menu-link{padding-left:9px!important;padding-right:9px!important;font-size:23px!important}
}
@media(min-width:1201px) and (max-width:1399px){
body.home .themetechmount-slider-wide{max-width:94%;margin-left:auto;margin-right:auto}
}
@media(min-width:1201px){
body.home #masthead #site-navigation ul.mega-menu > li.mega-shop-button > a.mega-menu-link{padding-left:14px!important;padding-right:14px!important}
}
