#diensten {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 28%, rgba(91, 23, 214, .055), transparent 24rem),
    radial-gradient(circle at 94% 72%, rgba(0, 200, 83, .05), transparent 23rem),
    #fff;
}

#diensten .container { position: relative; }
#diensten .lead { max-width: 650px; }

.service-cards { gap: 20px; }

.service-card {
  --service-accent: #5b17d6;
  --service-soft: #f3efff;
  isolation: isolate;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border-color: #e8e5ef;
  box-shadow: 0 16px 42px rgba(35, 22, 67, .055);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card::after {
  position: absolute;
  z-index: -1;
  right: -48px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: var(--service-soft);
  opacity: .7;
  transition: transform .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--service-accent) 30%, #e8e5ef);
  box-shadow: 0 24px 58px rgba(35, 22, 67, .11);
}

.service-card:hover::after { transform: scale(1.18); }

.service-card .card-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 25px;
  color: var(--service-accent);
  background: var(--service-soft);
  border: 1px solid color-mix(in srgb, var(--service-accent) 12%, transparent);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.service-card .card-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { margin-bottom: 10px; font-size: 1.34rem; }
.service-card p { max-width: 330px; margin-bottom: 24px; line-height: 1.65; }

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--service-accent);
}

.service-card .card-link::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
}

.service-card .card-link::after {
  display: inline-block;
  margin-left: 7px;
  content: "→";
  transition: transform .2s ease;
}

.service-card:hover .card-link::after { transform: translateX(4px); }
.service-card:focus-within { outline: 3px solid #00c853; outline-offset: 3px; }
.service-card .card-link:focus-visible { outline: 0; }

.service-card--wordpress { --service-accent: #3858a6; --service-soft: #edf2ff; }
.service-card--vps { --service-accent: #008d61; --service-soft: #e7f8f1; }
.service-card--domains { --service-accent: #7041ca; --service-soft: #f1ebff; }
.service-card--email { --service-accent: #0878a9; --service-soft: #e8f6fb; }
.service-card--help { --service-accent: #b35a00; --service-soft: #fff2e3; }

@media (max-width: 700px) {
  .service-card { min-height: 255px; padding: 25px; }
  .service-card .card-icon { width: 56px; height: 56px; margin-bottom: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card::after,
  .service-card .card-link::after { transition: none; }
}
