/* ================================================
   SERVICES.CSS – CS Productions
   Seitenspezifische Styles für Leistungen-Seite
   ================================================ */

/* ── Shared page-hero (auch von referenzen.css genutzt) ── */
.page-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.page-hero-inner {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-hero-h1 {
  margin: 0 0 24px;
  font-size: clamp(68px, 11vw, 130px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-hero-h1 em {
  font-style: normal;
  background: linear-gradient(115deg, #22c55e 0%, #0ea5e9 45%, #38bdf8 70%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(34,197,94,0.3));
  background-size: 200% 100%;
  animation: visionShimmer 4s ease-in-out infinite;
}

@keyframes visionShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.page-hero-sub {
  max-width: 520px;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.78;
  color: var(--text-soft);
  font-weight: 300;
  margin: 0 0 32px;
}

.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Floating Service Badges */
.svc-hero-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: rgba(15,31,53,0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color 250ms ease;
}

.svc-badge:hover { border-color: rgba(56,189,248,0.3); }

.svc-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-2);
  flex-shrink: 0;
}

/* Staggered float delays */
.svc-badge-1 { animation-delay: 0s; }
.svc-badge-2 { animation-delay: 1.2s; }
.svc-badge-3 { animation-delay: 0.6s; }
.svc-badge-4 { animation-delay: 1.8s; }

/* ── SECTION DIVIDER ────────────────────────── */
.svc-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.15), transparent);
  margin: 0;
}

/* ── SERVICE DETAIL LAYOUT ──────────────────── */
.svc-detail { padding: 100px 0; }

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.svc-detail-flip .svc-detail-grid {
  /* Visuelles Element links, Text rechts */
}

/* Große Nummer im Hintergrund */
.svc-detail-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(100px, 18vw, 200px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(56,189,248,0.1);
  pointer-events: none;
  user-select: none;
  margin-bottom: -40px;
  position: relative;
  z-index: 0;
}

.svc-eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin: 0 0 14px;
  display: block;
  position: relative;
  z-index: 1;
}

.svc-detail-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.svc-detail-copy > p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-soft);
  font-weight: 300;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}

.svc-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 300;
}

.svc-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 8px rgba(11,156,217,0.4);
}

/* ── VISUAL CARDS ───────────────────────────── */
.svc-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(11,22,40,0.85);
  border: 1px solid rgba(56,189,248,0.14);
  backdrop-filter: blur(14px);
  padding: 36px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), var(--shadow-glow);
  transition: border-color 300ms ease;
}

.svc-visual-card:hover { border-color: rgba(56,189,248,0.28); }

.svc-visual-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 20%, rgba(56,189,248,0.1), transparent 55%);
  pointer-events: none;
}

.svc-visual-glow-green {
  background: radial-gradient(circle at 30% 20%, rgba(34,197,94,0.1), transparent 55%);
}

.svc-visual-glow-purple {
  background: radial-gradient(circle at 30% 20%, rgba(168,85,247,0.1), transparent 55%);
}

/* EQ Bars (Beats) */
.svc-eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
}

.svc-eq-bars span {
  display: block;
  width: 6px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--primary-2), var(--secondary));
  animation: eqAnim 1.6s ease-in-out infinite;
  opacity: 0.85;
}

.svc-eq-bars span:nth-child(1)  { height: 30%; animation-delay: 0s;    }
.svc-eq-bars span:nth-child(2)  { height: 60%; animation-delay: .08s;  }
.svc-eq-bars span:nth-child(3)  { height: 45%; animation-delay: .16s;  }
.svc-eq-bars span:nth-child(4)  { height: 80%; animation-delay: .04s;  }
.svc-eq-bars span:nth-child(5)  { height: 55%; animation-delay: .20s;  }
.svc-eq-bars span:nth-child(6)  { height: 90%; animation-delay: .12s;  }
.svc-eq-bars span:nth-child(7)  { height: 40%; animation-delay: .28s;  }
.svc-eq-bars span:nth-child(8)  { height: 70%; animation-delay: .06s;  }
.svc-eq-bars span:nth-child(9)  { height: 50%; animation-delay: .22s;  }
.svc-eq-bars span:nth-child(10) { height: 85%; animation-delay: .10s;  }
.svc-eq-bars span:nth-child(11) { height: 35%; animation-delay: .30s;  }
.svc-eq-bars span:nth-child(12) { height: 65%; animation-delay: .18s;  }
.svc-eq-bars span:nth-child(13) { height: 48%; animation-delay: .36s;  }
.svc-eq-bars span:nth-child(14) { height: 75%; animation-delay: .02s;  }
.svc-eq-bars span:nth-child(15) { height: 38%; animation-delay: .24s;  }
.svc-eq-bars span:nth-child(16) { height: 62%; animation-delay: .14s;  }
.svc-eq-bars span:nth-child(17) { height: 52%; animation-delay: .32s;  }
.svc-eq-bars span:nth-child(18) { height: 88%; animation-delay: .07s;  }
.svc-eq-bars span:nth-child(19) { height: 42%; animation-delay: .26s;  }
.svc-eq-bars span:nth-child(20) { height: 68%; animation-delay: .15s;  }

@keyframes eqAnim {
  0%, 100% { transform: scaleY(0.35); }
  50%       { transform: scaleY(1); }
}

.svc-visual-label {
  text-align: center;
}

.svc-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.2);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-2);
}

.svc-visual-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-2);
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px var(--primary-2);
}

@keyframes livePulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

/* Mic Visualisation (Recording) */
.svc-mic-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
}

.svc-mic {
  position: relative;
  z-index: 2;
  color: var(--primary-2);
  animation: micPulse 2.5s ease-in-out infinite;
}

@keyframes micPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(56,189,248,0.4)); }
  50%       { filter: drop-shadow(0 0 18px rgba(56,189,248,0.8)); }
}

.svc-mic-rings { position: absolute; inset: 0; }

.svc-mic-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.25);
  animation: micRing 2.5s ease-out infinite;
}

.svc-mic-ring-1 { inset: 12px; animation-delay: 0s; }
.svc-mic-ring-2 { inset: 0;    animation-delay: .5s; }
.svc-mic-ring-3 { inset: -12px; animation-delay: 1s; }

@keyframes micRing {
  0%   { opacity: 0.6; transform: scale(0.9); }
  100% { opacity: 0;   transform: scale(1.15); }
}

.svc-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.22);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #f87171;
}

.svc-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f87171;
  animation: livePulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(239,68,68,0.6);
}

/* Fader Visualisation (Mixing) */
.svc-faders {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.svc-fader-track {
  display: grid;
  grid-template-columns: 40px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.svc-fader-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-align: right;
}

.svc-fader-rail {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  position: relative;
}

.svc-fader-rail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--pos, 50%);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.svc-fader-thumb {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 8px rgba(56,189,248,0.5);
  border: 2px solid rgba(255,255,255,0.9);
  cursor: grab;
  transition: box-shadow 200ms ease;
}

.svc-fader-thumb:hover {
  box-shadow: 0 0 14px rgba(56,189,248,0.8);
}

.svc-fader-val {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.svc-lufs-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.15);
  width: 100%;
}

.svc-lufs-badge > span:first-child {
  font-family: "Space Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-2);
  letter-spacing: 0.08em;
}

.svc-lufs-check {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--secondary-2);
  text-transform: uppercase;
}

/* Camera/Video Visualisation */
.svc-cam-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-cam {
  color: #c084fc;
  animation: micPulse 3s ease-in-out infinite;
}

.svc-cam-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  opacity: 0.15;
  pointer-events: none;
}

.svc-cam-grid span {
  border: 1px solid rgba(168,85,247,0.6);
  border-radius: 2px;
}

.svc-cam-center {
  background: rgba(168,85,247,0.12) !important;
  border-color: rgba(168,85,247,0.8) !important;
}

.svc-visual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.svc-visual-chips span {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.2);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c084fc;
}

/* ── PROCESS STEPS ──────────────────────────── */
.svc-process { padding-bottom: 80px; }

.svc-process-title {
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  text-align: center;
}

.svc-process-sub {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  font-weight: 300;
  margin: 0 0 60px;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 60px;
}

.svc-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.svc-step {
  position: relative;
  padding: 32px 24px 28px;
  border-radius: var(--radius-md);
  background: rgba(15,31,53,0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: border-color 250ms ease, background 250ms ease, transform 250ms var(--ease-out);
  margin: 0 8px;
}

.svc-step:hover {
  border-color: rgba(56,189,248,0.28);
  background: rgba(15,31,53,0.82);
  transform: translateY(-4px);
}

.svc-step-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(56,189,248,0.4);
  margin-bottom: 16px;
  transition: -webkit-text-stroke-color 250ms ease;
}

.svc-step:hover .svc-step-num {
  -webkit-text-stroke-color: rgba(56,189,248,0.8);
}

.svc-step-connector {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 20px;
  height: 1px;
  background: rgba(56,189,248,0.2);
  transform: translateY(-50%);
  z-index: 1;
}

.svc-step-connector::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 3px 0 3px 5px;
  border-color: transparent transparent transparent rgba(56,189,248,0.35);
}

.svc-step-connector-last {
  display: none;
}

.svc-step h4 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.1;
}

.svc-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-soft);
  font-weight: 300;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .svc-hero-badges { flex-direction: row; flex-wrap: wrap; }
  .svc-badge { flex: 1; min-width: 200px; }
  .svc-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail-flip .svc-detail-grid { direction: ltr; }
  .svc-detail-flip .svc-detail-grid .svc-detail-visual { order: -1; }
  .svc-process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .svc-step { margin: 0; }
  .svc-step-connector { display: none; }
}

@media (max-width: 640px) {
  .page-hero { min-height: 60vh; padding: 130px 0 60px; }
  .page-hero-h1 { font-size: clamp(56px, 16vw, 80px); }
  .svc-process-steps { grid-template-columns: 1fr; }
  .svc-visual-card { min-height: 260px; padding: 24px; }
  .svc-detail { padding: 70px 0; }
  .svc-detail-grid { gap: 28px; }
  .svc-badge { min-width: 100%; }
}
