/* Scoped fixes for /diensten and 404 only — leaves the rest of the site untouched. */
.sw-services { display:flex; flex-direction:column; gap:clamp(2.5rem,6vw,5rem); width:100%; }
.sw-service { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(1.5rem,4vw,4.5rem); align-items:center; width:100%; min-width:0; }
.sw-service:nth-child(even) .sw-service__photo { order:2; }
.sw-service:nth-child(even) .sw-service__content { order:1; }
.sw-service__photo { display:block; position:relative; width:100%; aspect-ratio: 4/3; overflow:hidden; border-radius:1rem; background:hsl(var(--primary) / .08); }
.sw-service__photo img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease; }
.sw-service__photo:hover img { transform:scale(1.025); }
.sw-service__placeholder { display:flex; align-items:center; justify-content:center; color:hsl(var(--primary)); }
.sw-service__placeholder svg { width:4rem; height:4rem; }
.sw-service__content { min-width:0; }
.sw-service__content h2 { font-size:clamp(1.5rem,2.6vw,2.1rem); font-weight:700; line-height:1.2; color:hsl(var(--primary)); margin:0 0 1rem; }
.sw-service__content p { line-height:1.8; font-size:1.05rem; color:hsl(var(--foreground)); margin:0 0 1.25rem; overflow-wrap:anywhere; }
.sw-service__link { display:inline-flex; align-items:center; gap:.5rem; color:hsl(var(--primary)); font-weight:650; text-decoration:none; }
.sw-service__link svg { width:1.1rem; height:1.1rem; }
.sw-service__link:hover { text-decoration:underline; }
.sw-404 { padding:clamp(3rem,7vw,6rem) 1rem; min-height:60vh; display:flex; align-items:center; justify-content:center; }
.sw-404__inner { max-width:42rem; width:100%; margin:0 auto; text-align:center; overflow-wrap:anywhere; }
.sw-404__code { font-size:clamp(5.5rem,18vw,9rem); line-height:1; font-weight:800; color:hsl(var(--primary) / .2); margin-bottom:1.5rem; }
.sw-404 h1 { color:hsl(var(--primary)); font-weight:750; font-size:clamp(1.5rem,4vw,2rem); line-height:1.25; margin:0 0 1rem; }
.sw-404 p { font-size:1.0625rem; line-height:1.6; margin:0 0 2rem; }
.sw-404__actions { display:flex; flex-wrap:wrap; justify-content:center; gap:.75rem; margin:0 0 2.5rem; }
.sw-404__actions a { display:inline-flex; align-items:center; justify-content:center; min-height:2.8rem; padding:.75rem 1.25rem; border-radius:.55rem; font-size:.95rem; font-weight:600; max-width:100%; text-align:center; }
.sw-404__primary { background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); }
.sw-404__secondary { color:hsl(var(--primary)); border:1px solid hsl(var(--primary) / .4); }
.sw-404__suggestions { padding:1.5rem; border-radius:1rem; background:hsl(var(--primary) / .05); border:1px solid hsl(var(--primary) / .13); }
.sw-404__suggestions h2 { font-size:1.05rem; font-weight:650; margin:0 0 .75rem; }
.sw-404__suggestions ul { margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:.45rem 1.25rem; justify-content:center; }
.sw-404__suggestions a { color:hsl(var(--primary)); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:767px) { .sw-service { grid-template-columns:minmax(0,1fr); gap:1.25rem; } .sw-service:nth-child(even) .sw-service__photo,.sw-service:nth-child(even) .sw-service__content { order:initial; } .sw-service__photo { aspect-ratio:16/10; } .sw-service__content p { font-size:1rem; } .sw-404__actions { flex-direction:column; align-items:stretch; } .sw-404__suggestions ul { flex-direction:column; } }
