#diensten {
  border-top: 1px solid var(--accent-glow);
}

.services-header {
  margin-bottom: var(--space-6);
}

.services-layout {
  display: none;
}

@media (min-width: 769px) {
  .services-layout {
    display: flex;
    align-items: center;
    gap: var(--space-7);
  }
  .services-header {
    margin-bottom: var(--space-7);
  }
}

.graph-container {
  flex: 0 1 55%;
  min-width: 0;
}

.graph-container svg {
  width: 100%;
  height: auto;
}

/* Background orbit */
.graph-bg-ring {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.04;
  stroke-width: 1;
}

/* Center node rings */
.center-outer-ring {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.2;
  stroke-width: 1;
}

.center-rotating-ring {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.3;
  stroke-width: 1;
  stroke-dasharray: 8 6;
}

.center-mid-ring {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.4;
  stroke-width: 1;
}

.center-core {
  fill: var(--accent-subtle);
  stroke: var(--accent);
  stroke-width: 2;
}

.center-label {
  fill: var(--accent);
  font-family: 'Clash Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

/* Connecting lines */
.graph-connection {
  transition: opacity 200ms ease;
}

.graph-connection.dimmed {
  opacity: 0.2;
}

.graph-line-base {
  stroke: var(--accent);
  stroke-opacity: 0.15;
  stroke-width: 1;
  transition: stroke-opacity 200ms ease, stroke-width 200ms ease;
}

.graph-connection.active .graph-line-base {
  stroke-opacity: 0.6;
  stroke-width: 2;
}

.graph-particle {
  stroke: var(--accent);
  stroke-opacity: 0.6;
  stroke-dasharray: 12 200;
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: none;
}

.graph-connection.active .graph-particle {
  stroke-opacity: 1;
  stroke-width: 2;
  animation-duration: 0.8s;
}

/* Service nodes */
.graph-node {
  cursor: pointer;
  transition: opacity 200ms ease;
}

.graph-node.dimmed {
  opacity: 0.35;
}

.graph-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
}

.graph-node-main {
  fill: var(--accent-fill-light);
  stroke: var(--accent);
  stroke-opacity: 0.6;
  stroke-width: 2;
  transition: fill 200ms ease, stroke-opacity 200ms ease, stroke-width 200ms ease;
}

.graph-node.active .graph-node-main {
  fill: var(--accent-fill);
  stroke-opacity: 1;
  stroke-width: 2.5;
}

.graph-node-icon {
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 200ms ease;
}

.graph-node-icon-fill {
  fill: var(--accent);
  stroke: none;
}

.graph-node.dimmed .graph-node-icon,
.graph-node.dimmed .graph-node-icon-fill {
  opacity: 0.5;
}

.graph-node-label {
  fill: var(--text-primary);
  fill-opacity: 0.9;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  transition: fill-opacity 200ms ease;
}

.graph-node.active .graph-node-label {
  fill-opacity: 1;
}

/* Description panel */
.services-panel {
  flex: 0 1 40%;
  padding-left: var(--space-5);
}

.panel-inner {
  transition: opacity 150ms ease;
}

.panel-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.panel-line {
  width: 40px;
  height: 1px;
  background-color: var(--accent);
  margin-bottom: var(--space-4);
}

.panel-desc {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.panel-cta {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  transition: opacity var(--transition-fast);
}

.panel-cta:hover {
  opacity: 0.7;
}

/* Mobile: tap list */
.services-mobile {
  display: block;
}

@media (min-width: 769px) {
  .services-mobile {
    display: none;
  }
}

.services-mobile-list {
  list-style: none;
}

.services-mobile-item {
  border-bottom: 1px solid var(--border);
}

.services-mobile-item:first-child {
  border-top: 1px solid var(--border);
}

.services-mobile-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-4) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-fast);
}

.services-mobile-item.active .services-mobile-btn {
  color: var(--accent);
}

.services-mobile-indicator {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-xl);
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  display: inline-block;
}

.services-mobile-item.active .services-mobile-indicator {
  color: var(--accent);
  transform: rotate(45deg);
}

.services-mobile-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding-bottom 300ms ease;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-bottom: 0;
}

.services-mobile-item.active .services-mobile-desc {
  max-height: 200px;
  padding-bottom: 1.5rem;
}
