/* ── DIENSTEN PAGE ──
   The three disciplines on cards like the rest of the site (light black, purple glow on hover):
   an icon, number, name and count on the left, the services in two columns on the right.
   A big faint number sits in each card's corner. Markup: diensten.html */

.dn-desc { max-width: 620px; }

.dn-section {
  background: var(--bg);
  padding: 2vh 5vw 12vh;
  display: flex; flex-direction: column; gap: 18px;
}

.dn-cat {
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(28px, 3.5vw, 52px);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid rgba(236, 235, 225, 0.07);
  box-shadow: 0 16px 46px -18px rgba(139, 95, 163, 0), inset 0 -34px 40px -34px rgba(139, 95, 163, 0);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
@media (hover: hover) {
  .dn-cat:hover {
    border-color: rgba(139, 95, 163, 0.45);
    box-shadow: 0 16px 46px -18px rgba(139, 95, 163, 0.6), inset 0 -34px 40px -34px rgba(139, 95, 163, 0.5);
  }
}
/* the big faint number in the corner */
.dn-cat::before {
  content: attr(data-num);
  position: absolute; z-index: -1; right: -0.04em; bottom: -0.22em;
  font-family: var(--font-title); font-weight: 800; font-size: clamp(8rem, 16vw, 15rem);
  line-height: 1; letter-spacing: -0.04em;
  color: rgba(236, 235, 225, 0.025);
  pointer-events: none;
}

.dn-cat-head { display: flex; flex-direction: column; align-items: flex-start; }
/* the category's icon: a purple outline in a soft purple tile */
.dn-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.75rem;
  border-radius: 18px;
  background: var(--accent-dim); border: 1px solid rgba(139, 95, 163, 0.5);
  box-shadow: 0 0 34px -8px var(--accent-glow);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.5s ease;
}
.dn-icon svg {
  width: 30px; height: 30px; fill: none;
  stroke: #d9b3ee; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
@media (hover: hover) {
  .dn-cat:hover .dn-icon { transform: translateY(-4px) rotate(-6deg); box-shadow: 0 0 44px -6px var(--accent-glow); }
}
.dn-num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--accent); }
.dn-title {
  margin-top: 0.6rem;
  font-family: var(--font-title); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase; color: var(--text);
}
.dn-count {
  margin-top: 1rem;
  font-family: var(--font-display); font-size: 0.875rem; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--text-muted);
}

/* the services: two columns of rows with a purple dot */
.dn-services {
  list-style: none; align-content: start;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem;
}
.dn-services li {
  display: flex; align-items: baseline; gap: 0.75rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9375rem; line-height: 1.4; color: var(--text);
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.dn-services li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(139, 95, 163, 0.8);
  transform: translateY(-2px);
}
@media (hover: hover) {
  .dn-services li:hover { color: #d9b3ee; transform: translateX(4px); }
}

@media (max-width: 900px) {
  .dn-cat { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
}
@media (max-width: 600px) {
  .dn-cat { padding: 26px 20px; border-radius: 22px; }
  .dn-services { grid-template-columns: minmax(0, 1fr); }
  .dn-icon { width: 56px; height: 56px; margin-bottom: 1.25rem; }
}

/* Sitemap page (sitemap.html): the same cards, the rows are links */
.sm-links a { color: inherit; text-decoration: none; }
.sm-links a::after { content: ' →'; opacity: 0; transition: opacity 0.3s ease; }
.sm-links li:hover a::after { opacity: 1; }
.sm-xml { color: var(--text); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--accent); }
.sm-xml:hover { color: #d9b3ee; }
