/* ===== Shop/Dienste-Seite – Modernes 3er-6er Grid mit Expandable Cards ===== */
.dienste-hero {
  margin: 0 auto 56px;
  text-align: center;
  max-width: 760px;
}
.dienste-intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.7;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
}
.service-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(20, 29, 50, 0.4) 100%);
  border: 1px solid rgba(63, 185, 80, 0.12);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 390px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(63, 185, 80, 0.08), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: rgba(63, 185, 80, 0.25);
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(20, 29, 50, 0.6) 100%);
  box-shadow: 0 20px 40px rgba(63, 185, 80, 0.12), 0 0 60px rgba(63, 185, 80, 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.service-card--expandable .service-card-header {
  cursor: pointer;
  user-select: none;
}

.service-card-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(63, 185, 80, 0.5);
  margin-left: auto;
  transition: all 0.3s ease;
}

.service-card--expandable:hover .service-card-toggle {
  color: var(--accent);
}

.service-card--expandable.open .service-card-toggle {
  color: var(--accent);
  transform: rotate(45deg);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg, rgba(63, 185, 80, 0.15), rgba(63, 185, 80, 0.08));
  border: 1.5px solid rgba(63, 185, 80, 0.2);
  border-radius: 16px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, rgba(63, 185, 80, 0.25), rgba(63, 185, 80, 0.15));
  border-color: rgba(63, 185, 80, 0.35);
  transform: scale(1.08);
}

.service-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 16px 0 24px 0;
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.service-card-price {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(63, 185, 80, 0.34);
  background: rgba(63, 185, 80, 0.12);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
}

.service-card-popular {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0d1117;
  background: linear-gradient(135deg, rgba(63, 185, 80, 0.95), rgba(63, 185, 80, 0.78));
}

.service-card-featured {
  border-color: rgba(63, 185, 80, 0.32);
  box-shadow: 0 0 0 1px rgba(63, 185, 80, 0.14), 0 16px 34px rgba(63, 185, 80, 0.1);
}

.service-card-submenu {
  display: none;
  background: rgba(63, 185, 80, 0.06);
  border: 1px solid rgba(63, 185, 80, 0.15);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  gap: 12px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card--expandable.open .service-card-submenu {
  display: flex;
  flex-direction: column;
}

.submenu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.submenu-item:hover {
  background: rgba(63, 185, 80, 0.1);
  color: var(--text);
}

.submenu-icon {
  font-size: 1.1rem;
  min-width: 24px;
}

.service-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card-features li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}

.service-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(63, 185, 80, 0.6);
  font-weight: 700;
}

.service-card .btn {
  font-size: 0.95rem;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

.service-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.service-card-actions .btn {
  flex: 1;
  padding: 11px 16px;
  font-size: 0.9rem;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(63, 185, 80, 0.3);
  color: var(--text);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(63, 185, 80, 0.1);
  border-color: rgba(63, 185, 80, 0.5);
  color: var(--accent);
}

.btn-accent {
  background: linear-gradient(135deg, rgba(63, 185, 80, 0.9), rgba(63, 185, 80, 0.7));
  color: var(--bg);
  border: none;
  font-weight: 600;
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent), rgba(63, 185, 80, 0.8));
  box-shadow: 0 8px 16px rgba(63, 185, 80, 0.3);
}

.service-note {
  margin: 18px auto 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
  max-width: 82ch;
}

.service-note a {
  color: var(--accent-blue);
  text-decoration: none;
}

.service-note a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 24px;
    min-height: 0;
  }
  .service-card-header {
    gap: 12px;
  }
  .service-card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
  }
  .service-card h2 {
    font-size: 1.2rem;
  }
  .service-card--expandable .service-card-submenu {
    display: none;
  }
  .service-card--expandable.open .service-card-submenu {
    display: flex;
  }
}

@media (max-width: 480px) {
  .dienste-hero {
    margin-bottom: 48px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 24px;
  }
  .service-card-actions {
    flex-direction: column;
  }
  .service-card-actions .btn {
    width: 100%;
  }

  .service-card-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
