/* ===========================================================================
   Rusantech Voice — Seite /voice
   ---------------------------------------------------------------------------
   Eigenes der Voice-Seite: Gespräch in der Anruf-Karte, Kostenbalken, Weg der
   Daten und der Minuten-Regler im Paket Phone Pro. Hero, Situationen und
   Kacheln stehen in design.css, damit alle Marken dieselbe Form nutzen.
   =========================================================================== */

.vo-call__top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8f5d6;
}

.vo-call__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 12px #3ddc84;
  animation: voPulse 1.8s ease-in-out infinite;
}

@keyframes voPulse {
  50% { opacity: 0.35; }
}

.vo-call__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 46px;
  margin-block: 2px 4px;
}

.vo-call__wave i {
  width: 4px;
  height: calc(var(--h) * 0.42px);
  border-radius: 3px;
  background: linear-gradient(180deg, #8ff3c4, #23a46e);
  animation: voWave 1.5s ease-in-out var(--d) infinite;
}

@keyframes voWave {
  50% { transform: scaleY(0.42); }
}

.vo-call__bubble {
  max-width: 88%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  line-height: 1.45;
}

.vo-call__bubble small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.vo-call__bubble--ai {
  border-color: rgba(95, 220, 160, 0.34);
  background: rgba(95, 220, 160, 0.1);
}

.vo-call__bubble--ai small {
  color: #8ff3c4;
}

.vo-call__bubble:not(.vo-call__bubble--ai) {
  justify-self: end;
  border-radius: 16px 16px 5px 16px;
}

.vo-call__done {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  padding: 10px 13px;
  border-radius: 14px;
  background: rgba(143, 176, 255, 0.12);
  font-size: 13px;
  font-weight: 500;
  color: #c6d6ff;
}

/* --- Der Unterschied: Schritt 3 ist Systems -------------------------------- */
.m-flow li.is-systems {
  border-color: rgba(143, 176, 255, 0.5);
  background: linear-gradient(160deg, rgba(143, 176, 255, 0.14), rgba(255, 255, 255, 0.02));
}

.m-flow li.is-systems .m-flow__tag {
  color: #8fb0ff;
}

/* --- Kosten ----------------------------------------------------------------- */
.vo-bars {
  display: grid;
  gap: 14px;
  list-style: none;
}

.vo-bar {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 170px;
  gap: 8px 22px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.vo-bar--voice {
  border-color: rgba(95, 220, 160, 0.34);
  background: linear-gradient(120deg, rgba(95, 220, 160, 0.1), var(--surface) 60%);
}

.vo-bar__txt {
  display: grid;
}

.vo-bar__txt b {
  font-weight: 600;
}

.vo-bar__txt span {
  font-size: 13px;
  color: var(--text-muted);
}

.vo-bar__track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.vo-bar__track i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6b7388, #a0a7b8);
  transform-origin: left;
  animation: voGrow 1.1s var(--ease) both;
}

.vo-bar--voice .vo-bar__track i {
  background: linear-gradient(90deg, #23a46e, #8ff3c4);
}

@keyframes voGrow {
  from { transform: scaleX(0); }
}

.vo-bar__val {
  display: grid;
  justify-items: end;
  text-align: right;
}

.vo-bar__val b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.vo-bar__val small {
  font-size: 12.5px;
  color: var(--text-muted);
}

.vo-cost__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.vo-cost__facts div {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(95, 220, 160, 0.07);
  text-align: center;
}

.vo-cost__facts b {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  color: #8ff3c4;
}

.vo-cost__facts span {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* --- Weg der Daten --------------------------------------------------------------- */
.vo-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  counter-reset: vo;
}

.vo-path::before {
  content: '';
  position: absolute;
  top: 50px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(95, 220, 160, 0.5) 0 8px, transparent 8px 16px);
}

.vo-path li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.vo-path__no {
  position: absolute;
  z-index: 2;
  top: -6px;
  left: calc(50% + 18px);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3ddc84;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #04170f;
}

.vo-path__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(95, 220, 160, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(95, 220, 160, 0.28), #0b1411);
  color: #8ff3c4;
  box-shadow: 0 0 0 8px #07090f;
}

.vo-path b {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.vo-path p {
  max-width: 24ch;
  font-size: 14px;
  color: var(--text-secondary);
}

.vo-priv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.vo-priv__tile {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.vo-priv__tile svg {
  color: #8ff3c4;
}

.vo-priv__tile b {
  font-weight: 600;
}

.vo-priv__tile span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- Phone Pro: Minuten-Regler ---------------------------------------------- */
.m-min {
  display: grid;
  gap: 8px;
  margin: 14px 0 6px;
  padding: 14px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: var(--accent-soft);
}

.m-min__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.m-min__head output {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.m-min input[type='range'] {
  width: 100%;
  accent-color: var(--accent);
}

.m-min input[type='number'] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
}

.m-min__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

.m-min__hint {
  font-size: 12.5px;
  color: var(--text-muted);
}

.m-min__more {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
}

.vo-chatblock {
  margin-top: clamp(56px, 7vw, 88px);
}

/* --- Schmale Bildschirme -------------------------------------------------------- */
@media (max-width: 1000px) {
  .vo-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .vo-bar__track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .vo-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .vo-path::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .vo-cost__facts,
  .vo-priv {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .vo-path {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vo-call__dot,
  .vo-call__wave i,
  .vo-bar__track i {
    animation: none;
  }
}
