body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
input::placeholder, textarea::placeholder { color: #7FA0B8; opacity: 1; }
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #7FA0B8; opacity: 1; }
input::-moz-placeholder, textarea::-moz-placeholder { color: #7FA0B8; opacity: 1; }
input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #7FA0B8; opacity: 1; }
button { font-family: 'Inter', sans-serif; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(0.6em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatY2 { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,202,255,0.5); } 50% { opacity: 0.75; box-shadow: 0 0 0 6px rgba(0,202,255,0); } }
@keyframes glowPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.85; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scanBeam { 0% { transform: translateY(0%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(1160%); opacity: 0; } }
@keyframes shine { 0% { transform: translateX(-140%) skewX(-18deg); } 60%, 100% { transform: translateX(240%) skewX(-18deg); } }
@keyframes tiltIn { from { opacity: 0; transform: perspective(1400px) rotateY(-18deg) rotateX(6deg) translateY(50px); } to { opacity: 1; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(0); } }

[data-mobile-only] { display: none; }
@media (max-width: 880px) {
  [data-desktop-only] { display: none !important; }
  [data-mobile-only] { display: flex !important; }
  [data-grid-collapse] { grid-template-columns: 1fr !important; }
  [data-grid-collapse] > * { grid-column: span 1 !important; }
  [data-pad-hero] { padding-top: 64px !important; padding-bottom: 64px !important; }
  [data-chip-hide] { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* hover/before rules -- kept out of inline styles so :hover can win */
.nav-link { color: #B7D3E6; }
.nav-link:hover { color: #74ECFF; }

.nav-cta { background: #00CAFF; }
.nav-cta:hover { background: #74ECFF; transform: translateY(-1px); }

.hero-cta-primary { background: #00CAFF; box-shadow: 0 8px 28px rgba(0,202,255,0.35); }
.hero-cta-primary:hover { background: #74ECFF; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,202,255,0.5); }
.hero-cta-primary::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); animation: shine 3.5s ease-in-out 1.6s infinite; }

.hero-cta-secondary { border-color: rgba(231,246,252,0.35); color: #E7F6FC; background: transparent; }
.hero-cta-secondary:hover { border-color: #74ECFF; color: #FFFFFF; background: rgba(116,236,255,0.08); transform: translateY(-2px); }

.card-lift { background: rgba(255,255,255,0.03); border-color: rgba(116,236,255,0.14); }
.card-lift:hover { transform: translateY(-6px); border-color: rgba(0,202,255,0.45); background: rgba(0,202,255,0.05); }

.cta-lift { background: #00CAFF; }
.cta-lift:hover { background: #74ECFF; transform: translateY(-2px); }

.btn-bg-lift { background: #00CAFF; }
.btn-bg-lift:hover { background: #74ECFF; }

.btn-transform-sm:hover { transform: translateY(-1px); }

.badge-hover { border-color: rgba(116,236,255,0.14); }
.badge-hover:hover { border-color: rgba(0,202,255,0.45); background: rgba(0,202,255,0.04); }


#rotWord { font-weight: 700; color: #74ECFF; display: inline-block; }
#statMitarbeiter, #calcYearly,
#calcWorkersLabel, #calcMinutesLabel, #calcRateLabel,
#calcWorkersEcho, #calcMinutesEcho, #calcRateEcho { font-variant-numeric: tabular-nums; }
.faq-answer[hidden] { display: none; }

/* ── Contact forms ─────────────────────────────────────────────────── */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-status { font-size: 0.8125rem; margin: 4px 0 0; text-align: center; }
#pilotForm .form-status { color: #74ECFF; }
#pilotForm .form-status.is-error { color: #FFB454; }
#demoForm .form-status { color: #011935; font-weight: 600; }

/* ── Cookie Banner ─────────────────────────────────────────────────── */
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cookieSlideDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(24px); }
}

#cookieBanner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  padding: 20px clamp(16px, 4vw, 48px) calc(20px + env(safe-area-inset-bottom));
  background: rgba(1, 25, 53, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 202, 255, 0.35);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  animation: cookieSlideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
#cookieBanner.cookie-hiding {
  animation: cookieSlideDown 0.35s cubic-bezier(0.55, 0, 1, 0.45) both;
}
#cookieBanner[hidden] { display: none; }

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9FBAD0;
}
.cookie-text p + p { margin-top: 4px; }
.cookie-text strong { color: #E7F6FC; font-weight: 600; }
.cookie-text a { color: #00CAFF; text-decoration: underline; text-underline-offset: 2px; }
.cookie-text a:hover { color: #74ECFF; }

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn-primary {
  background: #00CAFF;
  color: #011935;
  border: none;
  padding: 14px 22px;
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.cookie-btn-primary:hover {
  background: #74ECFF;
  transform: translateY(-1px);
}
.cookie-btn-primary:focus-visible {
  outline: 2px solid #00CAFF;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .cookie-inner { gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-btn-primary { width: 100%; text-align: center; }
}
