/* ═══════════════════════════════════════════════════════════
   AUTOMATISIERUNGEN.DE — Fließband Section Component
   Embed-ready · No Google Fonts · Responsive
   ═══════════════════════════════════════════════════════════ */

:root {
  --ade-yellow: #f7c10b;
  --ade-yellow-06: rgba(247, 193, 11, 0.06);
  --ade-yellow-10: rgba(247, 193, 11, 0.1);
  --ade-yellow-15: rgba(247, 193, 11, 0.15);
  --ade-yellow-25: rgba(247, 193, 11, 0.25);
  --ade-yellow-40: rgba(247, 193, 11, 0.4);
  --ade-green: #22C55E;
  --ade-white-04: rgba(255, 255, 255, 0.04);
  --ade-white-06: rgba(255, 255, 255, 0.06);
  --ade-white-25: rgba(255, 255, 255, 0.25);
  --ade-white-50: rgba(255, 255, 255, 0.5);
  --ade-white-60: rgba(255, 255, 255, 0.6);
  --ade-radius: 16px;
}

/* ─── Container ─── */

.ade-section {
  width: 100%;
  background: transparent;
  box-sizing: border-box;
}

.ade-section *,
.ade-section *::before,
.ade-section *::after {
  box-sizing: border-box;
}

/* ─── Invisible Team Visual ─── */

.ade-invisible-team {
  width: 100%;
  border-radius: var(--ade-radius);
  border: 1px solid var(--ade-yellow-06);
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

.ade-team-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  min-height: 420px;
}

/* Left side */

.ade-team-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 32px;
}

.ade-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ade-yellow-10), var(--ade-yellow-06));
  border: 1px solid var(--ade-yellow-15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  line-height: 1;
}

.ade-avatar-label {
  text-align: center;
}

.ade-avatar-name {
  margin-bottom: 4px;
}

.ade-focus-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}

.ade-focus-item {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ade-white-04);
  border: 1px solid var(--ade-white-06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ade-focus-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ade-green);
  flex-shrink: 0;
}

/* Divider */

.ade-team-divider {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--ade-yellow-25) 30%,
    var(--ade-yellow-25) 70%,
    transparent 100%
  );
  position: relative;
}

.ade-divider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid var(--ade-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 10;
  line-height: 1;
}

/* Right side: Agents */

.ade-team-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  justify-content: center;
}

.ade-agents-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--ade-yellow);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.ade-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ade-green);
  animation: ade-blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.ade-task-row {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--ade-white-04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ade-task-row.is-active {
  background: var(--ade-yellow-06);
  border-color: var(--ade-yellow-15);
  transform: translateX(4px);
}

.ade-task-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ade-task-agent {
  font-size: 13px;
  font-weight: 600;
  color: var(--ade-white-60);
  transition: color 0.4s;
}

.ade-task-row.is-active .ade-task-agent {
  color: var(--ade-yellow);
}

.ade-task-action {
  font-size: 12px;
  color: var(--ade-white-25);
  transition: color 0.4s;
}

.ade-task-row.is-active .ade-task-action {
  color: var(--ade-white-50);
}

.ade-task-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
}

/* ─── Content Boxes Grid ─── */

.ade-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ade-box {
  padding: 28px;
  border-radius: var(--ade-radius);
  background: var(--ade-white-04);
  border: 1px solid var(--ade-white-06);
  transition: border-color 0.3s, background 0.3s;
}

.ade-box:hover {
  border-color: var(--ade-yellow-15);
  background: var(--ade-yellow-06);
}

.ade-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ade-yellow-06);
  border: 1px solid var(--ade-yellow-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  line-height: 1;
}

.ade-box-title {
  margin-bottom: 8px;
}

.ade-box-desc {
  line-height: 1.65;
  opacity: 0.75;
}

/* ─── Animations ─── */

@keyframes ade-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes ade-fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.ade-section .ade-invisible-team,
.ade-section .ade-box {
  animation: ade-fadeSlideIn 0.6s ease both;
}

.ade-section .ade-boxes-grid .ade-box:nth-child(1) { animation-delay: 0.1s; }
.ade-section .ade-boxes-grid .ade-box:nth-child(2) { animation-delay: 0.2s; }
.ade-section .ade-boxes-grid .ade-box:nth-child(3) { animation-delay: 0.3s; }
.ade-section .ade-boxes-grid .ade-box:nth-child(4) { animation-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 1440px) {
  .ade-team-grid { min-height: 460px; }
  .ade-team-left { padding: 48px 40px; }
  .ade-team-right { padding: 40px; }
}

@media (max-width: 1023px) {
  .ade-boxes-grid { gap: 12px; }
  .ade-box { padding: 22px; }
  .ade-team-left { padding: 32px 24px; }
  .ade-team-right { padding: 24px 20px; }
  .ade-avatar { width: 90px; height: 90px; font-size: 40px; }
}

@media (max-width: 767px) {
  .ade-team-grid { grid-template-columns: 1fr; min-height: auto; }
  .ade-team-divider {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--ade-yellow-25) 30%, var(--ade-yellow-25) 70%, transparent 100%);
  }
  .ade-team-left { padding: 32px 24px 24px; }
  .ade-team-right { padding: 24px 24px 32px; }
  .ade-boxes-grid { grid-template-columns: 1fr; gap: 12px; }
  .ade-focus-list { max-width: 100%; }
}

@media (max-width: 599px) {
  .ade-invisible-team { margin-bottom: 28px; }
  .ade-team-left { padding: 28px 20px 20px; gap: 16px; }
  .ade-team-right { padding: 20px 20px 28px; }
  .ade-avatar { width: 80px; height: 80px; font-size: 36px; }
  .ade-box { padding: 20px; }
  .ade-box-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 20px; margin-bottom: 12px; }
  .ade-task-row { padding: 10px 12px; }
}

@media (max-width: 479px) {
  .ade-invisible-team { border-radius: 12px; margin-bottom: 24px; }
  .ade-team-left { padding: 24px 16px 16px; gap: 14px; }
  .ade-team-right { padding: 16px 16px 24px; gap: 6px; }
  .ade-avatar { width: 72px; height: 72px; font-size: 32px; }
  .ade-focus-item { padding: 8px 12px; }
  .ade-agents-header { font-size: 10px; }
  .ade-task-agent { font-size: 12px; }
  .ade-task-action { font-size: 11px; }
  .ade-task-time { font-size: 9px; }
  .ade-box { padding: 18px; border-radius: 12px; }
}
