/**
 * RH-Automation Dresden – Future Flow (wie Grafik)
 * Vollflächiger Verlauf + 3 Punkte im Vordergrund
 */

:root {
  --flow-bg: #0a0a0f;
  --flow-dark: #0d0d14;
  --flow-indigo: #4f46e5;
  --flow-violet: #7c3aed;
  --flow-fuchsia: #a855f7;
  --flow-cyan: #06b6d4;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.04);
}

/* Vollflächiger Hintergrund wie in der Grafik: dunkel Violett/Blau-Verlauf */
.body-flow-bg {
  background: 
    radial-gradient(ellipse 120% 80% at 20% 10%, rgba(79, 70, 229, 0.35), transparent 50%),
    radial-gradient(ellipse 80% 60% at 80% 60%, rgba(124, 58, 237, 0.2), transparent 45%),
    radial-gradient(ellipse 70% 70% at 60% 90%, rgba(6, 182, 212, 0.15), transparent 50%),
    linear-gradient(155deg, #0d0d18 0%, #0a0a12 40%, #08081a 70%, #0c0c1e 100%);
  min-height: 100vh;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

/* Flow-Node: leuchtender Kreis wie in der Grafik */
.flow-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
}

.flow-node__ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  opacity: 0.5;
  animation: flow-glow 4s ease-in-out infinite;
}

.flow-node__circle {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px currentColor, inset 0 0 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-node:hover .flow-node__circle {
  transform: scale(1.08);
  box-shadow: 0 0 50px currentColor, 0 0 80px currentColor, inset 0 0 25px rgba(255, 255, 255, 0.08);
}

.flow-node__label {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  max-width: 140px;
}

.flow-node__sublabel {
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

@keyframes flow-glow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

/* SVG Flow-Pfad: fließende Linie */
.flow-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.flow-path line,
.flow-path path {
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: flow-line-pulse 3s ease-in-out infinite;
}

@keyframes flow-line-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Responsive: Nodes kleiner und Abstände anpassen */
@media (max-width: 768px) {
  .flow-node__circle {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
  }
  .flow-node__label { font-size: 0.65rem; max-width: 100px; }
  .flow-node__sublabel { font-size: 0.6rem; }
}

/* --- Drei Punkte mit Inhalt (gefüllte Flow-Karten) --- */
.flow-point {
  list-style: none;
}

.flow-point__card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.flow-point__card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.flow-point__card--violet:hover {
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2), 0 0 60px rgba(124, 58, 237, 0.08);
}

.flow-point__card--blue:hover {
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2), 0 0 60px rgba(59, 130, 246, 0.08);
}

.flow-point__card--cyan:hover {
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.2), 0 0 60px rgba(6, 182, 212, 0.08);
}

.flow-point__number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.flow-point__card--violet .flow-point__number {
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #c4b5fd;
}

.flow-point__card--blue .flow-point__number {
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
}

.flow-point__card--cyan .flow-point__number {
  background: rgba(6, 182, 212, 0.25);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: #67e8f9;
}

.flow-point__title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.35;
}

.flow-point__sub {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
}

.flow-point__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

