/* funnel.css — Mandatsfunnel-Modal */
.funnel-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: color-mix(in srgb, var(--navy-800) 55%, transparent);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: var(--space-4);
  animation: fn-fade 200ms ease;
}
@keyframes fn-fade { from { opacity: 0; } to { opacity: 1; } }

.funnel-modal {
  position: relative;
  width: 100%; max-width: 600px;
  max-height: 92dvh; overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  animation: fn-rise 240ms cubic-bezier(0.16,1,0.3,1);
}
@keyframes fn-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

.funnel-close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 24px; line-height: 1; color: var(--color-text-muted);
  display: grid; place-items: center; z-index: 2;
}
.funnel-close:hover { background: var(--color-bg); color: var(--navy); }

.funnel-head {
  padding: var(--space-8) var(--space-8) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--lead-soft), transparent);
}
.funnel-head h2 { font-size: var(--text-xl); }
.funnel-body { padding: var(--space-8); overflow-y: auto; }
.fn-lead { color: var(--color-text-muted); margin-bottom: var(--space-6); }
.fn-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 520px){ .fn-row { grid-template-columns: 1fr; } }

/* Toast */
.fn-toast {
  position: fixed; bottom: var(--space-6); left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: var(--off-white);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  font-size: var(--text-sm); box-shadow: var(--shadow-lg); z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity 200ms, transform 200ms; max-width: 90vw;
}
.fn-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
